PDA

View Full Version : [ubuntu] using livecd.. apt-get... python: no such file



ceagle
October 8th, 2012, 02:44 AM
I'm using the livecd to attempt a rescue of an ubuntu server...

On this page... https://help.ubuntu.com/community/LiveCdRecovery under Update Failure

at apt-get update my system says "bash: /usr/bin/python: no such file or directory"

WAT?!?

mcduck
October 8th, 2012, 10:04 AM
The instructions are a bit outdated, when the inbstructions tell you to do this:

sudo mount /dev/hda1 /mnt
...you should be doing this instead:

sudo mount /dev/sda1 /mnt
(And also keep in mind that you have to replace the sda1 with the correct name for your Ubuntu root partition...)

ceagle
October 8th, 2012, 02:40 PM
hrmmm VERY strange.... I did mount the root partition... sda1. The OS is there.... but no apt-get or python under /usr/bin. apt-cache, apt-url are there.

I am 100% sure I did -not- remove those.