Tell me wachya gonna do:
apt-get upgrade -s
-s is a dry run

apt-get upgrade will upgrade them

if it says:
packages have been held back: mutt mailx...
To upgrade them, you reinstall them with
apt-get install mutt

if there are a lot of packages to upgrade (such as switching from stable to testing), 
you want to do:
apt-get dist-upgrade
which is a little more forceful in it's installing, and a little more leanient in it's 
dependency checking.

if apt didn't complete, you can prod it along by running
apt-get -f install
several times.  There are also other methods, which the voices on your console will 
tell you to do, such as "you need to run 'dpkg --configure -a'"

If you get a problem package, such as a silly package that won't install because it 
has a file that conflicts with another package that has the same file, and it may be a 
pointless file and you want it to install anyway...  Download the .deb, then install 
it with 'dpkg -i' and some force flags.  Read the dpkg man page
for info on what forcing options are available.

Cory


On Fri, May 18, 2001 at 04:36:39PM -0700, Rob Hudson wrote:
> When apt-get reports:
> [...] x packages not upgraded
> 
> 1) how can I see which packages aren't upgraded
> 2) how can I install (force or fix) those packages
> 
> Thanks,
> Rob

Reply via email to