I was using Ubuntu happily for some months (almost fully updated, latest AMD driver and everything). About a week ago I started trying to install some games that I bought on Humble Bundle that I downloaded at home and other PCs (my internet is a piece of crap, so it's easier by Torrent), and some of them were .deb
files.
When I tried to install those, some would try to install and then go back, like nothing happened (probably because of an internal error), or asked for dependencies that I couldn't find. Because of those problems, I tried to install the same packages using the Terminal (using sudo dpkg -i <package name>
), but after a while a red balloon icon appeared on the Menu Bar with an error on a file that contained repositories (don't remember the exact error, sorry. But I think it was that it was invalid and it couldn't write it).
I left it to fix later, but after a while the Software Center started giving broken package error and asked to repair it, so I opened the Terminal and did apt-get install -f
, like I did when that happened before. It asked me to download 888 Kb of packages and I allowed it, but then, shortly after, it started removing everything on the system on its on. It uninstalled the interface, the network driver, a lot of programs, and so on.
When I noticed it, I quickly closed it but it was too late. The Network Connection menu was gone (and probably the driver), so I couldn't use the internet. Seeing that there was nothing I could do on my own, I rebooted to see if it was temporary, but now the system boots without a graphical interface (it only shows tty
).
I have a 3G internet (slow as hell), and I don't know how to connect it using only the terminal, so it is a lot more difficult to fix it. So, is it possible to fix it without reinstalling (PLEEEASE, DON'T MAKE ME REINSTALL THAT WITH THIS CRAPPY CONNECTION)?, and I have the Live USB here if necessary.
Oh, and I forgot to give important information. I am using Ubuntu 12.10 AMDx64, installed on a 101GB ext4 partition. There were only 58MB (approximately) of updates waiting to be done (so it was updated, mostly).
/var/apt/archives
. It contains.deb
of the packages which were installed byapt
.