jammy,noble: Installing fuse package removes other important packages

Bug #1978310 reported by Thomas Brunner
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
fuse (Ubuntu)
Triaged
High
Unassigned
Jammy
Won't Fix
Undecided
Unassigned
Noble
Won't Fix
Undecided
Unassigned
fuse3 (Ubuntu)
Fix Released
High
Unassigned
Jammy
Triaged
High
Unassigned
Noble
Triaged
High
Unassigned

Bug Description

Impact
------

Test Case
---------

What Could Go Wrong
-------------------

Other Info
----------
This is being fixed by adding a transitional package fuse built by the fuse3 source package. We are doing it in the fuse3 source package because we need to also remove the Conflicts and change the Breaks to a versioned Breaks so since we need to update fuse3 anyway, there doesn't seem to be much benefit to also uploading the fuse source package.

On the other hand, Launchpad will not allow the fuse source package to be updated if it still builds the out-of-date fuse binary package. Therefore, I think I'll just upload fuse removing the fuse binary package but we could set it as blocked in proposed. That way, it is more convenient in case someone needs to do a Security update or SRU later. I'll use a separate LP bug to set the block-proposed tag just for source package fuse.

This still seems like it would be smoother than requiring 2 source packages to be uploaded to fix the SRU and having to deal with phasing etc.

Original Bug Report
-------------------
I installed the `fuse` package in my fresh Ubuntu 22.04 installation and later started getting weird behavior in some applications (such as Chrome). I believe this might be related, as installing `fuse` caused many packages to be removed.

This was reported by others here: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1970148

apt log shows this:
`
Start-Date: 2022-06-04 10:31:38
Commandline: apt install fuse
Requested-By: thomas (1000)
Install: libfuse2:amd64 (2.9.9-5ubuntu3, automatic), fuse:amd64 (2.9.9-5ubuntu3)
Remove: ntfs-3g:amd64 (1:2021.8.22-3ubuntu1), xdg-desktop-portal-gtk:amd64 (1.14.0-1build1), xdg-desktop-portal-gnome:amd64 (42.1-0ubuntu1), gvfs-fuse:amd64 (1.48.1-4), ubuntu-desktop:amd64 (1.481), gnome-shell-
extension-desktop-icons-ng:amd64 (43-2), fuse3:amd64 (3.10.5-1build1), ubuntu-desktop-minimal:amd64 (1.481), xdg-desktop-portal:amd64 (1.14.3-0ubuntu2.22.04.1)
End-Date: 2022-06-04 10:31:57
`

So, installing `fuse` removes packages such as `ubuntu-desktop` and `xdg-desktop-portal`, which (I believe) are important packages and should not be removed.

System information:
Ubuntu 22.04 running on amd64 hardware

Tags: jammy noble
Revision history for this message
Thomas Brunner (thomasbbrunner) wrote :

Maybe also relevant: I installed the minimal desktop version of Ubuntu 22.04

Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

But you should be using the “fuse3” package, not “fuse”, which is an old version…

Revision history for this message
Thomas Brunner (thomasbbrunner) wrote :

Honestly, I am not that familiar with fuse to know there are different versions. If a program throws an error stating it requires fuse to work, I am going to install fuse and not fuse3.

If fuse is outdated, why isn't fuse mapped to fuse3?

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in fuse (Ubuntu):
status: New → Confirmed
Revision history for this message
Halim Zaghdoudi (halimbo) wrote (last edit ):

This also affected me using Lubuntu 22.04.3.
I could not run an appimage (windows2usb) because fuse was "missing".
when i installed fuse the following packages were removed:
fuse3 gvfs-fuse lubuntu-desktop ntfs-3g plasma-discover-backend-snap xdg-desktop-portal xdg-desktop-portal-kde

it then pulled libfuse2, which is on of the conflicts i guess

Revision history for this message
Dave Stockinger (dave-stockinger) wrote :

This bug affected me when trying to run an AppImage program. It broke my installation and I had to re-install the following packages:

ntfs-3g:amd64 (1:2022.10.3-1ubuntu1)
xdg-desktop-portal-gtk:amd64 (1.14.1-1)
xdg-desktop-portal-gnome:amd64 (45.0-1)
gnome-remote-desktop:amd64 (45.0-1)
gvfs-fuse:amd64 (1.52.0-1)
gnome-shell-extension-desktop-icons-ng:amd64 (46+really47.0.7-0ubuntu1)
fuse3:amd64 (3.14.0-4)
ubuntu-session:amd64 (45.0-1ubuntu1)
ubuntu-desktop-minimal:amd64 (1.524.1)
nautilus:amd64 (1:45~rc-1ubuntu1)
xdg-desktop-portal:amd64 (1.18.0-1ubuntu1)

In my opinion, *any* apt command that attempts to uninstall a package like ubuntu-session or ubuntu-desktop* should be blocked and require a flag like --yes-i-want-to-break-my-system or similar.

Revision history for this message
Kamil Madac (kamil-madac) wrote :

Same to me on 23.10. Also tried to run Appimage application. I got error that fuse is not installed, so I did apt install fuse and after the restart, gdm3 core dumped and every boot was stucked in the console. It took me quite some time to find that I need to install ubuntu-session again.

This fixed the problem with core-dump of gdm3, but then file manager nautilus was also missing.

Revision history for this message
Russell Klevann (russtheredder) wrote :

I got this bug after installing fuse libfuse2
To get the file manager back, I used: sudo apt install ubuntu-desktop
To find recently removed packages, use: grep "remove " /var/log/dpkg.log
Good luck.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

This is fixed in Ubuntu 24.10 by removing the fuse binary package. Unfortunately, we do not have a very good way of removing packages from stable Ubuntu releases.

https://launchpad.net/ubuntu/+source/fuse/2.9.9-9

Changed in fuse (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
summary: - Installing fuse package removes other important packages which causes
- instabilities
+ jammy,noble: Installing fuse package removes other important packages
tags: added: jammy noble
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Actually we could do this with a transitional package.

Changed in fuse3 (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
Changed in fuse3 (Ubuntu Jammy):
status: New → Triaged
Changed in fuse3 (Ubuntu Noble):
status: New → Triaged
Changed in fuse3 (Ubuntu Jammy):
importance: Undecided → High
Changed in fuse3 (Ubuntu Noble):
importance: Undecided → High
Changed in fuse (Ubuntu Noble):
status: New → Won't Fix
Changed in fuse (Ubuntu Jammy):
status: New → Won't Fix
Jeremy Bícha (jbicha)
description: updated
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please remember to update bug 1717878 too.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fuse3 - 3.14.0-7ubuntu1

---------------
fuse3 (3.14.0-7ubuntu1) oracular; urgency=medium

  * Add fuse transitional package to upgrade to fuse3
    (Closes: #918984, #927291, #1074767, #1081537) (LP: #1978310)

 -- Jeremy Bícha <email address hidden> Thu, 12 Sep 2024 10:52:01 -0400

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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