Updating Problems _ SOLVED

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Updating Problems _ SOLVED

Post by Palladini » Fri Mar 02, 2018 11:35 am

We have an HP Pavilion Laptop, running both Linux Mint18.3 Sylvia Cinnamon and Windows 8. We use Grub, at Start Up to choose which OS to go to. All is fine there. I install updates as they come down, when ever the shield appears. but for the last 2 weeks, we have been getting this message as soon as click install Updates.

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

We have no idea why this is happening, and no idea how to fix it, so we need help.
Last edited by Palladini on Sat Mar 03, 2018 12:19 pm, edited 1 time in total.
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
all41
Level 12
Level 12
Posts: 4173
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Updating Problems

Post by all41 » Fri Mar 02, 2018 11:45 am

This is telling you to open a terminal and enter:

Code: Select all

dpkg --configure -a
Press enter.
Then retry your updates
Proud to be a supporter and monthly contributor to Mint.

User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Re: Updating Problems

Post by Palladini » Fri Mar 02, 2018 11:49 am

I did that and it did not accept the command. In fact I opened my Terminal and copied and pasted that command
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
thx-1138
Level 5
Level 5
Posts: 733
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Updating Problems

Post by thx-1138 » Fri Mar 02, 2018 11:53 am

sudo dpkg --configure -a
Copy / paste, press enter, type password...
Report any error / warning messages afterwards...

User avatar
all41
Level 12
Level 12
Posts: 4173
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Updating Problems

Post by all41 » Fri Mar 02, 2018 11:58 am

thx-1138 wrote:
Fri Mar 02, 2018 11:53 am
sudo dpkg --configure -a
Copy / paste, press enter, type password...
Report any error / warning messages afterwards...
Yep--thx-1138 is correct--I forgot this requires elevated privileges--sorry :? :oops:
Proud to be a supporter and monthly contributor to Mint.

User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Re: Updating Problems

Post by Palladini » Fri Mar 02, 2018 1:05 pm

I was out walking my dogs, sorry for the slow reply. I am doing stuff on the laptop, copy and pasting to word doc, then saving to USB Thumb drive and copy and pasting here on My Video Editing Beast Computer.
So Here is what I get when I run it through my Terminal

dpkg --configure -a
dpkg: error: requested operation requires superuser privilege
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Re: Updating Problems

Post by Palladini » Fri Mar 02, 2018 1:30 pm

Here is a screen shot I took, of my Terminal when I enter the command listed above. The first time it asked for my Password, then nothing for about 5 minutes, then I copy and paste again, nothing happens

https://1drv.ms/u/s!AmuSV7uCiSQNnEXnHZ8bwIc9YW_0
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Updating Problems

Post by Pjotr » Fri Mar 02, 2018 1:33 pm

No feedback doesn't mean no effect.... Does updating work normally now?
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Re: Updating Problems

Post by Palladini » Fri Mar 02, 2018 2:18 pm

Ok Right now I am on the Desktop, but I did click on the shield, which had red X on it, when I did it showed no updates, when I looked at all my updates, I did not see the ones that were on that screen the last time I tried to update and it did not work.

Here is Screen Shot of Updates and you ncan see when the Problem started. And in the upper riht of the Photo you can see my Update manager with red X on it
https://1drv.ms/u/s!AmuSV7uCiSQNnEagW2m5ICcoMVK0
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Updating Problems

Post by Pjotr » Fri Mar 02, 2018 2:39 pm

Does this work:

Code: Select all

sudo mintupdate-tool upgrade -r -l123 -s -nk
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Re: Updating Problems

Post by Palladini » Fri Mar 02, 2018 3:17 pm

This is what I get when I copied and pasted that into my Terminal

sudo mintupdate-tool upgrade -r -l123 -s -nk
[sudo] password for palladini:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintupdate-tool.py", line 35, in <module>
check = APTCheck()
File "/usr/lib/linuxmint/mintUpdate/checkAPT.py", line 47, in __init__
self.cache = apt.Cache()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 113, in __init__
self.open(progress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 165, in open
self._depcache = apt_pkg.DepCache(self._cache)
SystemError: E:The package net.downloadhelper.coapp needs to be reinstalled, but I can't find an archive for it.



And something else I have noticed on this laptop, I have tried to open Software Manager several times now and it will not open.
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Re: Updating Problems

Post by Palladini » Fri Mar 02, 2018 6:32 pm

This is what the information shows on my Update Manager

03.02@15:25 ++ Launching mintUpdate
03.02@15:25 ++ Starting refresh
03.02@15:25 ++ Initial refresh will happen in 10 minutes, 0 hours and 0 days
03.02@15:25 -- Exception occurred in the refresh thread: <class 'subprocess.CalledProcessError'>
03.02@15:35 ++ MintUpdate is in tray mode, performing initial refresh
03.02@15:35 ++ Auto-refresh will happen in 0 minutes, 2 hours and 0 days
03.02@15:35 ++ Starting refresh (including refreshing the APT cache)
03.02@15:35 -- Exception occurred in the refresh thread: <class 'subprocess.CalledProcessError'>
03.02@17:25 ++ Starting refresh (including refreshing the APT cache)
03.02@17:25 -- Exception occurred in the refresh thread: <class 'subprocess.CalledProcessError'>
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Updating Problems

Post by Pjotr » Fri Mar 02, 2018 6:36 pm

Alright, time for some drastic measures. What does this do:

Code: Select all

sudo apt-get update && sudo apt-get upgrade
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Re: Updating Problems

Post by Palladini » Fri Mar 02, 2018 8:13 pm

Entered that command, and look at the last line

sudo apt-get update && sudo apt-get upgrade
[sudo] password for palladini:
Ign:1 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia InRelease
Get:2 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia Release [24.2 kB]
Get:3 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia Release.gpg [819 B]
Get:4 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:6 http://archive.canonical.com/ubuntu xenial InRelease [11.5 kB]
Get:7 http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu xenial InRelease [17.5 kB]
Get:8 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/main Sources [17.8 kB]
Get:9 http://ppa.launchpad.net/kdenlive/kdenl ... ble/ubuntu xenial InRelease [18.1 kB]
Get:10 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/upstream Sources [15.0 kB]
Get:11 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/import Sources [6,150 B]
Get:12 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/backport Sources [32.1 kB]
Get:13 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/main i386 Packages [17.7 kB]
Get:14 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/upstream i386 Packages [44.8 kB]
Get:15 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/import i386 Packages [13.4 kB]
Get:16 http://mirror.csclub.uwaterloo.ca/linuxmint-packages sylvia/backport i386 Packages [74.2 kB]
Get:17 http://archive.canonical.com/ubuntu xenial/partner Sources [2,384 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:19 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial InRelease [18.0 kB]
Get:20 http://archive.canonical.com/ubuntu xenial/partner i386 Packages [3,124 B]
Get:21 http://archive.canonical.com/ubuntu xenial/partner Translation-en [1,616 B]
Get:22 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:23 http://security.ubuntu.com/ubuntu xenial-security/main Sources [117 kB]
Get:24 http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu xenial/main Sources [2,568 B]
Get:25 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,116 B]
Get:26 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [59.5 kB]
Get:27 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,516 B]
Get:28 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [414 kB]
Get:29 http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu xenial/main i386 Packages [5,932 B]
Get:30 http://archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
Get:31 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [198 kB]
Get:32 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [7,224 B]
Get:33 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,152 B]
Get:34 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [280 kB]
Get:35 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [121 kB]
Get:36 http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu xenial/main Translation-en [2,712 B]
Get:37 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [3,376 B]
Get:38 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,408 B]
Get:39 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
Get:40 http://archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
Get:41 http://ppa.launchpad.net/kdenlive/kdenl ... ble/ubuntu xenial/main Sources [2,288 B]
Get:42 http://ppa.launchpad.net/kdenlive/kdenl ... ble/ubuntu xenial/main i386 Packages [4,528 B]
Get:43 http://ppa.launchpad.net/kdenlive/kdenl ... ble/ubuntu xenial/main Translation-en [1,876 B]
Get:44 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial/main Sources [920 B]
Get:45 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial/main i386 Packages [832 B]
Get:46 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial/main Translation-en [160 B]
Get:47 http://archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
Get:48 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 kB]
Get:49 http://archive.ubuntu.com/ubuntu xenial/main Translation-en_CA [420 kB]
Get:50 http://archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
Get:51 http://archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8,684 B]
Get:52 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2,908 B]
Get:53 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,512 kB]
Get:54 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en_CA [3,039 kB]
Get:55 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
Get:56 http://archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]
Get:57 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:58 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [299 kB]
Get:59 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,524 B]
Get:60 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [192 kB]
Get:61 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,968 B]
Get:62 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [684 kB]
Get:63 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [306 kB]
Get:64 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7,524 B]
Get:65 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]
Get:66 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [548 kB]
Get:67 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [240 kB]
Get:68 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15.3 kB]
Get:69 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,052 B]
Get:70 http://archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,432 B]
Get:71 http://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,900 B]
Get:72 http://archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [4,840 B]
Get:73 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3,220 B]
Get:74 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [6,616 B]
Get:75 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,768 B]
Fetched 30.6 MB in 13s (2,238 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package net.downloadhelper.coapp needs to be reinstalled, but I can't find an archive for it.


How would I reinstall or update or whatever needs to be done to get net.downloadhelper.coapp back working on this system. I still cannot get my software Manager to open, I did do restart after doing the above.
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
Pierre
Level 16
Level 16
Posts: 6725
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Updating Problems

Post by Pierre » Fri Mar 02, 2018 9:48 pm

try this, then:
- click on the Update Icon
- Edit - Software Sources
at the bottom of the main screen for Official Repositories:
- click on Restore the default settings
then on the Top Right corner
- click on Update the Cache

while you are on this Tab:
- click on Both Mirrors & manually select the fastest Mirror, for each repository.
then on the Top Right corner
- click on Update the Cache - again.

then close all of that, and wait for several minutes, for the Update Manager to display any further updates.
- click on Update Manager, if it does show that some updates are now available,
and then update as you normally would do.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
all41
Level 12
Level 12
Posts: 4173
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Updating Problems

Post by all41 » Fri Mar 02, 2018 11:51 pm

thx-1138 wrote:
Fri Mar 02, 2018 11:53 am
sudo dpkg --configure -a
Copy / paste, press enter, type password...
Report any error / warning messages afterwards...
btw: Happy Birthday thx-1138
Proud to be a supporter and monthly contributor to Mint.

User avatar
Palladini
Level 1
Level 1
Posts: 41
Joined: Wed Oct 26, 2016 9:13 pm
Location: Here and There
Contact:

Re: Updating Problems

Post by Palladini » Fri Mar 02, 2018 11:53 pm

I did as you said Pierre and as soon as i closed the selection window another window showed up and this what it said,


https://1drv.ms/u/s!AmuSV7uCiSQNnEc6m2PibTK5zcUo
[b]I love Linux[/b]
New user, not programming smart, last program language I learned was called Basic on a Commodore 64

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Updating Problems

Post by Pjotr » Sat Mar 03, 2018 6:13 am

The problem is, in all likelihood, caused by one of your PPA's. You've installed software from it that has certain dependencies, and now it's no longer available (in that version) in that PPA. Most PPA's are owned by amateurs, and maintained amateuristically.....

In other words: you have a spoilt system. Beyond repair, probably.

I recommend to do a clean re-installation of Linux Mint 18.3, and from then on stay away from all PPA's and other external software sources. Unless you have sufficient indications that a particular PPA is reliable: reliable in the sense that it's being maintained well, by reputable people who know what they're doing. And also that it's fit for your particular operating system version.

PPA's are a mixed blessing, to say the least. If used wisely and very restrictively, PPA's can occasionally be of great help. But used carelessly, they're for Linux what the bubonic plague was for the Middle Ages....
Last edited by Pjotr on Sat Mar 03, 2018 6:42 am, edited 1 time in total.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Moem
Level 15
Level 15
Posts: 5856
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Updating Problems

Post by Moem » Sat Mar 03, 2018 6:20 am

Pjotr wrote:
Sat Mar 03, 2018 6:13 am
The problem is, in all likelihood, caused by one of your PPA's. You've installed software from it that has certain dependencies, and now it's no longer available (in that version) in that PPA. Most PPA's are owned by amateurs, and maintained amateuristically.....

In other words: you have a spoilt system. Beyond repair, probably.
That sounds rather grim. Wouldn't removing the PPA, and maybe even the software too, possibly fix things?
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
Pjotr
Level 20
Level 20
Posts: 10214
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Updating Problems

Post by Pjotr » Sat Mar 03, 2018 6:29 am

Moem wrote:
Sat Mar 03, 2018 6:20 am
Pjotr wrote:
Sat Mar 03, 2018 6:13 am
The problem is, in all likelihood, caused by one of your PPA's. You've installed software from it that has certain dependencies, and now it's no longer available (in that version) in that PPA. Most PPA's are owned by amateurs, and maintained amateuristically.....

In other words: you have a spoilt system. Beyond repair, probably.
That sounds rather grim. Wouldn't removing the PPA, and maybe even the software too, possibly fix things?
With the help of ppa-purge perhaps.... The problem is that software often shares some of its components with other software. When some of these components are wrong (flawed or simply the wrong version), you can get bad chain reactions. Trying to undo that, even with the help of ppa-purge, can amount to trying to find a needle in a haystack....

Simply starting over with a clean slate, and afterwards treating your system right this time, is always good. Because then you know you have a reliable and stable system that you can trust. And it's sometimes even a much quicker solution than searching for that needle. :mrgreen:

@Palladini: I recommend to avoid these 10 fatal mistakes from now on:
https://sites.google.com/site/easylinux ... almistakes
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Post Reply

Return to “Installation & Boot”