[pacman-dev] dependency handling bug?

Roman Kyrylych roman.kyrylych at gmail.com
Sun Feb 18 06:54:12 EST 2007


2007/2/18, Roman Kyrylych <roman.kyrylych at gmail.com>:
> [root at home etc]# pacman3 -Syu
> :: Synchronizing package databases...
>  romashka is up to date
>  testing                    9,5K    0,7K/s 00:00:13 [#####################] 100%
>  current                   72,5K   37,1K/s 00:00:02 [#####################] 100%
>  extra                    276,7K   17,9K/s 00:00:15 [#####################] 100%
>  community                169,2K   31,7K/s 00:00:05 [#####################] 100%
>  unstable is up to date
> :: Starting full system upgrade...
> warning: esekeyd: local (1.2.3-3) is newer than community (1.2.3-2)
> resolving dependencies... done.
> error: failed to prepare transaction (could not satisfy dependencies)
> :: mpd requires flac=1.1.2
>
> [root at home etc]# pacman -Su
> :: esekeyd: local (1.2.3-3) appears to be newer than repo (community/1.2.3-2)
> :: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'
>
> Targets: libmpcdec-1.2.5-1 audacious-plugins-1.2.5-3 iptables-1.3.7-2
>          kernel26-2.6.20-4 mpd-0.12.1-2
>
> Total Package Size:   20.8 MB
>
> Proceed with upgrade? [Y/n] n
> [root at home etc]# pacman3 -Q flac
> flac 1.1.2-3
> [root at home etc]# pacman3 -Q pacman-rc
> pacman-rc 2007.02.16-1
> [root at home etc]#
>

Yep, this is definetely a bug:

[root at home ~]# pacman3 -U
http://www.archlinux.org/~aaron/pacman/pacman-rc-2007.02.16-1-i686.pkg.tar.gz
 pacman-rc               1195,3K   23,2K/s 00:00:52 [#####################] 100%
loading package data... done.
checking dependencies... done.
cleaning up... done.
(1/1) checking for file conflicts                   [#####################] 100%
(1/1) upgrading pacman-rc                           [#####################] 100%
[root at home ~]# pacman3 -Syu
:: Synchronizing package databases...
 romashka is up to date
 testing is up to date
 current is up to date
 extra                    276,7K   29,3K/s 00:00:09 [#####################] 100%
 community is up to date
 unstable is up to date
:: Starting full system upgrade...
warning: esekeyd: local (1.2.3-3) is newer than community (1.2.3-2)
resolving dependencies... done.
error: failed to prepare transaction (could not satisfy dependencies)
:: mpd requires flac=1.1.2

[root at home ~]# pacman3 -Qi mpd | grep Depends -A2
Depends On     : libid3tag  libmad  libvorbis  flac=1.1.2  libao  zlib  libogg
                 audiofile  faad2  libmikmod  bash  alsa-lib  libshout
                 libmpcdec

I think something was broken during version comparison fixes.

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list