On Mon, 17 Mar 2003, Thomas Dodd wrote:

>
>
> Charles wrote:
> > James Jones wrote:
> >> package mozilla-nspr-1.3b-0_xft (which is newer than
> >> mozilla-nspr-1.3-0_rh8_xft) is already installed
>
> >> I expect I'll just rpm -e the 1.3b versions and then just rpm -i the
> >> new stuff, but I'm curious. Has anyone else run into this?
>
> >
> > rpm -Uvh --force mozilla-*.rpm
>
> rpm -e anf rpm -i is one solution, but you will still have dependency
> issues. the --force option is a poor choice. Ckwech the rpm manpage and
> you'll see there is an option designed for this case, --oldpackage.

--force has nothing to do with dependencies.  "--force" is shorthand for
"--replacepkgs --replacefiles --oldpackage".  It would be an OK way to
go in this situation, although only --oldpackage should be needed.  To
escape dependencies, use --nodeps, but be sure you know what you are
doing.  Both of these options can break things royally.

>
> Worked fine form me "rpm -Uvh --oldpackage mozilla-*"
>
> Anothe helpfull option is --replacepkgs, great for reinstalling a
> corrupted package, like whern you accidentally delete a *.py instead of
> *.pyc :)
>
>       -Thomas
>
>
>
>

-- 
                Matthew Saltzman

Clemson University Math Sciences
[EMAIL PROTECTED]
http://www.math.clemson.edu/~mjs



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to