it depends :-)

RPM's great weakness is that everything depends on the naming convention
chosen by the RPM author. It is the _RedHat_ Package Manager after all,
and when they wrote it I don't think it occurred that other distro
companies would exist, much less adopt the package format (IIRC
Slackware was the only other distro when RH got started, though
TurboLinux came up very quickly too).

When packages are selected, the urpmi mechanism looks at
[name][version]. When [name] matches, [version] is compared and the
requires rules are applied.

If [name] doesn't match, you end up with a problem because the two
packages are considered different by the RPM database, but they contain
the same files. You get an error "foo-bar.3.0.i586.mdk.rpm is trying to
overwrite /bin/foobar which is owned by foobar.2.9.i586.mdk.rpm".

If [version] doesn't sort the way you expect, you might end up with
packages not getting updated. Example left to imagination.

If urpmi just can't figure it out, it'll ask:
"You need to choose one of the following packages:
1) libfoobar3-devel-0.i586.mdk.rpm
2) libfoobar-devel.3.0.i586.mdk.rpm
Please enter your choice or cancel: "


Jack

On Sun, 2003-06-08 at 08:42, Trey Sizemore wrote:
> If I have Cooker and Texstar both installed, how will running:
> 
> urpmi --auto --auto-select 
> 
> handle duplicate packages (for example, Texstar's kdebase and the Cooker
> kdebase)?
> 
> Thanks.
> 
> On Sun, 2003-06-08 at 08:13, James Sparenberg wrote:
> > On Sat, 2003-06-07 at 21:51, Trey Sizemore wrote:
> > > What is the easiest way to determine what packages are exactly needed
> > > from the ibilio site.  I know kdebase, kdenetwork, etc., but what about
> > > the libs and other file dependencies that may exist?  This is why I
> > > liked urpmi, but I've had some issues with it of late.
> > > 
> > > Thanks.
> > 
> > Trey,
> > 
> >    The easiest and most reliable is to use urpmi.  It will solve the
> > problem for you.  
> > 
> > just do 
> > 
> > urpmi.addmedia texstar
> > http://www.gtlib.cc.gatech.edu/pub/linux/distributions/contrib/texstar/linux/distributions/mandrake/9.1/rpms/i586
> >  with ./hdlist.cz
> > 
> > (this should all be one line but wordwrap is a bear.)
> > 
> > Then do 
> > 
> > urpmi --auto --auto-select 
> > 
> > This will add/update the correct rpms and maintain a working system for
> > you.  This is one of the few times I'd recommend automation over a
> > controlled manual process.  But I've done it now on 7 installations and
> > not a single one has had a problem.
> > 
> > James
> >   
> > 
> > 
> > > 
> > > On Mon, 2003-06-02 at 14:16, Robert Crawford wrote:
> > > > On Monday 02 June 2003 11:47, Ronald J. Hall wrote:
> > > > > I decided to post this here because it looks way beyond newbie stuff.
> > > > >
> > > > > I'm running 9.1 (download edition) on an AMD XP2100, Soyo Dragon Plus MB,
> > > > > 512 megs of Corsair DDR ram.
> > > > >
> > > > > Installation went smooth with no errors that I know of.
> > > > >
> > > > > As root, I can open 2 windows, try to copy something (anything) between
> > > > > them and both windows competely disappear. No warnings or error messages.
> > > > >
> > > > > With my normal user account, I can open an icon window (home for example)
> > > > > and close it, always with a crash and a KDE error message:
> > > > 
> > > > > Anyone have any ideas? Makes it darned hard to use, ya know?
> > > > >
> > > > > Never had these problems with v9.0 or 8.2. Oh, I did a complete install and
> > > > > not an upgrade.
> > > > 
> > > > There are various weird problems with the stock kde 3.1 with 9.1. A lot of 
> > > > users have problems such as yours, and others too. 
> > > > 
> > > > I suggest reading the kde threads on pclinuxonline under the RPM announcements 
> > > > forum, then downloading ALL of Texstar's kde 3.1.2 packages from his ibiblio 
> > > > site to their own  directory in /home, then log out of kde into gnome or Ice, 
> > > > and rename  your /home/user/.kde folder to kdeold. Then go to init 3, su to 
> > > > root, and cd to the directory you downloaded to and install Tex's kde 
> > > > packages with (takes a few minutes). Be sure and get all the required 
> > > > packages and dependencies. Use this command to install in init 3.
> > > > 
> > > > rpm -Uvh --force *.rpm
> > > > 
> > > > --force replaces files and packages, but you must not be running kde at the 
> > > > time of install.
> > > > 
> > > > Then you need to restart the box with the halt command- if you just go 
> > > > directly back to init 5 after the packages install, you might have trouble- I 
> > > > did. Kmail shows up with all your email, but you'll need to re-enter your 
> > > > info and accounts. In the kdeold folder you saved, there is a bookmark.xml 
> > > > file in /share/apps/konqueror- just replace the new one in the same location 
> > > > in /home/user/.kde, and your bookmarks are back. You might need to resetup 
> > > > the kppp info.
> > > > 
> > > > Robert Crawford
> > > > 
> > > > 
> > > > 
> > > > ______________________________________________________________________
> > > > Want to buy your Pack or Services from MandrakeSoft? 
> > > > Go to http://www.mandrakestore.com
> > 
> > 
> > 
> > ______________________________________________________________________
> > Want to buy your Pack or Services from MandrakeSoft? 
> > Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...
http://www.monkeynoodle.org/resume.html


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to