[xubuntu-users] Is there a way to get a list of added packages so they can be re-installed after a clean installation (as opposed to upgrade)?

Marc Coevoet marcc at dommel.be
Thu May 8 20:42:18 UTC 2014


op 08-05-14 22:35, Peter Flynn schreef:
> On 05/08/2014 12:52 PM, Ralf Mardorf wrote:
>> Synaptic provides such an option somewhere in the menus. I'm booted
>> to Arch Linux now, so I can't take look at it. However, Synaptic is
>> a backend for apt, apt provides this too.
>>
>> Another way seems to be to use dpkg:
>> http://askubuntu.com/questions/17823/how-to-list-all-installed-packages
> Unfortunately neither of these does what is wanted.
> I've been bit^H^H^Hcomplaining about this for years.
>
> What is needed is a list of all *additional* packages installed *since*
> original installation (but *excluding* those which were installed as
> part of the original install). That is, all those packages (ideally with
> their dependencies) which you have explicitly requested, *not* the
> packages which formed part of the original install.
>
> I now keep a manual list in a file called packages, and force myself to
> add to it every time I install something extra. That doesn't include
> depdendencies, though. The file is backed up via my private svn repo, so
> on a new machine I just haul it off and pipe it into apt-get.
>
> ///Peter
>


A simple script could be run, that keeps the orig pkg in a txt, and 
diffs / compares /sort kinda thing ...

It is not that difficult, just read the man pages ... of some of these 
commands ..

Marc

-- 
The "Penguin" has arrived - and he's not going away - ever.
What's on Shortwave guide: choose an hour, go!
http://shortwave dot tk
700+ Radio Stations on SW http://swstations dot tk
300+ languages on SW http://radiolanguages dot tk





More information about the xubuntu-users mailing list