[SOLVED] I keep getting the same software update that doesn't install
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As a follow-up to the preceding post (#12), here is the terminal output at the end of the execution of the sudo aptitude safe-upgrade command. The lines beginning with "Setting up" indicate that the package named in that line (e.g. tzdata-java in the first line) has been installed. That's how you know that a package has been installed.
Code:
Setting up tzdata-java (2015e-1) ...
Setting up libglapi-mesa:amd64 (10.5.7-1) ...
Setting up libglapi-mesa:i386 (10.5.7-1) ...
Setting up libgbm1:amd64 (10.5.7-1) ...
Setting up libegl1-mesa:amd64 (10.5.7-1) ...
Setting up libwayland-egl1-mesa:amd64 (10.5.7-1) ...
Setting up libgl1-mesa-dri:amd64 (10.5.7-1) ...
Setting up libgl1-mesa-dri:i386 (10.5.7-1) ...
Setting up libgl1-mesa-glx:amd64 (10.5.7-1) ...
Setting up libgl1-mesa-glx:i386 (10.5.7-1) ...
Setting up libgles2-mesa:amd64 (10.5.7-1) ...
Setting up libosmesa6:amd64 (10.5.7-1) ...
Setting up libxatracker2:amd64 (10.5.7-1) ...
Setting up linux-headers-4.0-5.dmz.4-liquorix-amd64 (4.0-13) ...
Setting up mesa-vdpau-drivers:amd64 (10.5.7-1) ...
Setting up mesa-vdpau-drivers:i386 (10.5.7-1) ...
Setting up notification-daemon (3.17.2-2) ...
Setting up linux-headers-liquorix-amd64 (4.0-13) ...
Setting up linux-image-liquorix-amd64 (4.0-13) ...
Processing triggers for libc-bin (2.19-18) ...
Current status: 55 updates [-20].
jdk
I like aptitude because it says it will fill in the packages and dependencies that are missing.
And look what happened when I attempted (now granted, I did not have a software update but I figured I'd do it anyway) an apt get update thingie:
Code:
gregg@LG:~/Desktop$ sudo apt-get install
[sudo] password for gregg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
gregg@LG:~/Desktop$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
Done
The following packages will be upgraded:
gdisk google-chrome-stable libkf5wallet-bin libkf5wallet5
libkwalletbackend5-5
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.9 MB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://dl.google.com/linux/chrome/deb/ stable/main google-chrome-stable amd64 43.0.2357.130-1 [48.3 MB]
99% [Connecting to us.archive.ubuntu.com (2001:67c:1562::16)]
Does this look normal?
Aha! I went back to exit the terminal and it was still doing something! Here's the final result:
Code:
gregg@LG:~/Desktop$ sudo apt-get install
[sudo] password for gregg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
gregg@LG:~/Desktop$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
Done
The following packages will be upgraded:
gdisk google-chrome-stable libkf5wallet-bin libkf5wallet5
libkwalletbackend5-5
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.9 MB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://dl.google.com/linux/chrome/deb/ stable/main google-chrome-stable amd64 43.0.2357.130-1 [48.3 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/universe libkf5wallet-bin amd64 5.9.0-0ubuntu1.1 [107 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/universe libkf5wallet5 amd64 5.9.0-0ubuntu1.1 [204 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/universe libkwalletbackend5-5 amd64 5.9.0-0ubuntu1.1 [40.2 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main gdisk amd64 0.8.10-2ubuntu0.1 [198 kB]
Fetched 48.9 MB in 10min 0s (81.3 kB/s)
(Reading database ... 311028 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_43.0.2357.130-1_amd64.deb ...
Unpacking google-chrome-stable (43.0.2357.130-1) over (43.0.2357.125-1) ...
Preparing to unpack .../libkf5wallet-bin_5.9.0-0ubuntu1.1_amd64.deb ...
Unpacking libkf5wallet-bin (5.9.0-0ubuntu1.1) over (5.9.0-0ubuntu1) ...
Preparing to unpack .../libkf5wallet5_5.9.0-0ubuntu1.1_amd64.deb ...
Unpacking libkf5wallet5:amd64 (5.9.0-0ubuntu1.1) over (5.9.0-0ubuntu1) ...
Preparing to unpack .../libkwalletbackend5-5_5.9.0-0ubuntu1.1_amd64.deb ...
Unpacking libkwalletbackend5-5:amd64 (5.9.0-0ubuntu1.1) over (5.9.0-0ubuntu1) ...
Preparing to unpack .../gdisk_0.8.10-2ubuntu0.1_amd64.deb ...
Unpacking gdisk (0.8.10-2ubuntu0.1) over (0.8.10-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for doc-base (0.10.6) ...
Processing 1 changed doc-base file...
Registering documents with scrollkeeper...
Setting up google-chrome-stable (43.0.2357.130-1) ...
Setting up libkwalletbackend5-5:amd64 (5.9.0-0ubuntu1.1) ...
Setting up libkf5wallet5:amd64 (5.9.0-0ubuntu1.1) ...
Setting up libkf5wallet-bin (5.9.0-0ubuntu1.1) ...
Setting up gdisk (0.8.10-2ubuntu0.1) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
gregg@LG:~/Desktop$
So maybe these things are just starting to take a long time. (They never used to. Yeah, the huge ones took a little longer,
but the thing is they always STARTED going right away and the bar graph always went and I could always see what
was happening in the "details" feature.)
But as of right now I'm thinking (if this latest coded thing looks normal) the terminal way of doing the apt get thing is the way to go.
Last edited by Gregg Bell; 06-23-2015 at 12:58 AM.
Reason: added something
Make sure you have enough space for the update. The downloaded .deb files get archived in /var/cache/apt/archives/ and don't get removed depending on how you do your updates. These can add up to gigabytes of used space over time. And ultimately fill a disk.
Your DNS, Firewall, Routing, and other things can also get in the way at times. And the servers that your trying to access might have changed or become offline. All of these things can cause wait periods that might be infinite.
Thanks Shadow,
I don't think I've got too many updates stored. (see screenshot) But I do think you may be on to something with the notion that the servers I'm trying to access might have changed or become offline. I say that because a lot of the things I do seem to get stuck on the "connecting to such and such" point.
Hi Gregg,
So it looks like your problem is solved, yes? Everything looks OK. It's clear that updating your kernel will take some time (I did mine this morning and it took a couple of minutes but I have a reasonably fast connection speed (+/-33Mbs). Anyway everything looks normal from here. Don't forget to reboot your machine to install the latest kernel (3.19.0-15-generic in your case). And you can mark this thread as [Solved] if you're satisfied.
You are now LZM++
jdk
But I'm on relatively slow internet connections. The -d is download only. The second update is to check if new updates were checked in while I did the download. If there were, it might be ideal to wait a few minutes / hours for all the updates to be live on the distros servers before pulling and installing them.
Okay, thanks LZM and Shadow. I got a little confused with the best way to go about doing things. LZM's way (since I couldn't seem to get aptitude) was
sudo apt-get install
sudo apt-get upgrade
That seemed to work okay. But then Shadow was talking about "upgrades" and "hours" to install. Which was good actually, because I think that since I'm so used to stuff installing very quickly I've had no patience waiting for stuff to install.
Anyway, I Googled "best way to install updates in Ubunut" and came across this (screenshot) (Here's the link: https://askubuntu.com/questions/1967...a-command-line ) and tried it. Here are the results (now please note, this is being done on my work computer. The previous terminal results reported were on my home computer):
Code:
gregory@OptiPlex-170L:~/Desktop$ sudo apt-get update
[sudo] password for gregory:
Ign http://ppa.launchpad.net vivid InRelease
Hit http://ppa.launchpad.net vivid Release.gpg
Hit http://ppa.launchpad.net vivid Release
Hit http://ppa.launchpad.net vivid/main i386 Packages
Hit http://ppa.launchpad.net vivid/main Translation-en
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main i386 Packages
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://us.archive.ubuntu.com vivid InRelease
Ign http://us.archive.ubuntu.com vivid-updates InRelease
Ign http://us.archive.ubuntu.com vivid-backports InRelease
Hit http://us.archive.ubuntu.com vivid Release.gpg
Get:1 http://us.archive.ubuntu.com vivid-updates Release.gpg [933 B]
Hit http://us.archive.ubuntu.com vivid-backports Release.gpg
Hit http://us.archive.ubuntu.com vivid Release
Get:2 http://us.archive.ubuntu.com vivid-updates Release [63.5 kB]
Hit http://us.archive.ubuntu.com vivid-backports Release
Hit http://us.archive.ubuntu.com vivid/main Sources
Hit http://us.archive.ubuntu.com vivid/restricted Sources
Hit http://us.archive.ubuntu.com vivid/universe Sources
Hit http://us.archive.ubuntu.com vivid/multiverse Sources
Hit http://us.archive.ubuntu.com vivid/main i386 Packages
Hit http://us.archive.ubuntu.com vivid/restricted i386 Packages
Hit http://us.archive.ubuntu.com vivid/universe i386 Packages
Hit http://us.archive.ubuntu.com vivid/multiverse i386 Packages
Hit http://us.archive.ubuntu.com vivid/main Translation-en
Hit http://us.archive.ubuntu.com vivid/multiverse Translation-en
Hit http://us.archive.ubuntu.com vivid/restricted Translation-en
Hit http://us.archive.ubuntu.com vivid/universe Translation-en
Get:3 http://us.archive.ubuntu.com vivid-updates/main Sources [44.0 kB]
Get:4 http://us.archive.ubuntu.com vivid-updates/restricted Sources [28 B]
Get:5 http://us.archive.ubuntu.com vivid-updates/universe Sources [22.0 kB]
Get:6 http://us.archive.ubuntu.com vivid-updates/multiverse Sources [1,968 B]
Get:7 http://us.archive.ubuntu.com vivid-updates/main i386 Packages [113 kB]
Get:8 http://us.archive.ubuntu.com vivid-updates/restricted i386 Packages [28 B]
Get:9 http://us.archive.ubuntu.com vivid-updates/universe i386 Packages [68.4 kB]
Get:10 http://us.archive.ubuntu.com vivid-updates/multiverse i386 Packages [3,684 B]
Hit http://us.archive.ubuntu.com vivid-updates/main Translation-en
Hit http://us.archive.ubuntu.com vivid-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com vivid-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com vivid-updates/universe Translation-en
Hit http://us.archive.ubuntu.com vivid-backports/main Sources
Hit http://us.archive.ubuntu.com vivid-backports/restricted Sources
Hit http://us.archive.ubuntu.com vivid-backports/universe Sources
Hit http://us.archive.ubuntu.com vivid-backports/multiverse Sources
Hit http://us.archive.ubuntu.com vivid-backports/main i386 Packages
Hit http://us.archive.ubuntu.com vivid-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com vivid-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com vivid-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com vivid-backports/main Translation-en
Hit http://us.archive.ubuntu.com vivid-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com vivid-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com vivid-backports/universe Translation-en
Ign http://security.ubuntu.com vivid-security InRelease
Get:11 http://security.ubuntu.com vivid-security Release.gpg [933 B]
Get:12 http://security.ubuntu.com vivid-security Release [63.5 kB]
Get:13 http://security.ubuntu.com vivid-security/main Sources [21.6 kB]
Get:14 http://security.ubuntu.com vivid-security/restricted Sources [28 B]
Get:15 http://security.ubuntu.com vivid-security/universe Sources [9,927 B]
Get:16 http://security.ubuntu.com vivid-security/multiverse Sources [1,968 B]
Get:17 http://security.ubuntu.com vivid-security/main i386 Packages [66.5 kB]
Get:18 http://security.ubuntu.com vivid-security/restricted i386 Packages [28 B]
Get:19 http://security.ubuntu.com vivid-security/universe i386 Packages [34.6 kB]
Get:20 http://security.ubuntu.com vivid-security/multiverse i386 Packages [3,684 B]
Hit http://security.ubuntu.com vivid-security/main Translation-en
Hit http://security.ubuntu.com vivid-security/multiverse Translation-en
Hit http://security.ubuntu.com vivid-security/restricted Translation-en
Hit http://security.ubuntu.com vivid-security/universe Translation-en
Fetched 520 kB in 14min 2s (616 B/s)
Reading package lists... Done
gregory@OptiPlex-170L:~/Desktop$ sudo apt-get upgrade
[sudo] password for gregory:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-headers-3.19.0-18 linux-headers-3.19.0-18-generic linux-image-3.19.0-15-generic linux-image-3.19.0-18-generic
linux-image-extra-3.19.0-15-generic linux-image-extra-3.19.0-18-generic
Use 'apt-get autoremove' to remove them.
Done
The following packages will be upgraded:
aptdaemon aptdaemon-data flashplugin-installer gdisk gimp-help-common gimp-help-en google-chrome-stable libkf5wallet-bin libkf5wallet5 libkwalletbackend5-5
liblightdm-gobject-1-0 lightdm python-aptdaemon python-aptdaemon.gtk3widgets python3-aptdaemon python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat wpasupplicant
18 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 74.9 MB of archives.
After this operation, 9,216 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://dl.google.com/linux/chrome/deb/ stable/main google-chrome-stable i386 43.0.2357.130-1 [47.4 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main lightdm i386 1.14.2-0ubuntu1 [119 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/multiverse flashplugin-installer i386 11.2.202.468ubuntu0.15.04.1 [7,188 B]
Get:4 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main gimp-help-en all 2.8.2-0ubuntu1.1 [25.6 MB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main gimp-help-common all 2.8.2-0ubuntu1.1 [11.4 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/universe libkf5wallet-bin i386 5.9.0-0ubuntu1.1 [109 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/universe libkf5wallet5 i386 5.9.0-0ubuntu1.1 [208 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/universe libkwalletbackend5-5 i386 5.9.0-0ubuntu1.1 [42.8 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main liblightdm-gobject-1-0 i386 1.14.2-0ubuntu1 [38.5 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main wpasupplicant i386 2.1-0ubuntu7.2 [817 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main python3-aptdaemon.pkcompat all 1.1.1+bzr982-0ubuntu3.1 [23.3 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main aptdaemon-data all 1.1.1+bzr982-0ubuntu3.1 [161 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main python3-aptdaemon.gtk3widgets all 1.1.1+bzr982-0ubuntu3.1 [14.0 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main aptdaemon all 1.1.1+bzr982-0ubuntu3.1 [13.6 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main python3-aptdaemon all 1.1.1+bzr982-0ubuntu3.1 [76.6 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main gdisk i386 0.8.10-2ubuntu0.1 [208 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main python-aptdaemon.gtk3widgets all 1.1.1+bzr982-0ubuntu3.1 [13.9 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main python-aptdaemon all 1.1.1+bzr982-0ubuntu3.1 [76.0 kB]
Fetched 74.9 MB in 10min 13s (122 kB/s)
Preconfiguring packages ...
(Reading database ... 332913 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_43.0.2357.130-1_i386.deb ...
Unpacking google-chrome-stable (43.0.2357.130-1) over (43.0.2357.125-1) ...
Preparing to unpack .../lightdm_1.14.2-0ubuntu1_i386.deb ...
Unpacking lightdm (1.14.2-0ubuntu1) over (1.14.0-0ubuntu2) ...
Preparing to unpack .../flashplugin-installer_11.2.202.468ubuntu0.15.04.1_i386.deb ...
Unpacking flashplugin-installer (11.2.202.468ubuntu0.15.04.1) over (11.2.202.466ubuntu0.15.04.1) ...
Preparing to unpack .../gimp-help-en_2.8.2-0ubuntu1.1_all.deb ...
Unpacking gimp-help-en (2.8.2-0ubuntu1.1) over (2.8.2-0ubuntu1) ...
Preparing to unpack .../gimp-help-common_2.8.2-0ubuntu1.1_all.deb ...
Unpacking gimp-help-common (2.8.2-0ubuntu1.1) over (2.8.2-0ubuntu1) ...
Preparing to unpack .../libkf5wallet-bin_5.9.0-0ubuntu1.1_i386.deb ...
Unpacking libkf5wallet-bin (5.9.0-0ubuntu1.1) over (5.9.0-0ubuntu1) ...
Preparing to unpack .../libkf5wallet5_5.9.0-0ubuntu1.1_i386.deb ...
Unpacking libkf5wallet5:i386 (5.9.0-0ubuntu1.1) over (5.9.0-0ubuntu1) ...
Preparing to unpack .../libkwalletbackend5-5_5.9.0-0ubuntu1.1_i386.deb ...
Unpacking libkwalletbackend5-5:i386 (5.9.0-0ubuntu1.1) over (5.9.0-0ubuntu1) ...
Preparing to unpack .../liblightdm-gobject-1-0_1.14.2-0ubuntu1_i386.deb ...
Unpacking liblightdm-gobject-1-0 (1.14.2-0ubuntu1) over (1.14.0-0ubuntu2) ...
Preparing to unpack .../wpasupplicant_2.1-0ubuntu7.2_i386.deb ...
Unpacking wpasupplicant (2.1-0ubuntu7.2) over (2.1-0ubuntu7.1) ...
Preparing to unpack .../python3-aptdaemon.pkcompat_1.1.1+bzr982-0ubuntu3.1_all.deb ...
Unpacking python3-aptdaemon.pkcompat (1.1.1+bzr982-0ubuntu3.1) over (1.1.1+bzr982-0ubuntu3) ...
Preparing to unpack .../aptdaemon-data_1.1.1+bzr982-0ubuntu3.1_all.deb ...
Unpacking aptdaemon-data (1.1.1+bzr982-0ubuntu3.1) over (1.1.1+bzr982-0ubuntu3) ...
Preparing to unpack .../python3-aptdaemon.gtk3widgets_1.1.1+bzr982-0ubuntu3.1_all.deb ...
Unpacking python3-aptdaemon.gtk3widgets (1.1.1+bzr982-0ubuntu3.1) over (1.1.1+bzr982-0ubuntu3) ...
Preparing to unpack .../aptdaemon_1.1.1+bzr982-0ubuntu3.1_all.deb ...
Unpacking aptdaemon (1.1.1+bzr982-0ubuntu3.1) over (1.1.1+bzr982-0ubuntu3) ...
Preparing to unpack .../python3-aptdaemon_1.1.1+bzr982-0ubuntu3.1_all.deb ...
Unpacking python3-aptdaemon (1.1.1+bzr982-0ubuntu3.1) over (1.1.1+bzr982-0ubuntu3) ...
Preparing to unpack .../gdisk_0.8.10-2ubuntu0.1_i386.deb ...
Unpacking gdisk (0.8.10-2ubuntu0.1) over (0.8.10-2) ...
Preparing to unpack .../python-aptdaemon.gtk3widgets_1.1.1+bzr982-0ubuntu3.1_all.deb ...
Unpacking python-aptdaemon.gtk3widgets (1.1.1+bzr982-0ubuntu3.1) over (1.1.1+bzr982-0ubuntu3) ...
Preparing to unpack .../python-aptdaemon_1.1.1+bzr982-0ubuntu3.1_all.deb ...
Unpacking python-aptdaemon (1.1.1+bzr982-0ubuntu3.1) over (1.1.1+bzr982-0ubuntu3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for dbus (1.8.12-1ubuntu5) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (219-7ubuntu6) ...
Processing triggers for update-notifier-common (3.160) ...
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20150623.1.orig.tar.gz
Get:1 http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20150623.1.orig.tar.gz [26.4 MB]
Fetched 26.4 MB in 4min 14s (104 kB/s)
Installing from local file /var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20150623.1.orig.tar.gz
Flash Plugin installed.
Processing triggers for doc-base (0.10.6) ...
Processing 2 changed doc-base files...
Registering documents with scrollkeeper...
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Setting up google-chrome-stable (43.0.2357.130-1) ...
Setting up lightdm (1.14.2-0ubuntu1) ...
Setting up flashplugin-installer (11.2.202.468ubuntu0.15.04.1) ...
Setting up gimp-help-common (2.8.2-0ubuntu1.1) ...
Setting up gimp-help-en (2.8.2-0ubuntu1.1) ...
Setting up libkwalletbackend5-5:i386 (5.9.0-0ubuntu1.1) ...
Setting up libkf5wallet5:i386 (5.9.0-0ubuntu1.1) ...
Setting up libkf5wallet-bin (5.9.0-0ubuntu1.1) ...
Setting up liblightdm-gobject-1-0 (1.14.2-0ubuntu1) ...
Setting up wpasupplicant (2.1-0ubuntu7.2) ...
Setting up python3-aptdaemon (1.1.1+bzr982-0ubuntu3.1) ...
Setting up python3-aptdaemon.pkcompat (1.1.1+bzr982-0ubuntu3.1) ...
Setting up aptdaemon-data (1.1.1+bzr982-0ubuntu3.1) ...
Setting up python3-aptdaemon.gtk3widgets (1.1.1+bzr982-0ubuntu3.1) ...
Setting up aptdaemon (1.1.1+bzr982-0ubuntu3.1) ...
Setting up gdisk (0.8.10-2ubuntu0.1) ...
Setting up python-aptdaemon (1.1.1+bzr982-0ubuntu3.1) ...
Setting up python-aptdaemon.gtk3widgets (1.1.1+bzr982-0ubuntu3.1) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...
gregory@OptiPlex-170L:~/Desktop$ sudo apt-get dist-upgrade
[sudo] password for gregory:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-headers-3.19.0-18 linux-headers-3.19.0-18-generic linux-image-3.19.0-15-generic linux-image-3.19.0-18-generic
linux-image-extra-3.19.0-15-generic linux-image-extra-3.19.0-18-generic
Use 'apt-get autoremove' to remove them.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
gregory@OptiPlex-170L:~/Desktop$
I would like to think this is a good way of doing it. However, the old way (of just using the GUI) seemed SO EASY in comparison, but if this is a better way (or if one of your ways is better) I will do it.
Code:
Use 'apt-get autoremove' to remove them.
And so should I be running apt-get autoremove or was that already done? (See three lines from the bottom of the coded section.)
One little side note. When I turned the computer on this morning there was a software update notice in the toolbar. I ignored it and did what I've detailed in this post instead. Well, I just opened the software update window and clicked on it for it to install. (It was only 1.4 MB.) Well the blue line shot across the window and it installed in less than a second. (Leading me to believe that what I'd done in the terminal had already covered the little install.) Then I got a window saying "The software on the computer is up to date."
So (phew) would this be a plan?:
1) Wait for a software update window (so I know there is something to be installed)
2) Then do what I did:
If you want to take a safe, conservative (in the good sense) approach and avoid unnecessary hassles, I would use "upgrade" rather than "dist-upgrade". Using aptitude, the equivalent command is "safe-upgrade" and it was given this name for a reason. If you are using apt-get, then my advice would be to use these commands:
Code:
sudo apt-get update
sudo apt-get upgrade
and forget about dist-upgrade.
To find out if I given package is installed, is use aptitude search (sudo is not needed for this command). In your case try:
Code:
aptitude search linux-image-3.19.0-15-generic
If the package is still installed you should see something like this:
Code:
i A linux-image-3.19.0-15-generic
the "i" at the beginning of the line means "installed" (A is for automatically).
If the that package has already been removed you will see this
That seemed to work okay. But then Shadow was talking about "upgrades" and "hours" to install. Which was good actually, because I think that since I'm so used to stuff installing very quickly I've had no patience waiting for stuff to install.
In the "hours" case, that is if the distros servers are in flux. If there's a lot of updates and they're not all sitting on the server yet, waiting for that to stabilize will help avoid issues. The actual updates are pretty fast if your storage media is fast and the computer is not slow. The download of the updates could take hours. There tends to be a lot of updates when the compiler version changes, when the next release is upgraded to stable, or security fixes that touched a lot of packages, or if you waited a year to update. And developers tend to have the same connection speeds as you (or worse) and live in all timezones.
In the "hours" case, that is if the distros servers are in flux. If there's a lot of updates and they're not all sitting on the server yet, waiting for that to stabilize will help avoid issues. The actual updates are pretty fast if your storage media is fast and the computer is not slow. The download of the updates could take hours. There tends to be a lot of updates when the compiler version changes, when the next release is upgraded to stable, or security fixes that touched a lot of packages, or if you waited a year to update. And developers tend to have the same connection speeds as you (or worse) and live in all timezones.
Thanks Shadow. The one thing I know I'm NOT doing is waiting a year to update! Good stuff to know.
If you want to take a safe, conservative (in the good sense) approach and avoid unnecessary hassles, I would use "upgrade" rather than "dist-upgrade". Using aptitude, the equivalent command is "safe-upgrade" and it was given this name for a reason. If you are using apt-get, then my advice would be to use these commands:
Code:
sudo apt-get update
sudo apt-get upgrade
and forget about dist-upgrade.
To find out if I given package is installed, is use aptitude search (sudo is not needed for this command). In your case try:
Code:
aptitude search linux-image-3.19.0-15-generic
If the package is still installed you should see something like this:
Code:
i A linux-image-3.19.0-15-generic
the "i" at the beginning of the line means "installed" (A is for automatically).
If the that package has already been removed you will see this
Code:
c linux-image-linux-image-3.19.0-15-generic
Hope this answers your question.
jdk
Thanks LZM. I finally got Aptitude and after a little research (and as you said, it says "safe" upgrade) I decided I want to use Aptitude instead of apt-get. That said, I'm curious that you said don't use sudo apt-get dist-upgrade when using apt-get.
So question #1) Why wouldn’t I use it? (My screenshot on post #21 in this thread says sudo apt-get dist-upgrade "installs updates (new ones)" )
When using apt-get you get a lot of things in the terminal that end something like this:
Code:
Calculating upgrade... The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-headers-3.19.0-18 linux-headers-3.19.0-18-generic linux-image-3.19.0-15-generic linux-image-3.19.0-18-generic
linux-image-extra-3.19.0-15-generic linux-image-extra-3.19.0-18-generic
Use 'apt-get autoremove' to remove them.
Question #2) Do I need to do anything with that apt-get autoremove and if so, what?
Okay, so I'm going to use Aptitude for my updates.
Question #3) What triggers me using Aptitude for an update? Getting a software update notice? (Some of them are just a handful of kbs.) Something else? What's a prudent strategy?
Using aptitude for my updates.
Question #4) Could you please give me the exact commands to use to do the update?
Not being a techie or having a complicated computer with a lot of data on it and not wanting to spend a lot of time with
these updates (I will if I have to of course)
Question #5) Do I really need to be (as you gave the commands) checking to see if stuff installed?
Question #6) I have Aptitude. Does that mean I have Aptitude Search, as well?
AFAIK, aptitudes command line syntax is the same as apt-get. It's just a little nicer about getting groups of packages by less cryptic names. Like when things have version numbers as part of the package name. But it's been a long time since I've used it and I could be wrong.
The apt-get autoremove is to mostly free up space. There is a gotcha though in that old configs for installed packages are not removed by default. You can indentify not currently installed packages with lingering bits by:
$ dpkg -l | grep -v "^ii"
Where entries that begin with ii are installed and the -v option of grep omits them. You could probably apt-get remove --purge <package> (or is it apt-get purge ...) on those left overs to keep the system clean. But I tend towards older ways with dpkg --purge --force-all <package>. Be careful though as some packages should never be removed like libc. There's also deborphan which can help identify old libs that have no known application using them. Although deborphan falsely reports a few things like grub which you probably don't want to remove.
AFAIK, aptitudes command line syntax is the same as apt-get. It's just a little nicer about getting groups of packages by less cryptic names. Like when things have version numbers as part of the package name. But it's been a long time since I've used it and I could be wrong.
The apt-get autoremove is to mostly free up space. There is a gotcha though in that old configs for installed packages are not removed by default. You can indentify not currently installed packages with lingering bits by:
$ dpkg -l | grep -v "^ii"
Where entries that begin with ii are installed and the -v option of grep omits them. You could probably apt-get remove --purge <package> (or is it apt-get purge ...) on those left overs to keep the system clean. But I tend towards older ways with dpkg --purge --force-all <package>. Be careful though as some packages should never be removed like libc. There's also deborphan which can help identify old libs that have no known application using them. Although deborphan falsely reports a few things like grub which you probably don't want to remove.
Thanks Shadow. Good info. I'd be afraid of deleting stuff I don't need. It's not like my computer is overloaded. I think I'll save the system cleaning until I know more of what I'm doing.
So question #1) Why wouldn’t I use it? (My screenshot on post #21 in this thread says sudo apt-get dist-upgrade "installs updates (new ones)" )
The best answer to this question is by concrete example. On my workstation (running Debian testing) I do a daily update/upgrade (every morning a 8:00). I use two commands, one after the other. The whole process from start to finish rarely takes longer than 2-3 minutes.
Code:
sudo aptitude update
sudo aptitude safe-upgrade
This morning I did a simulation of both upgrade commands (safe-upgrade and dist-upgrade). Here are the results:
1. safe-upgrade
Code:
~$ aptitude -s safe-upgrade
Resolving dependencies...
The following NEW packages will be installed:
libapparmor1{a} libncurses5-dev{a} libseccomp2{a} libtinfo-dev{a}
The following packages will be REMOVED:
libghc-binary-dev{u} libghc-binary-prof{u} perlmagick{u}
The following packages will be upgraded:
cpp-4.8 gcc-4.8 gcc-4.8-base gcc-4.8-base:i386 ghc ghc-prof iamerican ibritish ienglish-common
inkscape ispell libarchive-zip-perl libasan0 libfile-desktopentry-perl libgcc-4.8-dev
libgee-0.8-2 libghc-bzlib-dev libghc-bzlib-prof libghc-openpgp-dev libghc-openpgp-prof
libghc-utf8-string-dev libghc-utf8-string-prof libghc-zlib-dev libghc-zlib-prof libgjs0e
libhtml-template-perl libnss3 libpam-systemd libstdc++-4.8-dev libsystemd0 libsystemd0:i386
libudev1 libudev1:i386 rkhunter rubygems-integration systemd udev wget
The following packages are RECOMMENDED but will NOT be installed:
unhide
38 packages upgraded, 4 newly installed, 3 to remove and 56 not upgraded.
Need to get 102 MB of archives. After unpacking 187 MB will be used.
Do you want to continue? [Y/n/?]
2. dist-upgrade
Code:
~$ aptitude -s dist-upgrade
The following NEW packages will be installed:
coinor-libcbc3{a} coinor-libcgl1{a} coinor-libclp1{a} coinor-libcoinmp1{a}
coinor-libcoinutils3{a} coinor-libosi1{a} firebird2.5-common{a} firebird2.5-common-doc{a}
firebird2.5-server-common{a} libabw-0.1-1{a} libapparmor1{a} libboost-date-time1.55.0{a}
libcmis-0.5-5{a} libe-book-0.1-1{a} libeot0{a} libetonyek-0.1-1{a} libfbclient2{a}
libfbembed2.5{a} libfreehand-0.1-1{a} libgltf-0.0-0{a} libgpod4{ab} libmspub-0.1-1{a}
libmwaw-0.3-3{a} libncurses5-dev{a} libodfgen-0.1-1{a} liborcus-0.8-0{a} libpagemaker-0.0-0{a}
libreoffice-avmedia-backend-gstreamer{a} libreoffice-base-drivers{a}
libreoffice-sdbc-firebird{a} libreoffice-sdbc-hsqldb{a} libseccomp2{a} libtinfo-dev{a}
libwps-0.3-3{a}
The following packages will be REMOVED:
libghc-binary-dev{u} libghc-binary-prof{u} perlmagick{u}
The following packages will be upgraded:
cpp-4.8 gcc-4.8 gcc-4.8-base gcc-4.8-base:i386 ghc ghc-prof iamerican ibritish ienglish-common
inkscape ispell libarchive-zip-perl libasan0 libfile-desktopentry-perl libgcc-4.8-dev
libgee-0.8-2 libghc-bzlib-dev libghc-bzlib-prof libghc-openpgp-dev libghc-openpgp-prof
libghc-utf8-string-dev libghc-utf8-string-prof libghc-zlib-dev libghc-zlib-prof libgjs0e
libgnutls-deb0-28{b} libgnutls-deb0-28:i386{b} libgnutls-openssl27 libgpod-common
libhtml-template-perl libjpeg62 libjpeg62-turbo{b} libjpeg62-turbo:i386{b} libnss3
libpam-systemd libreoffice-base libreoffice-base-core libreoffice-calc libreoffice-common
libreoffice-core libreoffice-draw libreoffice-impress libreoffice-kde libreoffice-math
libreoffice-ogltrans libreoffice-report-builder-bin libreoffice-style-galaxy
libreoffice-style-oxygen libreoffice-writer libstdc++-4.8-dev libsystemd0 libsystemd0:i386
libudev1 libudev1:i386 netspeed{b} python3-uno rkhunter rubygems-integration systemd
task-british-desktop task-british-kde-desktop task-desktop task-english task-kde-desktop
task-print-server task-ssh-server task-web-server tasksel tasksel-data udev uno-libs3 ure wget
xserver-xorg-core{b} xserver-xorg-video-ati xserver-xorg-video-cirrus xserver-xorg-video-fbdev
xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga
xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-openchrome
xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon
xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb
xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa
xserver-xorg-video-vmware
The following packages are RECOMMENDED but will NOT be installed:
unhide
93 packages upgraded, 34 newly installed, 3 to remove and 1 not upgraded.
Need to get 206 MB of archives. After unpacking 245 MB will be used.
The following packages have unmet dependencies:
libreoffice : Depends: libreoffice-core (= 1:4.1.6~rc2-1+b1) but 1:4.4.4~rc1-1+b1 is to be installed.
netspeed : Depends: gnome-applets (>= 3.16) but it is not going to be installed.
libgnutls-deb0-28 : Conflicts: libhogweed2 but 2.7.1-5 is installed.
Conflicts: libhogweed2:i386 but 2.7.1-5 is installed.
Conflicts: libnettle4 but 2.7.1-5 is installed.
Conflicts: libnettle4:i386 but 2.7.1-5 is installed.
libgnutls-deb0-28:i386 : Conflicts: libhogweed2 but 2.7.1-5 is installed.
Conflicts: libhogweed2:i386 but 2.7.1-5 is installed.
Conflicts: libnettle4 but 2.7.1-5 is installed.
Conflicts: libnettle4:i386 but 2.7.1-5 is installed.
task-database-server : Depends: tasksel (= 3.21) but 3.32 is to be installed.
xserver-xorg-core : Conflicts: xserver-xorg-video-modesetting but 0.9.0-1+b1 is installed.
libgpod4 : Conflicts: libgpod4-nogtk but 0.8.3-1.1+b2 is installed.
libgpod4-nogtk : Conflicts: libgpod4 but 0.8.3-1.1+b2 is to be installed.
task-mail-server : Depends: tasksel (= 3.21) but 3.32 is to be installed.
task-dns-server : Depends: tasksel (= 3.21) but 3.32 is to be installed.
task-file-server : Depends: tasksel (= 3.21) but 3.32 is to be installed.
libjpeg62-turbo : Conflicts: libjpeg62 but 1:6b2-2 is to be installed.
libjpeg62-turbo:i386 : Conflicts: libjpeg62 but 1:6b2-2 is to be installed.
xserver-xorg-video-modesetting : Depends: xorg-video-abi-18 which is a virtual package.
open: 210; closed: 4067; defer: 93; conflict: 348
The following actions will resolve these dependencies:
Remove the following packages:
1) xserver-xorg-video-modesetting
Keep the following packages at their current version:
2) libgnutls-deb0-28 [3.3.15-6 (now)]
3) libgnutls-deb0-28:i386 [3.3.15-6 (now)]
4) libgnutls-openssl27 [3.3.15-6 (now)]
5) libgpod-common [0.8.3-1.1+b1 (now)]
6) libgpod4 [Not Installed]
7) libjpeg62 [1:1.3.1-8 (now)]
8) libjpeg62-turbo [1:1.3.1-8 (now)]
9) libjpeg62-turbo:i386 [1:1.3.1-8 (now)]
10) libreoffice-avmedia-backend-gstreamer [Not Installed]
11) libreoffice-base [1:4.1.6~rc2-1+b1 (now)]
12) libreoffice-base-core [1:4.1.6~rc2-1+b1 (now)]
13) libreoffice-base-drivers [Not Installed]
14) libreoffice-calc [1:4.1.6~rc2-1+b1 (now)]
15) libreoffice-common [1:4.1.6~rc2-1 (now)]
16) libreoffice-core [1:4.1.6~rc2-1+b1 (now)]
17) libreoffice-draw [1:4.1.6~rc2-1+b1 (now)]
18) libreoffice-impress [1:4.1.6~rc2-1+b1 (now)]
19) libreoffice-kde [1:4.1.6~rc2-1+b1 (now)]
20) libreoffice-math [1:4.1.6~rc2-1+b1 (now)]
21) libreoffice-ogltrans [1:4.3.3-2 (now)]
22) libreoffice-report-builder-bin [1:4.3.3-2 (now)]
23) libreoffice-sdbc-firebird [Not Installed]
24) libreoffice-sdbc-hsqldb [Not Installed]
25) libreoffice-style-galaxy [1:4.1.6~rc2-1 (now)]
26) libreoffice-style-oxygen [1:4.1.6~rc2-1 (now)]
27) libreoffice-writer [1:4.1.6~rc2-1+b1 (now)]
28) netspeed [0.16-3+b1 (now)]
29) python3-uno [1:4.1.6~rc2-1+b1 (now)]
30) task-british-desktop [3.21 (now)]
31) task-british-kde-desktop [3.21 (now)]
32) task-desktop [3.21 (now)]
33) task-english [3.21 (now)]
34) task-kde-desktop [3.21 (now)]
35) task-print-server [3.21 (now)]
36) task-ssh-server [3.21 (now)]
37) task-web-server [3.21 (now)]
38) tasksel [3.21 (now)]
39) tasksel-data [3.21 (now)]
40) uno-libs3 [4.2.6-1 (now)]
41) ure [4.2.6-1 (now)]
Accept this solution? [Y/n/q/?]
Now I think you know why I avoid dist-upgrade.
Quote:
Question #2) Do I need to do anything with that apt-get autoremove and if so, what?
Yes, since you have installed a more recent linux-image you can remove the old one. Since I use aptitude I just give this command:
Code:
sudo aptitude remove <name of obsolete linux-image package>
Quote:
Question #3) What triggers me using Aptitude for an update? Getting a software update notice? (Some of them are just a handful of kbs.) Something else? What's a prudent strategy?
Just do it either daily or weekly. As I said, it doesn't take long.
Quote:
Question #4) Could you please give me the exact commands to use to do the update?
Just open a terminal and type the two commands:
Code:
sudo aptitude update
sudo aptitude safe-upgrade
Quote:
Question #5) Do I really need to be (as you gave the commands) checking to see if stuff installed?
Yes, but it's not hard to do. Just make sure that command has terminated normally. Here's a sample of the output of final, setting-up stage of my daily safe-upgrade.
Code:
Setting up libtinfo-dev:amd64 (5.9+20150516-2) ...
Setting up libncurses5-dev:amd64 (5.9+20150516-2) ...
Setting up ghc (7.8.4-9) ...
update-alternatives: using /usr/bin/runghc to provide /usr/bin/runhaskell (runhaskell) in auto mode
update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler (haskell-compiler) in auto mode
Setting up libghc-bzlib-dev (0.5.0.5-2+b3) ...
Setting up libghc-utf8-string-dev (0.3.7-5+b3) ...
Setting up libghc-zlib-dev (0.5.4.2-2+b3) ...
Setting up libghc-openpgp-dev (0.6.1-3+b3) ...
Setting up ghc-prof (7.8.4-9) ...
Setting up libghc-bzlib-prof (0.5.0.5-2+b3) ...
Setting up libghc-utf8-string-prof (0.3.7-5+b3) ...
Setting up libghc-zlib-prof (0.5.4.2-2+b3) ...
Setting up libghc-openpgp-prof (0.6.1-3+b3) ...
Setting up libapparmor1:amd64 (2.9.2-3) ...
Setting up libseccomp2:amd64 (2.2.1-2) ...
Setting up libudev1:amd64 (220-7) ...
Setting up libudev1:i386 (220-7) ...
Setting up udev (220-7) ...
Installing new version of config file /etc/init.d/udev ...
Installing new version of config file /etc/init/udev-fallback-graphics.conf ...
Installing new version of config file /etc/init/udev-finish.conf ...
Installing new version of config file /etc/init/udevmonitor.conf ...
Installing new version of config file /etc/udev/udev.conf ...
[ ok ] Stopping the hotplug events dispatcher: systemd-udevd.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 220
. ok
update-initramfs: deferring update (trigger activated)
Setting up libsystemd0:amd64 (220-7) ...
Setting up libsystemd0:i386 (220-7) ...
Setting up systemd (220-7) ...
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.login1.conf ...
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.machine1.conf ...
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ...
Installing new version of config file /etc/pam.d/systemd-user ...
Installing new version of config file /etc/systemd/bootchart.conf ...
Installing new version of config file /etc/systemd/journald.conf ...
Installing new version of config file /etc/systemd/logind.conf ...
Installing new version of config file /etc/systemd/resolved.conf ...
Installing new version of config file /etc/systemd/system.conf ...
Installing new version of config file /etc/systemd/timesyncd.conf ...
Installing new version of config file /etc/systemd/user.conf ...
Created symlink from /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service to /lib/systemd/system/systemd-timesyncd.service.
Setting up libpam-systemd:amd64 (220-7) ...
Setting up gcc-4.8-base:amd64 (4.8.4-4) ...
Setting up gcc-4.8-base:i386 (4.8.4-4) ...
Setting up cpp-4.8 (4.8.4-4) ...
Setting up libasan0:amd64 (4.8.4-4) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-4) ...
Setting up gcc-4.8 (4.8.4-4) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-4) ...
Setting up rkhunter (1.4.2-3) ...
Installing new version of config file /etc/logcheck/ignore.d.server/rkhunter ...
Setting up wget (1.16.3-3) ...
Setting up ispell (3.4.00-3) ...
Setting up ienglish-common (3.4.00-3) ...
Setting up ibritish (3.4.00-3) ...
Setting up iamerican (3.4.00-3) ...
Setting up inkscape (0.91-5) ...
Setting up libarchive-zip-perl (1.48-1) ...
Setting up libfile-desktopentry-perl (0.12-1) ...
Setting up libgee-0.8-2:amd64 (0.18.0-1) ...
Setting up libgjs0e (1.43.3-2) ...
Setting up libhtml-template-perl (2.95-2) ...
Setting up libnss3:amd64 (2:3.19.2-1) ...
Setting up rubygems-integration (1.9) ...
Processing triggers for dbus (1.8.18-1) ...
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-4.0-6.dmz.1-liquorix-amd64
Processing triggers for dictionaries-common (1.25.2) ...
ispell-autobuildhash: Processing 'american' dict.
ispell-autobuildhash: Processing 'british' dict.
Processing triggers for menu (2.1.47) ...
Current status: 56 updates [-38], 71899 new [-2].
As you can see, there are no problems. It is worth the 30 seconds efforts to check that this is so. If there are problems it's better to know about it sooner rather than later.
Quote:
Question #6) I have Aptitude. Does that mean I have Aptitude Search, as well?
Yes. "search" is an command-line action of aptitude. You can look at aptitude's man page for a complete list of actions, options, etc.
The best answer to this question is by concrete example. On my workstation (running Debian testing) I do a daily update/upgrade (every morning a 8:00). I use two commands, one after the other. The whole process from start to finish rarely takes longer than 2-3 minutes.
Code:
sudo aptitude update
sudo aptitude safe-upgrade
This morning I did a simulation of both upgrade commands (safe-upgrade and dist-upgrade). Here are the results:
1. safe-upgrade
Code:
~$ aptitude -s safe-upgrade
Resolving dependencies...
The following NEW packages will be installed:
libapparmor1{a} libncurses5-dev{a} libseccomp2{a} libtinfo-dev{a}
The following packages will be REMOVED:
libghc-binary-dev{u} libghc-binary-prof{u} perlmagick{u}
The following packages will be upgraded:
cpp-4.8 gcc-4.8 gcc-4.8-base gcc-4.8-base:i386 ghc ghc-prof iamerican ibritish ienglish-common
inkscape ispell libarchive-zip-perl libasan0 libfile-desktopentry-perl libgcc-4.8-dev
libgee-0.8-2 libghc-bzlib-dev libghc-bzlib-prof libghc-openpgp-dev libghc-openpgp-prof
libghc-utf8-string-dev libghc-utf8-string-prof libghc-zlib-dev libghc-zlib-prof libgjs0e
libhtml-template-perl libnss3 libpam-systemd libstdc++-4.8-dev libsystemd0 libsystemd0:i386
libudev1 libudev1:i386 rkhunter rubygems-integration systemd udev wget
The following packages are RECOMMENDED but will NOT be installed:
unhide
38 packages upgraded, 4 newly installed, 3 to remove and 56 not upgraded.
Need to get 102 MB of archives. After unpacking 187 MB will be used.
Do you want to continue? [Y/n/?]
2. dist-upgrade
Code:
~$ aptitude -s dist-upgrade
The following NEW packages will be installed:
coinor-libcbc3{a} coinor-libcgl1{a} coinor-libclp1{a} coinor-libcoinmp1{a}
coinor-libcoinutils3{a} coinor-libosi1{a} firebird2.5-common{a} firebird2.5-common-doc{a}
firebird2.5-server-common{a} libabw-0.1-1{a} libapparmor1{a} libboost-date-time1.55.0{a}
libcmis-0.5-5{a} libe-book-0.1-1{a} libeot0{a} libetonyek-0.1-1{a} libfbclient2{a}
libfbembed2.5{a} libfreehand-0.1-1{a} libgltf-0.0-0{a} libgpod4{ab} libmspub-0.1-1{a}
libmwaw-0.3-3{a} libncurses5-dev{a} libodfgen-0.1-1{a} liborcus-0.8-0{a} libpagemaker-0.0-0{a}
libreoffice-avmedia-backend-gstreamer{a} libreoffice-base-drivers{a}
libreoffice-sdbc-firebird{a} libreoffice-sdbc-hsqldb{a} libseccomp2{a} libtinfo-dev{a}
libwps-0.3-3{a}
The following packages will be REMOVED:
libghc-binary-dev{u} libghc-binary-prof{u} perlmagick{u}
The following packages will be upgraded:
cpp-4.8 gcc-4.8 gcc-4.8-base gcc-4.8-base:i386 ghc ghc-prof iamerican ibritish ienglish-common
inkscape ispell libarchive-zip-perl libasan0 libfile-desktopentry-perl libgcc-4.8-dev
libgee-0.8-2 libghc-bzlib-dev libghc-bzlib-prof libghc-openpgp-dev libghc-openpgp-prof
libghc-utf8-string-dev libghc-utf8-string-prof libghc-zlib-dev libghc-zlib-prof libgjs0e
libgnutls-deb0-28{b} libgnutls-deb0-28:i386{b} libgnutls-openssl27 libgpod-common
libhtml-template-perl libjpeg62 libjpeg62-turbo{b} libjpeg62-turbo:i386{b} libnss3
libpam-systemd libreoffice-base libreoffice-base-core libreoffice-calc libreoffice-common
libreoffice-core libreoffice-draw libreoffice-impress libreoffice-kde libreoffice-math
libreoffice-ogltrans libreoffice-report-builder-bin libreoffice-style-galaxy
libreoffice-style-oxygen libreoffice-writer libstdc++-4.8-dev libsystemd0 libsystemd0:i386
libudev1 libudev1:i386 netspeed{b} python3-uno rkhunter rubygems-integration systemd
task-british-desktop task-british-kde-desktop task-desktop task-english task-kde-desktop
task-print-server task-ssh-server task-web-server tasksel tasksel-data udev uno-libs3 ure wget
xserver-xorg-core{b} xserver-xorg-video-ati xserver-xorg-video-cirrus xserver-xorg-video-fbdev
xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga
xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-openchrome
xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon
xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb
xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa
xserver-xorg-video-vmware
The following packages are RECOMMENDED but will NOT be installed:
unhide
93 packages upgraded, 34 newly installed, 3 to remove and 1 not upgraded.
Need to get 206 MB of archives. After unpacking 245 MB will be used.
The following packages have unmet dependencies:
libreoffice : Depends: libreoffice-core (= 1:4.1.6~rc2-1+b1) but 1:4.4.4~rc1-1+b1 is to be installed.
netspeed : Depends: gnome-applets (>= 3.16) but it is not going to be installed.
libgnutls-deb0-28 : Conflicts: libhogweed2 but 2.7.1-5 is installed.
Conflicts: libhogweed2:i386 but 2.7.1-5 is installed.
Conflicts: libnettle4 but 2.7.1-5 is installed.
Conflicts: libnettle4:i386 but 2.7.1-5 is installed.
libgnutls-deb0-28:i386 : Conflicts: libhogweed2 but 2.7.1-5 is installed.
Conflicts: libhogweed2:i386 but 2.7.1-5 is installed.
Conflicts: libnettle4 but 2.7.1-5 is installed.
Conflicts: libnettle4:i386 but 2.7.1-5 is installed.
task-database-server : Depends: tasksel (= 3.21) but 3.32 is to be installed.
xserver-xorg-core : Conflicts: xserver-xorg-video-modesetting but 0.9.0-1+b1 is installed.
libgpod4 : Conflicts: libgpod4-nogtk but 0.8.3-1.1+b2 is installed.
libgpod4-nogtk : Conflicts: libgpod4 but 0.8.3-1.1+b2 is to be installed.
task-mail-server : Depends: tasksel (= 3.21) but 3.32 is to be installed.
task-dns-server : Depends: tasksel (= 3.21) but 3.32 is to be installed.
task-file-server : Depends: tasksel (= 3.21) but 3.32 is to be installed.
libjpeg62-turbo : Conflicts: libjpeg62 but 1:6b2-2 is to be installed.
libjpeg62-turbo:i386 : Conflicts: libjpeg62 but 1:6b2-2 is to be installed.
xserver-xorg-video-modesetting : Depends: xorg-video-abi-18 which is a virtual package.
open: 210; closed: 4067; defer: 93; conflict: 348
The following actions will resolve these dependencies:
Remove the following packages:
1) xserver-xorg-video-modesetting
Keep the following packages at their current version:
2) libgnutls-deb0-28 [3.3.15-6 (now)]
3) libgnutls-deb0-28:i386 [3.3.15-6 (now)]
4) libgnutls-openssl27 [3.3.15-6 (now)]
5) libgpod-common [0.8.3-1.1+b1 (now)]
6) libgpod4 [Not Installed]
7) libjpeg62 [1:1.3.1-8 (now)]
8) libjpeg62-turbo [1:1.3.1-8 (now)]
9) libjpeg62-turbo:i386 [1:1.3.1-8 (now)]
10) libreoffice-avmedia-backend-gstreamer [Not Installed]
11) libreoffice-base [1:4.1.6~rc2-1+b1 (now)]
12) libreoffice-base-core [1:4.1.6~rc2-1+b1 (now)]
13) libreoffice-base-drivers [Not Installed]
14) libreoffice-calc [1:4.1.6~rc2-1+b1 (now)]
15) libreoffice-common [1:4.1.6~rc2-1 (now)]
16) libreoffice-core [1:4.1.6~rc2-1+b1 (now)]
17) libreoffice-draw [1:4.1.6~rc2-1+b1 (now)]
18) libreoffice-impress [1:4.1.6~rc2-1+b1 (now)]
19) libreoffice-kde [1:4.1.6~rc2-1+b1 (now)]
20) libreoffice-math [1:4.1.6~rc2-1+b1 (now)]
21) libreoffice-ogltrans [1:4.3.3-2 (now)]
22) libreoffice-report-builder-bin [1:4.3.3-2 (now)]
23) libreoffice-sdbc-firebird [Not Installed]
24) libreoffice-sdbc-hsqldb [Not Installed]
25) libreoffice-style-galaxy [1:4.1.6~rc2-1 (now)]
26) libreoffice-style-oxygen [1:4.1.6~rc2-1 (now)]
27) libreoffice-writer [1:4.1.6~rc2-1+b1 (now)]
28) netspeed [0.16-3+b1 (now)]
29) python3-uno [1:4.1.6~rc2-1+b1 (now)]
30) task-british-desktop [3.21 (now)]
31) task-british-kde-desktop [3.21 (now)]
32) task-desktop [3.21 (now)]
33) task-english [3.21 (now)]
34) task-kde-desktop [3.21 (now)]
35) task-print-server [3.21 (now)]
36) task-ssh-server [3.21 (now)]
37) task-web-server [3.21 (now)]
38) tasksel [3.21 (now)]
39) tasksel-data [3.21 (now)]
40) uno-libs3 [4.2.6-1 (now)]
41) ure [4.2.6-1 (now)]
Accept this solution? [Y/n/q/?]
Now I think you know why I avoid dist-upgrade.
Yes, since you have installed a more recent linux-image you can remove the old one. Since I use aptitude I just give this command:
Code:
sudo aptitude remove <name of obsolete linux-image package>
Just do it either daily or weekly. As I said, it doesn't take long.
Just open a terminal and type the two commands:
Code:
sudo aptitude update
sudo aptitude safe-upgrade
Yes, but it's not hard to do. Just make sure that command has terminated normally. Here's a sample of the output of final, setting-up stage of my daily safe-upgrade.
Code:
Setting up libtinfo-dev:amd64 (5.9+20150516-2) ...
Setting up libncurses5-dev:amd64 (5.9+20150516-2) ...
Setting up ghc (7.8.4-9) ...
update-alternatives: using /usr/bin/runghc to provide /usr/bin/runhaskell (runhaskell) in auto mode
update-alternatives: using /usr/bin/ghc to provide /usr/bin/haskell-compiler (haskell-compiler) in auto mode
Setting up libghc-bzlib-dev (0.5.0.5-2+b3) ...
Setting up libghc-utf8-string-dev (0.3.7-5+b3) ...
Setting up libghc-zlib-dev (0.5.4.2-2+b3) ...
Setting up libghc-openpgp-dev (0.6.1-3+b3) ...
Setting up ghc-prof (7.8.4-9) ...
Setting up libghc-bzlib-prof (0.5.0.5-2+b3) ...
Setting up libghc-utf8-string-prof (0.3.7-5+b3) ...
Setting up libghc-zlib-prof (0.5.4.2-2+b3) ...
Setting up libghc-openpgp-prof (0.6.1-3+b3) ...
Setting up libapparmor1:amd64 (2.9.2-3) ...
Setting up libseccomp2:amd64 (2.2.1-2) ...
Setting up libudev1:amd64 (220-7) ...
Setting up libudev1:i386 (220-7) ...
Setting up udev (220-7) ...
Installing new version of config file /etc/init.d/udev ...
Installing new version of config file /etc/init/udev-fallback-graphics.conf ...
Installing new version of config file /etc/init/udev-finish.conf ...
Installing new version of config file /etc/init/udevmonitor.conf ...
Installing new version of config file /etc/udev/udev.conf ...
[ ok ] Stopping the hotplug events dispatcher: systemd-udevd.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 220
. ok
update-initramfs: deferring update (trigger activated)
Setting up libsystemd0:amd64 (220-7) ...
Setting up libsystemd0:i386 (220-7) ...
Setting up systemd (220-7) ...
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.login1.conf ...
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.machine1.conf ...
Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ...
Installing new version of config file /etc/pam.d/systemd-user ...
Installing new version of config file /etc/systemd/bootchart.conf ...
Installing new version of config file /etc/systemd/journald.conf ...
Installing new version of config file /etc/systemd/logind.conf ...
Installing new version of config file /etc/systemd/resolved.conf ...
Installing new version of config file /etc/systemd/system.conf ...
Installing new version of config file /etc/systemd/timesyncd.conf ...
Installing new version of config file /etc/systemd/user.conf ...
Created symlink from /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service to /lib/systemd/system/systemd-timesyncd.service.
Setting up libpam-systemd:amd64 (220-7) ...
Setting up gcc-4.8-base:amd64 (4.8.4-4) ...
Setting up gcc-4.8-base:i386 (4.8.4-4) ...
Setting up cpp-4.8 (4.8.4-4) ...
Setting up libasan0:amd64 (4.8.4-4) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-4) ...
Setting up gcc-4.8 (4.8.4-4) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-4) ...
Setting up rkhunter (1.4.2-3) ...
Installing new version of config file /etc/logcheck/ignore.d.server/rkhunter ...
Setting up wget (1.16.3-3) ...
Setting up ispell (3.4.00-3) ...
Setting up ienglish-common (3.4.00-3) ...
Setting up ibritish (3.4.00-3) ...
Setting up iamerican (3.4.00-3) ...
Setting up inkscape (0.91-5) ...
Setting up libarchive-zip-perl (1.48-1) ...
Setting up libfile-desktopentry-perl (0.12-1) ...
Setting up libgee-0.8-2:amd64 (0.18.0-1) ...
Setting up libgjs0e (1.43.3-2) ...
Setting up libhtml-template-perl (2.95-2) ...
Setting up libnss3:amd64 (2:3.19.2-1) ...
Setting up rubygems-integration (1.9) ...
Processing triggers for dbus (1.8.18-1) ...
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-4.0-6.dmz.1-liquorix-amd64
Processing triggers for dictionaries-common (1.25.2) ...
ispell-autobuildhash: Processing 'american' dict.
ispell-autobuildhash: Processing 'british' dict.
Processing triggers for menu (2.1.47) ...
Current status: 56 updates [-38], 71899 new [-2].
As you can see, there are no problems. It is worth the 30 seconds efforts to check that this is so. If there are problems it's better to know about it sooner rather than later.
Yes. "search" is an command-line action of aptitude. You can look at aptitude's man page for a complete list of actions, options, etc.
Code:
man aptitude
Hope this answers all your questions.
jdk
Awesome LZM! Thanks so much! I get everything except I have some follow-up questions on Question #2.
So here was my real life example of one of the apt-get updates I did. (Remember, though, I'm using Aptitude now.)
Code:
Calculating upgrade... The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-headers-3.19.0-18 linux-headers-3.19.0-18-generic linux-image-3.19.0-15-generic linux-image-3.19.0-18-generic
linux-image-extra-3.19.0-15-generic linux-image-extra-3.19.0-18-generic
Use 'apt-get autoremove' to remove them.
So I need to use
sudo aptitude remove <name of obsolete linux-image package>
on every one of them?
So:
sudo aptitude remove <linux-headers-3.19.0-15>
on the first one and the same thing on all the others, as well? And then I do that every time I do an aptitude update install
Awesome LZM! Thanks so much! I get everything except I have some follow-up questions on Question #2.
So here was my real life example of one of the apt-get updates I did. (Remember, though, I'm using Aptitude now.)
Code:
Calculating upgrade... The following packages were automatically installed and are no longer required:
linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-headers-3.19.0-18 linux-headers-3.19.0-18-generic linux-image-3.19.0-15-generic linux-image-3.19.0-18-generic
linux-image-extra-3.19.0-15-generic linux-image-extra-3.19.0-18-generic
Use 'apt-get autoremove' to remove them.
So I need to use
sudo aptitude remove <name of obsolete linux-image package>
on every one of them?
So:
sudo aptitude remove <linux-headers-3.19.0-15>
on the first one and the same thing on all the others, as well? And then I do that every time I do an aptitude update install
sudo aptitude update
sudo aptitude safe-upgrade
right?
No, wrong. You only need to do it once. If you are removing more than one package then list them all separated by a space. In your case you would type:
It should delete the header packages corresponding to each of these 2 linux-image packages automatically. You do NOT do this every time you do an update; only every time you install a new linux-image package which is not that often. You will know when you've installed a new linux-image because you will be asked to reboot your system after you've finished the upgrade.
jdk
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.