
apt install -f


apt update

beefstu wrote:I had this message recently, not sure if it was caused by adding a PPA or by the medibuntu repositories being down or both. It seems that I managed to follow a very similar route to you.
If you want to temporarily fix it, goto your software sources (in mint menu) and untick the medibuntu one. Click close then reload. Try what you were doing again, if you still get the error try typingin the terminal and try it again.
- Code: Select all
apt update
REMEMBER: you need to re-tick the medibuntu repos when they come back online otherwise you'lliss out on updates. What I have said is probably best to follow if the previous methods others have describe fail.
linuxviolin wrote:After a search for just about 1 minute I found: http://ubuntuforums.org/archive/index.php/t-580428.html and Update Manager stops updating from repositories. You should read both...
proxima_centauri wrote:What happens when you run this in terminal?
- Code: Select all
apt install -f

beefstu wrote:If you want to temporarily fix it, goto your software sources (in mint menu) and untick the medibuntu one. Click close then reload. Try what you were doing again, if you still get the error try typingin the terminal and try it again.
- Code: Select all
apt update
REMEMBER: you need to re-tick the medibuntu repos when they come back online otherwise you'lliss out on updates. What I have said is probably best to follow if the previous methods others have describe fail.

mattyd.24 wrote:Thanks linuxviolin, I'd seen the first one and tried all of those options, but none helped.
Just read through the bug report and from what I can find it doesn't seem to have a solution (correct me if I'm wrong..)

Have you verified if there were not several identical packaging processes running at the same time?
You can also see at https://help.ubuntu.com/community/Troubleshooting#Software%20Management.


E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directoryCould not apply changes!
Fix broken packages first.
linuxviolin wrote:Let's stop just a minute. The error message you have now is:
- Code: Select all
E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory
or:
- Code: Select all
Could not apply changes!
Fix broken packages first.
?
If the last, maybe you can try: sudo dpkg --configure -a in the terminal...

dpkg -C (or --audit)
linuxviolin wrote:In your first post you said you "hunted these down and changed or removed them". Can you try to put back these repos in your sources lists and re-try the commands given, and update? And what were these repos? Have you already installed one day some things from them before remove them?
ECIT: Maybe there are some packages that have been partially installed on the system... Can you try:
- Code: Select all
dpkg -C (or --audit)
?
On the web, I have seen several/many people wanting to install Wine with the same problem like yours, with the same message. This is your case, maybe?



E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory
linuxviolin wrote:Well, like say above, in the posts and links, when you have this message:
- Code: Select all
E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory
it's usually there are several identical packaging processes running. So the solution already given should work.
Now about the repos, some repos were/are down, e.g. Medibuntu, hence the message... Just untick them should make the trick.
If you have still problems, well... Let's continue to think/search.
P.S.= Have you already thought about just a reinstall, after backup your personal data? Maybe this is the most simple solution... You can try also with the default repos list.

mattyd.24 wrote:What do you mean by "You can try also with the default repos list."?

I mean the sources/repos there were after the install before your changes, the defaults...

sudo apt-get install -f
Users browsing this forum: No registered users and 0 guests