Re: [Fink-devel] dpkg-deb failed, exit code 10 or 11

2004-01-10 Thread Anthony DeRobertis
On Thu, 2004-01-08 at 02:40, Martin Costabel wrote:
 (in particular, you cannot reinstall dpkg when 
 dpkg is not working).

You most certainly can. .deb's are ar files. You can use ar x to
unpack:

[EMAIL PROTECTED]:tmp$ mkdir /tmp/foo
[EMAIL PROTECTED]:tmp$ cd /tmp/foo
[EMAIL PROTECTED]:foo$ ar x /var/cache/apt/archives/apt_0.6.9_i386.deb 
[EMAIL PROTECTED]:foo$ ls
control.tar.gz  data.tar.gz  debian-binary

At this point, you have tar files.

[EMAIL PROTECTED]:foo$ tar tzf data.tar.gz | head
./
./usr/
./usr/bin/
./usr/bin/apt-cache
./usr/bin/apt-cdrom
./usr/bin/apt-config
./usr/bin/apt-get
./usr/bin/apt-key
./usr/lib/
./usr/lib/apt/

So, you can certainly unpack that into / thereby replacing it. 

OTOH, if dpkg-deb is broken, then you should still have, e.g.,
debian/tmp/ or whatever fink builds into, and you can copy that into /


signature.asc
Description: This is a digitally signed message part


[Fink-devel] dpkg-deb failed, exit code 10 or 11

2004-01-08 Thread Martin Costabel
I am forwarding a message from today's fink-users list here, in the hope 
that someone with better memory or better insight knows the source of 
this problem.

This has been coming come up very regularly, I find about a dozen 
complaints like this in the past two months, and it should certainly be 
in the FAQ. It isn't, because nobody seems to know where it comes from 
and what to do about it (in particular, you cannot reinstall dpkg when 
dpkg is not working).

The people complaining about it seem to have proceeded to either 
reinstalling Fink from scratch or disappearing from the Fink scene 
completely.

Not a good situation.

Hello all,

I'm a new Fink user who attempted to pull down my first package this
morning and encountered the following error message (using Fink
Commander). I have been directed to this user group by the maintainer
of the package I attempted to pull down, who suggested that this was
a problem with the 0.18.0-1 package. I anyone able to shed any light
on this for me?
Thanks very much in advance. 
James

Finding prebound objects...
Writing dependencies...
Writing package script postinst...
dpkg-deb -b root-fink-0.18.0-1 /sw/fink/dists/unstable/main/binary-darwin-powerpc/base
### execution of dpkg-deb failed, exit code 11
Failed: can't create package fink_0.18.0-1_darwin-powerpc.deb
--
Martin




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] dpkg-deb failed, exit code 10 or 11

2004-01-08 Thread D. Höhn
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Martin Costabel wrote:

| I am forwarding a message from today's fink-users list here, in the hope
| that someone with better memory or better insight knows the source of
| this problem.
|
| This has been coming come up very regularly, I find about a dozen
| complaints like this in the past two months, and it should certainly be
| in the FAQ. It isn't, because nobody seems to know where it comes from
| and what to do about it (in particular, you cannot reinstall dpkg when
| dpkg is not working).
|
| The people complaining about it seem to have proceeded to either
| reinstalling Fink from scratch or disappearing from the Fink scene
| completely.
|
Since I do not know the fix, I will ask you this:
Xould you provide a Q/A pait ? I will check it into the FAQ as soon as I
have it and it has been verified here
| Not a good situation.
|
I agree
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE//QsEPMoaMn4kKR4RAwBLAJ96vk1IdXVTotE7xPuqdVj8u1RrAACgjHFU
4e53FilVXssB1DBtGTTCI+8=
=JRj5
-END PGP SIGNATURE-
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] dpkg-deb failed, exit code 10 or 11

2004-01-08 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin Costabel wrote:
| I am forwarding a message from today's fink-users list here, in the hope
| that someone with better memory or better insight knows the source of
| this problem.
|
| This has been coming come up very regularly, I find about a dozen
| complaints like this in the past two months, and it should certainly be
| in the FAQ. It isn't, because nobody seems to know where it comes from
| and what to do about it (in particular, you cannot reinstall dpkg when
| dpkg is not working).
|
| The people complaining about it seem to have proceeded to either
| reinstalling Fink from scratch or disappearing from the Fink scene
| completely.
|
| Not a good situation.
Martin,
I posted to the fink-users list a solution which I think works (the problem
appears to be a badly prebound libintl). Prebinding can be disabled by
setting DYLD_FORCE_FLAT_NAMESPACE, so I asked that users with the problem
reinstall the gettext package using sudo env DYLD_FORCE_FLAT_NAMESPACE=1
dpkg -i /path/to/gettext.deb. At the time nobody was able to verify that
this solved the issue.
An alternative solution is to run `update-package-prebinding -f` which
should redo every installed packages prebinding. I don't know if this solves
the problem either.
The dpkg in unstable in all trees is now built with the
- -force_flat_namespace flag to ld. I'll be moving that to stable and
bootstrap soon, so this problem should disappear after the next binary release.
If the user is still around, ask him to try update-package-prebinding -f
first (it seems like the easiest solution if it works). I hope that the user
is willing to experiment for us, we need to know if either of these answers
work before putting it in the FAQ.
Peter
- --
Peter O'Gorman - http://www.pogma.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQCVAwUBP/0OvriDAg3OZTLPAQJomwP+JbqYswIwkCM1shLWtZI42cp/EIsOcCaz
GEEXKnRg9cHQCBDpvP0gT5TAHQU6CLkzj5ACectWBYnjHwayXRBWF1UoSYnjfjM4
ofEJL4SbVWUuTPhH2f7k6AOnEkGUyoun+abCmSk0bbu0694++b/URBYyE3nR2DvB
BWC6GonV76k=
=vr0q
-END PGP SIGNATURE-
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] dpkg-deb failed, exit code 10 or 11

2004-01-08 Thread D. Höhn
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Martin Costabel wrote:

| D. Höhn wrote:
| []
|
| Xould you provide a Q/A pait ? I will check it into the FAQ as soon as I
| have it and it has been verified here
|
|
| As soon as someone has an idea what to put into the A part :-)
| I haven't.
|
Isn't this related to the old prebinding bug? Thus rebuilding gettext
should fix the whole issue. I know that this is fairly hard with a
broken dpkg, so I guess reinstalling is the correct answer until a
revivised installer is published.
- -d

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE//RHUPMoaMn4kKR4RAzzUAKCSRQNTDGHj+JV6SxOsZAaYTJm0HgCgmgPq
sNnDw7lsVmf5xZcUBToKvsU=
=WClu
-END PGP SIGNATURE-
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] dpkg-deb failed, exit code 10 or 11

2004-01-08 Thread Martin Costabel
D. Höhn wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Martin Costabel wrote:

| D. Höhn wrote:
| []
|
| Xould you provide a Q/A pait ? I will check it into the FAQ as soon as I
| have it and it has been verified here
|
|
| As soon as someone has an idea what to put into the A part :-)
| I haven't.
|
Isn't this related to the old prebinding bug? Thus rebuilding gettext
should fix the whole issue. I know that this is fairly hard with a
broken dpkg, so I guess reinstalling is the correct answer until a
revivised installer is published.
I find one instance in the archives where I had recommended to reinstall 
gettext, and the poster said it didn't help. We'll see if pogma's 
recommendation of running update-package-prebinding.pl -f helps.

--
Martin


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel