Version imprimable du sujet

Cliquez ici pour voir ce sujet dans son format original

Forums MacBidouille _ Linux Sur Mac _ fink

Écrit par : zoz_mac 30 Oct 2005, 11:55

bonjour
pour bien nettoyer mon fink j'ai tout d'abord fais un :
fink cleanup
puis un fink selfupdate.
enfin pour terminer l'opération correctement, j'ai effectué un self update-all
Là est le problème, j'arrive sur des lignes du genre :

Information about 5077 packages read in 2 seconds.
The following 7 packages will be installed or updated:
libxml2 libxml2-bin libxml2-shlibs ruby ruby18 ruby18-dev ruby18-shlibs
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libxml2-2.6.22-1 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-libxml2-2.6.22-1' in `/sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.52.32_darwin-powerpc.deb'.
Setting build lock...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.52.32_darwin-powerpc.deb
(Reading database ... 19204 files and directories currently installed.)
Preparing to replace fink-buildlock-libxml2-2.6.22-1 2005.10.30-11.17.11 (using .../fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.52.32_darwin-powerpc.deb) ...

Error: fink thinks that the package it is about to build:
libxml2 (2.6.22-1)
is currently being built by another fink process. That build
process has a timestamp of:
2005.10.30-11.17.11
If this is not true (perhaps the previous build process crashed?),
just remove the fink package:
fink remove fink-buildlock-libxml2-2.6.22-1
Then retry whatever you did that led to the present error.

dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/sw/bin/dpkg: error processing /sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.52.32_darwin-powerpc.deb (--install):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.52.32_darwin-powerpc.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Can't set build lock for libxml2 (2.6.22-1)

If any of the above dpkg error messages mention conflicting packages or missing dependencies -- for example, telling you that
the package fink-buildlock-libxml2-2.6.22-1 conflicts with something else -- fink has probably gotten confused by trying to
build many packages at once. Try building just this current package libxml2 (i.e, "fink build libxml2"). When that has
completed successfully, you could retry whatever you did that led to the present error.

Regardless of the cause of the lock failure, don't worry: you have not wasted compiling time! Packages that had been
completely built before this error occurred will not have to be recompiled.
Failed: buildlock failure

J'ai donc ensuite fait un : fink build libxml2, mais l'erreur suivante se présente :

zozor:~ zozor$ fink build libxml2
Information about 5077 packages read in 2 seconds.
The following package will be built:
libxml2
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libxml2-2.6.22-1 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-libxml2-2.6.22-1' in `/sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.53.36_darwin-powerpc.deb'.
Setting build lock...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.53.36_darwin-powerpc.deb
(Reading database ... 19204 files and directories currently installed.)
Preparing to replace fink-buildlock-libxml2-2.6.22-1 2005.10.30-11.17.11 (using .../fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.53.36_darwin-powerpc.deb) ...

Error: fink thinks that the package it is about to build:
libxml2 (2.6.22-1)
is currently being built by another fink process. That build
process has a timestamp of:
2005.10.30-11.17.11
If this is not true (perhaps the previous build process crashed?),
just remove the fink package:
fink remove fink-buildlock-libxml2-2.6.22-1
Then retry whatever you did that led to the present error.

dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/sw/bin/dpkg: error processing /sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.53.36_darwin-powerpc.deb (--install):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.53.36_darwin-powerpc.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Can't set build lock for libxml2 (2.6.22-1)

If any of the above dpkg error messages mention conflicting packages or missing dependencies -- for example, telling you that
the package fink-buildlock-libxml2-2.6.22-1 conflicts with something else -- fink has probably gotten confused by trying to
build many packages at once. Try building just this current package libxml2 (i.e, "fink build libxml2"). When that has
completed successfully, you could retry whatever you did that led to the present error.

Regardless of the cause of the lock failure, don't worry: you have not wasted compiling time! Packages that had been
completely built before this error occurred will not have to be recompiled.
Failed: buildlock failure
zozor:~ zozor$ fink build libxml2
Information about 5077 packages read in 2 seconds.
The following package will be built:
libxml2
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libxml2-2.6.22-1 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-libxml2-2.6.22-1' in `/sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.54.14_darwin-powerpc.deb'.
Setting build lock...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.54.14_darwin-powerpc.deb
(Reading database ... 19204 files and directories currently installed.)
Preparing to replace fink-buildlock-libxml2-2.6.22-1 2005.10.30-11.17.11 (using .../fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.54.14_darwin-powerpc.deb) ...

Error: fink thinks that the package it is about to build:
libxml2 (2.6.22-1)
is currently being built by another fink process. That build
process has a timestamp of:
2005.10.30-11.17.11
If this is not true (perhaps the previous build process crashed?),
just remove the fink package:
fink remove fink-buildlock-libxml2-2.6.22-1
Then retry whatever you did that led to the present error.

dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/sw/bin/dpkg: error processing /sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.54.14_darwin-powerpc.deb (--install):
subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
/sw/src/fink.build/fink-buildlock-libxml2-2.6.22-1_2005.10.30-11.54.14_darwin-powerpc.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Can't set build lock for libxml2 (2.6.22-1)

If any of the above dpkg error messages mention conflicting packages or missing dependencies -- for example, telling you that
the package fink-buildlock-libxml2-2.6.22-1 conflicts with something else -- fink has probably gotten confused by trying to
build many packages at once. Try building just this current package libxml2 (i.e, "fink build libxml2"). When that has
completed successfully, you could retry whatever you did that led to the present error.

Regardless of the cause of the lock failure, don't worry: you have not wasted compiling time! Packages that had been
completely built before this error occurred will not have to be recompiled.
Failed: buildlock failure

Voilà, et depuis ce blocage, je ne peux pas mettre mon fink correctement à jour, je me demande si c'est un problème de pkg ou si mon fink est mal installé.
je rappel que mon fink a été configuré pour recevoir les "unstable package" ainsi que les "unstable crypto"

j'ai besoin de votre aide!!
en vous remerciant pour toutes réponses apportées!!

Écrit par : Achille 30 Oct 2005, 12:23

Dans les nombreux messages qu'affiche Fink se trouve la solution:

CODE
fink remove fink-buildlock-libxml2-2.6.22-1

Écrit par : zoz_mac 30 Oct 2005, 12:27

hum.... ça m'étonnais de devoir supprimer un package qu'il venait d'installer....
enfin pour le moment il à l'air de tourner correctement.

Merci pour l'information!! smile.gif

Écrit par : agm650 30 Oct 2005, 13:56

ca supprime pas le package, juste le " verrou " signifiant qu il etait en cours de compilation/installation

Propulsé par Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)