Brian,

-lev

On Feb 13, 2011, at 3:09 AM, Brian <a...@cityscape.co.uk> wrote:

> On Sat 12 Feb 2011 at 23:17:12 -0800, Lev Lvovsky wrote:
> 
>> Does apt/dpkg keep track of permissions and file sizes of the files which
>> belong to a package?  If so, how can this information be retrieved so as to
>> compare to existing files on the file system?
> 
> Is
> 
>  dpkg -c <package.deb>
> 
> of any use?

Sorry, I should have been more specific - I need to audit all of the installed 
packages on my system (massive file system corruption).  I'm assuming that dpkg 
knows the size and permissions (not as important) of a file after it's been 
installed, so need to compare the existing file to what it was originally when 
installed.

I'd found a command-line piped together a week or so ago that does this, but I 
can't for the life of me find it again.

Thanks,
-lev


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/371f5150-5786-4f97-b26c-7f004dffc...@sonous.com

Reply via email to