Upgrade ignores some packages and dost-upgrade tries to do more. Aptitude is often said to be better and supports safe-upgrade and full-upgrade as the equivalents to the above apt-get commands. Aptitude is said to have a better dependency resolution algorithm.
Anton On 3 Sep 2010 13:44, "Mark Fraser" <ubu...@mfraz.orangehome.co.uk> wrote: > On Friday 03 Sep 2010 10:12:23 Alan Pope wrote: >> On 3 September 2010 10:09, Steve Fisher <xirco...@gmail.com> wrote: >> > I am a Mandriva refugee! I know rpm inside out, but not apt. When I >> > issue the above, sometimes I see e.g.: >> > 26 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. (KDE >> > updates coming down). >> > If I use the gui or synaptic, it will let me update fully. Why won't it >> > do it from a terminal? >> >> It will if you use the right command :) >> >> sudo apt-get update >> sudo apt-get dist-upgrade >> >> If you do "sudo apt-get upgrade" then it wont upgrade any packages >> that are dependant on something you don't currently have installed >> (i.e. a new dependency). a 'dist-upgrade' will install those >> additional packages. >> >> Cheers, >> Al. > > I usually do > sudo apt-get update && sudo apt-get dist-upgrade > but that doens't always work. Just now I was told that something like 130 > updates were held back so I had to use aptitude full-upgrade instead which > pulled in a couple more dependancies. > > -- > Registered Linux User #466407 http://counter.li.org
-- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/