Hi Andrea,

You have to be careful doing anything other than a query. When a package is installed it will plant its contents in the location specified by --prefix (or the default built into the RPM). This location is retained in the database. The MV packages all go under /opt/<someplace>/... by default - just do an 'mvl-edition-rpm -qi' on a package (or mvl-edition-rpm -pqi on the rpm file itself), the prefix is displayed as part of the information. On the target the rpms can be installed correctly by specifying '--prefix /'.

As you have simply copied the 'complete' file system for your test, I think you will find you have removed the GTK files from the original installation area since the RPM database will have the original locations for the files.

Regards

Phil Q

Andrea Gasparini wrote:

Hi Phil,

Phil Quiney spiffera, giovedì 18 dicembre 2008 circa:
Not my day today - just posted this with the wrong reply to address so
the list doesn't know who I am.....try again.

a brief test:
$ mvl-edition-rpm` -e --dbpath /mnt/montavista/nfsroot_test/var/lib/rpm/ gtk2-dev

$ mvl-edition-rpm -q --all --dbpath /mnt/montavista/nfsroot_test/var/lib/rpm/ | grep gt
gtk2-2.6.1-5.0.1.0600975
gtk2-dev-2.6.1-5.0.1.0600975
gtk2-debuginfo-2.6.1-5.0.1.0600975
$ mvl-edition-rpm -e --dbpath /mnt/montavista/nfsroot_test/var/lib/rpm/ gtk2-dev $ mvl-edition-rpm -q --all --dbpath /mnt/montavista/nfsroot_test/var/lib/rpm/ | grep gt
gtk2-2.6.1-5.0.1.0600975
gtk2-debuginfo-2.6.1-5.0.1.0600975

But the files are still there:
$ ls /mnt/montavista/nfsroot_test/usr/include/gtk-2.0/
gdk/  gdk-pixbuf/  gdk-pixbuf-xlib/  gtk/

What does it miss??
Thanks.


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to