Fwd: [cvs] web/xml/faq faq.en.xml,1.107,1.108

Alexander Hansen <[email protected]> Thu, 07 Oct 2010 20:51:05 -0400
Newsgroups gmane.os.apple.fink.i18n
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- -------- Original Message --------
Subject: [cvs] web/xml/faq faq.en.xml,1.107,1.108
Date: Fri, 08 Oct 2010 00:42:02 +0000
From: Alexander Hansen <[email protected]>
Reply-To: [email protected]
To: [email protected]
Newsgroups: gmane.os.apple.fink.cvs
Followup-To: gmane.os.apple.fink.devel

Update of /cvsroot/fink/web/xml/faq
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv12730

Modified Files:
	faq.en.xml
Log Message:
Buildlock errors are now the most frequent triggerer of FAQ 6.3, so put the
simple remedy for them in the FAQ.

Index: faq.en.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.en.xml,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
- --- faq.en.xml	20 Jul 2010 22:30:59 -0000	1.107
+++ faq.en.xml	8 Oct 2010 00:42:00 -0000	1.108
@@ -1188,8 +1188,18 @@
         `/sw/var/lib/dpkg/status'"!</p>
       </question>
       <answer>
- -        <p>This means that somehow your dpkg database got corrupted,
usually
- -        from a crash or some other unrecoverable error. You can fix it by
+        <p>This means that somehow your dpkg database got damaged, usually
+        from a crash or some other unrecoverable error.  This most
often occurs with a buildlock, e.g:</p>
+	<codeblock>package `fink-buildlock-foo-1.2.3-4':  missing
version</codeblock>
+	<p>(of course, replace <filename>foo-1.2.3-4</filename> with the
package name you are seeing).</p>
+	<p>When this happens, you should edit
<filename>/sw/var/lib/dpkg/status</filename> as a superuser.
+	Then go near the line number which shows up in the error message.
+	You should see a <code>fink-buildlock-foo-1.2.3-4</code>
+        package whose <code>Status</code> field is marked</p>
+	<codeblock>install ok installed</codeblock>
+	<p>Change that to</p>
+	<codeblock>purge ok not-installed</codeblock>
+	<p>Under other circumstances, there may be garbage in the file.  You
can fix this situation by
         copying the previous version of the database, like so:</p>
         <codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
         <p>You may need to re-install the last couple of packages you


-
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyuavgACgkQB8UpO3rKjQ/rJgCgjVOl8O4yFnBck/q3Q157ZGyR
USIAoIK09php56ImDtTY3elwkm2NSgv/
=86GY
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb