[OE-core] [PATCH] Revert "opkg svn: respect to the arch priority"

Martin Jansa martin.jansa at gmail.com
Tue Oct 2 08:04:30 UTC 2012


On Mon, Oct 01, 2012 at 02:21:21PM +0100, Richard Purdie wrote:
> On Sat, 2012-09-29 at 15:34 +0200, Koen Kooi wrote:
> > Op 28 sep. 2012, om 23:27 heeft Richard Purdie <richard.purdie at linuxfoundation.org> het volgende geschreven:
> > 
> > > On Fri, 2012-09-28 at 23:04 +0200, Koen Kooi wrote:
> > >> This completely breaks installing packages from feeds:
> > >> 
> > >> root at bone-mainline:~# opkg install libgtk-2.0
> > >> Installing libgtk-2.0 (2.24.8-r7.1) to root...
> > >> Downloading http://eu.feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/base/libgtk-2.0_2.24.8-r7.1_armv7a-vfp-neon.ipk.
> > >> Installing pango (1.30.0-r1.1) to root...
> > >> Downloading http://eu.feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/base/pango_1.30.0-r1.1_armv7a-vfp-neon.ipk.
> > >> Installing pango-module-basic-x (1.30.0-r1.1) to root...
> > >> Downloading http://eu.feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/base/pango-module-basic-x_1.30.0-r1.1_armv7a-vfp-neon.ipk.
> > >> Installing pango-module-basic-fc (1.30.0-r1.1) to root...
> > >> Downloading http://eu.feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/base/pango-module-basic-fc_1.30.0-r1.1_armv7a-vfp-neon.ipk.
> > >> Installing shared-mime-info (0.91-r4.9) to root...
> > >> Downloading http://eu.feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/base/shared-mime-info_0.91-r4.9_armv7a-vfp-neon.ipk.
> > >> Installing gdk-pixbuf-loader-png (2.24.1-r7.1) to root...
> > >> Downloading http://eu.feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/base/gdk-pixbuf-loader-png_2.24.1-r7.1_armv7a-vfp-neon.ipk.
> > >> Installing gdk-pixbuf-loader-jpeg (2.24.1-r7.1) to root...
> > >> Downloading http://eu.feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/base/gdk-pixbuf-loader-jpeg_2.24.1-r7.1_armv7a-vfp-neon.ipk.
> > >> Installing libjpeg8 (8d+1.2.1-r1.1) to root...
> > >> Configuring pango-module-basic-x.
> > >> Configuring pango.
> > >> Configuring pango-module-basic-fc.
> > >> Configuring shared-mime-info.
> > >> Configuring hicolor-icon-theme.
> > >> //var/lib/opkg/info/hicolor-icon-theme.postinst: line 11: gtk-update-icon-cache: command not found
> > >> Configuring gdk-pixbuf-loader-png.
> > >> Collected errors:
> > >> * opkg_download_pkg: Package libjpeg8 is not available from any configured src.
> > >> * opkg_install_pkg: Failed to download libjpeg8. Perhaps you need to run 'opkg update'?
> > >> * opkg_install_cmd: Cannot install package libgtk-2.0.
> > >> * pkg_run_script: package "hicolor-icon-theme" postinst script returned status 127.
> > >> * opkg_configure: hicolor-icon-theme.postinst returned 127.
> > > 
> > > I'm not entirely seeing the connection to this patch based on the above
> > > errors. 
> > > 
> > > Also did you try opkg with the new options? I'm not saying there isn't a
> > > problem but some help in figuring out how to resolve this would be good.
> > 
> > I'll see if the new option help next week, but even if they do, needing to use opkg install --unbreak-me is unacceptable.
> 
> What I'm wondering if whether we can change the default and make
> everyone happy. I'm waiting to hear back on the test to decide what to
> do here.

I can confirm that opkg upgrades and images are broken now.

e.g. tzdata is now allarch, since
http://git.openembedded.org/openembedded-core/commit/?id=23bf856215fa7c34a71d6086ee355f7c0672dbab

but opkg is installing old 2012d-r0 and trying to downgrade it on images
built with older opkg:
"Not downgrading package tzdata on root from 2012d-r2 to 2012d-r0."

It was in arch with higher prio (exactly the use-case I said in original discussion of this patch).

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121002/32fc694f/attachment-0002.sig>


More information about the Openembedded-core mailing list