[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt-get Upgrade/Update question



begin  Matthew Daubenspeck quotation:
> What exactly does this mean?

That you haven't read the man page for apt-get.

> The following packages have been kept back
>   webalizer

       upgrade
              upgrade is used to install the newest  versions  of
              all packages currently installed on the system from
              the sources  enumerated  in  /etc/apt/sources.list.
              Packages  currently  installed  with  new  versions
              available are retrieved and upgraded; under no cir­
              cumstances   are   currently   installed   packages
              removed,  or   packages   not   already   installed
              retrieved  and installed. New versions of currently
              installed packages that cannot be upgraded  without
              changing the install status of another package will
              be left at their current version. An update must be
              performed first so that apt-get knows that new ver­
              sions of packages are available.


See especially the line "New versions of currently installed packages
that cannot be upgraded without changing the install status of another
package will be left at their current version."

One way to fix it:

apt-cache show webalizer

(look at the dependencies, see if there are any that you recognize as
things you DON'T want installed for some reason)

Once you're happy with the dependencies;

apt-get install webalizer

(that will force it to go ahead and install new software to meet
dependencies.)

Many people skip the "apt-cache show webalizer" part, and just pray for
the best.  If your system isn't mission-critical, there's a lot to be
said for this practice, and less to be said against it, but you're still
taking a risk if you do.  I do it all the time, haven't broken anything
serious yet.

BTW, after you do an "apt-get update", one way to find out what will be
installed before you commit to it is "apt-get -s upgrade".  The "-s"
says "don't actually do it, just show me what you would do."


-- 
Shawn McMahon                    | McMahon's Laws of Linux support:
http://www.eiv.com               | 1) There's more than one way to do it
AIM: spmcmahonfedex, smcmahoneiv | 2) Somebody thinks your way is wrong

Attachment: pgpEqm4pRYTvi.pgp
Description: PGP signature


Reply to: