RE: [Cooker] removing unneeded packages (e.g. old libraries)

2002-01-15 Thread Borsenkow Andrej


> 
> On Tue, 2002-01-15 at 22:41, William Kenworthy wrote:
> > Careful ... the name differences are coz some packages require that
> > specific version of libgal!  rpm -e package will either do it or
error
> > off coz of dependencies.
> 
> That's what I'm looking for. Something to determine which packages are
> no longer required by any other packages, and let me decide if I want
to
> remove them or not.
> 

This finds packages no longer in distribution (which is not quite the
same as "no longer required by any package"):

for i in $(rpm -qa); do
zcat /var/lib/urpmi/synthesis.* | grep @info@ | grep -q $i || echo $i
done

I agree that urpmi has all information to do it; so

urpmi --remove-unneeded

wuold be just fine.

-andrej




Re: [Cooker] removing unneeded packages (e.g. old libraries)

2002-01-15 Thread Steve Fox

On Tue, 2002-01-15 at 22:41, William Kenworthy wrote:
> Careful ... the name differences are coz some packages require that
> specific version of libgal!  rpm -e package will either do it or error
> off coz of dependencies.

That's what I'm looking for. Something to determine which packages are
no longer required by any other packages, and let me decide if I want to
remove them or not.

-- 

Steve Fox
http://k-lug.org





Re: [Cooker] removing unneeded packages (e.g. old libraries)

2002-01-15 Thread William Kenworthy

Careful ... the name differences are coz some packages require that
specific version of libgal!  rpm -e package will either do it or error
off coz of dependencies.

BillK


On Wed, 2002-01-16 at 12:13, Steve Fox wrote:
> Does anyone know of a way using the urpmX tools to remove old packages
> like libraries? Justification: I just realized that I had 6 versions of
> libgal installed. It would sure be nice is urpme could generate a list
> of packages that nothing depends on, and then allow you to choose which
> ones to remove or remove all.
> 
> Anyone else like this? Can I beg François to add something like this?
> 
> -- 
> 
> Steve Fox
> http://k-lug.org
> 
>