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

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



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


I'm still using apt-get so I wouldn't know what aptitude does in the background, but if aptitude doesn't need apt-get you could solve the problem easily by running :
chmod -x /usr/bin/apt-get
Then you can't run it and get an error if you try....as you would get if it wasn't there anymore...

Sturla



Reply to: