You are not logged in.

#1 2009-10-21 12:20:43

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

[solved] subversion and apr-util-iodbc from aur

Hi,
apr-util-iodbc from AUR http://aur.archlinux.org/packages.php?ID=27040
provides apr-util but subversion still says it needs apr-util. It seems ignoring provides directive.

jithine ~  $  yaourt -Qi subversion                                                                                                                     
Name           : subversion                                                                                                                                  
Version        : 1.6.5-5                                                                                                                                     
URL            : http://subversion.tigris.org/                                                                                                               
Licenses       : apache  bsd
Groups         : None
Provides       : svn
Depends On     : neon>=0.28.2-2  apr-util>=1.3.2-2
Optional Deps  : gnome-keyring
                 kdeutils-kwallet
Required By    : kdemod-kdesdk-common
Conflicts With : None
Replaces       : None
Installed Size : 24164.00 K
Packager       : Allan McRae <allan@archlinux.org>
Architecture   : i686
Build Date     : Sat 26 Sep 2009 09:34:53 AM IST
Install Date   : Sun 18 Oct 2009 09:45:43 PM IST
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : Replacement for CVS, another versioning system (svn)

jithine ~  $  yaourt -Qi apr-util-iodbc
Name           : apr-util-iodbc
Version        : 1.3.9-1
URL            : http://apr.apache.org/
Licenses       : APACHE
Groups         : None
Provides       : apr-util
Depends On     : apr  gdbm  expat  db  libldap  iodbc
Optional Deps  : None
Required By    : None
Conflicts With : None
Replaces       : apr-util
Installed Size : 756.00 K
Packager       : Unknown Packager
Architecture   : i686
Build Date     : Wed 21 Oct 2009 05:42:10 PM IST
Install Date   : Wed 21 Oct 2009 05:42:47 PM IST
Install Reason : Explicitly installed
Install Script : No
Description    : The Apache Portable Runtime using iodbc and with KDEmod support

This is what I get when I try to re install subversion

jithine ~  $ sudo yaourt -S subversion
Password:
warning: subversion-1.6.5-5 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
:: unixodbc conflicts with iodbc. Remove iodbc? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: unixodbc: conflicts with iodbc
missing dependency for subversion : apr-util>=1.3.2-2

Last edited by jithin1987 (2009-10-21 12:59:13)


Thanks
Jithin

Offline

#2 2009-10-21 12:37:51

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: [solved] subversion and apr-util-iodbc from aur

If I edit the package name and give apr-util then it will work as expected.
The PKGBUID has this entry provides=('apr-util'). the installed package also says so. But pacman seems to  ignore provides apr-util directive.


Thanks
Jithin

Offline

#3 2009-10-21 12:41:33

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [solved] subversion and apr-util-iodbc from aur

apr-util-iodbc should have a versioned "provides" in its PKGBUILD, as stated in the comments on AUR. It also needs "conflicts=('apr-util'), instead of "replaces"; no AUR PKGBUILD should ever use "replaces" anyway.

Last edited by byte (2009-10-21 12:44:14)


1000

Offline

#4 2009-10-21 12:55:56

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: [solved] subversion and apr-util-iodbc from aur

Thanks. I figured it out the provides did not have version number in the PKGBUILD. Once I added that subversion is no longer complaining. I will ask the package maintainer to not use replaces.


Thanks
Jithin

Offline

Board footer

Powered by FluxBB