Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

2008-12-27 Thread shaul Karl
$ 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   VersionDescription
+++-==-==-
pn  initramfs-tool  (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  wrote:

> From: boss ganesh 
> Subject: Re: Bug#509237: purge: /var/lib/initramfs-tools' not empty so not 
> removed
> To: shaulk...@yahoo.com, 509...@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
>  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-requ...@lists.debian.org
> > with a subject of "unsubscribe". Trouble?
> Contact
> > listmas...@lists.debian.org
> >
> >
> 
> 
> -- 
> bossganesh
> BOSSTeam
> CDAC


  



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

2008-12-22 Thread boss ganesh
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  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-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


-- 
bossganesh
BOSSTeam
CDAC


Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

2008-12-21 Thread srivasta
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   
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

2008-12-21 Thread maximilian attems
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 
# to delete the initramfs
update-initramfs -d -t -k 

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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

2008-12-20 Thread maximilian attems
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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#509237: purge: /var/lib/initramfs-tools' not empty so not removed

2008-12-19 Thread shaul Karl
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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org