Package: packagekit
Version: 1.3.6-1

Hi,

When performing an upgrade using PackageKit packages which are newly
installed as dependencies don't get marked as automatically installed.

>From my Debian unstable VM, using libperl5.42 as the example:

   $ pkgcli upgrade 
   …
   The following packages have to be installed:
   …
    libperl5.42_5.42.2-3.amd64                                shared Perl
   library
   …
   $ apt-mark showauto libperl5.42
   $ apt-mark showmanual libperl5.42
   libperl5.42
   $ 
   
Same but using APT:

   $ sudo apt upgrade 
   …
   Installing dependencies:
   …
     libperl5.42                   linux-modules-7.1.5+deb14-amd64
   …
   $ apt-mark showauto libperl5.42
   libperl5.42
   $ apt-mark showmanual libperl5.42
   $

As the result, these packages won't be autoremoved even when no longer
needed, which can be especially problematic with kernel packages
eventually filling up all the space on systems with separate (and
usually small) /boot partitions.

This issue appears to be a regression caused by upstream commit
cb11b5e5090b82101363a1ae4fd4ef17fdfe0519¹. After undoing these changes
and rebuilding packagekit, newly installed packages during upgrade get
their auto flags set again as expected.

 ¹
https://github.com/PackageKit/PackageKit/commit/cb11b5e5090b82101363a1ae4fd4ef17fdfe0519

Reply via email to