Dist-upgrade can't correctly resolve the dependencies for PCManFM 0.9.9 upgrade: wants to remove libfm-gtk0 lubuntu-core lubuntu-default-settings lxde-core pcmanfm

Bug #828287 reported by Stenten
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libfm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  pcmanfm
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libfm-gtk0 lubuntu-core lubuntu-default-settings lxde-core pcmanfm
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 2,019 kB disk space will be freed.

$ sudo apt-get install pcmanfm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libfm-data libfm-gtk-data libfm-gtk1 libfm1
The following packages will be REMOVED:
  libfm-gtk0 libfm0
The following NEW packages will be installed:
  libfm-data libfm-gtk-data libfm-gtk1 libfm1
The following packages will be upgraded:
  pcmanfm
1 upgraded, 4 newly installed, 2 to remove and 0 not upgraded.
Need to get 560 kB of archives.
After this operation, 295 kB of additional disk space will be used.

The only thing I can see is that apt-cache says libfm-data depends on libfm0, whereas dpkg says that it replaces and conflicts with it:

$ apt-cache showpkg libfm-data
Package: libfm-data
Versions:
0.1.16-0ubuntu1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages
                  MD5: b68a3e57e44d0a8e239e9ab01d4c5180

Reverse Depends:
  libfm1,libfm-data
Dependencies:
0.1.16-0ubuntu1 - libfm0 (0 (null)) libfm0 (0 (null))
Provides:
0.1.16-0ubuntu1 -
Reverse Provides:

$ dpkg -s libfm-data
Package: libfm-data
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 1248
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Source: libfm
Version: 0.1.16-0ubuntu1
Replaces: libfm0
Conflicts: libfm0
Conffiles:
 /etc/xdg/libfm/libfm.conf 428d3e51fff8ead6d0f1b2cae0884e22
Description: file management support - common files
 LibFM provides file management functions built on top of Glib/GIO,
 giving a convenient higher-level API. Features:
  * Desktop-independent, following FreeDesktop standards;
  * Fast, light on memory usage, and responsive - well suited to
    less powerful hardware such as netbooks and thin clients;
  * Uses GIO/GVFS (like Nautilus) for Trash support and access to
    remote file systems (FTP, SFTP, WebDAV, Windows shares, etc.);
  * Clipboard operations are compatible with GTK+/GNOME and Qt/KDE;
  * Supports both Drag-and-Drop, and the X Direct Save protocol;
  * Reusable design with the core functions separated out to
    simplify porting to other GUIs.
 .
 This package contains common files of libfm library.
Homepage: http://pcmanfm.sourceforge.net/
Original-Maintainer: Debian LXDE Packaging Team <email address hidden>

The workaround to get PCManFM 0.9.9 to install correctly is to manually install it with "sudo apt-get install pcmanfm".

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: pcmanfm 0.9.9-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic i686
Architecture: i386
Date: Wed Aug 17 14:57:58 2011
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110801)
Pref_Config_System_lubuntu:
 [Preferred Applications]
 WebBrowser=firefox.desktop
 MailClient=
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pcmanfm
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Stenten (stenten) wrote :
description: updated
Changed in pcmanfm (Ubuntu):
status: New → Confirmed
Revision history for this message
Erick Brunzell (lbsolost) wrote :
Download full text (3.4 KiB)

In deed some libs are not properly upgraded along with 'pcmanfm' but it's easy to work around:

lance@lance-desktop:~$ sudo apt-get install --reinstall pcmanfm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libmtp8 xsltproc libegl1-mesa libntfs10 libegl1-mesa-drivers libevent-1.4-2
  libunity4 linux-headers-3.0-3 linux-headers-3.0.0-6-generic
  libdbusmenu-glib3 libindicate-gtk2 libgcr-3-0 libxcb-xfixes0 python-gconf
  libdbusmenu-gtk3-3 linux-headers-3.0-3-generic libgbm1 libgck0 python-webkit
  libdbusmenu-gtk3 gnome-doc-utils xdiagnose gir1.2-appindicator-0.1 tcl
  linux-headers-3.0.0-6 libnl1 liborbit2 libopenvg1-mesa intel-gpu-tools
  libntfs-3g80
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libfm-data libfm-gtk-data libfm-gtk1 libfm1
The following packages will be REMOVED:
  libfm-gtk0 libfm0
The following NEW packages will be installed:
  libfm-data libfm-gtk-data libfm-gtk1 libfm1
The following packages will be upgraded:
  pcmanfm
1 upgraded, 4 newly installed, 2 to remove and 0 not upgraded.
Need to get 560 kB of archives.
After this operation, 139 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe pcmanfm i386 0.9.9-0ubuntu1 [207 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libfm-data all 0.1.16-0ubuntu1 [139 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libfm1 i386 0.1.16-0ubuntu1 [76.2 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libfm-gtk-data i386 0.1.16-0ubuntu1 [16.9 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ oneiric/universe libfm-gtk1 i386 0.1.16-0ubuntu1 [121 kB]
Fetched 560 kB in 3s (177 kB/s)
(Reading database ... 180738 files and directories currently installed.)
Preparing to replace pcmanfm 0.9.8+git-6240436419-1~bzr459+p18~oneiric1 (using .../pcmanfm_0.9.9-0ubuntu1_i386.deb) ...
Unpacking replacement pcmanfm ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for menu ...
(Reading database ... 180739 files and directories currently installed.)
Removing libfm-gtk0 ...
Removing libfm0 ...
Processing triggers for desktop-file-utils ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for shared-mime-info ...
Selecting previously deselected package libfm-data.
(Reading database ... 180658 files and directories currently installed.)
Unpacking libfm-data (from .../libfm-data_0.1.16-0ubuntu1_all.deb) ...
Selecting previously deselected package libfm1.
Unpacking libfm1 (from .../libfm1_0.1.16-0ubuntu1_i386.deb) ...
Selecting previously deselected package libfm-gtk-data.
Unpacking libfm-gtk-data (from .../libfm-gtk-data_0.1.16-0ubuntu1_i386.deb) ...
Selecting previously deselected package libfm-gtk1.
Unpacking libfm-gtk1 (from .../libfm-gtk1_0.1.16-0ubuntu1_i386.deb) ...
Processing triggers for shared-mime-info ...
Processing triggers for desktop-file-utils ...
Setting up libfm-data (0.1.16-0ubuntu1) ....

Read more...

Revision history for this message
Phill Whiteside (phillw) wrote :

Whilst we do not 'allow' forum links in, there is some further information at http://ubuntuforums.org/showthread.php?t=1774388&page=27 They do seem to be keeping the bug report fully updated, which is good to see :)

Phill.

Julien Lavergne (gilir)
Changed in pcmanfm (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Julien Lavergne (gilir)
affects: pcmanfm (Ubuntu) → libfm (Ubuntu)
Changed in libfm (Ubuntu):
assignee: Julien Lavergne (gilir) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libfm - 0.1.16-0ubuntu2

---------------
libfm (0.1.16-0ubuntu2) oneiric; urgency=low

  * debian/control:
   - Use Breaks instead of Conlicts (LP: #828287).
 -- Julien Lavergne <email address hidden> Fri, 19 Aug 2011 15:15:56 +0200

Changed in libfm (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers