Problem with libpng12-0 - please help me
Jan Brøndum Johansson
insomniacno1 at gmail.com
Sat Mar 20 03:53:48 UTC 2021
Hello, I followed the instructions on how to install PDF Editor in this
article by you https://vitux.com/how-to-edit-pdf-files-in-ubuntu/
Unfortunately this caused me some serious problems on my Xubuntu 16,04
and I'm hoping you will help me get this sorted out.
As of now I can't update my system becaúse its blocked by unmet
dependencies caused by libpng12 which can't be installed properly. It
can't be uninstalled either.
I have attached the problem in detail downstairs.
Hope you will help me.
Thank you in advance.
--
*Med venlig hilsen / With kind regards
Jan Brøndum Johansson
*
*
*
*th at th-ThinkPad-X300:~$ cd /tmp
th at th-ThinkPad-X300:/tmp$ wget
http://mirrors.kernel.org/ubuntu/pool/main/l/lcms/liblcms1_1.19.dfsg-1ubuntu3_amd64.deb
--2021-03-20 10:45:06--
http://mirrors.kernel.org/ubuntu/pool/main/l/lcms/liblcms1_1.19.dfsg-1ubuntu3_amd64.deb
Resolving mirrors.kernel.org (mirrors.kernel.org)... 198.145.21.9,
2001:19d0:306:6:0:1994:3:14
Connecting to mirrors.kernel.org
(mirrors.kernel.org)|198.145.21.9|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://mirrors.edge.kernel.org/ubuntu/pool/main/l/lcms/liblcms1_1.19.dfsg-1ubuntu3_amd64.deb
[following]
--2021-03-20 10:45:07--
http://mirrors.edge.kernel.org/ubuntu/pool/main/l/lcms/liblcms1_1.19.dfsg-1ubuntu3_amd64.deb
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)...
147.75.95.133, 2604:1380:3000:1500::1
Connecting to mirrors.edge.kernel.org
(mirrors.edge.kernel.org)|147.75.95.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105756 (103K) [application/octet-stream]
Saving to: ‘liblcms1_1.19.dfsg-1ubuntu3_amd64.deb’
liblcms1_1.19.dfsg-1ubuntu3_a
100%[=================================================>] 103.28K
328KB/s in 0.3s
2021-03-20 10:45:08 (328 KB/s) - ‘liblcms1_1.19.dfsg-1ubuntu3_amd64.deb’
saved [105756/105756]
th at th-ThinkPad-X300:/tmp$ wget
http://mirrors.kernel.org/ubuntu/pool/main/libm/libmng/libmng1_1.0.10-3_amd64.deb
--2021-03-20 10:45:29--
http://mirrors.kernel.org/ubuntu/pool/main/libm/libmng/libmng1_1.0.10-3_amd64.deb
Resolving mirrors.kernel.org (mirrors.kernel.org)... 198.145.21.9,
2001:19d0:306:6:0:1994:3:14
Connecting to mirrors.kernel.org
(mirrors.kernel.org)|198.145.21.9|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://mirrors.edge.kernel.org/ubuntu/pool/main/libm/libmng/libmng1_1.0.10-3_amd64.deb
[following]
--2021-03-20 10:45:30--
http://mirrors.edge.kernel.org/ubuntu/pool/main/libm/libmng/libmng1_1.0.10-3_amd64.deb
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)...
147.75.95.133, 2604:1380:3000:1500::1
Connecting to mirrors.edge.kernel.org
(mirrors.edge.kernel.org)|147.75.95.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 214904 (210K) [application/octet-stream]
Saving to: ‘libmng1_1.0.10-3_amd64.deb’
libmng1_1.0.10-3_amd64.deb
100%[=================================================>] 209.87K
419KB/s in 0.5s
2021-03-20 10:45:31 (419 KB/s) - ‘libmng1_1.0.10-3_amd64.deb’ saved
[214904/214904]
th at th-ThinkPad-X300:/tmp$ wget
http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
--2021-03-20 10:45:47--
http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
Resolving mirrors.kernel.org (mirrors.kernel.org)... 198.145.21.9,
2001:19d0:306:6:0:1994:3:14
Connecting to mirrors.kernel.org
(mirrors.kernel.org)|198.145.21.9|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://mirrors.edge.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
[following]
--2021-03-20 10:45:48--
http://mirrors.edge.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)...
147.75.95.133, 2604:1380:3000:1500::1
Connecting to mirrors.edge.kernel.org
(mirrors.edge.kernel.org)|147.75.95.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 116466 (114K) [application/octet-stream]
Saving to: ‘libpng12-0_1.2.54-1ubuntu1_amd64.deb’
libpng12-0_1.2.54-1ubuntu1_am
100%[=================================================>] 113.74K
351KB/s in 0.3s
2021-03-20 10:45:49 (351 KB/s) - ‘libpng12-0_1.2.54-1ubuntu1_amd64.deb’
saved [116466/116466]
th at th-ThinkPad-X300:/tmp$ wget
http://mirrors.kernel.org/ubuntu/pool/main/q/qt-x11-free/libqt3-mt_3.3.8-b-8ubuntu3_amd64.deb
--2021-03-20 10:46:28--
http://mirrors.kernel.org/ubuntu/pool/main/q/qt-x11-free/libqt3-mt_3.3.8-b-8ubuntu3_amd64.deb
Resolving mirrors.kernel.org (mirrors.kernel.org)... 198.145.21.9,
2001:19d0:306:6:0:1994:3:14
Connecting to mirrors.kernel.org
(mirrors.kernel.org)|198.145.21.9|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://mirrors.edge.kernel.org/ubuntu/pool/main/q/qt-x11-free/libqt3-mt_3.3.8-b-8ubuntu3_amd64.deb
[following]
--2021-03-20 10:46:29--
http://mirrors.edge.kernel.org/ubuntu/pool/main/q/qt-x11-free/libqt3-mt_3.3.8-b-8ubuntu3_amd64.deb
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)...
147.75.95.133, 2604:1380:3000:1500::1
Connecting to mirrors.edge.kernel.org
(mirrors.edge.kernel.org)|147.75.95.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3288182 (3.1M) [application/octet-stream]
Saving to: ‘libqt3-mt_3.3.8-b-8ubuntu3_amd64.deb’
libqt3-mt_3.3.8-b-8ubuntu3_am
100%[=================================================>] 3.14M
1.82MB/s in 1.7s
2021-03-20 10:46:31 (1.82 MB/s) - ‘libqt3-mt_3.3.8-b-8ubuntu3_amd64.deb’
saved [3288182/3288182]
th at th-ThinkPad-X300:/tmp$ wget
http://mirrors.kernel.org/ubuntu/pool/universe/p/pdfedit/pdfedit_0.4.5-2_amd64.deb
--2021-03-20 10:46:46--
http://mirrors.kernel.org/ubuntu/pool/universe/p/pdfedit/pdfedit_0.4.5-2_amd64.deb
Resolving mirrors.kernel.org (mirrors.kernel.org)... 198.145.21.9,
2001:19d0:306:6:0:1994:3:14
Connecting to mirrors.kernel.org
(mirrors.kernel.org)|198.145.21.9|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://mirrors.edge.kernel.org/ubuntu/pool/universe/p/pdfedit/pdfedit_0.4.5-2_amd64.deb
[following]
--2021-03-20 10:46:47--
http://mirrors.edge.kernel.org/ubuntu/pool/universe/p/pdfedit/pdfedit_0.4.5-2_amd64.deb
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)...
147.75.95.133, 2604:1380:3000:1500::1
Connecting to mirrors.edge.kernel.org
(mirrors.edge.kernel.org)|147.75.95.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2095970 (2.0M) [application/octet-stream]
Saving to: ‘pdfedit_0.4.5-2_amd64.deb’
pdfedit_0.4.5-2_amd64.deb
100%[=================================================>] 2.00M
200KB/s in 9.0s
2021-03-20 10:46:57 (227 KB/s) - ‘pdfedit_0.4.5-2_amd64.deb’ saved
[2095970/2095970]
th at th-ThinkPad-X300:/tmp$ sudo dpkg -i *.deb
(Reading database ... 361910 files and directories currently installed.)
Preparing to unpack liblcms1_1.19.dfsg-1ubuntu3_amd64.deb ...
Unpacking liblcms1:amd64 (1.19.dfsg-1ubuntu3) over (1.19.dfsg-1ubuntu3) ...
Preparing to unpack libmng1_1.0.10-3_amd64.deb ...
Unpacking libmng1:amd64 (1.0.10-3) over (1.0.10-3) ...
Preparing to unpack libpng12-0_1.2.54-1ubuntu1_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1) over (1.2.54-1ubuntu1) ...
Preparing to unpack libqt3-mt_3.3.8-b-8ubuntu3_amd64.deb ...
Unpacking libqt3-mt (3:3.3.8-b-8ubuntu3) over (3:3.3.8-b-8ubuntu3) ...
Preparing to unpack pdfedit_0.4.5-2_amd64.deb ...
Unpacking pdfedit (0.4.5-2) over (0.4.5-2) ...
Setting up liblcms1:amd64 (1.19.dfsg-1ubuntu3) ...
Setting up libmng1:amd64 (1.0.10-3) ...
dpkg: error processing package libpng12-0:amd64 (--install):
package libpng12-0:amd64 1.2.54-1ubuntu1 cannot be configured because
libpng12-0:i386 is at a different version (1.2.54-1ubuntu1.1)
dpkg: dependency problems prevent configuration of libqt3-mt:
libqt3-mt depends on libpng12-0 (>= 1.2.13-4); however:
Package libpng12-0:amd64 is not configured yet.
dpkg: error processing package libqt3-mt (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pdfedit:
pdfedit depends on libqt3-mt (>= 3:3.3.8-b); however:
Package libqt3-mt is not configured yet.
dpkg: error processing package pdfedit (--install):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for menu (2.1.47ubuntu1.16.04.1) ...
Errors were encountered while processing:
libpng12-0:amd64
libqt3-mt
pdfedit
*
*
*
*I then tried to see if I could install libpng12 manually by downloading
the .deb file, that doesn't work because until the unmet dependencies
are fixed nothing can be installed.*
*
*
*I then tried to uninstall, which resulted in the following:*
*th at th-ThinkPad-X300:/tmp$ sudo apt autoremove liblcms1 libmng1
libpng12-0 libqt3-mt pdfedit
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
abiword : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
blender : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
compiz-plugins-default : Depends: libpng12-0 (>= 1.2.13-4) but it is
not going to be installed
digikam : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
dvdauthor : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
etc1tool : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
gimp : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
gstreamer1.0-plugins-bad : Depends: libpng12-0 (>= 1.2.13-4) but it is
not going to be installed
gstreamer1.0-plugins-good : Depends: libpng12-0 (>= 1.2.13-4) but it
is not going to be installed
gthumb : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
icoutils : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
kipi-plugins : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libabiword-3.0 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libcairo2 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
libcupsfilters1 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libffmpegthumbnailer4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is
not going to be installed
libfreetype6 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libgd3 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
libgdiplus : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
libgdk-pixbuf2.0-0 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libgegl-0.3-0 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libgraphicsmagick-q16-3 : Depends: libpng12-0 (>= 1.2.13-4) but it is
not going to be installed
libgs9 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
libgxps2 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
libkhtml5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
liblept5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
libmagickcore-6.q16-2 : Depends: libpng12-0 (>= 1.2.13-4) but it is
not going to be installed
libopencv-highgui2.4v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is
not going to be installed
libopenimageio1.6 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libpano13-3 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
libplymouth4 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libpoppler58 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libqt5gui5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
libqt5webkit5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libqtgui4 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
libqtwebkit4 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libquicktime2 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
libreoffice-core : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libsdl-image1.2 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libsdl2-image-2.0-0 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libsox2 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
libvigraimpex5v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libwebkit2gtk-4.0-37 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libwebkit2gtk-4.0-37-gtk2 : Depends: libpng12-0 (>= 1.2.13-4) but it
is not going to be installed
libwebkitgtk-1.0-0 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libwebkitgtk-3.0-0 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libwmf0.2-7 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
libwxgtk3.0-0v5 : Depends: libpng12-0 (>= 1.2.13-4) but it is not
going to be installed
libzvbi0 : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
mencoder : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
mjpegtools : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
mplayer : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
netpbm : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
openjdk-8-jre : Depends: libpng12-0 (>= 1.2.13-4) but it is not going
to be installed
sane-utils : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to
be installed
skanlite : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
transfig : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
tumbler : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
vlc-nox : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
x11-apps : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
xsane : Depends: libpng12-0 (>= 1.2.13-4) but it is not going to be
installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
*
*
*
*I then tried sudo apt-get -f install which resulted in :*
*th at th-ThinkPad-X300:/tmp$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer
required:
libcanon-proprio-bin linux-headers-4.4.0-203
linux-headers-4.4.0-203-generic linux-image-4.4.0-203-generic
linux-modules-4.4.0-203-generic linux-modules-extra-4.4.0-203-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libpng12-0
The following packages will be upgraded:
libpng12-0
1 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
4 not fully installed or removed.
Need to get 0 B/116 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 361910 files and directories currently installed.)
Preparing to unpack .../libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ...
Unpacking libpng12-0:amd64 (1.2.54-1ubuntu1.1) over (1.2.54-1ubuntu1) ...
dpkg: error processing archive
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb (--unpack):
trying to overwrite shared
'/usr/share/doc/libpng12-0/changelog.Debian.gz', which is different from
other instances of package libpng12-0:amd64
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Errors were encountered while processing:
/var/cache/apt/archives/libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
th at th-ThinkPad-X300:/tmp$
*
*
*
*And I'm stuck here
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20210320/21dabf8f/attachment-0001.html>
More information about the Ubuntu-devel-discuss
mailing list