0

So, I just recently upgraded to ubuntu 18.04, and I've had this bug showing up lately. The terminal fails to connect to the internet, and so does the Software Updater. I'm guessing it's problem not related to the terminal itself, but the archive.ubuntu thing in whole, as the GUI updater isn't working as well.

I'm running the apt-get install command to install a package (grub-customizer) and it gets stuck on 54% and it just freezes while downloading the library known as libx86emu. No kb/s sign, just the yellow coloured line shows the message libx86emu downloading.

With the GUI Software Updater, it shows "Unable to connect to archive.ubuntu, Please check your internet connection.

The Ubuntu Software Store works perfectly and is sucessfull in downloading any program Every other program including the very web browser I'm typing in successfully connects to the internet, I don't have a clue as to why the terminal/software updater fails to do so.

This was my first post here, so please tell me if I need to be more specific in my question.

Thanks in advance!

muru
  • 197,895
  • 55
  • 485
  • 740

1 Answers1

0

I have the same sorts of problems because my home Internet connection is spotty recently. I have better luck taking my laptop to a place with free WiFi and upgrading stuff there. That being said, there's something you can do if a file download freezes with apt-get.

Do NOT interrupt apt-get when it's actually installing anything. However, while it's merely downloading the software packages, if one of the files stops making any progress for a significant amount of time, press Ctrl+C to quit and then run the command again.

apt-get is not smart about figuring out when a download has permanently frozen.

Chai T. Rex
  • 5,193