I was creating a package for wxJSON, and got strange errors. I tracked 
it down to a backslash character in a doc filename. That is obviously 
not a good idea, but it is a valid file name. The easy solution is to 
avoid "ugly" file names, but it would be nice to get an error message 
when building the package file.

Here is the output from the install phase:

Unpacking wxjson (from .../wxjson_1.2.1-1_darwin-i386.deb) ...
### execution of /sw/bin/dpkg-lockwait failed, exit code 6
Updating the list of locally available binary packages.
/sw/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe)
Scanning dists/local/main/binary-darwin-i386
New package: 
dists/local/main/binary-darwin-i386/DEBIAN/wxjson-shlibs_1.2.1-1_darwin-i386.deb
New package: 
dists/local/main/binary-darwin-i386/DEBIAN/wxjson_1.2.1-1_darwin-i386.deb
...
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to 
correct the problem.
### execution of /sw/bin/apt-get-lockwait failed, exit code 100
WARNING: Failure while updating indexes.
Failed: can't batch-install packages: 
/sw/fink/dists/local/main/binary-darwin-i386/DEBIAN/wxjson_1.2.1-1_darwin-i386.deb
 
/sw/fink/dists/local/main/binary-darwin-i386/DEBIAN/wxjson-shlibs_1.2.1-1_darwin-i386.deb


The package ends up halfway installed, and running 'dpkg --configure -a' 
doesn't help. Running ' sudo dpkg --remove wxjson' gives the following, 
and requires a --force flag to succeed:

/sw/bin/dpkg: error processing wxjson (--remove):
  Package is in a very bad inconsistent state - you should
  reinstall it before attempting a removal.
Errors were encountered while processing:
  wxjson

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to