volitank/nala

Incorrect Package Removal When Installing Software via Nala Package Manager

SupianIDz opened this issue · 1 comments

Issue:
When using Nala package manager to install a software package, such as Insomnia, packages unrelated to the new software dependencies are being removed. This behavior is not observed when using dpkg or apt install ./name-of-software.deb directly.

Steps to Reproduce:

  1. Download a software package with the .deb extension, e.g., Insomnia.
  2. Execute the command: sudo nala install ./name-of-software.deb.

Expected Behavior:
The software (e.g., Insomnia) should be installed without removing any unrelated packages.

Actual Behavior:
Nala removes several important packages unrelated to the new software dependencies during the installation process.

Screenshots:
Screenshot 1
Screenshot 2

Additional Information:

  • Nala version: nala 0.12.2, installed from ubuntu repository.
  • Operating System: Ubuntu 23.04

Note:
The issue seems to be specific to Nala, as installing the same .deb package directly with dpkg or apt does not exhibit this problem.

closed by cbae619