FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-20-2008, 03:40 AM
shaul Karl
 
Default Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

Package: initramfs-tools
Version: 0.92j
Severity: normal

Not sure if I had 0.92j. As you can see, I have already purged it.

Removing initramfs-tools ...
Purging configuration files for initramfs-tools ...
dpkg - warning: while removing initramfs-tools, directory `/var/lib/initramfs-tools' not empty so not removed.

Indeed, /var/lib/initramfs-tools is not empty. Wasn't initramfs-tools
the one who wrote to that dir in the first place?






--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-20-2008, 08:06 AM
maximilian attems
 
Default Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

On Fri, 19 Dec 2008, shaul Karl wrote:

> Not sure if I had 0.92j. As you can see, I have already purged it.
>
> Removing initramfs-tools ...
> Purging configuration files for initramfs-tools ...
> dpkg - warning: while removing initramfs-tools, directory `/var/lib/initramfs-tools' not empty so not removed.
>
> Indeed, /var/lib/initramfs-tools is not empty. Wasn't initramfs-tools
> the one who wrote to that dir in the first place?

not is up to the linux-image to nuke the sha1sum of it's initramfs.
old linux-images had a bug and didn't.

kernel-package home grewn packages might still not.

what is the output of
ls /var/lib/initramfs-tools

--
maks



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-21-2008, 08:39 AM
maximilian attems
 
Default Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

reassign 509237 kernel-package
stop

> a) I install a bunch of kernel-images with initrds, and use
> mkinitramfs-tools to create the initramfs files.

first of all you shouldn't use mkinitramfs but update-initramfs.
# to create the initramfs
update-initramfs -c -t -k <kernelversion>
# to delete the initramfs
update-initramfs -d -t -k <kernelversion>

second if you now call it for your linux-image there will be a
sha1sum in /var/lib/initramfs-tools/$(uname -r)
this one needs to be removed when the linux image is purged.


> b) I now purge mkinitramfs-tools (wanting to move to yaird, for
> example).

right.
the initramfs doesn't belong to initramfs-tools

please rethink an issue before reassigning to random packages.

kind regards

--
maks



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-21-2008, 08:32 PM
 
Default Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

Hi,

This is not about this being a bug in linuz-image, or it being
fixed there, since the suer does not use linux-image or
kernel-package.

The user uses straignt kernel source code, kbuild, and make
deb from Kbuild directly. That just isntalls the kernel image. The
user then uses update-initramfs directly to create
/boot/initrd-foo. No linux-image or kernel-package involved.

At thsi point, they also do not want to remove
/boot/initrd-foo. They just want to get rid of initramfs-tools,
which fails, since initramfs-tools does not clean up its internal
state.

Bringing in linux-image or kernel-package is a red herring,
neither one of these packages are actually involved in
initramfs-tools leaving cruft on the box after purge.

manoj
--
Manoj Srivastava <manoj.srivastava@stdc.com> <srivasta@acm.org>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-23-2008, 03:43 AM
"boss ganesh"
 
Default Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

Dear shaul Kari
************************** It shows the output like that but it has almost removed all the files.. if any files used by the system from that folder it throws the error like what you mailed
* * * what is the output of * * dpkg* -l* initramfs-tools*

***




On Sat, Dec 20, 2008 at 10:10 AM, shaul Karl <shaulkarl@yahoo.com> wrote:

Package: initramfs-tools

Version: 0.92j

Severity: normal



Not sure if I had 0.92j. As you can see, I have already purged it.



Removing initramfs-tools ...

Purging configuration files for initramfs-tools ...

dpkg - warning: while removing initramfs-tools, directory `/var/lib/initramfs-tools' not empty so not removed.



Indeed, /var/lib/initramfs-tools is not empty. Wasn't initramfs-tools

the one who wrote to that dir in the first place?













--

To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





--
bossganesh
BOSSTeam
CDAC
 
Old 12-27-2008, 07:59 PM
shaul Karl
 
Default Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

$ dpkg -l initramfs-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
pn initramfs-tool <none> (no description available)


Perhaps dpkg should suggest some mechanism for one package to add/alter/mark files of some other package?



--- On Tue, 12/23/08, boss ganesh <boss.gan@gmail.com> wrote:

> From: boss ganesh <boss.gan@gmail.com>
> Subject: Re: Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed
> To: shaulkarl@yahoo.com, 509237@bugs.debian.org
> Date: Tuesday, December 23, 2008, 7:43 AM
> Dear shaul Kari
> It shows the output like that
> but it has almost
> removed all the files.. if any files used by the system
> from that folder it
> throws the error like what you mailed
> what is the output of dpkg -l initramfs-tools
>
>
>
>
>
> On Sat, Dec 20, 2008 at 10:10 AM, shaul Karl
> <shaulkarl@yahoo.com> wrote:
>
> > Package: initramfs-tools
> > Version: 0.92j
> > Severity: normal
> >
> > Not sure if I had 0.92j. As you can see, I have
> already purged it.
> >
> > Removing initramfs-tools ...
> > Purging configuration files for initramfs-tools ...
> > dpkg - warning: while removing initramfs-tools,
> directory
> > `/var/lib/initramfs-tools' not empty so not
> removed.
> >
> > Indeed, /var/lib/initramfs-tools is not empty.
> Wasn't initramfs-tools
> > the one who wrote to that dir in the first place?
> >
> >
> >
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to
> debian-kernel-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble?
> Contact
> > listmaster@lists.debian.org
> >
> >
>
>
> --
> bossganesh
> BOSSTeam
> CDAC






--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 04:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org