Hello! I'm facing the following issue: sudo apt-get update && sudo apt-get upgrade makes update icons to show, and I can update by clicking them, but they updates no longer appear on konsole. Any ideas?
Announcement
Collapse
No announcement yet.
Updates no longer appearing on Konsole
Collapse
This topic is closed.
X
X
-
-
...Any ideas ?
As an example - at here:
sudo apt-get update: http://pastebin.com/ULFLGsxR
sudo apt-get dist-upgrade: http://pastebin.com/DLrHxvuw
Pastebin: http://pastebin.com/
If you are using non English: http://userbase.kde.org/Konsole
With Konsole you can change the language to plain English (to see bugs info for example) by command:
export LANG=C
- Top
- Bottom
-
Hi. I've got:
sudo apt-get update: http://pastebin.com/HxjQ8TJK
sudo apt-get upgrade:http://pastebin.com/6gsZBh1t
- Top
- Bottom
Comment
-
Confused
About sudo apt-get update && sudo apt-get upgrade
The 'update'
man apt-get:
update
update is used to resynchronize the package index files from their sources...
The bash '&&' operator
http://tldp.org/LDP/abs/html/ops.html
logical (boolean) operators
&& is AND
&& may also be used, depending on context, in an and list to concatenate commands.
The 'upgrade'
man apt-get:
upgrade
upgrade is used to install the newest versions of all packages currently installed on the
system
The difference between the upgrade and the dist-upgrade
man apt-get:
upgrade
...Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed...
dist-upgrade
...in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove some packages....
...sudo apt-get update && sudo apt-get upgrade makes update icons to show, and I can update by clicking them, but they updates no longer appear on konsole...
I'm a bit confused...??
If I run the 'sudo apt-get update && sudo apt-get upgrade'
1) The package database is updated
2) The update notification is activated
3) The packages are updated
If I run the 'sudo apt-get update && sudo apt-get upgrade' and then click the Update notification icon
1) The package database is updated
2) The update notification is activated
3) The packages are updated
4) The updater is telling that all packages are up to date
If I run the 'sudo apt-get update && sudo apt-get upgrade' and then click the update notification icon and then run the sudo apt-get upgrade
1) The package database is updated
2) The update notification is activated
3) The packages are updated
4) The updater is telling that all packages are up to date
5) The apt-get is telling that there are '0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.'
- Top
- Bottom
Comment
-
Actually, I've already known that difference from the commands. But I didn't understand your reply and now I'm a lot more confused than you.
I've always updated and upgraded from konsole, but for some reason, now I can only do that by clicking on the icons that pop up on panel.
Just want to be able to do that again...
- Top
- Bottom
Comment
-
So your problem is: Can't upgrade from the command line ?
What is telling:
Code:/usr/lib/update-notifier/apt-check --human-readable
~$ /usr/lib/update-notifier/apt-check --help
Usage: apt-check [options]
Options:
-h, --help show this help message and exit
-p, --package-names Show the packages that are going to be
installed/upgraded
--human-readable Show human readable output on stdout
--security-updates-unattended
Return the time in days when security updates are
installed unattended (0 means disabled)
- Top
- Bottom
Comment
-
I don't know if I wasn't clear enough, so I'll repeat what my problem is: I've always updated and upgrade by running those commands (sudo apt-get update && sudo apt-get upgrade). That use to make the updates and upgrades appear on konsole. But, for some reason, running those commands now returns me nothing on konsole. It just makes the update icon appear on panel (when there is some update available), and I'm forced to click it in order to install the updates and upgrades. I just want to be able to do it using konsole, like I used to do.
- Top
- Bottom
Comment
-
Originally posted by geoaraujo View PostI don't know if I wasn't clear enough, so I'll repeat what my problem is: I've always updated and upgrade by running those commands (sudo apt-get update && sudo apt-get upgrade). That use to make the updates and upgrades appear on konsole. But, for some reason, running those commands now returns me nothing on konsole. It just makes the update icon appear on panel (when there is some update available), and I'm forced to click it in order to install the updates and upgrades. I just want to be able to do it using konsole, like I used to do.
(if it's a non-zero exit status, the 'sudo apt-get upgrade' command won't run, because '&&' means "run if the first command returns exit status 0")
To test the exit status, run:
Code:sudo apt-get update; echo "exit status was $?"
- Top
- Bottom
Comment
-
-
...It just makes the update icon appear on panel...
What is the status of the packages ?
Code:apt-cache policy <package-name>
:~$ apt-cache policy empty-test-package
empty-test-package:
Installed: 0.1~raring~ppa1
Candidate: 0.2~raring~ppa1
Version table:
0.2~raring~ppa1 0
500 file:/media/sda3/Test/ ./ Packages
*** 0.1~raring~ppa1 0
100 /var/lib/dpkg/status
- Top
- Bottom
Comment
Comment