[Fink-devel] /sw/var/lib/dpkg/status damaged?

2003-10-01 Thread Pascal Bourguignon
Now it seems the /sw/var/lib/dpkg/status is damaged. How do I recover  
it?

dpkg -i  
/sw/fink/dists/stable/crypto/binary-darwin-powerpc/openssl097- 
dev_0.9.7b-1_darwin-powerpc.deb
dpkg: parse error, in file `/sw/var/lib/dpkg/status' near line 1807  
package `openssl097-dev':
 missing version
### execution of dpkg failed, exit code 2

--
__Pascal Bourguignon__
http://www.informatimago.com/


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] /sw/var/lib/dpkg/status damaged?

2003-10-01 Thread Alexander K. Hansen
This happens occasionally--I've never heard a good explanation for it,
though.

You may be able to fix this if /sw/var/lib/dpkg/status-old is available,
and not also damaged:

sudo cp /sw/var/lib/dpkg/status-old /sw/var/lib/dpkg/status



On Wed, 2003-10-01 at 11:42, Pascal Bourguignon wrote:
 Now it seems the /sw/var/lib/dpkg/status is damaged. How do I recover  
 it?
 
 dpkg -i  
 /sw/fink/dists/stable/crypto/binary-darwin-powerpc/openssl097- 
 dev_0.9.7b-1_darwin-powerpc.deb
 dpkg: parse error, in file `/sw/var/lib/dpkg/status' near line 1807  
 package `openssl097-dev':
   missing version
 ### execution of dpkg failed, exit code 2
 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] /sw/var/lib/dpkg/status damaged?

2003-10-01 Thread Jean-Francois MERTENS
On Wednesday, Oct 1, 2003, at 17:42 Europe/Brussels, Pascal Bourguignon  
wrote:

Now it seems the /sw/var/lib/dpkg/status is damaged. How do I recover  
it?

dpkg -i  
/sw/fink/dists/stable/crypto/binary-darwin-powerpc/openssl097- 
dev_0.9.7b-1_darwin-powerpc.deb
dpkg: parse error, in file `/sw/var/lib/dpkg/status' near line 1807  
package `openssl097-dev':
 missing version
### execution of dpkg failed, exit code 2
When this happens, status-old is in general not damaged, so the first  
fix to try is

a) diff status status-old to be sure for what other packages they  
differ, besides openssl097-dev
b) cp -p status status-svd (to be sure) ; cp -p status-old status
c) use iteratively (at least once each, since the corresponding  
file-lists are often also corrupted in
that case) fink reinstall and fink purge on each of the suspicious  
packages to bring them to their
desired state.

d) If in the above you discover that status-old was also damaged _  
there is only one remedy :
to edit it...

JF Mertens



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel