how to recover /usr/bin

Asked by Mario Wimmer

I have accidentally delete /usr/bin. how can i recover/repair the system files in /usr/bin.
thanks

best regards
mario

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mario Wimmer
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Wow thats a massive mistake. You may be able to copy it from the liveCD to the internal partition but its 100Mb in size so is a fair chunk of the OS. It may work.

Revision history for this message
Mario Wimmer (wimmer) said :
#2

this is what i have already done. I booted the 10.04 cd with the try it option and then copied to the hd but it doesn't work.
when i boot from my hd i bring the system up in the cmd mode but i can't execute a lot of commands.
no vi, passwd (to enable root user), apt-get, ....
any other ideas?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

I have some idea but it might come to a not well working system so please save your home dir data and reinstall Ubuntu, i think is the best and quick way...

I hope you NOT usually use the root user...

Revision history for this message
Mario Wimmer (wimmer) said :
#4

i never use the root user but in this situation sudo is not working too. so i tried to enable the root user to have more permissions,access.
however - i will install my system new.

thanks

br
Mario

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

ok so please close this question...

Thank you

Revision history for this message
Mario Wimmer (wimmer) said :
#6