[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: weird rpm behavior



On Mon, Oct 20, 2003 at 02:57:09PM -0700, chuck lawrence wrote:
> hi,
> 
> I'm having trouble installing legato client software.  I'll spare you 
> the legato-specific details, but after the install script failed, I 
> tried installing manually by running rpm commands.
> 
> I now have a package that reports that it is and is not installed.  this 
> in rh 8.0.  I offer the following hair-pulling examples:
> 
> I try to [i]nstall:
> 
> rpm -i /tmp/legato/new/LGTOclnt/lgtoclnt-6.1.3-1.i386.rpm
> package lgtoclnt-6.1.3-1 is already installed
> 
> next I try to [U]pgrade:
> 
> rpm -U /tmp/legato/new/LGTOclnt/lgtoclnt-6.1.3-1.i386.rpm
> package lgtoclnt-6.1.3-1 is already installed
> 
> fine.  since it ain't working as I'd like, I try to [e]rase and start over:
> 
> rpm -e /tmp/legato/new/LGTOclnt/lgtoclnt-6.1.3-1.i386.rpm
> error: package /tmp/legato/new/LGTOclnt/lgtoclnt-6.1.3-1.i386.rpm is not 
> installed

The -e option takes a package name, not a filename, so try

  rpm -e lgtoclnt

> I'll accept that the install script is probably the best way to go, but 
> has anyone seen this contradictory behavior?

Not contradictory.  Maybe not intuitive.  "man rpm" for more info.

> -- 
> 
>  * ------------------- * ----------------------------*
>  | charles e. lawrence | lawrence berkeley nat'l lab |
>  | celawrence lbl gov  | #1 cyclotron rd  ms 46-125  |
>  | (510) 486-4682      | berkeley  ca  94720         |
>  * ------------------- * ----------------------------*

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.bobcatos.com
People who walk with God always get to their destination.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]