Upgrading rpm packages

Ray Strode halfline at hawaii.rr.com
Wed Jul 4 16:33:39 PDT 2001


> I am trying to upgrade my rpm package ' libmng1-1.0.0-2mdk ' with package ' 
> libmng-1.0.1-1.i686.rpm ' using ' rpm -U libmng-1.0.1-1.i686.rpm ' but i get 
> an error message saying 
> 
> "file /usr/lib/libmng.so.1.0.0 from install of libmng-1.0.1-1 conflicts with 
> file from package libmng1-1.0.0-2mdk"
You are trying to mix rpm packages from different distributions.  Don't do that.  
My guess is your new package is from Polish'd Linux Distribution and your old 
one is from Mandrake.  In this case I think you would be pretty safe by installing it 
(not upgrading it), but that's a really good way to get an inconsistant rpmdb and
it can become a big mess to deal with.  You would be better off tracking down the 
rpm for your distro.  If you are using Mandrake (which I think you are), then it 
seems that an updated rpm hasn't made it's way into cooker yet.  It seems that your
only option is two either create your own Mandrake friendly RPM (meaning changing
the packages internal name to libmng1 instead of libmng) or force install the one you
have:

# rpm -ivh libmng-1.0.1-1.i686.rpm --force --nodeps

This will install (i) libmng on your system, but keep libmng1 around too (except for 
where the files conflict), so you can safely install packages that depend on libmng1
and packages which depend on libmng (which would be bad beacuse they wouldn't
be mandrake specific packages).  While it's installing, it will display the package name
(v) and give a little progress meter with hash marks (h).  

--Ray



More information about the LUAU mailing list