Update -- some more info below.
--Sarah
On 4/25/06, Sarah Stockwell <[EMAIL PROTECTED]> wrote:
Hello all,
This is on a machine running OS X 10.4. The fink installation is in
a nonstandard directory due to some constraints of the (shared)
system: /Users/myusername/sw.
I need to install various unstable packages, so after my successful
install of fink, I added the unstable trees to my fink.conf and ran
fink selfupdate to get the new package list. Of course, that also
updates fink to the unstable version of itself and its dependencies
-- not ideal for my purposes, but I don't see how to update the
package list to include unstable things other than with selfupdate,
which updates fink as well. (The FAQ CVS solution would require me
to move around the relevant files for all of the many unstable
packages and dependencies I need, correct? I'd rather avoid that if
possible). The fink update wanted to update a few dependencies,
including gettext, where it failed. I've tried the following:
--running fink selfupdate again
--fink fetch gettext (worked fine), fink rebuild gettext (worked
fine), fink install gettext (fails -- error message below).
Any ideas would be very welcome. Error message notwithstanding, I
don't think it's a problem with dpkg-lockwait; it complains about
that script because the exec within the script (of dpkg -i etc.)
failed, so the script died.
$ fink install gettext
Information about 5710 packages read in 3 seconds.
The following package will be installed or updated:
gettext
/Users/srs56/sw/bin/dpkg-lockwait -i
/Users/srs56/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/gettext_0.10.40-24_darwin-powerpc.deb
(Reading database ... 4144 files and directories currently installed.)
Preparing to replace gettext 0.10.40-24 (using
.../gettext_0.10.40-24_darwin-powerpc.deb) ...
Unpacking replacement gettext ...
### execution of /Users/srs56/sw/bin/dpkg-lockwait failed, exit code 10
Failed: can't install package gettext-0.10.40-24
Thanks for your help,
--Sarah Stockwell
What verbosity level do you have Fink set for? Maybe there will be
more of a message if you crank that up to 3.
--
Alexander K. Hansen
Fink Documenter (for now)
That was at level 2. Unfortunately, changing it yields no more
info; even setting fink to verbosity level 4 gives me the same thing:
$ fink install gettext
Information about 5710 packages read in 1 seconds.
The package 'gettext' will be installed.
The following package will be installed or updated:
gettext
/Users/srs56/sw/bin/dpkg-lockwait -i
/Users/srs56/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/gettext_0.10.40-24_darwin-powerpc.deb
(Reading database ... 4144 files and directories currently installed.)
Preparing to replace gettext 0.10.40-24 (using
.../gettext_0.10.40-24_darwin-powerpc.deb) ...
Unpacking replacement gettext ...
### execution of /Users/srs56/sw/bin/dpkg-lockwait failed, exit code 10
Failed: can't install package gettext-0.10.40-24
I turned on debug mode in dpkg-lockwait and even added a couple of
comments to see where it got to before dying, and it gets to
"Execing dpkg with args: -i
/Users/srs56/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/gettext_0.10.40-24_darwin-powerpc.deb"
and then that execution fails partway through, as you see in the
error messages.
I hacked dpkg-lockwait to send the maximally verbose debug flag to
dpkg (-D3773) when it runs it. Here's the end of the output. It
seems to have trouble with ncurses:
D001000: process_archive checking disappearance gettext-tools
D000100: filesavespackage file `/.' package gettext-tools
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users' package gettext-tools
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56' package gettext-tools
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56/sw' package gettext-tools
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56/sw/bin' package gettext-tools
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56/sw/bin/gettextize'
package gettext-tools
D000100: filesavespackage ... also in gettext-tools
D000100: filesavespackage ... not taken -- save !
D001000: process_archive checking disappearance ncurses
D000100: filesavespackage file `/.' package ncurses
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users' package ncurses
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56' package ncurses
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56/sw' package ncurses
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56/sw/bin' package ncurses
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56/sw/bin/tic' package ncurses
D000100: filesavespackage ... also in ncurses
D000100: filesavespackage ... not taken -- save !
D000010: process_archive looking for overwriting
`/Users/srs56/sw/lib/libintl.1.0.1.dylib'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/share/doc/gettext/BUGS'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/share/doc/gettext/NEWS'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/share/doc/gettext/TODO'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/share/doc/gettext/AUTHORS'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/share/doc/gettext/COPYING'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/share/doc/gettext/README'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/share/doc/gettext/README.gemtext'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/share/doc/gettext/THANKS'
D000100: process_archive ... found in gettext
D000010: process_archive looking for overwriting
`/Users/srs56/sw/lib/libintl.1.dylib'
D000100: process_archive ... found in gettext
D000010: ensure_pathname_nonexisting `//..dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw/bin.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw/lib.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/lib/libintl.1.0.1.dylib.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw/share.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw/share/doc.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext/BUGS.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext/NEWS.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext/TODO.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext/AUTHORS.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext/COPYING.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext/README.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext/README.gemtext.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/share/doc/gettext/THANKS.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/lib/libintl.1.dylib.dpkg-tmp'
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var/lib/dpkg/tmp.ci'
D000010: ensure_pathname_nonexisting running rm -rf
### execution of /Users/srs56/sw/bin/dpkg-lockwait failed, exit code 10
Failed: can't install package gettext-0.10.40-24
I checked, and all the paths it checks have nothing there except
(unsurprisingly) the last one. /Users/srs56/sw/var/lib/dpkg/tmp.ci
has a file in it called "control", dated yesterday (perhaps around
the time I last built the gettext package). Should I delete it?
Here are the contents of the "control" file, if that's relevant:
Package: gettext
Source: gettext
Version: 0.10.40-24
Section: base
Installed-Size: 148
Architecture: darwin-powerpc
BuildDependsOnly: Undefined
Essential: yes
Depends: libiconv, libiconv-bin, base-files, darwin (>= 8-1)
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Description: Message localization support
The gettext package provides some of the i18n and l10n support used by
many GNU programs but missing from the Darwin C library.
.
Web site: http://www.gnu.org/software/gettext/
.
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
I moved the /Users/srs56/sw/var/lib/dpkg/tmp.ci directory to
somewhere out of the way, and ran
fetch rebuild gettext. When that finished, I checked to make sure
the directory was still gone; yes, it was. Then I did
fetch install gettext
Same result as before. Datestamps indicate that the directory was
created during the "fetch install", and the control file inside it
was created elsewhere during the build, and moved into this directory
during the install.
A hint: the build complained about the timestamps the first time it
touched that directory (see below). I can't think how that would
come about. Any ideas?
I included the other times that directory was mentioned in the build
output below too.
Thanks again,
--Sarah
$ fink rebuild gettext
Information about 5710 packages read in 4 seconds.
The package 'gettext' will be built without being installed.
The following package will be rebuilt:
gettext
dpkg-deb -b
/Users/srs56/sw/src/fink.build/root-fink-buildlock-gettext-0.10.40-24
/Users/srs56/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-gettext-0.10.40-24' in
`/Users/srs56/sw/src/fink.build/fink-buildlock-gettext-0.10.40-24_2006.04.26-15.23.06_darwin-powerpc.deb'.
Setting build lock...
/Users/srs56/sw/bin/dpkg-lockwait -i
/Users/srs56/sw/src/fink.build/fink-buildlock-gettext-0.10.40-24_2006.04.26-15.23.06_darwin-powerpc.deb
Execing dpkg with args: -D3773 -i
/Users/srs56/sw/src/fink.build/fink-buildlock-gettext-0.10.40-24_2006.04.26-15.23.06_darwin-powerpc.deb
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var/lib/dpkg/tmp.ci'
tar: ./control: time stamp 2006-04-26 15:23:31 is 21 s in the future
tar: ./prerm: time stamp 2006-04-26 15:23:31 is 21 s in the future
tar: .: time stamp 2006-04-26 15:23:31 is 21 s in the future
Selecting previously deselected package fink-buildlock-gettext-0.10.40-24.
(Reading database ... 4144 files and directories currently installed.)
Unpacking fink-buildlock-gettext-0.10.40-24 (from
.../fink-buildlock-gettext-0.10.40-24_2006.04.26-15.23.06_darwin-powerpc.deb)
...
D000001: process_archive oldversionstatus=not installed
D000002: maintainer_script_new nonexistent preinst
`/Users/srs56/sw/var/lib/dpkg/tmp.ci/preinst'
D000010: tarobject ti->Name=`.' Mode=755 owner=0.80 Type=53(d)
ti->LinkName=`' namenode=`/.' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/.' tmp=`/..dpkg-tmp' new=`/..dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_pathname_nonexisting `/..dpkg-new'
D000010: ensure_pathname_nonexisting `/..dpkg-tmp'
D000010: tarobject ti->Name=`./Users' Mode=755 owner=0.80 Type=53(d)
ti->LinkName=`' namenode=`/Users' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/Users' tmp=`/Users.dpkg-tmp'
new=`/Users.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_pathname_nonexisting `/Users.dpkg-new'
D000010: ensure_pathname_nonexisting `/Users.dpkg-tmp'
D000010: tarobject ti->Name=`./Users/srs56' Mode=755 owner=0.80
Type=53(d) ti->LinkName=`' namenode=`/Users/srs56' flags=2
instead=`<none>'
D000100: setupvnamevbs main=`/Users/srs56'
tmp=`/Users/srs56.dpkg-tmp' new=`/Users/srs56.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_pathname_nonexisting `/Users/srs56.dpkg-new'
D000010: ensure_pathname_nonexisting `/Users/srs56.dpkg-tmp'
D000010: tarobject ti->Name=`./Users/srs56/sw' Mode=755 owner=0.80
Type=53(d) ti->LinkName=`' namenode=`/Users/srs56/sw' flags=2
instead=`<none>'
D000100: setupvnamevbs main=`/Users/srs56/sw'
tmp=`/Users/srs56/sw.dpkg-tmp' new=`/Users/srs56/sw.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_pathname_nonexisting `/Users/srs56/sw.dpkg-new'
D000010: ensure_pathname_nonexisting `/Users/srs56/sw.dpkg-tmp'
D000010: tarobject ti->Name=`./Users/srs56/sw/var' Mode=755
owner=0.80 Type=53(d) ti->LinkName=`' namenode=`/Users/srs56/sw/var'
flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/Users/srs56/sw/var'
tmp=`/Users/srs56/sw/var.dpkg-tmp' new=`/Users/srs56/sw/var.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var.dpkg-new'
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var.dpkg-tmp'
D000010: tarobject ti->Name=`./Users/srs56/sw/var/run' Mode=755
owner=0.80 Type=53(d) ti->LinkName=`'
namenode=`/Users/srs56/sw/var/run' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/Users/srs56/sw/var/run'
tmp=`/Users/srs56/sw/var/run.dpkg-tmp'
new=`/Users/srs56/sw/var/run.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var/run.dpkg-new'
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var/run.dpkg-tmp'
D000010: tarobject ti->Name=`./Users/srs56/sw/var/run/fink' Mode=755
owner=0.80 Type=53(d) ti->LinkName=`'
namenode=`/Users/srs56/sw/var/run/fink' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/Users/srs56/sw/var/run/fink'
tmp=`/Users/srs56/sw/var/run/fink.dpkg-tmp'
new=`/Users/srs56/sw/var/run/fink.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var/run/fink.dpkg-new'
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var/run/fink.dpkg-tmp'
D000010: tarobject
ti->Name=`./Users/srs56/sw/var/run/fink/gettext-0.10.40-24.buildlock'
Mode=644 owner=0.80 Type=48(-) ti->LinkName=`'
namenode=`/Users/srs56/sw/var/run/fink/gettext-0.10.40-24.buildlock'
flags=2 instead=`<none>'
D000100: setupvnamevbs
main=`/Users/srs56/sw/var/run/fink/gettext-0.10.40-24.buildlock'
tmp=`/Users/srs56/sw/var/run/fink/gettext-0.10.40-24.buildlock.dpkg-tmp'
new=`/Users/srs56/sw/var/run/fink/gettext-0.10.40-24.buildlock.dpkg-new'
D000100: tarobject nonexistent
D000010: ensure_pathname_nonexisting
`/Users/srs56/sw/var/run/fink/gettext-0.10.40-24.buildlock.dpkg-new'
D000010: ensure_pathname_nonexisting
`/Users/srs56/sw/var/run/fink/gettext-0.10.40-24.buildlock.dpkg-tmp'
D000100: tarobject NormalFile[01] open size=0
D000100: tarobject new - no backup
D000100: tarobject done and installed
D000001: process_archive updating info directory
D001000: process_archive info file `.'
D001000: process_archive info file `..'
D001000: process_archive info file `libncurses5-shlibs.shlibs'
D001000: process_archive info file `apt-shlibs.shlibs'
D001000: process_archive info file `libncurses5.list'
<snip>
D001000: process_archive info file `ncurses-shlibs.shlibs'
D001000: process_archive info file `libiconv.postinst'
D000002: process_archive tmp.ci script/file `.' contains dot
D000002: process_archive tmp.ci script/file `..' contains dot
D000002: process_archive tmp.ci script/file
`/Users/srs56/sw/var/lib/dpkg/tmp.ci/control' is control
D000002: process_archive tmp.ci script/file
`/Users/srs56/sw/var/lib/dpkg/tmp.ci/prerm' installed as
`/Users/srs56/sw/var/lib/dpkg/info/fink-buildlock-gettext-0.10.40-24.prerm'
D001000: process_archive checking disappearance ncurses-shlibs
D000100: filesavespackage file `/.' package ncurses-shlibs
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users' package ncurses-shlibs
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56' package ncurses-shlibs
D000100: filesavespackage ... in new archive -- no save
D000100: filesavespackage file `/Users/srs56/sw' package ncurses-shlibs
<snip>
D000010: ensure_pathname_nonexisting `//Users/srs56.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw/var.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw/var/run.dpkg-tmp'
D000010: ensure_pathname_nonexisting `//Users/srs56/sw/var/run/fink.dpkg-tmp'
D000010: ensure_pathname_nonexisting
`//Users/srs56/sw/var/run/fink/gettext-0.10.40-24.buildlock.dpkg-tmp'
D000010: ensure_pathname_nonexisting `/Users/srs56/sw/var/lib/dpkg/tmp.ci'
D000010: ensure_pathname_nonexisting running rm -rf
D000010: ensure_pathname_nonexisting
`/Users/srs56/sw/var/lib/dpkg/reassemble.deb'
D000040: checking dependencies of fink-buildlock-gettext-0.10.40-24 (- <none>)
D000400: checking group ...
D000400: checking possibility -> libiconv
D000400: is installed, ok and found
D000400: found 3
D000400: found 3 matched 0
D000400: checking group ...
<snip>
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners