Still unable to use Smart with Mandriva

Steve Morris samorris at netspace.net.au
Wed Aug 17 14:50:30 PDT 2011


On 18/08/11 07:23, Anders F Björklund wrote:
> Steve Morris wrote:
>
>>>>> So it's foo-1.0-2mdv2010.0 versus foo-1.0-2-mdv2011.0
>>>>> This prevents everything expecting (E,V,R) from working.
>>>>>
>>>> Thanks Anders, I didn't notice or realise there was an extra - in the name.
>>> It gets worse, as it also added to all dependencies as well:
>>> foo = 1.0-2mdv2010.0 versus foo = 1.0-2:2011.0
>>>
>>> So *all* version comparisons need to be able to handle the
>>> Distepoch, and some/most confuse it with the regular Epoch.
>> They are using that convention for every package across the entire distribution. I'm not sure why, but it may have something to do with the fact that it looks like Mandriva may be moving away from urpmi/rpm to mpm/mdvpkg, based on conversations I'm seeing on cooker around trying to get that combination to function properly, and to do things like not auto remove orphans.
> No, it's an (optional) feature of rpm5 to allow Distepoch...
> There are rpm macros to turn it on and off, for comparisons:
>
> # ---- EVRD... dependency tuple comparison macros.
> %evr_tuple_match  ^(?:([^:-]+):)?([^:-]+)(?:-([^:-]+))?(?::([^:-]+))?$
> %evr_tuple_select 123_
> %evr_tuple_order  EVR
>
> And that's the way it's going to work in Smart, it'll show
> the Distepoch for versions but will ignore for dependencies.
>
> This was worked out with Unity Linux last year, that have
> been using Smart with their Mandriva-based RPM packaging...
>
> The only way it makes a difference, is if you have two rpms
> with the same Release number but different Distepoch mdvX.Y.
>
>
> The move away from urpmi/rpm (and rpmdrake?) to mpm/mdvpkg
> is the same as with PackageKit for the other distributions.
>
> No idea why they chose to do it over themselves, maybe it's
> something similar to not using repodata for the repositories ?
>
> --anders
Hi Anders,
     Ignoring the fact that the trunk version of smart still has its 
progress calculations wrong, does the messages from Main 64 bit onwards 
mean that smart has not downloaded the synthesis files?

Fetching information for 'Netspace 2011 Contrib 64 bit'...
-> 
http://mirror.netspace.net.au/pub/MandrivaLinux/official/2011/x86_64/media/contrib/release/media_info/MD5SUM 

MD5SUM                                                 
############################################################################ 
[ 95%]
-> 
http://mirror.netspace.net.au/pub/MandrivaLinux/official/2011/x86_64/media/contrib/release/media_info/synthesis.hdlist.cz 

synthesis.hdlist.cz                                    
############################################################################ 
[ 98%]
-> 
http://mirror.netspace.net.au/pub/MandrivaLinux/official/2011/x86_64/media/contrib/release/media_info/info.xml.lzma 

info.xml.lzma                                          
############################################################################ 
[100%]

Fetching information for 'Netspace 2011 Main 64 bit'...

Fetching information for 'Netspace 2011 Non-Free 32 bit'...

Fetching information for 'PLF Free'...

Updating cache...                                      
############################################################################ 
[100%]

Channels have 95 new packages.
Saving cache...

     Also the following messages from a urpmi update process may 
indicate how urpmi is working with Mandriva's distepoch processes.

To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Dist  DEpoch 
Arch
(medium "Netspace 2011 Main 64 bit")
  ldetect-lst                    0.1.292      1             mdv   2011.0 
x86_64
  lib64net-snmp25                5.6.1        9             mdv   2011.0 
x86_64
  lib64sane1                     1.0.22       3             mdv   2011.0 
x86_64
  net-snmp-mibs                  5.6.1        9             mdv   2011.0 
x86_64
  sane-backends                  1.0.22       3             mdv   2011.0 
x86_64
  sane-backends-doc              1.0.22       3             mdv   2011.0 
x86_64
  sane-backends-iscan            1.0.22       3             mdv   2011.0 
x86_64
  saned                          1.0.22       3             mdv   2011.0 
x86_64
(medium "Netspace 2011 Contrib 64 bit")
  fskbsetting                    0.3.2        2             mdv   2011.0 
x86_64
  lib64python3.2                 3.2.1        2             mdv   2011.0 
x86_64
  parcellite                     1.0.2rc3     1             mdv   2011.0 
x86_64
  widelands                      b16          1             mdv   2011.0 
x86_64
  widelands-basic-data           b16          1             mdv   2011.0 
x86_64
  widelands-i18n                 b16          1             mdv   2011.0 
x86_64
  widelands-maps                 b16          1             mdv   2011.0 
x86_64
  widelands-music                b16          1             mdv   2011.0 
x86_64
29MB of additional disk space will be used.
Proceed with the installation of the 16 packages? (Y/n)

regards,
Steve

>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samorris.vcf
Type: text/x-vcard
Size: 126 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20110818/d24d46d2/attachment-0003.vcf>


More information about the Smart mailing list