damaged package around kdegraphics-libs-data

Bug #617638 reported by CI Open Source Foundation
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE Graphics
Invalid
Undecided
Unassigned
Kubuntu PPA
Invalid
Undecided
CI Open Source Foundation
Ubuntu
Invalid
Undecided
CI Open Source Foundation

Bug Description

Synaptic & Adept Error

E: /var/cache/apt/archives/kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb: trying to overwrite '/usr/share/icons/hicolor/48x48/apps/kdcraw.png', which is also in package libkdcraw8 4

1)
h2@c-oh:~$ sudo dpkg --configure -a
[sudo] password for h2:
dpkg: dependency problems prevent configuration of libksane0:
 libksane0 depends on kdegraphics-libs-data (>= 4:4.5.0b-0ubuntu1~lucid1~ppa1); however:
  Package kdegraphics-libs-data is not installed.
dpkg: error processing libksane0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libkipi7:
 libkipi7 depends on kdegraphics-libs-data (>= 4:4.5.0b-0ubuntu1~lucid1~ppa1); however:
  Package kdegraphics-libs-data is not installed.
dpkg: error processing libkipi7 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kipi-plugins:
 kipi-plugins depends on libkipi7; however:
  Package libkipi7 is not configured yet.
 kipi-plugins depends on libksane0 (>= 4:4.4.4); however:
  Package libksane0 is not configured yet.
dpkg: error processing kipi-plugins (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gwenview:
 gwenview depends on libkipi7 (>= 4:4.5.0b); however:
  Package libkipi7 is not configured yet.
dpkg: error processing gwenview (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libksane0
 libkipi7
 kipi-plugins
 gwenview

2)
h2@c-oh:~$ 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:
  knetwalk kpat qt3-assistant libnumber-format-perl kdepim kolf mesa-utils mozilla-traybiff-common
  libfreebob0 libcups2-dev libgtkhtml3.8-15 libxml-rss-perl kshisen kmahjongg kjumpingcube kdessh
  texlive-base-bin-doc firefox-3.5-branding kblocks katomic kdegames-card-data kruler libtasn1-3-dev
  libboost-test1.38.0 kolourpaint4 libboost-regex1.38.0 octave3.0 xulrunner-1.9.1 kgoldrunner krossruby
  libboost-wave1.38.0 libnet-daemon-perl libdatetime-locale-perl liblog-log4perl-perl libgail-common
  libcvaux1 kblackbox libparams-validate-perl bomber kdebase kiriki patchutils libpcre3-dev
  libvamp-hostsdk2 ksame kcolorchooser libgcrypt11-dev libhtml-template-perl libdbi-perl libdbd-mysql-perl
  libkdegames5 liblo0ldbl libexception-class-perl xscreensaver libropkg-perl python-sip4-dbg kweather
  kdiamond libass3 python-sip4-dev libsmokesoprano3 libqyoto4.4-cil ksirk ksquares klinkstatus
  libvamp-sdk1 proj libcln5 libpod-coverage-perl python2.5 libboost-thread1.38.0 libkadm5clnt6
  libglu1-xorg-dev libamrnb3 kdewebdev libsqlite0-dev kdegames libplrpc-perl libboost-serialization1.38.0
  libboost-date-time1.38.0 libcdio7 libpcrecpp0 wwwconfig-common libmysqlclient15off kbreakout
  python-gtkhtml2 kbounce sdparm libx264-67 kfourinline plasma-runners-addons sivp kimagemapeditor
  granatier libdevel-symdump-perl r-cran-vr kollision liblog-dispatch-perl libamrwb3 kcron ktron
  libgnomeprint2.2-data bovo libkpathsea4 libcelt0 libsql-abstract-perl libgnutls-dev libprotobuf3
  qcad-doc libboost-signals1.38.0 libdevel-stacktrace-perl libipc-shareable-perl kreversi kspaceduel
  libboost-graph1.38.0 qcad-data libdatetime-perl ksudoku libboost-math1.38.0 klines googleearth-data
  libboost1.38-doc lskat libwv2-2 libslide-webdavclient-java kgamma kfilereplace libffado1
  libboost-iostreams1.38.0 kommander libhdf5-serial-1.6.6-0 kubrick libcv1 libgtkhtml2-0 xlibmesa-gl-dev
  spacenavd libiso9660-5 libdatetime-format-w3cdtf-perl killbots kapman qt3-doc libhighgui1 liblcms1-dev
  libhdf4g libqtgtl0 poxml thunderbird-locale-el kxsldbg kbattleship libclass-data-inheritable-perl
  pychecker libdatetime-format-mail-perl dbconfig-common palapeli libgnome-desktop-2-11
  libboost-filesystem1.38.0 kdelirc kde-icons-nuvola libmng-dev libproj-dev virtuoso-nepomuk kmines
  octave3.0-common libgnomeprint2.2-0 kdebase-workspace-wallpapers libdatetime-timezone-perl
  liblist-moreutils-perl konquest kigo libtest-pod-perl dpatch libclass-singleton-perl
  libgnomeprintui2.2-0 libboost-system1.38.0 libgnomeprintui2.2-common gnugo libbz2-dev ktuberling
  libqyotoshared1 libmpeg3-1 libgnomecups1.0-1 libboost-python1.38.0 libfaad0 libtest-pod-coverage-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  kdegraphics-libs-data
The following NEW packages will be installed:
  kdegraphics-libs-data
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
4 not fully installed or removed.
Need to get 0B/148kB of archives.
After this operation, 1,315kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 532270 files and directories currently installed.)
Unpacking kdegraphics-libs-data (from .../kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb (--unpack):
 trying to overwrite '/usr/share/icons/hicolor/48x48/apps/kdcraw.png', which is also in package libkdcraw8 4:4.5.0+svn1136700-lucid~ppa1
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 /var/cache/apt/archives/kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
CI Open Source Foundation (open-source-foundation-ci) wrote :

Same problem occurred with Digikam

dpkg: dependency problems prevent configuration of libksane0:
 libksane0 depends on kdegraphics-libs-data (>= 4:4.5.0b-0ubuntu1~lucid1~ppa1); however:
  Package kdegraphics-libs-data is not installed.
dpkg: error processing libksane0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libkipi7:
 libkipi7 depends on kdegraphics-libs-data (>= 4:4.5.0b-0ubuntu1~lucid1~ppa1); however:
  Package kdegraphics-libs-data is not installed.
dpkg: error processing libkipi7 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kipi-plugins:
 kipi-plugins depends on libkipi7; however:
  Package libkipi7 is not configured yet.
 kipi-plugins depends on libksane0 (>= 4:4.4.4); however:
  Package libksane0 is not configured yet.
dpkg: error processing kipi-plugins (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of digikam:
 digikam depends on libkipi7; however:
  Package libkipi7 is not configured yet.
dpkg: error processing digikam (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libksane0
 libkipi7
 kipi-plugins
 digikam

tags: added: digikam kdegraphics
Revision history for this message
CI Open Source Foundation (open-source-foundation-ci) wrote :
Download full text (3.2 KiB)

sudo apt-get -f dist-upgrade -- tried, but errors remain

h2@c-oh:~$ sudo apt-get -f dist-upgrade
[sudo] password for h2:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  kdegraphics-libs-data
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0B/148kB of archives.
After this operation, 1,315kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 534700 files and directories currently installed.)
Unpacking kdegraphics-libs-data (from .../kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb (--unpack):
 trying to overwrite '/usr/share/icons/hicolor/48x48/apps/kdcraw.png', which is also in package libkdcraw8 4:4.5.0+svn1136700-lucid~ppa1
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 /var/cache/apt/archives/kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
h2@c-oh:~$ sudo apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  kdegraphics-libs-data
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0B/148kB of archives.
After this operation, 1,315kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 534700 files and directories currently installed.)
Unpacking kdegraphics-libs-data (from .../kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb (--unpack):
 trying to overwrite '/usr/share/icons/hicolor/48x48/apps/kdcraw.png', which is also in package libkdcraw8 4:4.5.0+svn1136700-lucid~ppa1
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
 /var/cache/apt/archives/kdegraphics-libs-data_4%3a4.5.0b-0ubuntu1~lucid1~ppa1_all.deb
E: Sub-process...

Read more...

tags: added: libdkcraw8
Changed in kdegraphics:
status: Unknown → New
Changed in kdegraphics:
status: New → Invalid
Revision history for this message
CI Open Source Foundation (open-source-foundation-ci) wrote :

Using both Synaptic & Adept , uninstalled and then re-installed. The same condition remains.

Revision history for this message
CI Open Source Foundation (open-source-foundation-ci) wrote :

Using the terminal output;

I removed (using synaptic);

1. libkdcraw8
2. libkexiv2-8

Then re-installed kdegraphics, and it works. Apparent, the new kdegraphics package (effecting Gwenview, Digikam and Kipi plugins) cannot install over the old package(s). The old package(s) has to be removed first and then the new package(s) installed.

Changed in kubuntu-ppa:
status: New → Fix Committed
assignee: nobody → CI Open Source Foundation (open-source-foundation-ci)
Changed in ubuntu:
status: New → Fix Committed
assignee: nobody → CI Open Source Foundation (open-source-foundation-ci)
Revision history for this message
Alessandro Ghersi (alessandro-ghersi) wrote :

This bug is marked fix committed...Where's the patch?

Revision history for this message
CI Open Source Foundation (open-source-foundation-ci) wrote :

There was no option for fix (work around); I found two blocking libraries and uninstalled them. This was posted in comment # 4; https://bugs.launchpad.net/kubuntu-ppa/+bug/617638/comments/4.

The fix;

1) I ran (in a terminal) sudo apt-get -f dist-upgrade, it got stuck on kdegraphics-libs-data (see comment # 2 for the error pasted from the terminal), so I used synaptic to remove library; kdegraphics-libs-data

2) I ran (in a terminal) sudo apt-get -f dist-upgrade, it got stuck on libkdcraw8, so I used synaptic to remove library; libkdcraw8

3) I ran (in a terminal) sudo apt-get -f dist-upgrade, it got stuck on libkexiv2-8, so I used synaptic to remove library; libkexiv2-8

4) Then re-installed kdegraphics via synaptic - with no problems.

5) for the full 4.5 upgrade; sudo apt-get -f dist-upgrade had to be run (in a terminal) several times (more than the 3 times as stated in [Bug 615902]). Basically, I copied the command, and pasted it into the terminal - each time it was needed.

Changed in kdegraphics:
status: Invalid → Unknown
Changed in kdegraphics:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Changed in ubuntu:
status: Fix Committed → Invalid
Changed in kubuntu-ppa:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.