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

Re: Any way to 'remove' apt-get?



On Wed, Jan 11, 2006 at 09:53:43AM +0000, Andy Hawkins wrote:
> Hi,
> 
> Now that aptitude is the recommended package manager for Debian Stable, is
> there any way of removing apt-get?
> 
> I accidentally used apt-get to install a few packages yesterday, and when my
> nightly automatic aptitude update && aptitude -s -f dist-upgrade ran
> overnight, it wants to remove the newly installed packages (mysql 4.1) and
> replace them with the older ones.
> 
> I had to manually run aptitude remove <old mysql packages> before it could
> continue.
> 
> Is there any way of removing apt-get so that I can't run it by accident
> again in future?
> 
> Thanks
> 
> Andy
> 

you could put:

alias apt-get='echo "Use aptitude instead" ' 

in /etc/profile.


-- 
David Jardine

"Running Debian GNU/Linux and
loving every minute of it."  -L. von Sacher-M.(1835-1895)



Reply to: