Re: yum remove half-of-my-system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-05-14 at 09:51 +0300, Panu Matilainen wrote:
> On Wed, 13 May 2009, Adam Jackson wrote:
> 
> > On Wed, 2009-05-13 at 11:08 -0700, Jesse Keating wrote:
> >> On Wed, 2009-05-13 at 14:03 -0400, Seth Vidal wrote:
> >>>
> >>> I agree with  this except then we have to put rpmq-crontab in a separate
> >>> pkg which would need to be added to comps base, I think.
> >>
> >> Or we question the usefulness of the cron job itself and potentially
> >> scrub it all together.
> >
> > IAWTP.
> 
> Tell that to the people whose rpmdb got destroyed somehow (I remember 
> doing an accidental 'rm -f /var/lib/rpm/*' myself a few years ago...) and 
> managed to resurrect the system by using the data in /var/log/rpmpkgs :)

These days I'd be inclined to do something like:

for i in /{,usr}/{,s}bin ; do
    pkgs=`repoquery --whatprovides $i`
    if [ `echo $pkgs | wc -w` -gt 1 ] ; then
        echo $pkgs 1>&2
    else
        echo $pkgs
    fi
done 2>& troublemakers | sort | uniq -c > packages

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux