Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian dpkg (http://www.linux-archive.org/debian-dpkg/)
-   -   what is /var/lib/dpkg/available good for? (http://www.linux-archive.org/debian-dpkg/406352-what-var-lib-dpkg-available-good.html)

Harald Dunkel 07-30-2010 05:26 PM

what is /var/lib/dpkg/available good for?
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

Using a foreign repository my /var/lib/dpkg/available got corrupted.
The workaround was easy:

echo -n "" >/var/lib/dpkg/available

At the next upgrade time there was no visible slowdown, so I wonder
what is this file good for?


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxTC0sACgkQUTlbRTxpHjdjVACeKzKgjapNAl dxTa9iu9Hyhz3b
+zkAn1Zun3vPdAGKt6/0GcnqnAkY501Y
=rIau
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4C530B51.4000601@afaics.de">http://lists.debian.org/4C530B51.4000601@afaics.de

Raphael Hertzog 08-01-2010 06:51 AM

what is /var/lib/dpkg/available good for?
 
Hi,

On Fri, 30 Jul 2010, Harald Dunkel wrote:
> Using a foreign repository my /var/lib/dpkg/available got corrupted.
> The workaround was easy:
>
> echo -n "" >/var/lib/dpkg/available
>
> At the next upgrade time there was no visible slowdown, so I wonder
> what is this file good for?

It's mainly useful for dselect but dpkg still parses it although it
doesn't use it in any important way. There's a bug open about that
already.

Cheers,
--
Raphaël Hertzog ◈ Debian Developer ◈ [Flattr=20693]

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100801065125.GA27147@rivendell">http://lists.debian.org/20100801065125.GA27147@rivendell


All times are GMT. The time now is 01:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.