shane c branch wrote:not at all, this is helpful, i'm making progress.
for i in `cat rpms` do rpm -evv --nodeps $i done
Joe
i must have missed something. i tried executing those commands, and i did receive some output when it completed, but i don't think it uininstalled anything.
the output called an error on 'cat' apparently thinking it was a package, as well as on the filename i used to store the list of packages i want removed.
Those quotes are back-quotes. This is 'cat rpms' in single quotes and `cat rpms` in backquotes. I often use the alternative syntax:
for i in $(cat rpms) do rpm -evv $i done
Although, in this case
rpm -evv $(cat rpms)
works (I think), not to mention the more obscure
rpm -evv $(< rpms)
This last one is blindingly efficient for things like
echo $(< /etc/redhat-release)
since it doesn't involve starting any new processes.
There, now, are you sorry you asked? :-)
jch
of course now the problem is that the machine seems to think that the rpms i want removed are not installed. how do i determine the correct name to use for the rpm? do i simply lopp off the version information as in this example:
http://www.faqs.org/docs/securing/chap3sec20.html (see second example)
--
regards,
shane
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list