Fran�ois Pons wrote: >Stefan van der Eijk <[EMAIL PROTECTED]> writes: > > > >>Fran�ois, >> >>I have a question about some urpmi behaviour. I'm not sure if it's meant to be. >> >>Take a look at this example: >> >># rpm -q --whatprovides automake >>automake1.6-1.6.1-2mdk >> >>"automake" is provided by automake1.6-1.6.1-2mdk. >> >>Now if I want to add some packages (say automake and qt2-devel) I get the >>following: >> >># urpmi -p --auto-select --auto automake >>installing /mirrors/cooker/i586/Mandrake/RPMS/automake-1.4-20.p5.mdk.noarch.rpm >>error: failed dependencies: >> automake < 1.6.1 conflicts with automake1.6-1.6.1-2mdk >>Installation failed >> >>Wouldn't it be the better behaviour of urpmi to skip the packages that are >>already provided on the system and get the others installed? >> >> > >It is not implemented currently, it only uses package name when searching >through the installed database (it uses package name or provides for urpmi db), >it should have checked conflicts and remove request to install automake-1.4. >urpmi will get some extensions to support such things in the future. > Thanks! For now I've made a workaround in my scripts that invokes urpmi against every package, instead calling urpmi once.
Please leave me a note when the feature above is implented. Thanks!! Stefan
