Re: Simple aptitude/apt question

2006-01-26 Thread Marc PERRUDIN
Hugh Crissman a écrit :

> How do I exclude a package when doing a upgrade. Say Postfix for
> example. I want to update all the packages on my system but I don't
> want to update Postfix. How would I do that?

With aptitude, you select the package you don't want to upgrade and then
press the '=' key.
You can use dpkg too with a command like:

echo "package_name hold" | dpkg --set-selections

cu.

>
>
> HCrissman
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Simple aptitude/apt question

2006-01-26 Thread Andreas Janssen
Hello

Hugh Crissman (<[EMAIL PROTECTED]>) wrote:

> How do I exclude a package when doing a upgrade. Say Postfix for
> example. I want to update all the packages on my system but I don't
> want to update Postfix. How would I do that?

You can set the package to "hold" usind aptitude or dselect or
dpkg --set-selections. You can also use pinning to set packages to a
specific version (see man apt_preferences).

best regards
Andreas Janssen

-- 
Andreas Janssen <[EMAIL PROTECTED]>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Simple aptitude/apt question

2006-01-25 Thread Hugh Crissman
How do I exclude a package when doing a upgrade. Say Postfix for 
example. I want to update all the packages on my system but I don't want 
to update Postfix. How would I do that?


HCrissman


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]