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

Re: packages available, but apt-get won't offer to install them



>>>>> "Jeffrey" == Jeffrey Baker <jwbaker@acm.org> writes:

Jeffrey> Hello, I had the strangest problem tonight.  There are new
Jeffrey> versions of many GNOME 2 packages, but apt-get does not offer
Jeffrey> to upgrade them.  For example, the gnome-panel2 package was at
Jeffrey> 2.0.0-1 according to apt-cache show, and the installed version
Jeffrey> was 1.5.something.  But, when I did apt-get install
Jeffrey> gnome-panel2, apt-get refused and said gnome-panel2 is already
Jeffrey> the latest version.

[...]

This is actually normal behaviour.  You'll need to tweak things in order
for experimental packages to automatically update:

# man apt_preferences

...
CANDIDATE VERSION POLICY
       Internally  APT  maintains  a list of all available
       versions for all packages.  If you  place  multiple
       releases  or  vendors  in your sources.list(5) file
       then these features are available. By  default  APT
       selects  the  highest  version  from  all automatic
       sources. *Some sources, such as project/experimental
       are marked Not Automatic - these fall to the bottom
       of the selection pile.*
[emphasis mine]
...
       0 to 100
              Non  automatic  priorities.  These  are only
              used if the package  is  not  installed  and
              there is no other version available.
...


You should look through the rest of the man page to find out how to make
it do what you want it to.  (If you want the quick-and-easy answer, then
you shouldn't be using the experimental packages in the first place.)

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: pgpjck6N3fUji.pgp
Description: PGP signature


Reply to: