- dpkg makes the package record at installation; it does not track the files on disk.
dpkg -Llists a package's files from the record,dpkg -Sfinds the package by path,lschecks the disk.dpkg -Scompares paths literally: to the database,/binand/usr/binare different entries.- Reinstalling the same archive brings files back and keeps a changed conffile.
- At the start of the lesson the package was recorded as installed without its program: the file was deleted behind dpkg's back, and the database record stayed the same.
Step 8 of 8 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson