volitank / nala

Nala is a front-end for libapt-pkg.
GNU General Public License v3.0
1.44k stars 47 forks source link

libfuse3-3 package is being installed and removed repeatedly #18

Open W01v3n opened 1 year ago

W01v3n commented 1 year ago

Hello, I'll keep it short, you'll see the problem. Nala is installing and removing this package (not auto) without relation to any package being upgraded or auto-removed. Results of sudo nala update ; sudo nala upgrade:

╭─ Updating Package List ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│No Change: http://de.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                                                                                          ││No Change: http://ppa.launchpad.net/mozillateam/ppa/ubuntu focal InRelease                                                                                                                                      ││Updated:   http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [108 KB]                                                                                                                               ││No Change: https://deb.packages.mattermost.com stable InRelease                                                                                                                                                 ││Ignored:   https://repo.vivaldi.com/stable/deb stable InRelease                                                                                                                                                 ││No Change: https://packages.redis.io/deb focal InRelease                                                                                                                                                        ││No Change: http://ppa.launchpad.net/solaar-unifying/stable/ubuntu focal InRelease                                                                                                                               ││No Change: http://ppa.launchpad.net/tomtomtom/woeusb/ubuntu focal InRelease                                                                                                                                     ││No Change: http://ppa.launchpad.net/wireshark-dev/stable/ubuntu focal InRelease                                                                                                                                 ││No Change: http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease                                                                                                                                         ││No Change: http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease                                                                                                                                      ││No Change: https://deb.volian.org/volian scar InRelease                                                                                                                                                         ││No Change: http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease                                                                                                                                      ││No Change: http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease                                                                                                                                       ││No Change: https://packages.zorinos.com/stable focal InRelease                                                                                                                                                  ││No Change: https://packages.zorinos.com/patches focal InRelease                                                                                                                                                 ││No Change: https://packages.zorinos.com/apps focal InRelease                                                                                                                                                    ││No Change: https://packages.zorinos.com/drivers focal InRelease                                                                                                                                                 ││No Change: https://packages.zorinos.com/premium focal InRelease                                                                                                                                                 ││No Change: https://repo.vivaldi.com/stable/deb stable Release                                                                                                                                                   ││Fetched 373 KB in 4s (0 Bytes/s)                                                                                                                                                                                │╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯1 packages can be upgraded. Run 'nala list --upgradable' to see them.
╭─ Updating Package List ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│No Change: http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease                                                                                                                                 ││Updated:   http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [108 KB]                                                                                                                               ││Ignored:   https://repo.vivaldi.com/stable/deb stable InRelease                                                                                                                                                 ││No Change: http://ppa.launchpad.net/mozillateam/ppa/ubuntu focal InRelease                                                                                                                                      ││No Change: https://deb.packages.mattermost.com stable InRelease                                                                                                                                                 ││No Change: https://packages.redis.io/deb focal InRelease                                                                                                                                                        ││No Change: http://ppa.launchpad.net/solaar-unifying/stable/ubuntu focal InRelease                                                                                                                               ││No Change: http://ppa.launchpad.net/tomtomtom/woeusb/ubuntu focal InRelease                                                                                                                                     ││No Change: http://ppa.launchpad.net/wireshark-dev/stable/ubuntu focal InRelease                                                                                                                                 ││No Change: https://deb.volian.org/volian scar InRelease                                                                                                                                                         ││No Change: http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease                                                                                                                                         ││No Change: http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease                                                                                                                                      ││No Change: http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease                                                                                                                                      ││No Change: http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease                                                                                                                                       ││No Change: https://packages.zorinos.com/stable focal InRelease                                                                                                                                                  ││No Change: https://packages.zorinos.com/patches focal InRelease                                                                                                                                                 ││No Change: https://packages.zorinos.com/apps focal InRelease                                                                                                                                                    ││No Change: https://packages.zorinos.com/drivers focal InRelease                                                                                                                                                 ││No Change: https://packages.zorinos.com/premium focal InRelease                                                                                                                                                 ││No Change: https://repo.vivaldi.com/stable/deb stable Release                                                                                                                                                   ││Fetched 373 KB in 4s (0 Bytes/s)                                                                                                                                                                                │╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯The following packages were kept back:
Nala was unable to determine why these were held:
  xdg-desktop-portal
Do you want to continue? [Y/n] y
================================================================================================================================================================================================================== Auto-Removing                                                                                                                                                                                                    
==================================================================================================================================================================================================================  Package:                                                              Version:                                                                                                                           Size:  
  linux-headers-5.15.0-75-generic                                       5.15.0-75.82~20.04.1                                                                                                             26.8 MB  
  linux-hwe-5.15-headers-5.15.0-75                                      5.15.0-75.82~20.04.1                                                                                                             77.7 MB  
  linux-image-5.15.0-75-generic                                         5.15.0-75.82~20.04.1                                                                                                             11.5 MB  
  linux-modules-5.15.0-75-generic                                       5.15.0-75.82~20.04.1                                                                                                            127.5 MB  
  linux-modules-extra-5.15.0-75-generic                                 5.15.0-75.82~20.04.1                                                                                                            355.5 MB  

================================================================================================================================================================================================================== Installing                                                                                                                                                                                                       
==================================================================================================================================================================================================================  Package:                                                              Version:                                                                                                                           Size:  
  libfuse3-3                                                            3.9.0-2                                                                                                                            74 KB  

================================================================================================================================================================================================================== Summary                                                                                                                                                                                                          
================================================================================================================================================================================================================== Auto-Remove 5 Packages                                                                                                                                                                                           
 Install     1 Packages                                                                                                                                                                                           

 Disk space to free  598.7 MB   

Do you want to continue? [Y/n] y
╭─ Updating Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│- No original module was found for this module on this kernel.                                                                                                                                                  ││- Use the dkms install command to reinstall any previous module version.                                                                                                                                        ││depmod                                                                                                                                                                                                          ││DKMS: uninstall completed.                                                                                                                                                                                      ││/etc/kernel/postrm.d/initramfs-tools:                                                                                                                                                                           ││update-initramfs: Deleting /boot/initrd.img-5.15.0-75-generic                                                                                                                                                   ││/etc/kernel/postrm.d/zz-update-grub:                                                                                                                                                                            ││Sourcing file `/etc/default/grub'                                                                                                                                                                               ││Sourcing file `/etc/default/grub.d/init-select.cfg'                                                                                                                                                             ││Generating grub configuration file                                                                                                                                                                              ││Found theme: /usr/share/grub/themes/zorin/theme.txt                                                                                                                                                             ││Found linux image: /boot/vmlinuz-5.15.0-78-generic                                                                                                                                                              ││Found initrd image: /boot/initrd.img-5.15.0-78-generic                                                                                                                                                          ││Found linux image: /boot/vmlinuz-5.15.0-76-generic                                                                                                                                                              ││Found initrd image: /boot/initrd.img-5.15.0-76-generic                                                                                                                                                          ││Adding boot menu entry for UEFI Firmware Settings                                                                                                                                                               ││done                                                                                                                                                                                                            ││Removing:   linux-modules-5.15.0-75-generic (5.15.0-75.82~20.04.1)                                                                                                                                              ││Unpacking:  libfuse3-3:amd64 (3.9.0-2)                                                                                                                                                                          ││Setting up: libfuse3-3:amd64 (3.9.0-2)                                                                                                                                                                          ││Processing: triggers for libc-bin (2.31-0ubuntu9.9)                                                                                                                                                             ││╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│││✔ Running dpkg … ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 0:00:00 • 13/13│││╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯│╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯Notice: The following packages require a reboot.
  linux-image-5.15.0-78-generic
  linux-base
Finished Successfully

I ran it again. Results of sudo nala update ; sudo nala upgrade:

╭─ Updating Package List ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│No Change: http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease                                                                                                                                 ││Ignored:   https://repo.vivaldi.com/stable/deb stable InRelease                                                                                                                                                 ││No Change: https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 Release                                                                                                                                    ││No Change: http://ppa.launchpad.net/mozillateam/ppa/ubuntu focal InRelease                                                                                                                                      ││No Change: https://deb.packages.mattermost.com stable InRelease                                                                                                                                                 ││No Change: http://ppa.launchpad.net/solaar-unifying/stable/ubuntu focal InRelease                                                                                                                               ││No Change: https://packages.redis.io/deb focal InRelease                                                                                                                                                        ││No Change: http://ppa.launchpad.net/tomtomtom/woeusb/ubuntu focal InRelease                                                                                                                                     ││No Change: http://ppa.launchpad.net/wireshark-dev/stable/ubuntu focal InRelease                                                                                                                                 ││No Change: http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease                                                                                                                                         ││No Change: https://deb.volian.org/volian scar InRelease                                                                                                                                                         ││No Change: http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease                                                                                                                                      ││No Change: http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease                                                                                                                                      ││No Change: http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease                                                                                                                                       ││No Change: https://packages.zorinos.com/stable focal InRelease                                                                                                                                                  ││No Change: https://packages.zorinos.com/patches focal InRelease                                                                                                                                                 ││No Change: https://packages.zorinos.com/apps focal InRelease                                                                                                                                                    ││No Change: https://packages.zorinos.com/drivers focal InRelease                                                                                                                                                 ││No Change: https://packages.zorinos.com/premium focal InRelease                                                                                                                                                 ││No Change: https://repo.vivaldi.com/stable/deb stable Release                                                                                                                                                   ││Fetched 373 KB in 3s (0 Bytes/s)                                                                                                                                                                                │╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯1 packages can be upgraded. Run 'nala list --upgradable' to see them.
╭─ Updating Package List ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│No Change: http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease                                                                                                                                 ││Updated:   http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [108 KB]                                                                                                                               ││No Change: http://ppa.launchpad.net/mozillateam/ppa/ubuntu focal InRelease                                                                                                                                      ││Ignored:   https://repo.vivaldi.com/stable/deb stable InRelease                                                                                                                                                 ││No Change: https://deb.packages.mattermost.com stable InRelease                                                                                                                                                 ││No Change: http://ppa.launchpad.net/solaar-unifying/stable/ubuntu focal InRelease                                                                                                                               ││No Change: https://packages.redis.io/deb focal InRelease                                                                                                                                                        ││No Change: http://ppa.launchpad.net/tomtomtom/woeusb/ubuntu focal InRelease                                                                                                                                     ││No Change: http://ppa.launchpad.net/wireshark-dev/stable/ubuntu focal InRelease                                                                                                                                 ││No Change: https://deb.volian.org/volian scar InRelease                                                                                                                                                         ││No Change: http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease                                                                                                                                         ││No Change: http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease                                                                                                                                      ││No Change: http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease                                                                                                                                      ││No Change: http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease                                                                                                                                       ││No Change: https://packages.zorinos.com/stable focal InRelease                                                                                                                                                  ││No Change: https://packages.zorinos.com/patches focal InRelease                                                                                                                                                 ││No Change: https://packages.zorinos.com/apps focal InRelease                                                                                                                                                    ││No Change: https://packages.zorinos.com/drivers focal InRelease                                                                                                                                                 ││No Change: https://packages.zorinos.com/premium focal InRelease                                                                                                                                                 ││No Change: https://repo.vivaldi.com/stable/deb stable Release                                                                                                                                                   ││Fetched 373 KB in 4s (0 Bytes/s)                                                                                                                                                                                │╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯The following packages were kept back:
Nala was unable to determine why these were held:
  xdg-desktop-portal
Do you want to continue? [Y/n] y
================================================================================================================================================================================================================== Auto-Removing                                                                                                                                                                                                    
==================================================================================================================================================================================================================  Package:                                                              Version:                                                                                                                           Size:  
  libfuse3-3                                                            3.9.0-2                                                                                                                           284 KB  

================================================================================================================================================================================================================== Summary                                                                                                                                                                                                          
================================================================================================================================================================================================================== Auto-Remove 1 Packages                                                                                                                                                                                           

 Disk space to free  284 KB   

Do you want to continue? [Y/n] y
╭─ Updating Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
╭─ Updating Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│Removing:   libfuse3-3:amd64 (3.9.0-2)                                                                                                                                                                          ││Processing: triggers for libc-bin (2.31-0ubuntu9.9)                                                                                                                                                             ││╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│││✔ Running dpkg … ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 0:00:00 • 3/3│││╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯│╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯Notice: The following packages require a reboot.
  linux-image-5.15.0-78-generic
  linux-base
Finished Successfully

See? It feels real dumb to do that. It does not happen if I use APT, only nala.

volitank commented 1 year ago

It says right in there that it is Auto-Removing.

Try apt full-upgrade --auto-remove and see if the same behavior happens.

W01v3n commented 1 year ago

It says right in there that it is Auto-Removing.

Try apt full-upgrade --auto-remove and see if the same behavior happens.

But it's also installing it whenever I do nala update && nala upgrade. In APT, it doesn't happen. In NALA I am stuck in an endless loop of installing and uninstalling this package.

volitank commented 1 year ago

This is why I said to run apt full-upgrade --auto-remove

This is closer to what Nala is performing. Did you try that?

volitank commented 1 year ago

If you want it to stop immediately then you can change the config option in /etc/nala/nala.conf as below.

# Set to false to disable auto auto-removing
auto_remove = false

But I'd at least like to know if that apt command I sent will reproduce the behavior.

W01v3n commented 1 year ago

This is why I said to run apt full-upgrade --auto-remove

This is closer to what Nala is performing. Did you try that?

Yes, still the same.

If you want it to stop immediately then you can change the config option in /etc/nala/nala.conf as below.

# Set to false to disable auto auto-removing
auto_remove = false

But I'd at least like to know if that apt command I sent will reproduce the behavior.

Putting a bandage on the problem is not going to fix it. If I'm gonna have to mess around with nala's configurations, I am not going to use it at all.

There has been some progress though; when I did apt full-upgrade --auto-remove it auto removed the package libfuse3-3, then I ran the command again, APT did not install this package again. But then I ran the command sudo nala update;sudo nala upgrade and it tried to install the package libfuse3-3 again.

So... APT does not reproduce this issue. As I said previously, it only happens with nala.

volitank commented 1 year ago

I just noticed you're on 20.04. Can you give me the output of nala --version and apt list nala -a?

W01v3n commented 1 year ago

There you go:

user@PC:~$ nala --version
nala 0.11.1
user@PC:~$ apt list nala -a
Listing... Done
nala/scar,scar 0.13.0 all
nala/scar,scar 0.12.3 all
volitank commented 1 year ago

I believe you are using nala-legacy, which is very old and no longer supported. It's a compiled binary and tended to have a lot of weird compiler bugs. I would upgrade to the latest 0.13.0 and try again. In order to do this you will have to run apt remove nala-legacy and then apt install nala. There may be dependency issues because Nala was never really designed to work on 20.04.

It should be able to pull them from my repository depending on how you set up our repo.