Lubuntu Kinetic - libfm-qt11 upgrade problem

sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu kinetic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu kinetic-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu kinetic-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu kinetic-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.

apt list --upgradable
Listing... Done
libfm-qt11/kinetic 1.1.0-3 amd64 [upgradable from: 1.1.0-2ubuntu1]
N: There is 1 additional version. Please use the '-a' switch to see it

sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libfm-qt-dev : Depends: libfm-qt11 (= 1.1.0-3) but 1.1.0-2ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libfm-qt-common
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libfm-qt11
The following packages will be upgraded:
  libfm-qt11
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 0 B/443 kB of archives.
After this operation, 80,9 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 269653 files and directories currently installed.)
Preparing to unpack .../libfm-qt11_1.1.0-3_amd64.deb ...
Unpacking libfm-qt11:amd64 (1.1.0-3) over (1.1.0-2ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libfm-qt11_1.1.0-3_amd64.deb (--unpack):
 trying to overwrite '/usr/share/libfm-qt/archivers.list', which is also in package libfm-qt-common 1.1.0-2ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libfm-qt11_1.1.0-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
1 Like

I removed libfm-common and it took off lxqt-core, then I updated libfm-qt11 and re-added lxqt-core and it seemed to fix everything.

1 Like

What are the exact steps I have to do? Could you please provide the commands?

sudo apt remove libfm-common (this will want to remove lxqt-core, let it)
sudo apt upgrade (to update packages on list)
sudo apt install lxqt-core (putting things back in order)

sudo apt remove libfm-common

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libfm-common

Maybe it is libfm-qt-common? When doing the following command it is listed there to be removed.

sudo apt --fix-broken install

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libfm-qt-common
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libfm-qt11
The following packages will be upgraded:
  libfm-qt11
1 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
6 not fully installed or removed.
Need to get 0 B/443 kB of archives.
After this operation, 80,9 kB disk space will be freed.
Do you want to continue? [Y/n] 

(Reading database ... 269653 files and directories currently installed.)
Preparing to unpack .../libfm-qt11_1.1.0-3_amd64.deb ...
Unpacking libfm-qt11:amd64 (1.1.0-3) over (1.1.0-2ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libfm-qt11_1.1.0-3_amd64.deb (--unpack):
 trying to overwrite '/usr/share/libfm-qt/archivers.list', which is also in package libfm-qt-common 1.1.0-2ubuntu1
Errors were encountered while processing:
 /var/cache/apt/archives/libfm-qt11_1.1.0-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

But when doing the following still there is a problem.

sudo apt remove libfm-qt-common

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libfm-qt-dev : Depends: libfm-qt11 (= 1.1.0-3) but 1.1.0-2ubuntu1 is to be installed
 libfm-qt11 : Depends: libfm-qt-common but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
1 Like

Discover says when trying to update libfm-qt11

Package failed to install:
Error while installing package: trying to overwrite '/usr/share/libfm-qt/archivers.list', which is also in package libfm-qt-common 1.1.0-2ubuntu1

This is a known problem. Someone synced libfm-qt from Debian and it broke stuff. A fix has been pushed out and should be available in the near future.

4 Likes

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.