PDA

View Full Version : Delete



w5uc
05-03-2005, 02:18 PM
I have an application that I need to replace with an updated version, and a package that needs to be replaced with an updated version. I tried to install the newer versions and was not allowed to.

How do I do that?

Thanks,
Mike

fingers99
05-03-2005, 11:14 PM
We really need to know how you installed the package and how you're trying to remove it.

Packages installed by apt-get can be removed by

apt-get remove (pkg)

You may get error messages if the package has other packages depending on it.

But, then, packages installed with apt-get will normally overwrite the "old" package.

If you've installed from source (generally a bad, bad idea), then, if you're lucky there will be an uninstall script in the original build directory. If not, then it's a matter of doing

updatedb (as root)

and then

locate nameOfPackage

You'll then have to rm every part of the package manually (as root).