<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Damaged /var/lib/dpkg/available</title>
	<atom:link href="http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/feed/" rel="self" type="application/rss+xml" />
	<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/</link>
	<description>K.Mandla's blog of Linux experiences</description>
	<lastBuildDate>Mon, 11 Feb 2013 18:19:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: modustollens</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-46614</link>
		<dc:creator><![CDATA[modustollens]]></dc:creator>
		<pubDate>Tue, 30 Nov 2010 19:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-46614</guid>
		<description><![CDATA[I had this problem.  Spent hours trying to fix it.

Then I thought - maybe I could overwrite the busted file with a new version; googled the file name.  Came up your post did here.  Took you advice (see below).  Fixed it right away.  Wish I had tried this 6 hours ago - i was getting so frustrated i was going to re-install the whole damn OS.

I think my wifi signal crashed during a package installation - maybe that was how the file got corrupted.

So:

THANKS!



so, proper course of action:
&gt; sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.oldBusted
&gt; sudo touch /var/lib/dpkg/available
&gt; sudo apt-get update (or something else, this isnt the important part)]]></description>
		<content:encoded><![CDATA[<p>I had this problem.  Spent hours trying to fix it.</p>
<p>Then I thought &#8211; maybe I could overwrite the busted file with a new version; googled the file name.  Came up your post did here.  Took you advice (see below).  Fixed it right away.  Wish I had tried this 6 hours ago &#8211; i was getting so frustrated i was going to re-install the whole damn OS.</p>
<p>I think my wifi signal crashed during a package installation &#8211; maybe that was how the file got corrupted.</p>
<p>So:</p>
<p>THANKS!</p>
<p>so, proper course of action:<br />
&gt; sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.oldBusted<br />
&gt; sudo touch /var/lib/dpkg/available<br />
&gt; sudo apt-get update (or something else, this isnt the important part)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damaged /var/lib/dpkg/available (via Motho ke motho ka botho) &#171; La Página de Horus</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-44624</link>
		<dc:creator><![CDATA[Damaged /var/lib/dpkg/available (via Motho ke motho ka botho) &#171; La Página de Horus]]></dc:creator>
		<pubDate>Wed, 04 Aug 2010 03:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-44624</guid>
		<description><![CDATA[[...] I seem to have somehow corrupted my /var/lib/dpkg/available file, and I don&#039;t see a way out of it. As a result I can&#039;t install or update anything, and it might have gotten the better of me. dpkg: parse error, in file `/var/lib/dpkg/available&#039; near line 1: EOF after field name `&#039; E: Sub-process /usr/bin/dpkg returned an error code (2) A package failed to install. Trying to recover: dpkg: parse error, in file `/var/lib/dpkg/available&#039; near line 1: &#8230; Read More [...]]]></description>
		<content:encoded><![CDATA[<p>[...] I seem to have somehow corrupted my /var/lib/dpkg/available file, and I don&#039;t see a way out of it. As a result I can&#039;t install or update anything, and it might have gotten the better of me. dpkg: parse error, in file `/var/lib/dpkg/available&#039; near line 1: EOF after field name `&#039; E: Sub-process /usr/bin/dpkg returned an error code (2) A package failed to install. Trying to recover: dpkg: parse error, in file `/var/lib/dpkg/available&#039; near line 1: &#8230; Read More [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fips</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-40598</link>
		<dc:creator><![CDATA[Fips]]></dc:creator>
		<pubDate>Sun, 11 Oct 2009 10:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-40598</guid>
		<description><![CDATA[Thanks for the tips! Had the problem of garbled files whilst running a persistent USB keypen install.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the tips! Had the problem of garbled files whilst running a persistent USB keypen install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fubuntu</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-39305</link>
		<dc:creator><![CDATA[Fubuntu]]></dc:creator>
		<pubDate>Thu, 07 May 2009 09:51:21 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-39305</guid>
		<description><![CDATA[That&#039;s dpkg dash dash clear-avail
The blog chews the double dash and converts to a longdash.

[code] dpkg --clear-avail
aptitude update [/code]]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s dpkg dash dash clear-avail<br />
The blog chews the double dash and converts to a longdash.</p>
<pre class="brush: plain; title: ; notranslate"> dpkg --clear-avail
aptitude update </pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fubuntu</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-39304</link>
		<dc:creator><![CDATA[Fubuntu]]></dc:creator>
		<pubDate>Thu, 07 May 2009 09:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-39304</guid>
		<description><![CDATA[Try the following:

dpkg --clear-avail
aptitude update

This will download a new copy of available packages, 
hopefully removing corruption in the process.]]></description>
		<content:encoded><![CDATA[<p>Try the following:</p>
<p>dpkg &#8211;clear-avail<br />
aptitude update</p>
<p>This will download a new copy of available packages,<br />
hopefully removing corruption in the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: netswitch</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-39184</link>
		<dc:creator><![CDATA[netswitch]]></dc:creator>
		<pubDate>Fri, 24 Apr 2009 14:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-39184</guid>
		<description><![CDATA[Tested just now and works just fine, thanks tesseracter for the summary.]]></description>
		<content:encoded><![CDATA[<p>Tested just now and works just fine, thanks tesseracter for the summary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tesseracter</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-38598</link>
		<dc:creator><![CDATA[tesseracter]]></dc:creator>
		<pubDate>Thu, 26 Feb 2009 18:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-38598</guid>
		<description><![CDATA[so, proper course of action:
&gt; sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.oldBusted
&gt; sudo touch /var/lib/dpkg/available
&gt; sudo apt-get update (or something else, this isnt the important part)]]></description>
		<content:encoded><![CDATA[<p>so, proper course of action:<br />
&gt; sudo mv /var/lib/dpkg/available /var/lib/dpkg/available.oldBusted<br />
&gt; sudo touch /var/lib/dpkg/available<br />
&gt; sudo apt-get update (or something else, this isnt the important part)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: felipe.lv</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-36493</link>
		<dc:creator><![CDATA[felipe.lv]]></dc:creator>
		<pubDate>Thu, 12 Jun 2008 00:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-36493</guid>
		<description><![CDATA[@eric: it&#039;s actually pretty different to create an empty file than deleting it]]></description>
		<content:encoded><![CDATA[<p>@eric: it&#8217;s actually pretty different to create an empty file than deleting it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eric soukenka</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-35653</link>
		<dc:creator><![CDATA[eric soukenka]]></dc:creator>
		<pubDate>Thu, 13 Mar 2008 14:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-35653</guid>
		<description><![CDATA[awesome i ended up google this saw the simple response &quot;just delete it&quot; worked great computer crashed when doing an update for me causig this.]]></description>
		<content:encoded><![CDATA[<p>awesome i ended up google this saw the simple response &#8220;just delete it&#8221; worked great computer crashed when doing an update for me causig this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sebrem</title>
		<link>http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-5706</link>
		<dc:creator><![CDATA[sebrem]]></dc:creator>
		<pubDate>Wed, 23 May 2007 10:12:27 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2007/04/01/damaged-varlibdpkgavailable/#comment-5706</guid>
		<description><![CDATA[Hi, just create an empty /var/lib/dpkg/available, it will be rebuilt, at least here (sid).]]></description>
		<content:encoded><![CDATA[<p>Hi, just create an empty /var/lib/dpkg/available, it will be rebuilt, at least here (sid).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
