You are not logged in.
i took a package 'pikachu 1.0.1-2' from extra
i rewrote the .PKGINFO inside so that the new package is
name = ashs-pikachu
ver = 1.0.1-2
conflict = pikachu
provides = pikachu=1.0.1
i installed this package on my system
now i try to install 'raichu-2.0' from extra
raichu depends on 'pikachu' (no version specified)
when i pacman -S raichu it wants to install pikachu from extra and completely ignores that i allready have ashs-pikachu
how do i make it understand tht it can work with my customized package ?
Last edited by ash (2009-04-29 19:17:47)
Offline
You need a conflicts= line too.
Also, I don't think provides= is meant to be used with package versions, but I might be wrong.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
the line is conflict= and not conflicts=. only this way the conflicts are shown in pacman -Qip. its also the way i saw it in another arch package (qt-4.X i think)
i saw the provides= used with version in another arch package (qt-4.X)
i tried to add replaces= without version and it still does not work
Offline
Check the db entry in /var/lib/pacman/local to make sure it's been entered as you intended.
Also.. what exactly are you trying to achieve?
Offline
If you run pacman -Qii ashs-pikachu does it show the proper provides?
If you've got everything set up properly, this may be a pacman bug unless I'm missing something.
Offline
which package is it? and can you paste -Qi output?
Offline
pacman -Qii ashs-pikachu
Name : ashs-pikachu
Version : 1.0.1-2
. .
. .
Provides : pikachu=1.0.1
. .
. .
Conflicts With : pikachu
Replaces : pikachu
. .
. .
Offline
Try
provides=('pikachu=1.0.1')
conflicts=('pikachu')I've seen version numbers in provides lines and have used them myself when creating PKGBUILDs (including in pacpan).
*edit*
Post the database files themselves (/var/lib/pacman/local/ashs-pikachu-1.0.1-2/*).
Last edited by Xyne (2009-04-29 18:18:46)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
issue solved
raichu also did depend on some other packages. one of them wanted explicitly the original pikachu
if i try to install mudkip (that depends on pikachu only) pacman uses ashs-pikachu
Offline