package libxfce4panel-2.0-4 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0', which is also in package xfce4-panel 4.11.0-0ubuntu1

Bug #1609237 reported by Henk Schäfer
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Confirmed
High
Unassigned
xfce4-panel (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Error occurs during update (15 lts upgraded to 16 lts), updates seem to continue after the error occurred.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libxfce4panel-2.0-4 (not installed)
ProcVersionSignature: Ubuntu 3.13.0-93.140-lowlatency 3.13.11-ckt39
Uname: Linux 3.13.0-93-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Wed Aug 3 08:09:59 2016
DuplicateSignature:
 package:libxfce4panel-2.0-4:(not installed)
 Unpacking libxfce4panel-2.0-4 (4.12.0-3ubuntu2) ...
 dpkg: error processing archive /var/cache/apt/archives/libxfce4panel-2.0-4_4.12.0-3ubuntu2_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0', which is also in package xfce4-panel 4.11.0-0ubuntu1
ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0', which is also in package xfce4-panel 4.11.0-0ubuntu1
InstallationDate: Installed on 2014-04-25 (830 days ago)
InstallationMedia: Ubuntu-Studio 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.3)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: xfce4-panel
Title: package libxfce4panel-2.0-4 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0', which is also in package xfce4-panel 4.11.0-0ubuntu1
UpgradeStatus: Upgraded to xenial on 2016-08-02 (0 days ago)

Revision history for this message
Henk Schäfer (henk-y) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfce4-panel (Ubuntu):
status: New → Confirmed
Changed in xfce4-panel (Ubuntu):
importance: Undecided → High
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Big Brother Is Watching You (bbiwy) wrote :

Hello. I had a similar problem with my Xubuntu 14.04 LTS:

Vorbereitung zum Entpacken von .../libxfce4panel-2.0-4_4.12.1-2_amd64.deb ...
Entpacken von libxfce4panel-2.0-4 (4.12.1-2) ...
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libxfce4panel-2.0-4_4.12.1-2_amd64.deb (--unpack):
 Versuch, »/usr/lib/x86_64-linux-gnu/libxfce4panel-2.0.so.4.0.0« zu überschreiben, welches auch in Paket xfce4-panel 4.11.0-0ubuntu1 ist
dpkg-deb: Fehler: Unterprozess einfügen wurde durch Signal (Datenübergabe unterbrochen (broken pipe)) getötet
Trigger für libc-bin (2.19-0ubuntu6.9) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/libxfce4panel-2.0-4_4.12.1-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I think the problem is, that a new version of the xfce4-datetime-plugin (Version 0.7.0-1) was installed, that depends on xfce4-panel=4.12.1-2.

I solved it this way:

sudo apt-cache madison ^xfce4-datetime-plugin

to look for available versions of the datetime-plugin.

xfce4-panel --version

to check which version of the panel is installed. It was for me: xfce4-panel 4.11.0 (Xfce 4.10).

Then i did a:

sudo apt-get install xfce4-datetime-plugin=0.6.2-1ubuntu2

to install the older version of the datetime-plugin.

And everything seems to work now. I'm not sure if this was the real problem, but:

sudo apt-get install or sudo apt-get -f install

now returns no errors.

Revision history for this message
Big Brother Is Watching You (bbiwy) wrote :

You and also do a:

dpkg -l 'xfce4-datetime-plugin*' | grep ^i

to look which version of the datetime-plugin is installed.

Revision history for this message
Big Brother Is Watching You (bbiwy) wrote :

Sorry i meant "You can also do a:"

:)

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.