TuxDigital's This Week in LINUX has a bit on APT 2.0: https://youtu.be/SHISgDS182A?t=509
I found the part about apt-patterns nice.
For example, apt list ~c lists all residual config files. Running the command in Kubuntu 20.04 ...
I guess sudo apt purge ~c would get rid of them. This seems more convenient than using dpkg.
I found the part about apt-patterns nice.
For example, apt list ~c lists all residual config files. Running the command in Kubuntu 20.04 ...
Code:
dkb@dkb-kuff:~$ apt list ~c | nl
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
1 Listing...
2 accountwizard/focal,now 4:19.04.3-0ubuntu1 amd64 [residual-config]
3 akonadi-backend-mysql/focal,focal,now 4:19.04.3-0ubuntu4 all [residual-config]
...
44 linux-modules-extra-5.4.0-9-generic/focal,now 5.4.0-9.12 amd64 [residual-config]
45 mariadb-common/focal,focal,now 1:10.3.22-1 all [residual-config]
46 pim-data-exporter/focal,now 4:19.04.3-0ubuntu1 amd64 [residual-config]
47 pim-sieve-editor/focal,now 4:19.04.3-0ubuntu1 amd64 [residual-config]
48 printer-driver-gutenprint/focal,now 5.3.3-4 amd64 [residual-config]
49 python3.7-minimal/now 3.7.6-1ubuntu2 amd64 [residual-config]
dkb@dkb-kuff:~$




Comment