Hmm... interesting. Thanks. I'll see if I can do that in olpc-update and send some patches to see if it can be integrated.<div><br></div><div>Best regards,</div><div>Tiago<br><div><div><br><div class="gmail_quote">On Mon, Mar 8, 2010 at 9:27 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Mon, Mar 08, 2010 at 06:24:39PM +0000, Tiago Marques wrote:<br>
> No easy way to know what has been installed then, I guess. [...]<br>
<div class="im">> Perhaps trying to diff the yum database somehow.<br>
<br>
</div>You might use rpm to list the database in the previous version<br>
tree, then use rpm to list the database in the current version tree,<br>
sort the outputs, and then compare.<br>
<br>
For instance on a test system the package abyssinica-fonts was manually<br>
removed after olpc-update to os111, yet the previous build rpm database<br>
is still available:<br>
<br>
# rpm -q abyssinica-fonts<br>
package abyssinica-fonts is not installed<br>
# readlink /versions/running<br>
pristine/fe25e45429bcc3714552316f97e0acad<br>
# find /versions/run -name Packages<br>
/versions/run/fe25e45429bcc3714552316f97e0acad/var/lib/rpm/Packages<br>
/versions/run/0ab47a1d38c3ce22e58a488f6850ac41/var/lib/rpm/Packages<br>
# rpm --root=/versions/pristine/0ab47a1d38c3ce22e58a488f6850ac41 -q abyssinica-fonts<br>
abyssinica-fonts-1.0-4.fc11.noarch<br>
<br>
So it is possible to generate a package list diff:<br>
<br>
# rpm --root=/versions/run/0ab47a1d38c3ce22e58a488f6850ac41 -qa | sort > /tmp/a<br>
# rpm -qa|sort > /tmp/b<br>
# diff /tmp/a /tmp/b<br>
11,13c11,13<br>
<div class="im">< NetworkManager-0.7.2.995-1.git20100202.fc11.i586<br>
</div><div class="im">< NetworkManager-glib-0.7.2.995-1.git20100202.fc11.i586<br>
</div><div class="im">< NetworkManager-gnome-0.7.2.995-1.git20100202.fc11.i586<br>
---<br>
</div><div class="im">> NetworkManager-0.7.2.995-2.git20100225.fc11.i586<br>
</div><div class="im">> NetworkManager-glib-0.7.2.995-2.git20100225.fc11.i586<br>
</div>> NetworkManager-gnome-0.7.2.995-2.git20100225.fc11.i586<br>
26d25<br>
< abyssinica-fonts-1.0-4.fc11.noarch<br>
<br>
[...]<br>
<br>
Based on this you might learn what you have just lost by using<br>
olpc-update.<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</div></div></blockquote></div><br></div></div></div>