On 02/06/10 03:07 PM, H.S. wrote: > On 02/06/10 03:02 PM, Andrei Popescu wrote: >> On Mi, 02 iun 10, 13:46:47, H.S. wrote: >>> >>> If somebody has the package linux-image-2.6.32-trunk-686 on their system >>> someplace (may be even in /var/cache/apt/archives/) or installed, I >>> would like to know its contents. If the package is installed, the >>> following output will be great: >>> $> dpkg -L linux-image-2.6.32-trunk-686 >> >> $ ls /var/cache/apt/archives/linux-image-2.6.32-trunk-amd64_2.6.32-* >> /var/cache/apt/archives/linux-image-2.6.32-trunk-amd64_2.6.32-1_amd64.deb >> /var/cache/apt/archives/linux-image-2.6.32-trunk-amd64_2.6.32-2_amd64.deb >> /var/cache/apt/archives/linux-image-2.6.32-trunk-amd64_2.6.32-3_amd64.deb >> /var/cache/apt/archives/linux-image-2.6.32-trunk-amd64_2.6.32-4_amd64.deb >> /var/cache/apt/archives/linux-image-2.6.32-trunk-amd64_2.6.32-5_amd64.deb >> >> I only have these, does it help? > > A bit, yes. If you can give the output of the following command, it will > be better (list contents of the specified package, you can use any from > the list you gave above): > $> dpkg -L linux-image-2.6.32-trunk-amd64_2.6.32-1_amd64.deb
Sorry, my bad. The command should be: $> dpkg -L <name of package installed> | grep -v 'lib.modules' 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): #> sudo dpkg -c /path/to/foo.deb | grep -v 'lib.modules' The grep command effectively filters out all the lines with lib/modules in them. Thanks. -- 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/hu6b58$vq...@dough.gmane.org