LWN.net Logo

Distribution quotes of the week

If you're interested in working on it I can imagine a number of places to shove this data and I know what's necessary from the rpmdb/yum history/repos to do it.
-- Seth Vidal

How can 'opening a big .ppt I was just sent', be a corner case? That's the sort of thing 'normal people' do on a daily basis.

And if we have any pretence of Debian being useful outside the people on this list we really should have defaults which mean it 'just works' (if your disk isn't full already).

-- Wookey
(Log in to post comments)

Distribution quotes of the week

Posted Jun 1, 2012 6:25 UTC (Fri) by skvidal (subscriber, #3094) [Link]

amusing that I made the quote this week. I meant it sincerely. The person I was replying to suggested storing all the pkg info per-system so when you reinstalled you could get back to the set of pkgs you had before really quickly. I was telling him that you mostly need the list of pkgs and the list of repos on the system and you could figure everything else back from there to fetch down the right set of pkgs.

you just need a good place to save this data to make it easy for the admin/user to retrieve later when they reinstall/upgrade their system.

Distribution quotes of the week

Posted Jun 1, 2012 8:50 UTC (Fri) by nigelm (subscriber, #622) [Link]

Some people use etckeeper to maintain a log of changes to /etc.

On RH-like systems etckeeper fires a commit as part of a yum package operation (using a yum plugin).

It seems to me that as part of that you could dump the current list of packages - basically the output of 'yum list installed' - into a file within etc (so under etckeeper) which would give you what you were after (you already have the yum repo configuration in the etckeeper repo).

Nigel.

Distribution quotes of the week

Posted Jun 2, 2012 1:08 UTC (Sat) by bronson (subscriber, #4806) [Link]

In fact, I wrote exactly this, see 10update-packagelist:

http://git.kitenet.net/?p=etckeeper.git;a=tree;f=post-ins...

Joey wasn't a fan and pulled it back out. Owell, I still use it. :)

- Scott

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds