-2

Nothing happens when I select update, the update just hangs Both for apps and main OS updates.

I've tried opening terminal and typing

sudo apt-get update 

and

sudo apt-get upgrade

But i get an error:

E: Unable to lock directory /var/lib/apt/lists/

I have this system dual booting with Windows 10, I wish I'd never put it in now.

People keep telling me it runs better, but it wont even update.

Now I am stuck with it anyway, so I try to use it sometimes, but usually have little success.

Any ideas?

Zanna
  • 72,312
Rush
  • 21

1 Answers1

0

Do you still have this issue?

There was recently a issue with the update servers making it hang, I had the same issue as yours and saw also other reports. Because the update was initiated, the file is locked, so you can't initiate it a second time from the terminal before the first one has released the lock. That's a security a measure.

The server issue seems to be resolved now, your updates should likely therefor just continue being installed.

Server issues like this has never happened to me in the 3 years I've used Ubuntu, so this is for the notice something very uncommon.

If you still have this issue it's likely because you aborted a ongoing update, something you should never do on Linux (or Windows for that matter where you just as easy can break your system). On Linux there are luckily many things you can do to fix the system if you still did.

Please check the link to karel and the 2 other answers it links to!

Keep us updated :)

Suzyu
  • 1