8

Well my fingers did manage to do sudo apt-get remove libstdc++6 and write, yes. That removed a lot of system files. Is there any way to bring it up working again? I have connected to terminal, and wget is working fine. I managed to ctrl+C when figured out what was happening.

I think the main thing would be to get apt-get, but how?

Ubuntu 11.10 Oneiric x64bit

Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
Kalmaras
  • 81
  • 2

2 Answers2

9

You can still install any package via dpkg -i package.deb after downloading it with wget from packages.ubuntu.com. And even if dpkg is broken, you can unpack the .deb with ar and then copy the contents with cp manually.

scai
  • 10,543
  • 2
  • 25
  • 42
2

I would start with downloading the package of apt-get ( if possible trough the ubuntu repository and running

dpkg -i <package-name>

If dpkg is not available next step would be building it from source. Same thing for all the unmet dependancies you might encounter.

Goez
  • 1,568
  • 1
  • 10
  • 6