[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I want to verify that binaries have not been changed



*- On 18 Jun, Jesse G Warford wrote about "I want to verify that binaries have not been changed"
> How do I ask dpkg to display the file sizes of files in a package ?
> 
> 

Once the package has been installed and the actual .deb has been
removed there is no way.  The only way to see the size of the binaries
is do download the .deb package again and do a 'dpkg -c <package>.deb'.

% dpkg -c hello_1.3-14.3_i386.deb 
drwxr-xr-x root/root         0 1999-06-17 19:35 ./
drwxr-xr-x root/root         0 1999-06-17 19:35 usr/
drwxr-xr-x root/root         0 1999-06-17 19:35 usr/doc/
drwxr-xr-x root/root         0 1999-06-17 19:35 usr/doc/hello/
-rw-r--r-- root/root      2427 1999-06-17 19:35 usr/doc/hello/copyright
-rw-r--r-- root/root      2295 1999-06-17 19:35 usr/doc/hello/changelog.gz
-rw-r--r-- root/root      1827 1999-06-17 19:35 usr/doc/hello/changelog.Debian.gz
drwxr-xr-x root/root         0 1999-06-17 19:35 usr/man/
drwxr-xr-x root/root         0 1999-06-17 19:35 usr/man/man1/
-rw-r--r-- root/root       596 1999-06-17 19:35 usr/man/man1/hello.1.gz
drwxr-xr-x root/root         0 1999-06-17 19:35 usr/bin/
-rwxr-xr-x root/root      5000 1999-06-17 19:35 usr/bin/hello
drwxr-xr-x root/root         0 1999-06-17 19:35 usr/info/
-rw-r--r-- root/root      8779 1999-06-17 19:35 usr/info/hello.info.gz

-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: