FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 01-29-2010, 10:53 PM
Tech Geek
Default Any way to create a new /var/lib/dpkg/status file for current Debian installation

So I have been using my current Debian instalaltion for almost a year now and over this time I have installed, purged and deinstalled a lot of packages. It seems that the status file maintains a list of all the packages and their current states that have been ever installed on the system since the fresh installation.

For example:
debian:/var/lib/dpkg# cat status | grep custom
Package: linux-image-2.6.28-custom-test1
Package: linux-image-2.6.28-custom-test2
Package: linux-image-2.6.29-custom-test1
Package: linux-image-2.6.29-custom-test2
The above packages are no longer installed on my system (since last*6 months) but the dpkg library (status file) stilll keeps track of them.
So my question is:
Is there any way by which I can regenerate a fresh "/var/lib/dpkg/status" file for all the packages that are currently installed on my systems? Nothing is wrong on my system as such but space is premium for me (even*1 MB matters) as I am using a compact flash of a relatively small size (approx. 512 MB). Another reason is that I am just curios to find out how to regenerate it if one has to.


Thread Tools

All times are GMT. The time now is 10:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org