* intrigeri <[email protected]> [2009-08-28 09:56-0400]: > Hi, > > Sjoerd Hardeman wrote (28 Aug 2009 12:37:24 GMT) : > > The sys handler uses dpkg --get-selections to get a list of > > installed packages. This method does not store whether packages are > > installed automatically, thus losing important information. > > Ok. > > > Instead, > > aptitude '~i!~M' should be used, only selecting not-automatically > > installed packages. > > 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? micah
signature.asc
Description: Digital signature

