Re: FC6 equivalent to Windows System Restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 8 Dec 2006, Filip Tsachev wrote:

Hello,

On 07/12/06, Matthew Saltzman <mjs@xxxxxxxxxxxxxxx> wrote:

On Thu, 7 Dec 2006, David Timms wrote:

> - saving the complete packages installed list would be good if you end
up
> needing to reinstall from scratch
> { rpm -qa>packages.2006-12-whenever.txt }.

In a standard install, this information is saved by a cron job in
/var/log/rpmpkgs.  This file is updated nightly and rotated weekly, with
four generations of backup.


I was thinking if there's a quick way to use this file automatically when
doing re/install?

If all your RPM files follow the naming convention <rpm-name>-<version>.<arch>,rpm, then just put all the RPM files in a directory and write a script to read the rpmpkgs file a line at a time and
"rpm -ivh filename".  Run the script in that directory.

There are all sorts of ways to get the args in the file passed to the rpm command.

If not all RPM files follow the convention, you may have some fixing up to do by hand.


Cheers,
Filip


--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux