Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] Revert "opkg svn: respect to the arch priority"
Date: Tue, 2 Oct 2012 10:04:30 +0200	[thread overview]
Message-ID: <20121002080430.GF3454@jama.jama.net> (raw)
In-Reply-To: <1349097681.15753.100.camel@ted>

[-- Attachment #1: Type: text/plain, Size: 3874 bytes --]

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@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@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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2012-10-02  8:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28 21:04 [PATCH] Revert "opkg svn: respect to the arch priority" Koen Kooi
2012-09-28 21:27 ` Richard Purdie
2012-09-28 21:31   ` Koen Kooi
2012-09-29 13:34   ` Koen Kooi
2012-10-01 13:21     ` Richard Purdie
2012-10-02  8:04       ` Martin Jansa [this message]
2012-10-02 13:07         ` [PATCH] opkg: Convert select-higher-version option to prefer-arch-to-version Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121002080430.GF3454@jama.jama.net \
    --to=martin.jansa@gmail.com \
    --cc=koen@dominion.thruhere.net \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox