PDA

View Full Version : How about a "sudo apt-get reinstall" ?



emshains
October 4th, 2008, 11:00 PM
In terms of making the work with the system faster, I would like to see apt-get would get a new funtion of reinstalling. When I am trying to get something to work, or trying to do that again, usually I must reinstall a program or a library to get it configured right, so it really drives me mad, when I have to write all the command from the beginning just because it can't do "reinstalling". Although there is the --reinstall or something like that I'd rather see a stand alone function, just because of the typing. I see this as a way to make the system more work-friendly.

Sef
October 5th, 2008, 12:06 AM
moved to community cafe.

doorknob60
October 5th, 2008, 12:12 AM
Two options:


sudo aptitude reinstall packagename

or


sudo apt-get install --reinstall packagename

IIRC anyways, I use Arch now :)

dammn
February 21st, 2012, 03:46 AM
I had similar issue. Solved by:

apt-get install --reinstall linux-libc-dev

In general looks like upgrade messed up with symlinks etc so it has to be "regenerated" for upgraded systems.

Iowan
February 21st, 2012, 04:33 AM
If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.Closed