I have been updating my installation of Linux Mint 21. When I try to do this I get an error message saying: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
How do I run dpkg --configure -a. I am a beginner. Could you please spell out each stage I need to go through? Thanks very much.
Also How do I report the item I am asked to report.
Thanks for any help you can give.
dpkg --configure -a'
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: dpkg --configure -a'
You need to use sudo:
Code: Select all
sudo dpkg --configure -a
- Pjotr
- Level 24
- Posts: 20142
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱
- Contact:
Re: dpkg --configure -a'
- Launch a terminal window (this is how to launch a terminal window);
- Copy/paste this command into the terminal:
Press Enter.
Edit: sleeper12 beat me to it.
- Copy/paste this command into the terminal:
Code: Select all
sudo dpkg --configure -a
Edit: sleeper12 beat me to it.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
- diam0ndkiller
- Level 2
- Posts: 83
- Joined: Fri Dec 08, 2023 3:06 am
- Location: Germany
Re: dpkg --configure -a'
Yeah that sudo thing... A beginner friend of mine had the same problem... They should really add that information to the error in the Update Manager...
Linux Mint Xfce 21 | CalyxOS 5.4.1 | Raspberry Pi OS 11
Re: dpkg --configure -a'
It's one of those things that (as I recall after looking once) is a case of "a simple matter of programming" (i.e. looks simple on the surface, but isn't).
- Pjotr
- Level 24
- Posts: 20142
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland) 🇳🇱
- Contact:
Re: dpkg --configure -a'
Upstream thingy with apt / apt-get / dpkg?
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
-
- Level 2
- Posts: 82
- Joined: Sun Jul 05, 2020 8:14 am
Re: dpkg --configure -a'
Thank you for the replies.
Re: dpkg --configure -a'
Yeah, mostly that the switch to detect if it was run by pkexec is not easy (well, as I vaguely recall -- it's been an absolute age)