update fails (18.04.3LTS)

Asked by ironmikezero on 2019-09-02

For the past few days all attempts to update 18.04.3LTS have failed. Livepatch is on, but has never indicated any available updates even when there are some found by clicking the Software Updater icon. Those won't update; I get an error msg (see screenshot below).

(screenshot)
The Package System is broken.
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
 The following packages have unmet dependencies:

nvidia-driver-435: Depends: libnvidia-gl-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: nvidia-dkms-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: nvidia-kernel-source-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: libnvidia-compute-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: nvidia-compute-utils-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: libnvidia-decode-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: libnvidia-encode-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: nvidia-utils-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: xserver-xorg-video-nvidia-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but it is not installed
                   Depends: libnvidia-cfg1-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: libnvidia-ifr1-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
                   Depends: libnvidia-fbc1-435 (= 435.21-1pop1~1567200870~18.04~c01044a~dev) but 435.21-1pop1~1567200870~18.04~c01044a~dev is installed
xserver-xorg-video-nvidia-418: Depends: xserver-xorg-video-nvidia-435 but it is not installed
xserver-xorg-video-nvidia-430: Depends: xserver-xorg-video-nvidia-435 but it is not installed
(end of screenshot)

I am not using third party repositories.
The suggested terminal command doesn't work (invalid command).
I've tried updating with Livepatch off, but it still fails.

Otherwise my system is operating as normal . . . well, almost . . . my mouse curser seems a little erratic but works.
I'm not that technically inclined, so any help would be appreciated. Thanks . . .

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ironmikezero
Solved:
2019-09-03
Last query:
2019-09-03
Last reply:
2019-09-03
Manfred Hampl (m-hampl) said : #1

For diagnostic purposes please provide the output of the following commands:

uname -a
lsb_release -crid
sudo dpkg --audit
apt cache policy nvidia-driver-435 libnvidia-gl-435
apt --simulate install -f

Manfred Hampl (m-hampl) said : #2

... and the output of an additional command please:

sudo apt update

ironmikezero (ironmikezero) said : #3

Manfred, please forgive the delayed response. I had to work. The soonest I
can get back to this issue will be tomorrow, roughly mid-morning . . .
Sorry, - Mike

On Mon, Sep 2, 2019 at 1:23 PM Manfred Hampl <
<email address hidden>> wrote:

> Your question #683590 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/683590
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes please provide the output of the following
> commands:
>
> uname -a
> lsb_release -crid
> sudo dpkg --audit
> apt cache policy nvidia-driver-435 libnvidia-gl-435
> apt --simulate install -f
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/683590
>
> You received this question notification because you asked the question.
>

Manfred Hampl (m-hampl) said : #5

probably not a PPA, but a foreign Operating System (Pop!_OS)

ironmikezero (ironmikezero) said : #6

I think I've figured it out . . . This all began with a routine software update on Friday, Sept. 30, the day before the three-day holiday weekend (US). It appears there may have been corrupted files within the update package or there was some sort of compromise in the data stream (not that unusual with my ISP; but that's a tale for another time).

Here's what I did using the terminal (sudo commands):

apt update (so something else, other than that depicted in the screenshot, was available, but what exactly?)

apt list --upgradable (oh, so that's what . . . fifty-some other items )

apt-get update (yes, the download)

apt-get upgrade (ah yes, the install . . . This also displayed the problematic files, packages with unmet dependencies, followed by the recommendation to run the apt --fix-broken install command, and then follow up with the apt autoremove command to clear out those problematic files/packages)

apt --fix-broken install (wow, that was quick)

apt autoremove (cleared the offending crap)

Now everything is running smoothly; routine software updating via the icon button works as intended. I apologize for taking up anyone's time--I really do appreciate the efforts to help. I'm not that tech savvy, but even I know that big update downloads at the last minute before a three-day weekend can tend to be a bit suspect when something suddenly goes snafu.