Unable to run apt update | Lock held by apt-get
toasteecup @ toasteecup @lemmy.world Posts 1Comments 543Joined 2 yr. ago
toasteecup @ toasteecup @lemmy.world
Posts
1
Comments
543
Joined
2 yr. ago
Locked Deleted
Permanently Deleted
So my theory on what's going on is this.
I suspect that this is an automatically running update to try to help keep your packages up to date, and I think it's getting stuck on a source configured in your /etc/apt/sources.list I'm willing to bet it's likely a source configured to pull from a "CD" which is used during installation and they forgot to disable that one.
You should be able to stop it, it'll still be locked but you'll need find the lock file (I forgot where it's configured) and just remove it with a simple rm, you'll probably need to sudo the rm though.
So my order of operations would be, kill the process, try to rerun the apt update and see if that tells you which repo it's getting stuck on.