Re: How-to blacklist a package during Debian preseed ?

2012-01-23 Thread Alexey Eromenko
thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOJ6w=gnkceukd4cwtxrezw5hkdg116r3+sdbxt7zq75b0o...@mail.gmail.com



How-to blacklist a package during Debian preseed ?

2012-01-22 Thread Alexey Eromenko
Hi,

I have learned a trick to blacklist a package:
$ cat /etc/apt/preferences
Package: packagename
Pin: release *
Pin-Priority: -1

problem:
It doesn't work during d-i preseed/early_command stage. (due to lack of apt)
Any ideas how-to blacklist a package during Debian preseed ?

-- 
-Alexey Eromenko Technologov


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOJ6w=EjgfPQHgHuEPz2m_F=Mk7wtvBMUYVgJh=L+Lqt=_q...@mail.gmail.com



Re: How-to blacklist a package during Debian preseed ?

2012-01-22 Thread Bob Proulx
Alexey Eromenko wrote:
 Any ideas how-to blacklist a package during Debian preseed ?

I think the best way is simply to avoid installing it.  What are you
setting for tasksel/first?  Probably standard or Graphical desktop
environment or one of the other choices.  Instead I do not install
anything specific with that task and handle it all later.

  # tasksel tasksel/first multiselect standard
  # tasksel tasksel/first multiselect Graphical desktop environment, Standard 
system utilities
  tasksel tasksel/first multiselect

I am doing this to avoid installing exim which is priority standard
and will get pulled in when the standard system is requested.  Then in
include postfix explicitly.

  d-i pkgsel/include string dnsutils less openssh-server postfix rsync sudo

  postfix postfix/main_mailer_typeselect  Internet Site
  postfix postfix/mailnamestring  localhost.localdomain

HTH,
Bob


signature.asc
Description: Digital signature