Re: apt-get source <package>
On Tue, 2002-06-18 at 00:12, nate wrote:
> of course most things that i do apt-get source i also mark them as
> HOLD in the dpkg database so my next upgrade doesn't overwrite my
> custom packages. i do this by doing:
>
> dpkg --get-selections >selections
> (edit selections, change 'install' to 'hold' for the packages i want to
> hold)
> dpkg --set-selections <selections
>
> of course it introduces some manual labor next time an update comes out
> if I want to upgrade, I have to apt-get source all over again.
A faster way to do this is:
echo "packagename hold" | dpkg --set-selections
example:
# echo "ssh hold" | dpkg --set-selections
$ dpkg --get-selections | grep ssh
ssh hold
--
Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178
Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT
Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: