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
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-
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/
Description Language:
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/
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-
* 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://
Original-
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
ProcVersionSign
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_
[Preferred Applications]
WebBrowser=
MailClient=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pcmanfm
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in pcmanfm (Ubuntu): | |
status: | New → Confirmed |
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 |
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 mesa-drivers libevent-1.4-2 3.0.0-6- generic gtk3-3 linux-headers- 3.0-3-generic libgbm1 libgck0 python-webkit appindicator- 0.1 tcl headers- 3.0.0-6 libnl1 liborbit2 libopenvg1-mesa intel-gpu-tools us.archive. ubuntu. com/ubuntu/ oneiric/universe pcmanfm i386 0.9.9-0ubuntu1 [207 kB] us.archive. ubuntu. com/ubuntu/ oneiric/universe libfm-data all 0.1.16-0ubuntu1 [139 kB] us.archive. ubuntu. com/ubuntu/ oneiric/universe libfm1 i386 0.1.16-0ubuntu1 [76.2 kB] us.archive. ubuntu. com/ubuntu/ oneiric/universe libfm-gtk-data i386 0.1.16-0ubuntu1 [16.9 kB] us.archive. ubuntu. com/ubuntu/ oneiric/universe libfm-gtk1 i386 0.1.16-0ubuntu1 [121 kB] 6240436419- 1~bzr459+ p18~oneiric1 (using .../pcmanfm_ 0.9.9-0ubuntu1_ i386.deb) ... data_0. 1.16-0ubuntu1_ all.deb) ... 0.1.16- 0ubuntu1_ i386.deb) ... gtk-data_ 0.1.16- 0ubuntu1_ i386.deb) ... gtk1_0. 1.16-0ubuntu1_ i386.deb) ...
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-
libunity4 linux-headers-3.0-3 linux-headers-
libdbusmenu-glib3 libindicate-gtk2 libgcr-3-0 libxcb-xfixes0 python-gconf
libdbusmenu-
libdbusmenu-gtk3 gnome-doc-utils xdiagnose gir1.2-
linux-
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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Fetched 560 kB in 3s (177 kB/s)
(Reading database ... 180738 files and directories currently installed.)
Preparing to replace pcmanfm 0.9.8+git-
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-
Selecting previously deselected package libfm1.
Unpacking libfm1 (from .../libfm1_
Selecting previously deselected package libfm-gtk-data.
Unpacking libfm-gtk-data (from .../libfm-
Selecting previously deselected package libfm-gtk1.
Unpacking libfm-gtk1 (from .../libfm-
Processing triggers for shared-mime-info ...
Processing triggers for desktop-file-utils ...
Setting up libfm-data (0.1.16-0ubuntu1) ....