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

Re: How to use "--without-recommends" option for only one package in lb config?




On 20 December 2010 16:48, Ben Armstrong <synrg@sanctuary.nslug.ns.ca> wrote:
On 19/12/10 09:42 PM, Duy Hùng Trần wrote:
> Hi,
>
> I created config/chroot_apt/preferences, and this is its content:
>
> Package: gnome-system-tools
> Pin: version *
> Pin-Priority: -1
>
> But it didn't work.
>
> What did I do wrong?

Perhaps some other package depends on it? For example,
gnome-desktop-environment directly depends on this package, so if you
include that package, gnome-system-tools will be installed even though
you have pinned it.  Use apt-rdepends -r to discover reverse
dependencies of a package that you want to exclude and then see if any
of the reverse dependencies are in your binary.packages.

Ben

Hi,

Thank you for your reply. I forgot to say that I'm building a lightweight LXDE LiveCD, so I don't install gnome or gnome-desktop-environment.
gnome-system-tools includes many small applications, I just want to install 2 of them, they are graphical applications to manage users/groups and date/time. My machine has a minimal LXDE dekstop too, I installed these 2 applications successfully with "--without-recommends" option.

Regards,
Hung


Reply to: