[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Webmin RPM
- From: Thomas Dodd <ted cypress com>
- To: redhat-install-list redhat com
- Subject: Re: Webmin RPM
- Date: Mon, 19 Aug 2002 15:38:23 -0500
Michael Johnson wrote:
An interesting problem cropped up recently...I'm used to BSD and IRIX
systems so I think I did something I shouldn't have.
Actullly it more a misunderstanding of rpm :)
I tried sudo rpm -i webmin*
and the machine told me it was already installed. So I tried the -e
Because the rpm database still says it's there :)
version of the above command. The machine told me it wasn't installed.
Hmmmm...okay...I guess that did it. I tried again to -i it and again, it
rpm -e needs the "package" name, not the "file" name.
Only -i, -U,and -F options default to a file (PACKAGE_FILE
the man page). Others need the package name (PACKAGE_NAME
in man page) by default. some allow the -p option (like -q, querry)
to work with a file instead of an installed package.
The webmin-*.rpm file installs the package named "webmin"
so the command to erase is 'rpm -e webmin'
Since it's installed, and you want to reinstall it, replacing old
files, the --replacepkgs option on the install will work.
Beware the --force option, it should seldom be used. Us the option
to fix you problem, like --replacepkgs, --replacefiles, --oldpackage,
and --nodeps options. Read the man page for others.
When to use "webmin-<ver>.<arch>.rpm" ,"webmin", or
"webmin-<ver>" takes a while to learn. I've been using rpm
for 6+ years, and still use the wrong one at times.
-Thomas
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]