I have installed webmin-0-92 RPM using the command: rpm --install
webmin-0-92, This worked fine, but when I query the database by rpm -q
webmin* there are no entrys. When I try and remove it, it tells me that it
is not there. How can I remove it to install webmin-0-93. If i had
installed it by rpm -Uvh webmin-0-92 then I would be able to do: rpm -q
webmin* . Why is this and can anyone tell me how to remove webmin-0-92?
I am more concerned that I can not erase webmin-0-92 as it tells me that it
is not installed. When all of the config files are there and I can use
webmin. I have install webmin before using rpm -Uvh webmin-0-92 and removed
it with the command rpm -e webmin and it worked fine. The only difference I
see is that I installed it using rpm --install webmin-0-92 which DOES NOT
update the database as it should.
Thanks
Gordon
_______________________________________________
Rpm-list mailing list
Rpm-...@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list
You have to remove the asterisk. Wildcard signs are not allowed in rpm
queries. So "rpm -q webmin" should give you "webmin-0-92".
a "rpm -e webmin" should remove the package.
--
_
Tschüss und bis demnächst/à bientôt, _|_|_
(") *
Stefan /v\ /
»( )« Penguin Powered!
+----------------------------------------------------(m-m)------------------+
�����������������������������������Ѧo��Ëfj)bž b�Ôi�ùb��ëyØZ�÷(š m���þX�¶f������ÿr��������–+-Šw��ºfþX¬
And lo, upon Wed, Dec 05, 2001 at 12:16:53PM -0500, Jeff Johnson spaketh th=
usly:
>=20
> The above is perfectly correct, but let me supply a technical correction.
>=20
> Wild cards, more technically, regex's and/or globs through fnmatch, are
> permitted on the command line in rpm-4.0.3, try
> rpm -qa XFree*
>=20
> I hasten to point out that I don't believe that this functionality
> is going to be useful at all on the rpm CLI. The arguments to rpm -qa
> are package names, not files, so the regex/glob expressions are applied
> to database keys, not files on path, and there is little reason to
> believe that I can "fake" a file system onto a database retrieval key
> through regex/glob sufficiently well to have implemented useful and/or
> intuitive functionality.
Would this work?
rpm -qa 'XFree*'
That would prevent the shell from expanding the '*' character, and=20
since you say wild cards are supported by 4.03, shouldn't that allow rpm's
pattern matching to work properly?
--=20
Aaron Gaudio prothontar @ onebo=
x.com
GnuPG Public Key: http:/www.cs.rit.edu/~adg1653/pgp_key.asc
---------------
http://www.rit.edu/~adg1653
"He who depends upon the grace of others for the defense of his liberties
has already relinquished them."
---------------
Email Usage Policy: http://www.rit.edu/~adg1653/email.shtml
--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjwOXYcACgkQwXDG7ZQN91ebSgCgtuSHWEdnYT8rxALXYdvmumYd
t8kAoKqq9fXOvzXQOqoTvuC7jAgIndcB
=IZDE
-----END PGP SIGNATURE-----
--CE+1k2dSO48ffgeK--
Do `rpm -qa | grep webmin`
>is not there. How can I remove it to install webmin-0-93. If i had
With `rpm -e webmin`
Probably.
>installed it by rpm -Uvh webmin-0-92 then I would be able to do: rpm -q
>webmin* . Why is this and can anyone tell me how to remove webmin-0-92?
`rpm -U webmin-0-93.i386.rpm` (or whatever the name of the file ist).
Bernd
--
Bernd Petrovitsch Email : be...@gams.at
g.a.m.s gmbh Fax : +43 1 205255-900
Prinz-Eugen-Straße 8 A-1040 Vienna/Austria/Europe
LUGA : http://www.luga.at
The above is perfectly correct, but let me supply a technical correction.
Wild cards, more technically, regex's and/or globs through fnmatch, are
permitted on the command line in rpm-4.0.3, try
rpm -qa XFree*
I hasten to point out that I don't believe that this functionality
is going to be useful at all on the rpm CLI. The arguments to rpm -qa
are package names, not files, so the regex/glob expressions are applied
to database keys, not files on path, and there is little reason to
believe that I can "fake" a file system onto a database retrieval key
through regex/glob sufficiently well to have implemented useful and/or
intuitive functionality.
The intended use for the implementation is in the rpmlib API, as it's now
possible to use a database iterator with a complex, multitag query match,
using either regex's or globs/fnmatch, to filter the headers retrieved
based on tag content.
This may someday work it's way into --queryformat syntax, but I still
don't believe that I'm ever gonna be able to document that suffciently
well to make even that useful, as --queryformat seems to be a big mystery
to most people I talk to.
If the above doesn't make sense, don't worry, be happy, and continue using
rpm -qa | grep 'XFree*'
which is the Right Answer for the rpm CLI.
73 de Jeff
--
Jeff Johnson ARS N3NPQ
j...@jbj.org (j...@redhat.com)
Chapel Hill, NC
The * there has a different semantics (namely the usual reg-exp one)
then in the file globbing case done by a shell.
Bernd
--
Bernd Petrovitsch Email : be...@gams.at
g.a.m.s gmbh Fax : +43 1 205255-900
Prinz-Eugen-Straße 8 A-1040 Vienna/Austria/Europe
LUGA : http://www.luga.at
Correct. Be happy :-)
IMHO, there's no way to jigger up wild cards for use by rpm queries. The
implementation is there on the CLI only to demonstrate the functionality,
nothing more.
*Please* be happy. :-)
73 de Jeff
--
Jeff Johnson ARS N3NPQ
j...@jbj.org (j...@redhat.com)
Chapel Hill, NC
_______________________________________________