Bug#1028099: [libtepl-6-2] package upgrade error
Lyndon Brown
jnqnfe at gmail.com
Fri Jan 6 20:33:42 GMT 2023
Package: libtepl-6-2
Version: 6.4.0-3
Severity: serious
Ran into an upgrade issue on Sid today. Seems libtepl-6-1 did not get
removed before trying to install libtepl-6-2, causing the libtepl-6-2
install to fail, and consequently cascading failures from there.
Output of first aptitude upgrade command:
```
$ sudo aptitude upgrade
Resolving dependencies...
The following NEW packages will be installed:
libtepl-6-2{a}
The following packages will be REMOVED:
libtepl-6-1{u}
The following packages will be upgraded:
gedit gedit-plugin-bookmarks gedit-plugin-bracket-completion gedit-plugin-character-map
gedit-plugin-code-comment gedit-plugin-color-picker gedit-plugin-color-schemer
gedit-plugin-draw-spaces gedit-plugin-git gedit-plugin-join-lines gedit-plugin-multi-edit
gedit-plugin-session-saver gedit-plugin-smart-spaces gedit-plugin-synctex
gedit-plugin-terminal gedit-plugin-text-size gedit-plugin-word-completion
gedit-plugins-common gnustep-base-common gnustep-base-runtime imagemagick
imagemagick-6-common imagemagick-6.q16 libapache-pom-java libbcmail-java libbcpkix-java
libbcprov-java libbcutil-java libgnustep-base1.28 libmagick++-6.q16-8 libmagickcore-6.q16-6
libmagickwand-6.q16-6
The following packages are RECOMMENDED but will NOT be installed:
libmagickcore-6.q16-6-extra
32 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 16.3 MB of archives. After unpacking 1,024 B will be freed.
Do you want to continue? [Y/n/?] y
Get: 1 https://deb.debian.org/debian sid/main amd64 libtepl-6-2 amd64 6.4.0-3 [122 kB]
Get: 2 https://deb.debian.org/debian sid/main amd64 gedit amd64 43.2-2+b1 [364 kB]
Get: 3 https://deb.debian.org/debian sid/main amd64 gedit-plugins-common amd64 43.1-1+b1 [293 kB]
Get: 4 https://deb.debian.org/debian sid/main amd64 gedit-plugin-draw-spaces amd64 43.1-1+b1 [19.9 kB]
Get: 5 https://deb.debian.org/debian sid/main amd64 imagemagick-6-common all 8:6.9.11.60+dfsg-1.4 [165 kB]
Get: 6 https://deb.debian.org/debian sid/main amd64 libmagickcore-6.q16-6 amd64 8:6.9.11.60+dfsg-1.4 [1,780 kB]
Get: 7 https://deb.debian.org/debian sid/main amd64 libmagickwand-6.q16-6 amd64 8:6.9.11.60+dfsg-1.4 [407 kB]
Get: 8 https://deb.debian.org/debian sid/main amd64 gedit-plugin-bookmarks amd64 43.1-1+b1 [30.6 kB]
Get: 9 https://deb.debian.org/debian sid/main amd64 gedit-plugin-bracket-completion amd64 43.1-1+b1 [17.9 kB]
Get: 10 https://deb.debian.org/debian sid/main amd64 gedit-plugin-character-map amd64 43.1-1+b1 [21.1 kB]
Get: 11 https://deb.debian.org/debian sid/main amd64 gedit-plugin-code-comment amd64 43.1-1+b1 [22.0 kB]
Get: 12 https://deb.debian.org/debian sid/main amd64 gedit-plugin-color-picker amd64 43.1-1+b1 [22.4 kB]
Get: 13 https://deb.debian.org/debian sid/main amd64 gedit-plugin-color-schemer amd64 43.1-1+b1 [18.9 kB]
Get: 14 https://deb.debian.org/debian sid/main amd64 gedit-plugin-git amd64 43.1-1+b1 [24.4 kB]
Get: 15 https://deb.debian.org/debian sid/main amd64 gedit-plugin-join-lines amd64 43.1-1+b1 [22.1 kB]
Get: 16 https://deb.debian.org/debian sid/main amd64 gedit-plugin-multi-edit amd64 43.1-1+b1 [28.4 kB]
Get: 17 https://deb.debian.org/debian sid/main amd64 gedit-plugin-session-saver amd64 43.1-1+b1 [20.4 kB]
Get: 18 https://deb.debian.org/debian sid/main amd64 gedit-plugin-smart-spaces amd64 43.1-1+b1 [10.7 kB]
Get: 19 https://deb.debian.org/debian sid/main amd64 gedit-plugin-synctex amd64 43.1-1+b1 [20.0 kB]
Get: 20 https://deb.debian.org/debian sid/main amd64 gedit-plugin-terminal amd64 43.1-1+b1 [20.6 kB]
Get: 21 https://deb.debian.org/debian sid/main amd64 gedit-plugin-text-size amd64 43.1-1+b1 [19.0 kB]
Get: 22 https://deb.debian.org/debian sid/main amd64 gedit-plugin-word-completion amd64 43.1-1+b1 [24.6 kB]
Get: 23 https://deb.debian.org/debian sid/main amd64 libgnustep-base1.28 amd64 1.28.1-2 [1,595 kB]
Get: 24 https://deb.debian.org/debian sid/main amd64 gnustep-base-runtime amd64 1.28.1-2 [445 kB]
Get: 25 https://deb.debian.org/debian sid/main amd64 gnustep-base-common all 1.28.1-2 [296 kB]
Get: 26 https://deb.debian.org/debian sid/main amd64 imagemagick-6.q16 amd64 8:6.9.11.60+dfsg-1.4 [338 kB]
Get: 27 https://deb.debian.org/debian sid/main amd64 imagemagick amd64 8:6.9.11.60+dfsg-1.4 [121 kB]
Get: 28 https://deb.debian.org/debian sid/main amd64 libapache-pom-java all 29-1 [5,340 B]
Get: 29 https://deb.debian.org/debian sid/main amd64 libbcprov-java all 1.72-2 [8,225 kB]
Get: 30 https://deb.debian.org/debian sid/main amd64 libbcutil-java all 1.72-2 [580 kB]
Get: 31 https://deb.debian.org/debian sid/main amd64 libbcpkix-java all 1.72-2 [856 kB]
Get: 32 https://deb.debian.org/debian sid/main amd64 libbcmail-java all 1.72-2 [149 kB]
Get: 33 https://deb.debian.org/debian sid/main amd64 libmagick++-6.q16-8 amd64 8:6.9.11.60+dfsg-1.4 [242 kB]
Fetched 16.3 MB in 12s (1,351 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libtepl-6-2:amd64.
(Reading database ... 295446 files and directories currently installed.)
Preparing to unpack .../libtepl-6-2_6.4.0-3_amd64.deb ...
Unpacking libtepl-6-2:amd64 (6.4.0-3) ...
dpkg: error processing archive /var/cache/apt/archives/libtepl-6-2_6.4.0-3_amd64.deb (--unpack):
trying to overwrite '/usr/share/locale/ca/LC_MESSAGES/tepl-6.mo', which is also in package libtepl-6-1:amd64 6.2.0-3
Preparing to unpack .../gedit_43.2-2+b1_amd64.deb ...
Unpacking gedit (43.2-2+b1) over (43.2-2) ...
Preparing to unpack .../gedit-plugins-common_43.1-1+b1_amd64.deb ...
Unpacking gedit-plugins-common (43.1-1+b1) over (43.1-1) ...
Preparing to unpack .../gedit-plugin-draw-spaces_43.1-1+b1_amd64.deb ...
Unpacking gedit-plugin-draw-spaces (43.1-1+b1) over (43.1-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/libtepl-6-2_6.4.0-3_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg: dependency problems prevent configuration of gedit:
gedit depends on libtepl-6-2 (>= 6.2); however:
Package libtepl-6-2:amd64 is not installed.
dpkg: error processing package gedit (--configure):
dependency problems - leaving unconfigured
Setting up gedit-plugins-common (43.1-1+b1) ...
dpkg: dependency problems prevent configuration of gedit-plugin-draw-spaces:
gedit-plugin-draw-spaces depends on gedit (>= 43.2); however:
Package gedit is not configured yet.
gedit-plugin-draw-spaces depends on libtepl-6-2 (>= 6.1.2); however:
Package libtepl-6-2:amd64 is not installed.
gedit-plugin-draw-spaces depends on gedit (<< 44~); however:
Package gedit is not configured yet.
dpkg: error processing package gedit-plugin-draw-spaces (--configure):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for libglib2.0-0:amd64 (2.74.4-1) ...
Processing triggers for libc-bin (2.36-7) ...
Processing triggers for mailcap (3.70+nmu1) ...
Errors were encountered while processing:
gedit
gedit-plugin-draw-spaces
Current status: 2 (+2) broken, 29 (-3) upgradable.
```
I presume maintainer simply forgot to add a 'not compatible with
libtepl-6-1' marker to libtepl-6-2.
I manually managed to resolve this by removing libtepl-6-1 and
reattempting the upgrade, but of course this needs fixing please for
everyone else. Thanks. :)
More information about the pkg-gnome-maintainers
mailing list