[imp] IMP MySQL?? still not good

Rich Lafferty rich@horde.org
Sun, 26 Nov 2000 18:27:23 -0500


On Mon, Nov 27, 2000 at 12:14:57AM +0100, Jan Johansson (j2@mupp.net) wrote:
> > rpm -e MySQL-3.22*
> > error: package MySQL-3.22.32-1.i386.rpm is not installed
> 
> thats an RTFM, you do not use the version number when manipulating an
> already installed rpm.

Well, careful -- using the *version* number is fine (and sometimes
necessary); using the *filename* isn't.

Since the original poster used a wildcard, it was expanded by his
shell (that's the only place the wildcard would be expanded -- they're
usually not meaningful to programs themselves, find(1)
notwithstanding). Since the RPM file was in that directory, he ended
up doing the equivalent of

  rpm -e MySQL-3.22.32-1.i396.rpm

which explains the error message. On the other hand, either of

  rpm -e MySQL
  rom -e MySQL-3.22.32-1

would work as expected.

I've no idea what's causing the original problem, though.

  -Rich

-- 
------------------------------ Rich Lafferty ---------------------------
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC                 (514) 848-7625
------------------------- rich@alcor.concordia.ca ----------------------