Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: f21970 on May 23, 2007, 10:48:47 AM

Title: Silly question I know, but how do I......
Post by: f21970 on May 23, 2007, 10:48:47 AM
How do I see what contribs I've got installed. Need to migrate to new hardware and upgrade SME version on an install, but don't know how to see what contribs are installed so I can get new versions of them....what's the command folks?
Yes, I'm a LINUX numpty......
Title: Silly question I know, but how do I......
Post by: Daniel B. on May 23, 2007, 12:05:32 PM
If all the contribs are installed from rpms you can do on your old server
Code: [Select]

rpm -qa > list-rpms-old.txt

then install a fresh sme on the new server and update it with yum update. Now
[/code]
rpm -qa > list-rpms-new.txt
[/code]

then, copy list-rpms-old.txt on your new server and do a
Code: [Select]

diff list-rpms-old.txt list-rpms-new.txt


you should see the diferencies between the two
Title: Silly question I know, but how do I......
Post by: f21970 on May 23, 2007, 01:20:20 PM
That's great! Thanks!!
Title: Silly question I know, but how do I......
Post by: CharlieBrady on May 23, 2007, 07:52:23 PM
Quote from: "VIP-ire"
If all the contribs are installed from rpms you can do on your old server
Code: [Select]

rpm -qa > list-rpms-old.txt



"rpm -qa --last" is also a useful command to know - it will list the installed RPMs sorted by the date on which they were installed.