On 02/06/10 03:50 PM, Andrei Popescu wrote: > On Mi, 02 iun 10, 15:24:23, H.S. wrote: > >> or, if you want to list the contents of a deb file (instead of an >> installed package), the following will give the same info (might need to >> be root or use sudo for apt's cache files): > > No, root is not needed, since the debs in apt's cacher are world readable.
Yes, you are right. I had to use sudo because I have linked /var/cache/arpt/archives to another partition (long story :( ) and there the debs are not world readable. >> #> sudo dpkg -c /path/to/foo.deb | grep -v 'lib.modules' > > From within vim: > :r !dpkg -c > /var/cache/apt/archives/linux-image-2.6.32-trunk-amd64_2.6.32-1_amd64.deb | > grep -v 'lib.modules' Yes, it does. Thanks a ton. Regards. -- Please reply to this list only. I read this list on its corresponding newsgroup on gmane.org. Replies sent to my email address are just filtered to a folder in my mailbox and get periodically deleted without ever having been read. -- 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/hu6d5s$7o...@dough.gmane.org