New XO-1.5 10.2.0 build 111

Tiago Marques tiagomnm at gmail.com
Tue Mar 9 11:27:09 EST 2010


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.

Best regards,
Tiago

On Mon, Mar 8, 2010 at 9:27 PM, James Cameron <quozl at laptop.org> wrote:

> On Mon, Mar 08, 2010 at 06:24:39PM +0000, Tiago Marques wrote:
> > No easy way to know what has been installed then, I guess.  [...]
> > Perhaps trying to diff the yum database somehow.
>
> You might use rpm to list the database in the previous version
> tree, then use rpm to list the database in the current version tree,
> sort the outputs, and then compare.
>
> For instance on a test system the package abyssinica-fonts was manually
> removed after olpc-update to os111, yet the previous build rpm database
> is still available:
>
> # rpm -q abyssinica-fonts
> package abyssinica-fonts is not installed
> # readlink /versions/running
> pristine/fe25e45429bcc3714552316f97e0acad
> # find /versions/run -name Packages
> /versions/run/fe25e45429bcc3714552316f97e0acad/var/lib/rpm/Packages
> /versions/run/0ab47a1d38c3ce22e58a488f6850ac41/var/lib/rpm/Packages
> # rpm --root=/versions/pristine/0ab47a1d38c3ce22e58a488f6850ac41 -q
> abyssinica-fonts
> abyssinica-fonts-1.0-4.fc11.noarch
>
> So it is possible to generate a package list diff:
>
> # rpm --root=/versions/run/0ab47a1d38c3ce22e58a488f6850ac41 -qa | sort >
> /tmp/a
> # rpm -qa|sort > /tmp/b
> # diff /tmp/a /tmp/b
> 11,13c11,13
> < NetworkManager-0.7.2.995-1.git20100202.fc11.i586
> < NetworkManager-glib-0.7.2.995-1.git20100202.fc11.i586
> < NetworkManager-gnome-0.7.2.995-1.git20100202.fc11.i586
> ---
> > NetworkManager-0.7.2.995-2.git20100225.fc11.i586
> > NetworkManager-glib-0.7.2.995-2.git20100225.fc11.i586
> > NetworkManager-gnome-0.7.2.995-2.git20100225.fc11.i586
> 26d25
> < abyssinica-fonts-1.0-4.fc11.noarch
>
> [...]
>
> Based on this you might learn what you have just lost by using
> olpc-update.
>
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20100309/e71264b8/attachment.html>


More information about the Devel mailing list