Bug#1126590: apt: package marked as half-configured (by apt search but not by apt list) cannot be purged
David Kalnischkies <[email protected]> Thu, 29 Jan 2026 17:38:25 +0100
| Newsgroups | gmane.linux.debian.apt.devel |
|---|---|
| Message-ID | <aXuK18avIumNneb7__45665.0097666838$1769708253$gmane$org@crossbow> |
Am Thu, Jan 29, 2026 at 10:37:47AM +0100, schrieb didier gaumet: > package libtext-brew-perl is stated half-configured by apt search but not by […] > didier@hp-notebook14:~$ apt search '~c' > libtext-brew-perl/stable 0.02-3 all > perl implementation of Brew edit distance So, as Julian already mentioned, this matches the string '~c' in the description, specifically the URL given at the end. I want to add through that `~c` is not matching `half-configured` even in commands that support patterns. As half-configured is an intermediate status that a package only ends up with in error cases there exists no apt pattern for this state. `~c` is matching packages that are not installed (= were previously `removed`), but have residual configuration files left (= they were not `purged`). It is the shorthand for `?config-files`. dpkg lists them with status `rc`, hence the naming. Best regards David Kalnischkies
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE5sn+Q4uCja/tn0GrMRvlz3HQeIMFAml7jQEACgkQMRvlz3HQ eIN81xAAgrMIf/VL1QnQ8PzILoO4uIguj47ycoV5uKgRPK168kxlTOVSM24my+Q8 PQG0WCZYTk8UOtdke51W7JSTLVXGfyh4di135DrVRl0iKeIYPN+hBHLZmTHV8MYm jTETyrYu10X64/sPBEW/+sBtmQQKzA9iy4ChaLkbV7ocStpEOT590hvfjwDCZ1Fs JU4UyVnDGV++oO3rXLoZw7sR9usbI8YndkgoTKRB+gh+wvsEVbIF6b2soCUzq6ff MQKcijyOU7eQPKPjZCnpLbAL+ZuhCGAc0654c0mYcOgX7ineJzUSN0LCb1vFakeG 5gwZtdN2fO8cEQgSfKXoZCp9kRzi/SC17VyykAphsHNBOX1kGXeD1kH/xCGDD0gn 8KriwMRpqD9LyBSwA6oEGhMvJYhK3lBLMwRNuG+vzNrlJXfu0JeCXm1vy87S1Yrx LYJJKEKIrVPNt7P8B0bCoCNZ20RYmCYfOX3V8T2s7QHmTOnD/g1qbsRQZ1RE2aDl ukgpssO0v/gfT2vZNoR7EHZx2BVqmc20I4WqKUwvSL3Sr5lPPFzvboO7IiJqaJy5 fclmLgORlBmVD5g/F0FdvkCGrgkZ4I8LBnqTkQlT1+/az6wC4H+C5SGKTvxtuCmx Rkud0T6MYl13XINSFOmh8kOy7Xj6Ej4bGSa1O9sT4M3V/L14VWM= =8KNW -----END PGP SIGNATURE-----