PDA

View Full Version : [ubuntu] I've deleted an installation file by rm -r ... what to do to fix the re-installation



soha
June 13th, 2009, 12:11 PM
Hello all,

i'm a non professional user of Ubuntu. i've just installed 9.04.
i've insalled as well the Acrobat reader 9.1 using the .deb installer. but after installation i found it was a deutsh version.

i've tried to uninstall it using "sudo apt-get remove acroread" but i've received an error msg saying that the package does not exist.

i've tried to use another option which is" cd /opt/Adobe/Reader9/bin && sudo ./UNINSTALL" but also i've received another error msg saying UNINSTALL no such file or directory

i've tried to install the english version over the existing one, but nothing happened and the deutsh display remains the same.

when i fed up, i've made a dump action which is removing the installation directory of Adobe by rm -r ... and of course that's wrong, and now i can't install the other english edition.

Any suggestions ..???
thanks in advance
soha

ajgreeny
June 13th, 2009, 12:33 PM
If you installed using the deb installer, you should probably use
sudo dpkg purge packagenameYou need to know exactly what the .deb was called but not worry about the version numbers etc etc. Where idi you get the .deb from, and why did you use that way instead of using synaptic and searching for acroread, which is in the archive.canonical repos (look in the third party tab of System >Admin > Software sources)

If there are problems, you may need to reinstall the package you used first time, then uninstall it properly, and then start again with synaptic. I don't bother any more with acroread, however, as I find that evince does all I want and more.

soha
June 13th, 2009, 12:59 PM
If you installed using the deb installer, you should probably use
sudo dpkg purge packagenameYou need to know exactly what the .deb was called but not worry about the version numbers etc etc. Where idi you get the .deb from, and why did you use that way instead of using synaptic and searching for acroread, which is in the archive.canonical repos (look in the third party tab of System >Admin > Software sources)

If there are problems, you may need to reinstall the package you used first time, then uninstall it properly, and then start again with synaptic. I don't bother any more with acroread, however, as I find that evince does all I want and more.


Thank you ajgreeny, you were of great help .. i've used the

sudo dpkg - p adobereader-deu // for purging

and

sudo dpkg -r adobreader-deu // for removing

and i've successfully remove it and install the english version.

but i've a question for you:

what is the difference between "sudo apt-get install/remove package_name" and "sudo dpkg"? i mean when to use each of them?!!

thank you really for your great help
soha

ajgreeny
June 13th, 2009, 05:49 PM
You use dpkg for local .deb files already on your drive, and apt-get, (or synaptic or Add/Remove) to download and install from the repositories, it's as simple as that!