On 01/24/2013 11:12 AM, Doug issued this missive:
On 01/24/2013 12:26 PM, Wojciech Komornicki wrote:
Expansion of the asterisk is handled by the shell. To see what such a
command
will do, issue the command
echo *.rpm
You will see the full list of RPMs.
I thank all of you folks who have answered. It turns out that the code
I suggested--
rpm -Uvh *.rpm
--works fine. I looked in your fine book on RPM, but could not find it
in there. since it is a draft, albeit about 2 years old now, perhaps the
authors will add this command to the text.
I posted here because of the wide use of RPMs in Fedora, altho I an
using PCLOS, and cannot use YUM! (PCLOS uses RPMs, but except
for out-of-repo installs, they are all handled by Synaptic. It's only
the programs that are not in the repo that require the command
line operation.)
I've used the *.rpm thing often in the past. Be warned, however, that
the shell expands the "*" bit and passes a list of RPMs to rpm. You can
hit some dependency order issues because of that.
For example, it wants to update "widget-devel". That depends on having
"widget" updated first, but "widget" appears in the expanded filelist
AFTER "widget-devel" and the update fails. Just do
rpm -Uvh widget.rpm widget-devel.rpm
(i.e. specify the RPMs in the correcto order) separately first. You can
then the "rpm -Uvh *.rpm" again. It'll whine that "widget" and "widget-
devel" have already been updated, but you knew that. :-)
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Whoever said "Money can't buy friends" obviously never brought -
- donuts to the office. -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org