On Jul 25, 2008, at 9:05 AM, François Giron wrote: > > Le 25 juil. 08 à 14:48, Alexander Hansen a écrit : > >> >> On Jul 25, 2008, at 7:45 AM, frj0 wrote: >> >>> Hi, >>> >>> I can't update neither reinstall gnumeric. I try to build it; then I >>> removed it with 'dpkg purge gnumeric', but it's the same: >>> >>> The following package will be installed or updated: >>> gnumeric >>> The following additional package will be installed: >>> gnumeric-shlibs >>> Do you want to continue? [Y/n] Y >>> Setting runtime build-lock... >>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock- >>> gnumeric-1.8.1-3 / >>> sw/src/fink >>> .build >>> dpkg-deb : construction du paquet ¬´ fink-buildlock- >>> gnumeric-1.8.1-3 >>> ¬ª dans ¬´ >>> /sw/src/fink.build/fink-buildlock- >>> gnumeric-1.8.1-3_2008.07.25-13.37.38_darwin-po >>> werpc.deb ¬ª. >>> Installing build-lock package... >>> /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock- >>> gnumeric-1.8.1-3_2008 >>> .07.25-13.37.38_darwin-powerpc.deb >>> S√©lection du paquet fink-buildlock-gnumeric-1.8.1-3 >>> pr√©c√©demment d√©s√©lectio >>> nn√©. >>> (Lecture de la base de donn√©es... 117136 fichiers et >>> r√©pertoires d√©j√† instal >>> l√©s.) >>> Pr√©paration du remplacement de fink-buildlock-gnumeric-1.8.1-3 >>> 2008.07.25-10.07 >>> .04 (en utilisant .../fink-buildlock- >>> gnumeric-1.8.1-3_2008.07.25-13.37.38_darwin >>> -powerpc.deb) ... >>> There is currently an active buildlock for the package >>> gnumeric (1.8.1-3) >>> meaning some other fink process is currently building it. >>> dpkg : avertissement - ancien script pre-removal a retourn√© un >>> code >>> d'erreur de >>> sortie 1 >>> dpkg - tentative d'ex√©cution du script du nouveau paquet √† >>> la >>> place ... >>> /sw/bin/dpkg : erreur de traitement de /sw/src/fink.build/fink- >>> buildlock-gnumeri >>> c-1.8.1-3_2008.07.25-13.37.38_darwin-powerpc.deb (--install) : >>> le sous-processus nouveau script pre-removal a retourn√© une >>> erreur de sortie d >>> '√©tat 1 >>> Des erreurs ont √©t√© rencontr√©es pendant >>> l'ex√©cution : >>> /sw/src/fink.build/fink-buildlock- >>> gnumeric-1.8.1-3_2008.07.25-13.37.38_darwin-p >>> owerpc.deb >>> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 >>> Can't set build lock for gnumeric (1.8.1-3) >>> >>> If any of the above dpkg error messages mention conflicting packages >>> or missing >>> dependencies -- for example, telling you that the package >>> fink-buildlock-gnumeric-1.8.1-3 conflicts with something else -- >>> fink >>> has >>> probably gotten confused by trying to build many packages at >>> once. Try >>> building just this current package gnumeric (i.e, "fink build >>> gnumeric"). 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. >>> >>> See http://wiki.finkproject.org/index.php/Fink:buildlocks for more >>> information. >>> >>> /sw/bin/dpkg-lockwait -r fink-buildlock-gnumeric-1.8.1-3 >/dev/null >>> /sw/bin/dpkg : erreur de traitement de fink-buildlock- >>> gnumeric-1.8.1-3 >>> (--remove >>> ) : >>> le sous-processus pre-removal script a retourn√© une erreur de >>> sortie d'√©tat 1 >>> Des erreurs ont √©t√© rencontr√©es pendant >>> l'ex√©cution : >>> fink-buildlock-gnumeric-1.8.1-3 >>> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 >>> Failed: buildlock failure >>> >>> >> >> That's the intent of the buildlock under normal circumstances--to >> keep you from building a package in multiple processes at the same >> time. This means you can't use dpkg to manage gnumeric right now. >> You don't happen to have two different sessions open that might be >> trying to build gnumeric? >> >> Did you check http://wiki.finkproject.org/index.php/Fink:buildlocks >> as the message said? >> >> If you don't actually have an active build of gnumeric going, then >> try removing the build lock package via >> >> fink remove fink-buildlock-gnumeric-1.8.1-3 > > I run 'fink cleanup all', 'fink remove fink-buildlock- > gnumeric-1.8.1-3', but the result is the same. > > Suppression de fink-buildlock-gnumeric-1.8.1-3 ... > There is currently an active buildlock for the package > gnumeric (1.8.1-3) > meaning some other fink process is currently building it. > /sw/bin/dpkg : erreur de traitement de fink-buildlock- > gnumeric-1.8.1-3 (--remove) : > le sous-processus pre-removal script a retourn√© une erreur de > sortie d'√©tat 1 > Des erreurs ont √©t√© rencontr√©es pendant l'ex√©cution : > fink-buildlock-gnumeric-1.8.1-3 > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 > ERROR: Can't remove package(s). If the above error message mentions > dependency > problems, you can try > fink remove --recursive fink-buildlock-gnumeric-1.8.1-3 > This will attempt to remove the package(s) specified as well as ALL > packages > that depend on it. > Failed: can't remove package fink-buildlock-gnumeric-1.8.1-3 > > % fink list -t fink-buildlock > Information about 7204 packages read in 5 seconds. > p fink-buildlock [virtual package] > *i* fink-buildlock-gnumeric-1.8.1-3 2008.07.25-10.07.04 > Package compile-time lockfile >
if you're sure that you don't have a window open that has a build of gnumeric in it (possibly suspended), then the best things I can think of trying are to use "ps ax" to see if you still have a process around that became disconnected and then to "kill" it if there is one; or just to reboot to make sure any such process is dead. This will probably require a bit of additional work to clean up, but let's start just by getting rid of the build lock. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
