[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RPM killing me :-(
On Sun, 5 Jul 1998, Ben - Nes Michael wrote:
> the first 2 examples are from ftp.redhat.com for 5.1 (upgrades)
>
> Like:
>
> # rpm -i rpm-2.5.2-1.i386.rpm
> /bin/rpm conflicts with file from rpm-2.5-2
> /usr/bin/rpm2cpio conflicts with file from rpm-2.5-2
> /usr/lib/rpmpopt conflicts with file from rpm-2.5-2
> /usr/lib/rpmrc conflicts with file from rpm-2.5-2
> /usr/man/man8/rpm.8 conflicts with file from rpm-2.5-2
> error: rpm-2.5.2-1.i386.rpm cannot be installed
you can't install a newer version without conflicting with the old one,
what you want is to UPGRADE. try "rpm -U name.rpm" or for a nice progress
bar use "rpm -Uvh name.rpm"
>
> rpm -i patch-2.5-4.i386.rpm /usr/bin/patch conflicts with file from patch-2.5-2
> error: patch-2.5-4.i386.rpm cannot be installed
same thing. rpm -U and not rpm -i
> # rpm -i radiusd-2.01.D-1.i386.rpm
> error: radiusd-2.01.D-1.i386.rpm cannot be installed
that's it? no other errors reported? should be reported to the creator of
the specific RPM.
anyway, something as sensitive as radius should be compiled manually I
think...
> # rpm -iv radius-utils-1.1-1.i386.rpm
> Installing radius-utils-1.1-1.i386.rpm
> package radius-utils-1.1-1 is already installed
> error: radius-utils-1.1-1.i386.rpm cannot be installed
again, -U if you want to upgrade. since you are installing the same
package over itself, -U combined with --force would do the trick.
> # rpm -ev radius-utils-1.1-1.i386.rpm
> package radius-utils-1.1-1.i386.rpm is not installed
that's true. the name of the package is radius-utils-1.1-1, not
radius-utils-1.1-1.i386.rpm which is the name of the file it came in.
> Please notice that while its says that "radius-utils-1.1-1.i386.rpm" is
> already installed when using "-i" while using -e its says not installed
it's all in tha man page probably (I haven't peeked in it in months)
--
Ira Abramov <ira(a)scso.com> whois: IA58 (a linux enthusiast)
She sells cshs by the cshore. - Rob Malda