[SLL] apt-get

Chris Fischer chris at protek.cc
Wed Aug 9 20:43:55 PDT 2006


Thanks Mark & Brian for the tip!

apt-get install packagename does indeed work...Big Gripe: I've got 150+ 
packages I need to install except for one that I don't want installed. 
What a pain. There really ought to be something like an exception list 
where one can put packages to never upgrade/install. Or even something 
like: apt-get dist-upgrade --except package1 package2
or some such.

Thanks again.

Chris

Brian C. Lane wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Chris Fischer wrote:
>> Hi,
>>
>> I did an 'apt-get update'. Now I want to upgrade all the packages except
>> one, that being 'slapd' as the new version 2.3 isn't compatible with
>> 2.2. However, apt-get insists on updating slapd. Even when I try only
>> updating one package apt wants to upgrade all (or most) of the packages:
>>
>> lynnwood:~# apt-get upgrade cpio
>> Reading package lists... Done
>> Building dependency tree... Done
>> The following packages have been kept back:
>>   courier-authdaemon courier-base courier-imap courier-imap-ssl
>> courier-ldap courier-pop courier-pop-ssl courier-ssl
>>   courier-webadmin locales tasksel
>> The following packages will be upgraded:
>>   apache2 apache2-common apache2-mpm-prefork apache2-utils apt apt-utils
>> binutils cpio debconf debconf-i18n
>>   dictionaries-common libapr0 libdb4.3 libgcrypt11 python python2.3 slapd
>>
>>
>> Is there a way to have it just upgrade the package I want? It's
>> basically doing a "dist-upgrade" when I only want it upgrade certain
>> packages. I don't think it's a dependency issue...what does slapd have
>> to do with cpio? Any pointers?
> 
> Do 'apt-get install cpio', I think that will grab the latest.
> 
> I have the same problem with yum and nagios (those $%#$@ FC2 guys jumped
> to a new major release and it breaks my config files).
> 
> Brian
> 
> - --
> - ---[Office 74.0F]--[Outside 61.7F]--[Server 87.8F]--[Coaster 73.8F]---
> Linux Software Developer                      http://www.brianlane.com
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Remember Lexington Green!
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFE2qjUIftj/pcSws0RAh8aAJ95cUqEZH9cYXJZnh/pYrFozeSgvQCeNOE3
> /JMJyqqHy6Sed3Boj0Ghlb4=
> =xU5I
> -----END PGP SIGNATURE-----



More information about the linux-list mailing list