RE: /lib/modules/ directory not being removed

2009-08-13 Thread Kushal Koolwal
> Would you expect removing vi to remove all the files you created with > it? "Purge" means remove the configuration files that the package > installed in addition to all the other files from the package. Agreed, and I am not surprised that this happens. My intent for asking the question was to kn

Re: /lib/modules/ directory not being removed

2009-08-13 Thread John Hasler
Kushal Koolwal writes: > Is there a Debian package rule which says "only remove files which > were originally provided by the package"... Would you expect removing vi to remove all the files you created with it? "Purge" means remove the configuration files that the package installed in addition t

RE: /lib/modules/ directory not being removed

2009-08-13 Thread Kushal Koolwal
> This sounds logical, since your out-of-tree modules are probably still > there. Yeah that's right. But why doesn't it (apt-get purge) remove those out-of-tree modules also when I try to remove the package? Is there a Debian package rule which says "only remove files which were originally pro

Re: /lib/modules/ directory not being removed

2009-08-13 Thread Sven Joachim
On 2009-08-13 21:51 +0200, Kushal Koolwal wrote: > In a normal scenario, whenever we do: > > apt-get purge linux-image- > > the corresponding: > > /lib/modules/ > > directory gets removed from the system. > > But I noticed that suppose installed some out-of-tree kernel modules > and now when you t

/lib/modules/ directory not being removed

2009-08-13 Thread Kushal Koolwal
In a normal scenario, whenever we do: apt-get purge linux-image- the corresponding: /lib/modules/ directory gets removed from the system. But I noticed that suppose installed some out-of-tree kernel modules and now when you try to remove the same kernel (for which you installed out-of-tree