broken packages and dependency issue

Asked by Ethan Lin

This is the error that Software Updater gave me:
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:

libvte-2.91-0: Depends: libvte-2.91-common (= 0.60.0-2ubuntu1) but 0.59.91-0ubuntu2 is installed
               Depends: libatk1.0-0 (>= 1.12.4) but 2.35.1-1ubuntu1 is installed
               Depends: libc6 (>= 2.28) but 2.31-0ubuntu6 is installed
               Depends: libcairo2 (>= 1.10.0) but 1.16.0-4ubuntu1 is installed
               Depends: libfribidi0 (>= 1.0.0) but 1.0.8-2 is installed
               Depends: libglib2.0-0 (>= 2.52.0) but 2.64.1-1 is installed
               Depends: libgnutls30 (>= 3.6.10) but 3.6.11.1-2ubuntu2 is installed
               Depends: libgtk-3-0 (>= 3.20) but 3.24.14-1ubuntu1 is installed
               Depends: libicu66 (>= 66.1-1~) but 66.1-2ubuntu2 is installed
               Depends: libpango-1.0-0 (>= 1.22.0) but 1.44.7-1ubuntu3 is installed
               Depends: libpangocairo-1.0-0 (>= 1.22.0) but 1.44.7-1ubuntu3 is installed
               Depends: libpcre2-8-0 (>= 10.22) but 10.34-7 is installed
               Depends: libstdc++6 (>= 5.2) but 10-20200324-1ubuntu1 is installed
               Depends: libsystemd0 (>= 220) but 245.2-1ubuntu2 is installed
               Depends: zlib1g (>= 1:1.2.0) but 1:1.2.11.dfsg-2ubuntu1 is installed
 I have no idea how this happened... What do I do? I tried apt but its not letting me.

Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the full output that you receive for the commands

uname -a
lsb_release -crid
apt-cache policy libvte-2.91-0 libvte-2.91-common
sudo dpkg --audit
sudo dpkg --configure -a
sudo apt update
sudo apt install -f

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Subscribing :-)

Revision history for this message
Ethan Lin (mainsystemadmin) said :
#3

ok i am here will get to the commands

Revision history for this message
Ethan Lin (mainsystemadmin) said :
#4

sorry for the slow response. I had the weekend off.

Revision history for this message
Ethan Lin (mainsystemadmin) said :
#5

Linux hp-notebook 5.4.0-20-generic #24-Ubuntu SMP Mon Mar 23 20:55:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
Codename: focal
libvte-2.91-0:
  Installed: 0.60.0-2ubuntu1
  Candidate: 0.60.0-2ubuntu1
  Version table:
 *** 0.60.0-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu devel-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     0.59.91-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu devel/main amd64 Packages
libvte-2.91-common:
  Installed: 0.59.91-0ubuntu2
  Candidate: 0.60.0-2ubuntu1
  Version table:
     0.60.0-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu devel-proposed/main amd64 Packages
 *** 0.59.91-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu devel/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu devel/main i386 Packages
        100 /var/lib/dpkg/status
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 gir1.2-vte-2.91:amd64 GObject introspection data for the VTE library
 libvte-2.91-0:amd64 Terminal emulator widget for GTK+ 3.0 - runtime files
dpkg: dependency problems prevent configuration of libvte-2.91-0:amd64:
 libvte-2.91-0:amd64 depends on libvte-2.91-common (= 0.60.0-2ubuntu1); however:
  Version of libvte-2.91-common on system is 0.59.91-0ubuntu2.

dpkg: error processing package libvte-2.91-0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gir1.2-vte-2.91:amd64:
 gir1.2-vte-2.91:amd64 depends on libvte-2.91-0 (>= 0.60.0); however:
  Package libvte-2.91-0:amd64 is not configured yet.

dpkg: error processing package gir1.2-vte-2.91:amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libvte-2.91-0:amd64
 gir1.2-vte-2.91:amd64

Revision history for this message
Ethan Lin (mainsystemadmin) said :
#6

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu devel-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu devel-updates InRelease
Hit:4 http://dl.google.com/linux/chrome/deb stable Release
Hit:5 http://us.archive.ubuntu.com/ubuntu devel-backports InRelease
Hit:6 http://archive.canonical.com/ubuntu devel InRelease
Get:7 http://us.archive.ubuntu.com/ubuntu devel InRelease [255 kB]
Hit:8 http://archive.ubuntu.com/ubuntu devel-updates InRelease
Hit:9 http://archive.ubuntu.com/ubuntu devel-backports InRelease
Hit:10 http://archive.ubuntu.com/ubuntu devel-security InRelease
Get:12 http://archive.ubuntu.com/ubuntu devel InRelease [255 kB]
Get:13 http://archive.ubuntu.com/ubuntu devel-proposed InRelease [255 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu devel/universe Sources [9,745 kB]
Get:15 http://archive.ubuntu.com/ubuntu devel/main i386 Packages [717 kB]
Get:16 http://archive.ubuntu.com/ubuntu devel/main amd64 Packages [969 kB]
Get:17 http://archive.ubuntu.com/ubuntu devel/main Translation-en [501 kB]
Get:18 http://archive.ubuntu.com/ubuntu devel/main amd64 DEP-11 Metadata [518 kB]
Get:19 http://archive.ubuntu.com/ubuntu devel/main DEP-11 48x48 Icons [93.7 kB]
Get:20 http://archive.ubuntu.com/ubuntu devel/main DEP-11 64x64 Icons [164 kB]
Get:21 http://archive.ubuntu.com/ubuntu devel amd64 Contents (deb) [41.1 MB]
28% [21 Contents-amd64 7,498 kB/41.1 MB 18%] [14 Sources 4,418 kB/9,745 kB 45%] 240 kB/s 7min 38s^28% [21 Contents-amd64 7,573 kB/41.1 MB 18%] [14 Sources 4,434 kB/9,745 kB 45%] 240 kB/s 7min 38s^Get:22 http://us.archive.ubuntu.com/ubuntu devel/main Sources [841 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu devel/multiverse Sources [174 kB]
Get:24 http://archive.ubuntu.com/ubuntu devel i386 Contents (deb) [32.1 MB]
Get:25 http://archive.ubuntu.com/ubuntu devel/main amd64 c-n-f Metadata [29.1 kB]
Get:26 http://archive.ubuntu.com/ubuntu devel/universe i386 Packages [4,675 kB]
Get:27 http://archive.ubuntu.com/ubuntu devel/universe amd64 Packages [8,702 kB]
Get:28 http://archive.ubuntu.com/ubuntu devel/universe Translation-en [5,151 kB]
Get:29 http://archive.ubuntu.com/ubuntu devel/universe amd64 DEP-11 Metadata [3,631 kB]
Get:30 http://archive.ubuntu.com/ubuntu devel/universe DEP-11 48x48 Icons [3,009 kB]
Get:31 http://archive.ubuntu.com/ubuntu devel/universe DEP-11 64x64 Icons [7,935 kB]
Get:32 http://archive.ubuntu.com/ubuntu devel/universe amd64 c-n-f Metadata [267 kB]
Get:33 http://archive.ubuntu.com/ubuntu devel/multiverse amd64 Packages [144 kB]
Get:34 http://archive.ubuntu.com/ubuntu devel/multiverse i386 Packages [74.8 kB]
Get:35 http://archive.ubuntu.com/ubuntu devel/multiverse amd64 DEP-11 Metadata [44.9 kB]
Get:36 http://archive.ubuntu.com/ubuntu devel/multiverse DEP-11 48x48 Icons [16.1 kB]
Get:37 http://archive.ubuntu.com/ubuntu devel/multiverse DEP-11 64x64 Icons [199 kB]
Get:38 http://archive.ubuntu.com/ubuntu devel/multiverse amd64 c-n-f Metadata [9,140 B]
Get:39 http://archive.ubuntu.com/ubuntu devel-proposed amd64 Contents (deb) [2,134 kB]
Get:40 http://archive.ubuntu.com/ubuntu devel-proposed i386 Contents (deb) [1,308 kB]
Get:41 http://archive.ubuntu.com/ubuntu devel-proposed/main i386 Packages [35.9 kB]
Get:42 http://archive.ubuntu.com/ubuntu devel-proposed/main amd64 Packages [57.6 kB]
Get:43 http://archive.ubuntu.com/ubuntu devel-proposed/main Translation-en [26.0 kB]
Get:44 http://archive.ubuntu.com/ubuntu devel-proposed/main amd64 DEP-11 Metadata [208 B]
Get:45 http://archive.ubuntu.com/ubuntu devel-proposed/main DEP-11 48x48 Icons [29 B]
Get:46 http://archive.ubuntu.com/ubuntu devel-proposed/main DEP-11 64x64 Icons [29 B]
Get:47 http://archive.ubuntu.com/ubuntu devel-proposed/main amd64 c-n-f Metadata [1,992 B]
Get:48 http://archive.ubuntu.com/ubuntu devel-proposed/universe i386 Packages [83.7 kB]
Get:49 http://archive.ubuntu.com/ubuntu devel-proposed/universe amd64 Packages [183 kB]
Get:50 http://archive.ubuntu.com/ubuntu devel-proposed/universe Translation-en [103 kB]
Get:51 http://archive.ubuntu.com/ubuntu devel-proposed/universe amd64 DEP-11 Metadata [33.0 kB]
Get:52 http://archive.ubuntu.com/ubuntu devel-proposed/universe DEP-11 48x48 Icons [17.8 kB]
Get:53 http://archive.ubuntu.com/ubuntu devel-proposed/universe DEP-11 64x64 Icons [69.6 kB]
Get:54 http://archive.ubuntu.com/ubuntu devel-proposed/universe amd64 c-n-f Metadata [9,188 B]
Get:55 http://archive.ubuntu.com/ubuntu devel-proposed/multiverse amd64 DEP-11 Metadata [1,412 B]
Get:56 http://archive.ubuntu.com/ubuntu devel-proposed/multiverse DEP-11 48x48 Icons [2,731 B]
Get:57 http://archive.ubuntu.com/ubuntu devel-proposed/multiverse DEP-11 64x64 Icons [3,924 B]
Fetched 118 MB in 9min 20s (211 kB/s)
The AppStream system cache was updated, but some components were ignored. Refer to the verbose log for more information.
Reading package lists... Done
Building dependency tree
Reading state information... Done
115 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Conflicting distribution: http://security.ubuntu.com/ubuntu devel-security InRelease (expected devel-security but got focal)
W: Conflicting distribution: http://us.archive.ubuntu.com/ubuntu devel-updates InRelease (expected devel-updates but got focal)
W: Conflicting distribution: http://us.archive.ubuntu.com/ubuntu devel-backports InRelease (expected devel-backports but got focal)
W: Conflicting distribution: http://archive.canonical.com/ubuntu devel InRelease (expected devel but got focal)
W: Conflicting distribution: http://archive.ubuntu.com/ubuntu devel-updates InRelease (expected devel-updates but got focal)
W: Conflicting distribution: http://archive.ubuntu.com/ubuntu devel-backports InRelease (expected devel-backports but got focal)
W: Conflicting distribution: http://archive.ubuntu.com/ubuntu devel-security InRelease (expected devel-security but got focal)
W: Conflicting distribution: http://us.archive.ubuntu.com/ubuntu devel InRelease (expected devel but got focal)
W: Conflicting distribution: http://archive.ubuntu.com/ubuntu devel InRelease (expected devel but got focal)
W: Conflicting distribution: http://archive.ubuntu.com/ubuntu devel-proposed InRelease (expected devel-proposed but got focal)
[sudo] password for administrator:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libpoppler95
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libvte-2.91-0 libvte-2.91-common
The following packages will be upgraded:
  libvte-2.91-0 libvte-2.91-common
2 upgraded, 0 newly installed, 0 to remove and 113 not upgraded.
2 not fully installed or removed.
Need to get 202 kB of archives.
After this operation, 20.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu devel/main amd64 libvte-2.91-0 amd64 0.60.0-2ubuntu2 [194 kB]
Get:2 http://archive.ubuntu.com/ubuntu devel/main amd64 libvte-2.91-common amd64 0.60.0-2ubuntu2 [7,496 B]
Fetched 202 kB in 1s (153 kB/s)
(Reading database ... 214326 files and directories currently installed.)
Preparing to unpack .../libvte-2.91-0_0.60.0-2ubuntu2_amd64.deb ...
Unpacking libvte-2.91-0:amd64 (0.60.0-2ubuntu2) over (0.60.0-2ubuntu1) ...
Preparing to unpack .../libvte-2.91-common_0.60.0-2ubuntu2_amd64.deb ...
Unpacking libvte-2.91-common (0.60.0-2ubuntu2) over (0.59.91-0ubuntu2) ...
Setting up libvte-2.91-common (0.60.0-2ubuntu2) ...
Setting up libvte-2.91-0:amd64 (0.60.0-2ubuntu2) ...
Setting up gir1.2-vte-2.91:amd64 (0.60.0-2ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu6) ...

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#7

Ok, it seems that the dependency problem is solved. Updating should work again.

For the warnings
W: Conflicting distribution: http://security.ubuntu.com/ubuntu devel-security InRelease (expected devel-security but got focal)
You should edit your /etc/apt/sources.list configuration file and replace all occurrences of "devel" by "focal"

Revision history for this message
Ethan Lin (mainsystemadmin) said :
#8

Thanks Manfred Hampl, that solved my question.