https://bugs.kde.org/show_bug.cgi?id=375188

--- Comment #2 from Alexander Morozov <[email protected]> ---
Created attachment 153380
  --> https://bugs.kde.org/attachment.cgi?id=153380&action=edit
Test program

This bug still can be reproduced.
Test program libqapt_remove uninstalls zsh-common.
With libqapt 3.0.5 on Debian Bullseye:

$ sudo LANG=C apt install zsh
............................................
The following additional packages will be installed:
  zsh-common
Suggested packages:
  zsh-doc
The following NEW packages will be installed:
  zsh zsh-common
............................................
$ ./libqapt_remove
started
$ dpkg -l | grep zsh
ii  zsh                                           5.8-6+deb11u1                
         amd64        shell with lots of features
rc  zsh-common                                    5.8-6+deb11u1                
         all          architecture independent files for Zsh
$ sudo LANG=C apt-get check
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:
 zsh : Depends: zsh-common (= 5.8-6+deb11u1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
specify a solution).

libqapt_remove code is attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to