[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: another sed regex question
charles@lunarmedia.net said:
> i have a list of rpms that came back from a diff of the most recent
> updates compared to the rpms that i currently have installed.
OK, just out of curiosity, is there any good reason not to just use -F
to upgrade? You can just go into a directory and do "rpm -Fvh *.rpm",
and rpm will only upgrade the packages that you already have
installed.
Trying to parse the rpm versions from the filenames is a royal pain,
and getting the comparison of version numbers right is even worse. If
you can use -F, go that route.
Steve
--
steve@silug.org | Southern Illinois Linux Users Group
(618)398-7320 | See web site for meeting details.
Steven Pritchard | http://www.silug.org/
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.