James Antill <james-yum@xxxxxxx> wrote: >Stefano Biagiotti <stefano.biagiotti@xxxxxxx> writes: > >> On a PC with Fedora 13 x86_64 I have several active repositories with >> different priorities. >> [fedora] >> priority=1 >> [updates] >> priority=1 >> ... >> [adobe-linux-i386] >> priority=20 >> >> When I do: >> # LANG=en_US.utf8 yum install libstdc++.so.6 >> Loaded plugins: presto, priorities, refresh-packagekit >[...] >> Yum wants to install AdobeReader_sve because it provides libstdc++.so.6 >> as reported here [1] too. >> >> Shouldn't the priorities yum plugin avoid to install AdobeReader_sve, >> and go with the classic libstdc++ package in the [fedora] or [updates] >> repository? >> > > Priorities only works on package names. So if the adobe >repo. provided "foo" and fedora provided "foo" then when yum picked >"foo" it'd get it from fedora, always. Ok, it's clear to me now, thank you. > The problem you have is that yum thinks "AdobeReader_sve" is a better >package than "libstdc++" and there's only one place to get that >package from. > > If you provide full debug info. "yum -d9 install libstdc++.so.6" we >can take a look at why it thinks it's better ... but I have an idea, >and I doubt we can "fix" it. # LANG=en_US.utf8 yum -d9 install libstdc++.so.6 Not loading "blacklist" plugin, as it is disabled Loading "dellsysidplugin" plugin Loading "dellsysidplugin2" plugin Loading "presto" plugin Loading "priorities" plugin Loading "refresh-packagekit" plugin Not loading "whiteout" plugin, as it is disabled Running "config" handler for "presto" plugin Running "config" handler for "priorities" plugin Running "postconfig" handler for "dellsysidplugin" plugin Running "postconfig" handler for "dellsysidplugin2" plugin Config time: 1.409 Running "init" handler for "dellsysidplugin" plugin Running "init" handler for "dellsysidplugin2" plugin Yum Version: 3.2.27 COMMAND: yum -d9 install libstdc++.so.6 Installroot: / Ext Commands: libstdc++.so.6 Setting up Package Sacks Running "exclude" handler for "priorities" plugin 0 packages excluded due to repository priority protections pkgsack time: 1.785 Reading Local RPMDB rpmdb time: 0.000 Setting up Install Process Checking for virtual provide or file-provide for libstdc++.so.6 Running compare_providers() for [<YumAvailablePackageSqlite : AdobeReader_ptb-8.1.7-1.i486 (0x30bb790)>, <YumAvailablePackageSqlite : AdobeReader_ita-8.1.7-1.i486 (0x30bb710)>, <YumAvailablePackageSqlite : AdobeReader_nor-8.1.7-1.i486 (0 x30bb310)>, <YumAvailablePackageSqlite : AdobeReader_suo-8.1.7-1.i486 (0x30bb210)>, <YumAvailablePackageSqlite : AdobeReader_nld-8.1.7-1.i486 (0x30bb290)>, <YumAvailablePackageSqlite : AdobeReader_cht-8.1.7-1.i486 (0x30bb890)>, <YumAvailablePackageSqlite : AdobeReader_esp-8.1.7-1.i486 (0x30bb950)>, <YumAvailablePackageSqlite : AdobeReader_dan-8.1.7-1.i486 (0x30bb9d0)>, <YumAvailablePackageSqlite : AdobeReader_chs-8.1.7-1.i486 (0x30bba50)>, <YumAvailablePackageSqlite : AdobeReader_kor-8.1.7-1.i486 (0x30bba90)>, <YumAvailablePackageSqlite : AdobeReader_sve-8.1.7-1.i486 (0x30bbad0)>, <YumAvailablePackageSqlite : libstdc++-4.4.2-7.fc12.i686 (0x45c5250)>, <YumAvailablePackageSqlite : libstdc++-4.4.3-4.fc12.i686 (0x78fcd50)>] Best Order: [(<YumAvailablePackageSqlite : AdobeReader_sve-8.1.7-1.i486 (0x30bbad0)>, -15), (<YumAvailablePackageSqlite : AdobeReader_suo-8.1.7-1.i486 (0x30bb210)>, -15), (<YumAvailablePackageSqlite : AdobeReader_ptb-8.1.7-1.i486 (0x30bb790)>, -15), (<YumAvailablePackageSqlite : AdobeReader_nor-8.1.7-1.i486 (0x30bb310)>, -15), (<YumAvailablePackageSqlite : AdobeReader_nld-8.1.7-1.i486 (0x30bb290)>, -15), (<YumAvailablePackageSqlite : AdobeReader_kor-8.1.7-1.i486 (0x30bba90)>, -15), (<YumAvailablePackageSqlite : AdobeReader_ita-8.1.7-1.i486 (0x30bb710)>, -15), (<YumAvailablePackageSqlite : AdobeReader_esp-8.1.7-1.i486 (0x30bb950)>, -15), (<YumAvailablePackageSqlite : AdobeReader_dan-8.1.7-1.i486 (0x30bb9d0)>, -15), (<YumAvailablePackageSqlite : AdobeReader_cht-8.1.7-1.i486 (0x30bb890)>, -15), (<YumAvailablePackageSqlite : AdobeReader_chs-8.1.7-1.i486 (0x30bba50)>, -15)] Building updates object up:Obs Init time: 0.287 ... [cut because the rest of the output is large] > If you can't just "install libstdc++" or Adobe don't fix their >packages, you could always start an RFE for filtering provides >(ie. So you could say "don't allow libstdc++* to be provided from the >adobe repo.) ... but I'm not sure how hard that'll be atm. I just didn't understand why the priority plugin didn't work as I would expect. I will manually install libstdc++ only. -- Stefano Biagiotti _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum