Results 1 to 2 of 2
Hi, a friend of mine installed something on the server (i dont know what). After that, commands stopped working, vim editor was gone. And i cant install anything thru apt-get. ...
- 08-03-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 1
All commands not found, and Vim stopped working.
Hi, a friend of mine installed something on the server (i dont know what). After that, commands stopped working, vim editor was gone. And i cant install anything thru apt-get. I can use the apt-get command but i always get error.
Code:echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Sorry for swedish error codes. Basicly the folder /etc/alternatives is gone!?Code:apt-get -f install mv: kan inte ta status på "/etc/alternatives/rename.dpkg-tmp": Filen eller katalogen finns inte update-alternatives: kunde inte installera /etc/alternatives/rename.dpkg-tmp som /etc/alternatives/rename: Filen eller katalogen finns inte dpkg: fel vid hantering av perl (--configure): underprocess post-installation script gav felkod 2 E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help is appreciated!
- 08-04-2011 #2
I don't know about apt-get error - But what does ls -l /bin/ says ? Or even ls itself removed? Try running "/usr/bin/whereis <cmd>" to find out where the command
resides and try invoking it using complete path name like /bin/ls- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote
