You are not logged in.

#1 2008-03-25 20:50:50

Shagbag
Member
Registered: 2006-10-25
Posts: 259

pacman error: failed to prepare transaction (could not [RESOLVED]

I'm getting the error:

root ~  #  pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra                    312.4K  326.5K/s 00:00:01 [##################################################################] 100%
 community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: octave-devel: requires gcc-fortran>=4.2.0

I think it has something to do with the fact that I compiled Octave from a PKGBUILD in the AUR as the version in extra is, like, majorly old.

Is there anyway I can 'mask' this error so that it doesn't stop pacman from syncing?

Last edited by Shagbag (2008-03-25 21:39:11)

Offline

#2 2008-03-25 21:21:24

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: pacman error: failed to prepare transaction (could not [RESOLVED]

octave-devel has been merged with octave3 :
http://aur.archlinux.org/packages.php?ID=14494
This has the correct dependency now.

gcc-fortran doesn't exist anymore, it has been merged in the gcc-4.2.3-1 package.

Hopefully, you still has the octave build directory. If that's the case, you can fix the dep in the PKGBUILD, bump the release and do makepkg -R.
That will simply repackage it, and not rebuild anything.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2008-03-25 21:38:35

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: pacman error: failed to prepare transaction (could not [RESOLVED]

Thx shining.  I did have the original build and did as you said.  It's updated and pacman -Syu now works!  Thx once again. cool

Offline

Board footer

Powered by FluxBB