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

APT crazyness



Hi,

I have a package which depends on linux-image-2.6.16-2-686 (from
backports.org). I can't install it with apt-get because:

The following packages have unmet dependencies:
  morg: Depends: linux-image-2.6.16-2-686 but it is not going to be installed

However, I can install linux-image-2.6.16-2-686 (and its dependencies)
without any problem. I can't understand why linux-image-2.6.16-2-686 is
not installed automatically.

Here is my apt.conf:

==
APT::Default-Release "sarge";
==

and my preferences file:

==
Package: lsb-base
Pin: release a=sarge-backports
Pin-priority: 999

Package: linux-image-2.6.16-2-686
Pin: release a=sarge-backports
Pin-Priority: 999

Package: initramfs-tools
Pin: release a=sarge-backports
Pin-Priority: 999

Package: udev
Pin: release a=sarge-backports
Pin-Priority: 999

Package: module-init-tools
Pin: release a=sarge-backports
Pin-Priority: 999
==

It can be seen that linux-image-2.6.16-2-686 has a higher priority than
the default.

Another interesting thing is `apt-get -t sarge-backports install morg`
works fine (it silently installs linux-image-2.6.16-2-686).

Could someone explain what's happening and how can I fix this (so the
same happens as with the "-t sarge-backports" switch)?

Thanks,
--
Szabolcs




Reply to: