On Sat, Sep 03, 2005 at 12:29:00PM +0200, Stephan Tesch wrote: > Hi everyone, > > I'm trying to update my 3.7-CURRENT/i386 installation to 3.8-BETA/amd64. > > pkg_add -u / -r worked quite fine so far, the only issue I'm facing right now > is the upgrade of xmms. > > Currently I've got the following xmms modules installed: > > xmms-1.2.10p3 > xmms-mp3-1.2.10p3 > > If I try to upgrade to xmms-1.2.10p4 I get the following problem: > > # pkg_add -r xmms-1.2.10p4 > Can't update forward dependency of xmms-mp3-1.2.10p3 on xmms-1.2.10p3: > xmms-1.2.10p4 doesn't match > Can't update xmms-1.2.10p3 into xmms-1.2.10p4 > /usr/sbin/pkg_add: xmms-1.2.10p4:Fatal error > > Both packages exist on the ftp server, so that can't be the problem. > > Is this a problem with the package or is it a pkg_add thingy?
Read the documentation. You can force the dependency with -F updatedepends. What pkg_add is telling you there is that xmms-mp3-1.2.10p3 has a fixed dependency on a given version of xmms, namely xmms-1.2.10p3, and that xmms-1.2.10p4 is not the correct dependency. In the case at hand, it's probably harmless, so forcing the dependency will work, but pkg_add has not actual way to decide, and it's playing it safe.
