LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   What command to use in Package Update Indicator on Debian 10? (https://www.linuxquestions.org/questions/debian-26/what-command-to-use-in-package-update-indicator-on-debian-10-a-4175664416/)

linustalman 11-17-2019 04:16 AM

What command to use in Package Update Indicator on Debian 10?
 
2 Attachment(s)
Hi.

I usually update via the terminal but am wondering what command to use with the Package Update Indicator program.

I've tried these but when I click 'Install Updates', nothing happens:
Code:

sudo apt update && sudo apt upgrade
Code:

sudo apt-get update && sudo apt-get upgrade

PECONET009 11-17-2019 04:21 AM

Have you tried by just putting in; apt update?
 
Have you tried by just putting in;
apt update

linustalman 11-17-2019 04:24 AM

Quote:

Originally Posted by PECONET009 (Post 6058764)
Have you tried by just putting in;
apt update

Hi PECONET009. Just tried that - still nothing.

hazel 11-17-2019 06:27 AM

Maybe you have to close the preferences window before the buttons in the main window become active.

[rant]This is the kind of thing that seriously annoys me! Why add an extra layer of complication to updating? What's wrong with just using the identical commands in a terminal?[/rant]

PECONET009 11-17-2019 06:28 AM

That is very odd.
 
Quote:

Originally Posted by linustalman (Post 6058765)
Hi PECONET009. Just tried that - still nothing.

That is very odd indeed.
Try this site out and see if it gives you any answers, more info here:
Package: package-update-indicator (4-2 and others) :
https://packages.debian.org/sid/gnom...date-indicator

linustalman 11-17-2019 06:35 AM

IIRC, the update notifier in Debian 9 required no tweaking and just worked.

linustalman 11-17-2019 09:03 AM

1 Attachment(s)
The icon is now orange. It used to be red before when updates were available. Not sure what orange means.

Firerat 11-17-2019 10:50 AM

return it to the default

/usr/bin/gpk-update-viewer


and stop miss-configuring things

Firerat 11-17-2019 10:58 AM

Quote:

Originally Posted by hazel (Post 6058798)
[rant]This is the kind of thing that seriously annoys me! Why add an extra layer of complication to updating? What's wrong with just using the identical commands in a terminal?[/rant]



Code:

apt show package-update-indicator

Package: package-update-indicator
Version: 4-2
Priority: optional
<snip>
Tag: uitoolkit::gtk
Download-Size: 30.9 kB
APT-Sources: http://ftp.uk.debian.org/debian testing/main amd64 Packages
Description: Notify about available software updates
 This small utility which regularly checks for software updates and notifies
 the user about available updates using desktop notifications and either
 a status notifier icon or a system tray icon.
 .
It is primarily intended for desktops which do not already have this
 functionality built-in, such as Xfce.



#


linustalman 11-17-2019 11:41 AM

The command for installing updates was blank by default. I brought it back to that. I will just use the program to tell me of updates available and manually update then via the terminal.

Firerat 11-17-2019 11:55 AM

Quote:

Originally Posted by linustalman (Post 6058923)
The command for installing updates was blank by default. I brought it back to that. I will just use the program to tell me of updates available and manually update then via the terminal.

I installed it, and opened up the prefs

Code:

/usr/bin/gpk-update-viewer
was the default

maybe it is different in Buster

changes you make to the config will end up in

~/.config/package-update-indicator/


exit your DE
move ( or remove ) ~/.config/package-update-indicator/

log back in, and its defaults should be restored

linustalman 11-17-2019 12:11 PM

Quote:

Originally Posted by Firerat (Post 6058929)
I installed it, and opened up the prefs

Code:

/usr/bin/gpk-update-viewer
was the default

maybe it is different in Buster

changes you make to the config will end up in

~/.config/package-update-indicator/


exit your DE
move ( or remove ) ~/.config/package-update-indicator/

log back in, and its defaults should be restored

I simply deleted the line in the GUI app and it did the same thing. Thanks anyway.

linustalman 11-17-2019 12:39 PM

Re: https://www.linuxquestions.org/quest...6/#post6058850

From the terminal, I ran:

Code:

sudo apt update && sudo apt upgrade && sudo apt full-upgrade
and got this:

Code:

74 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 133 MB of archives.
After this operation, 15.4 kB of additional disk space will be used.
Do you want to continue? [Y/n]


Firerat 11-17-2019 02:27 PM

1 Attachment(s)
from https://debian-handbook.info/browse/...-upgrades.html

Quote:

...
...
These tools work very well for servers, but desktop users generally prefer a more interactive system. That is why the “Debian desktop environment” task installs gnome-packagekit (at least when you select GNOME as desktop environment). It provides an icon in the notification area of desktop environments when updates are available; clicking on this icon then runs gpk-update-viewer, a simplified interface to perform updates. You can browse through available updates, read the short description of the relevant packages and the corresponding changelog entries, and select whether to apply the update or not on a case-by-case basis.

linustalman 11-18-2019 02:18 PM

The icon was red just now and I got this output in the terminal:

from

Code:

sudo apt update && sudo apt upgrade && sudo apt full-upgrade
Code:

The following packages will be upgraded:
  lightning thunderbird
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.4 MB of archives.
After this operation, 32.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]



All times are GMT -5. The time now is 04:02 PM.