You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pacman -R unattended-upgrades
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
daemon libjs-angularjs libjs-d3 libjs-moment
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
unattended-upgrades
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 418 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 442457 files and directories currently installed.)
Removing unattended-upgrades (1.1ubuntu1.18.04.14) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Altough I deinstalled the package, I can still find with via -Q:
$ pacman -Qs unattended-upgrades
deinstall ok config-files unattended-upgrades 1.1ubuntu1.18.04.14 automatic installation of security upgrades
$ pacman -Qi unattended-upgrades
Package: unattended-upgrades
Status: deinstall ok config-files
Priority: optional
Section: admin
Installed-Size: 408
Maintainer: Ubuntu Developers <[email protected]>
Architecture: all
Version: 1.1ubuntu1.18.04.14
Config-Version: 1.1ubuntu1.18.04.14
Depends: debconf (>= 0.5) | debconf-2.0, debconf, gir1.2-glib-2.0, powermgmt-base, python3, python3-apt, python3-gi, python3-dbus, ucf, lsb-release, lsb-base, xz-utils
Recommends: cron | cron-daemon | anacron
Suggests: bsd-mailx, default-mta | mail-transport-agent, needrestart
Conffiles:
/etc/init.d/unattended-upgrades 290829a5efc55b7c435de0bb769f217b
/etc/kernel/postinst.d/unattended-upgrades 6b7d48fa1e4cd6b8cf445a2fb494288a
/etc/logrotate.d/unattended-upgrades e45049ee847f069a99e3e6ec39155d4a
/etc/pm/sleep.d/10_unattended-upgrades-hibernate 0f5d54aa2dd322c805c90e409fc2724a
/etc/update-motd.d/92-unattended-upgrades afa7546d3fe561e1f5783f7b9cf72096
Description: automatic installation of security upgrades
This package can download and install security upgrades automatically
and unattended, taking care to only install packages from the
configured APT source, and checking for dpkg prompts about
configuration file changes.
.
This script is the backend for the APT::Periodic::Unattended-Upgrade
option.
Original-Maintainer: Michael Vogt <[email protected]>
Purging the package fixes the problem:
$ sudo apt-get --purge remove unattended-upgrades
$ pacman -Qi unattended-upgrades
dpkg-query: package 'unattended-upgrades' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
My expectation is that removed but un-purged packages are not found via -Qs and -Qi.
The text was updated successfully, but these errors were encountered:
My expectation is that removed but un-purged packages are not found via -Qs and -Qi.
I think the behavior is actually how apt-based system is working, and I don't think it's a good idea to fix their behavior from our tool. cc @cuonglm fyi
For example, I deinstalled the following package:
Altough I deinstalled the package, I can still find with via
-Q
:Purging the package fixes the problem:
My expectation is that removed but un-purged packages are not found via
-Qs
and-Qi
.The text was updated successfully, but these errors were encountered: