From: Tom Furie on
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.

Cheers,
Tom

--
Democracy is the worst form of government except all those other
forms that have been tried from time to time.
-- Winston Churchill
From: Boyd Stephen Smith Jr. on
On Wednesday 02 June 2010 11:55:55 H.S. wrote:
> I tried cruft on my /boot partition and got more than I bargained for.
> It listed the files related to the package in question and some others
> too. They are:
> /boot/System.map-2.6.32-trunk-686
> /boot/config-2.6.32-trunk-686
> /boot/initrd.img-2.6.17-2-486.bak
> /boot/initrd.img-2.6.26-2-686
> /boot/initrd.img-2.6.26-2-686.bak
> /boot/initrd.img-2.6.32-3-686
> /boot/initrd.img-2.6.32-trunk-686
> /boot/initrd.img-2.6.32-trunk-686.bak
> /boot/vmlinuz-2.6.32-trunk-686
>
> I understand the files with 'trunk' in them, but the rest I am not why
> they are there since I have the following kernels installed:
> $> dpkg -l linux-image* | grep ^i | awk '{print $2}'
> linux-image-2.6-686
> linux-image-2.6.26-2-686
> linux-image-2.6.32-3-686
> linux-image-686

Then you can (or at least should be able to) confirm that the files listed are
not "owned" by those packages.

They may still be important files for your system, and the {pre,post}inst
routines may have created them. However, they are unknown to the dpkg
database, which is why cruft identifies them.

I'm sure the cruft maintainer / upstream would like your assistance in making
cruft better.

> And besides these, cruft also listed tons of /boot/grub files as
> unexplained.

Are they owned by a package?
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss(a)iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
From: H.S. on
On 02/06/10 01:46 PM, Boyd Stephen Smith Jr. wrote:
> On Wednesday 02 June 2010 11:55:55 H.S. wrote:
>> I understand the files with 'trunk' in them, but the rest I am not why
>> they are there since I have the following kernels installed:
>> $> dpkg -l linux-image* | grep ^i | awk '{print $2}'
>> linux-image-2.6-686
>> linux-image-2.6.26-2-686
>> linux-image-2.6.32-3-686
>> linux-image-686
>
> Then you can (or at least should be able to) confirm that the files listed are
> not "owned" by those packages.

Yes, I agree. But the tons of grub files didn't make me very confident
about the capability of curft (on a related note, I am quite confident
about deborphan though).


> They may still be important files for your system, and the {pre,post}inst
> routines may have created them. However, they are unknown to the dpkg
> database, which is why cruft identifies them.
>
> I'm sure the cruft maintainer / upstream would like your assistance in making
> cruft better.

Sure, won't mind giving feedback based on my experiences. How? On the
dev mailing list?


>> And besides these, cruft also listed tons of /boot/grub files as
>> unexplained.
>
> Are they owned by a package?

No idea. I never fiddled with grub (except when dpkg did its pre and
post kernel installation/purge stuff) during the short during of /boot
mounting problem. The only command I used one was update-grub.


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/hu65l8$5tt$1(a)dough.gmane.org