Comments (9)
I'm on Ubuntu 22.04. I used the following:
- command to list packages:
/bin/sh -c "/usr/lib/update-notifier/apt-check --package-names 2>&1"
- disable output parsing
- command to update packages:
gnome-terminal -- /bin/sh -c "set -x; sudo apt update && sudo apt upgrade ; echo Done - Press enter to exit; read _"
- Pacman local directory:
/var/lib/dpkg/info
(although this one did not work, but looking at the code, I think the extension does not pick up the new path after changing it in the settings)
You need to install update-notifier-common
(was already installed for me).
I can add this to the wiki, but would be good if someone validates it first. Possibly also on other debian(-based) distros.
from arch-update.
In fact, that's exactly what I tried to do.
At the moment my system is up to date and it "seems" to work.
As soon as I check when there are new updates I will let you know!
from arch-update.
Hi,
Yes it should be possible, although a bit of research may be needed to adjust settings :
- command to list pending updates
- command to upgrade
- folder to monitor for changes
I'm surprised nobody added this to the wiki yet !
from arch-update.
Indeed, folder monitoring change needs a restart. I shall fix this.
from arch-update.
I can't find the command to list packages in Debian 12.
Maybe can I use something like this?
/bin/apt-get dist-upgrade | grep -o "^[[:digit:]]+"
But: even without the "apt update" command ?
from arch-update.
Debian 12 does not have "update-notifier-common" package ?
from arch-update.
Apparently not - Unfortunately that package doesn't exist in Debian
from arch-update.
Fact is, as a normal user yon can't update package list, so you need either something to check updates with no root access (under Arch this what we do) or check for updates in the background.
Maybe look into unattended-upgrades package in debian ? It is meant for automatic updates but maybe it can update without installing ? Then something like apt list --upgradeable
might be a start point to list upgrades (however it seems not script-friendly)
from arch-update.
After searching a bit I found this: https://unix.stackexchange.com/a/105486 You might be able to run it without sudo because of the -s
(simulate) flag. But not sure.
Although you need to change the output to match what this extension expects.
from arch-update.
Related Issues (20)
- Fedora adaptation? HOT 4
- Update button not working after a while HOT 4
- Local pacman dir folder setting changed needs a restart HOT 1
- How to change fnome-terminal to alacritty to update? HOT 1
- Refresh seems not to be working anymore? HOT 1
- Gnome 45 version HOT 12
- Rejected from extensions.gnome.org HOT 2
- Package names are underlined HOT 6
- AUR : pamac issue HOT 15
- Check AUR updates and show them in the topbar icon HOT 2
- [Feature request] option to move the indicator into quick settings menu HOT 1
- wiki error with the update command for yay HOT 2
- add whitelist
- Incompatibility with Gnome 46 (beta) HOT 27
- Version number is not shown properly while scrolling HOT 2
- Enhancement archlinux news HOT 2
- Timer is reset on lock/unlock preventing automatic checks if locked often HOT 7
- PACKAGE_INFO_CMD ==> Bad Request HOT 8
- Yay updates HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arch-update.