Micah Anderson wrote (28 Aug 2009 15:04:34 GMT) :
> * intrigeri <intrig...@boum.org> [2009-08-28 09:56-0400]:
>> I am rather in favor of "aptitude search '~i'" to get the best of both
>> worlds: the whole installed packages list *and* the knowledge wether
>> a given package has been automatically installed.

> Can either of these be fed back to bring a system's package state back
> to what it was originally? This is the purpose of --get-selections (with
> the corresponding --set-selections). 

> Also, what happens if a user doesn't use aptitude at all, and uses
> apt-get instead? Will there be any useful restore information using
> these aptitude methods?

The aptitude-create-state-bundle and aptitude-run-state-bundle
commands pair may be what we need: they are able to backup and restore
aptitude's, apt's and dpkg's states to/from a compressed archive.

The output file, though, can be quite huge: 142 MB on my laptop (weird
setup with three sets of Debian repositories / apt caches). I don't
think this is a problem, but still...

Any thoughts on this?

Bye,
-- 
  intrigeri <intrig...@boum.org>
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ 
https://gaffer.ptitcanardnoir.org/intrigeri/otr-fingerprint.asc
  | We're dreaming of something else.
  | Something more clandestine, something happier.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to