Re: Yum RPM Update FC6 --> FC7

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

 



On Sat, 2007-08-04 at 20:31 +1000, Tony Crouch wrote:
> Hi All,
> I was wondering if someone might be able to help me with this easier (?)
> upgrade solution between FC6 and FC7.
> 
> I am wanting to do a fresh-install of FC7 on my notebook but don't really
> want to go to the hassle of having to remember all of the RPM and
> additional packages I have installed while using FC6.
> 
> I was thinking I could possibly do the following to write my rpm database
> to a file:
> 
> rpm -qa > rpm-database-file
> 
> Then, once having loaded FC7 I could possibly do the "cmp" or "diff"
> commands between the rpm-database-file-FC6 and rpm-database-file-FC7.
> 
> Then, having the differences of the two files (which correlates to the
> additional files installed while using FC6), is it possible to "import"
> this list into yum.
> 
> I was thinking (but am not really sure whether it is practically possible:
> 
> yum -y < rpm-differences-database-file
> 
> Was wondering if someone might either be able to shed some light on this
> for me or possible provide an alternate option they've been using?
> 

You would really just want to output the package names, not the whole version info so:

rpm -qa --qf "%{name}\n" > mypkglist

then diff that versus the same thing once you reinstall

then just install each of those pkgs.

-sv


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux