Hi,
Quoting Andrey Rakhmatullin (2024-04-01 09:58:21)
On Mon, Apr 01, 2024 at 01:03:04PM +1000, Russell Stuart wrote:
On 1/4/24 10:18, gregor herrmann wrote:
% dpkg -S $(which mv > coreutils: /usr/bin/mv
On bookworm:
$ dpkg -S $(which mv)
dpkg-query: no path found matching pattern /usr/bin/mv
This is caused by the /bin -> /usr/bin shift.
The reason I'm replying is after one, probably two decades this still annoys me:
$ dpkg -S /etc/profile
dpkg-query: no path found matching pattern /etc/profile
It was put their by the Debian install, and I'm unlikely to change it.
Its fairly important security wise. It would be nice if "dpkg -S" told
me base-files.deb installed it. It would be nice if debsums told me if
it changed. There are lots of files like this, such as /etc/environment and /etc/hosts. There are some directories like /etc/apt/trusted.gpg.d/ which should only have files claimed by some .deb.
This is the reason I never expect dpkg -S to work and dpkg -L to be
correct. The (probably) oldest registered bug report about this is #213907, from 2003. RPM has %ghost since before that, of course.
This is the reason I never expect apt-file search to work. It would be nice if we had a tool which would track the files created by maintainer scripts as well and associate them to packages. Isn't dumat tracking which files are actually created after package installation? If yes, can that data be made searchable?
Thanks!
cheers, josch
--==============00806072939345408=MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmYKc5QACgkQ8sulx4+9 g+Ekew/+NDZhfmjhb1w6rMP+oxpjODIyGaHVa6Nwq9I6sj+0QP907HUvyLKVAT1C M944k/NjwMyEO1Nc6Tuvc5k97QIpZW4WtuklgIf6mG/+fPKoW8ymA89PBlBkDd50 rl1zDNblDQ9yOGU3gogpRiiZv4Ipt0HI2dRf8l3UCVzwVjS8oJZhUSJItCkba7sK JuOS3E7P72b4KZDwSA36vDv4pTgMXfC9or/fmbtx8gApUuMPSgnEM5mHpSBwa23Y nDAPfZ+V59hj/vg7W0zh9fhU3J7lpMhnjtKcl/Tk/tqk2VMGAjl2iUQ56DCKgfBX GCiYsMzvMAEQ7JcmZfWsQLMlQSAsEsn90DmY8FD2n1lbvqmcj75RYnIuC9B/j5Aa 8zzSz85PyM1LDtK3Q7RbwLB6OmPNz/9QEbLfqHI1D/hf/cHYcU355XvagsAGuasm Wz98me9SYDxsClnxjpR2ZS6k+A4BBSWf7hGUreGs7FAF5krQYkrF8Heay9ectxyJ JQxwHtwBM8tYiyVVHhMFOA7Q4el6y1jbuatY01wZnhjIBLXLGAKDdyaFY8RGwpGI 6AhEMlra0nWJ/rZpf4jvBHMNDmVLVmMoeuBcZQE4R/lBw35kO4A1sZUxDo1BPuUh DK6jpAbZcxOFucELc9TEbXCZ9zZJPoiGUV+Q50AhUBZFIDnHlmU=
=kb8v
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)