From: H.S. on
On 02/06/10 01:36 PM, Tom Furie wrote:
> On Wed, Jun 02, 2010 at 01:09:48PM -0400, H.S. wrote:
>> On 02/06/10 12:36 PM, Tom Furie wrote:
>>> As far as I can tell, generally linux-image* puts files in /lib/modules,
>>> /boot, /usr/share/doc, and /usr/share/bug. Now given that -trunk should
>>
>> I have tried "dpkg -L" with installed kernels to see where they usually
>> install files. So if push comes to shove, I can manually delete "trunk"
>> kernel related files. I would be great to do this dpkg-way, however.
>
> Unfortanately, without access to the relevant package (maybe it's still
> lying around on somebody's system), I really don't think there's a
> dpkg-way to solve this.

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

Thanks in advance.



--

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-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/hu65e8$53f$1(a)dough.gmane.org
From: H.S. on
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

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-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/hu6a4t$r8o$1(a)dough.gmane.org
From: H.S. on
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-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/hu6b58$vq2$1(a)dough.gmane.org
From: H.S. on
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-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/hu6d5s$7o9$1(a)dough.gmane.org