![]() You're unlikely to end up with a broken system after apt-get dist-upgrade, but sometimes you might need to reinstall a package or two.Īptitude has the same command duality, but has introduced prefered synonyms: apt-get upgrade is low-risk and you can pretty much do it without paying attention, whereas apt-get dist-upgrade might occasionally remove a program that you rely on, especially if you haven't taken care to mark all the packages you absolutely need as manually installed. The idea is that apt-get upgrade only upgrades individual packages, whereas apt-get dist-upgrade upgrades the whole distribution. There is another command apt-get dist-upgrade which is willing to remove packages if necessary. But apt-get upgrade doesn't take any risk. Apt also has a concept of automatically-installed vs manually-installed package it should be ok to remove an automatically-installed package even if it isn't explicitly getting replaced, whereas manually-installed packages are requested by the user and should stay. In addition to basic dependencies (A requires B), a package C can declare that it “replaces” a package B, indicating that when C is installed, it should be ok to uninstall B. Over time, packages get broken into pieces, joined together, renamed, etc. If upgrading package A requires uninstalling package B, apt-get upgrade won't do it, and A ends up in the “not upgraded” list. ![]() Xserver-xorg-video-vmware-lts-vivid yelp zeitgeist-core zenity zenity-commonĠ upgraded, 0 newly installed, 0 to remove and 961 not upgraded.Īpt-get upgrade plays it safe: it upgrades all the packages that can be upgraded without breaking other packages. Xserver-xorg-video-trident-lts-vivid xserver-xorg-video-vesa-lts-vivid Xserver-xorg-video-sisusb-lts-vivid xserver-xorg-video-tdfx-lts-vivid Xserver-xorg-video-siliconmotion-lts-vivid Xserver-xorg-video-radeon-lts-vivid xserver-xorg-video-savage-lts-vivid Xserver-xorg-video-openchrome-lts-vivid xserver-xorg-video-r128-lts-vivid Xserver-xorg-video-neomagic-lts-vivid xserver-xorg-video-nouveau-lts-vivid Xserver-xorg-video-mach64-lts-vivid xserver-xorg-video-mga-lts-vivid Xserver-xorg-video-fbdev-lts-vivid xserver-xorg-video-intel-lts-vivid Xserver-xorg-video-ati-lts-vivid xserver-xorg-video-cirrus-lts-vivid Xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid ![]() Xserver-xorg-input-vmmouse-lts-vivid xserver-xorg-input-wacom-lts-vivid Notice the last line, how do I forcefully update those 961 items?. But the package lists tell apt that there are no new versions of the software that's installed on your system, and so there's nothing to upgrade.When I tried to upgrade from Ubuntu 14.04 to 16.04, this is the message logs shown after sudo apt-get upgrade. What you are seeing is apt fetching package lists from the repositories. That doesn't mean that there are packages that can be updated (as the last line explicitly says). Get:12 cosmic-backports/universe amd64 Packages Get:11 cosmic-updates/main amd64 Packages Get:10 cosmic-updates/universe amd64 Packages Get:9 cosmic-updates/multiverse amd64 Packages If your apt-get update looks like this: Hit:1 cosmic InRelease
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |