[arch-dev-public] Versioned dependency fun...

Dan McGee dpmcgee at gmail.com
Mon Mar 1 22:49:15 EST 2010


On Mon, Mar 1, 2010 at 9:17 PM, Allan McRae <allan at archlinux.org> wrote:
> Hmmm...
>
>> pacman -U libjpeg-8a-1-i686.pkg.tar.xz
> loading package data...
> checking dependencies...
> error: failed to prepare transaction (could not satisfy dependencies)
> :: ghostscript: requires libjpeg>=8
> :: imlib2: requires libjpeg>=8
> :: jasper: requires libjpeg>=8
> :: libdjvu: requires libjpeg>=8
> ....
>
> To avoid this, I will be renumbering it to libjpeg-8.0.1 (which is the
> soname version).

This is for alpha, beta, etc. purposes. I think I broke this once thus
the reason I added the small vercmp test suite.

# from the manpage
runtest 1.0a     1.0alpha -1
runtest 1.0alpha 1.0b     -1
runtest 1.0b     1.0beta  -1
runtest 1.0beta  1.0rc    -1
runtest 1.0rc    1.0      -1

# going crazy? alpha-dotted versions
runtest 1.5.a    1.5     1
runtest 1.5.b    1.5.a   1
runtest 1.5.1    1.5.b   1

-Dan


More information about the arch-dev-public mailing list