From: Peter Urbanec <openembedded-devel@urbanec.net>
To: Paul Barker <paul@paulbarker.me.uk>
Cc: OE Core <openembedded-core@lists.openembedded.org>
Subject: Re: opkg refactoring
Date: Sun, 08 Feb 2015 01:10:40 +1100 [thread overview]
Message-ID: <54D61CE0.7090702@urbanec.net> (raw)
In-Reply-To: <20150207115559.GA7478@crash.betafive.co.uk>
On 07/02/15 22:55, Paul Barker wrote:
> I didn't realise people were following oe-core master on deployments of a few
> thousand systems! This is definitely a use-case for the stable branches.
The deployed systems are currently on:
opkg mips32el 1:0.2.2-r0
opkg-collateral mips32el 1.0-r2
opkg-config-base beyonwizt4 1.0-r3
I'm currently testing a beta based on oe-core master. The info I have shown in the previous post is the state after I tried to apply my current beta release.
> Are you just seeing opkg-collateral left behind or are you seeing some other
> upgrades "stuck"?
So far I have only noticed this with the opkg packages.
> "opkg status opkg" should show that opkg now replaces opkg-collateral. As it is
> it's only showing provides and conflicts. In commit e8879cd, RREPLACES is
> modified to include opkg-collateral but that doesn't seem to have been
> propagated to the opkg package on your devices. If we can fix this you should be
> able to 'opkg upgrade' again and have the replacement properly handled.
The package on the test system does not have the correct replaces entries.
> Could you check whether "Replaces" for opkg includes opkg-collateral in your
> "Packages" file? And could you also check whether RREPLACES in
> "meta/recipes-devtools/opkg/opkg_0.2.4.bb" includes opkg-collateral? That should
> narrow down where the error is introduced.
The .bb file is correct, but I think you may have figured out the problem in the next paragraph.
> I'm also surprised your opkg version is "1:0.2.4-r0". Are you using the PR
> Service to ensure that version numbers increase each time a package is rebuilt?
> If not, this could contribute to the issue you're seeing.
I had PRSERV_HOST = "localhost:0" in the configuration, but it looks like a colleague has commented out that entry at some stage for some unknown reason. He also added some code to delete the manifests for images. :-( - I need to talk to him!
Maybe it would be helpful to enhance the PRServer check logic and not only print a NOTE: with the details when PRServer is started, but when there is no PRServer configured, print a *WARNING:* line to let the user know that they might run into all sorts of issues without PRServer.
In summary, it looks like the problem boils down to a stale package due to lack of PR service. I'll test that soon - I just have to rebuild everything.
Thanks very much for your help.
Peter
next prev parent reply other threads:[~2015-02-07 14:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 22:15 [PATCH V2 0/7] opkg refactoring Paul Barker
2015-01-16 22:15 ` [PATCH V2 1/7] opkg-arch-config: Renamed from opkg-config-base Paul Barker
2015-01-16 22:15 ` [PATCH V2 2/7] opkg-collateral: Simplify source files Paul Barker
2015-01-16 22:15 ` [PATCH V2 3/7] opkg: Merge opkg.inc into recipe and tidy up Paul Barker
2015-01-16 22:15 ` [PATCH V2 4/7] opkg: Merge in opkg-collateral Paul Barker
2015-01-16 22:15 ` [PATCH V2 5/7] poky-feed-config-opkg: Remove Paul Barker
2015-01-16 22:15 ` [PATCH V2 6/7] opkg: Backport improvements to opkg-key Paul Barker
2015-01-16 22:15 ` [PATCH V2 7/7] opkg-keyrings: New recipe Paul Barker
2015-02-11 0:43 ` Richard Tollerton
2015-02-11 8:14 ` Paul Barker
2015-02-11 22:49 ` Richard Tollerton
2015-02-07 10:47 ` opkg refactoring Peter Urbanec
2015-02-07 11:55 ` Paul Barker
2015-02-07 14:10 ` Peter Urbanec [this message]
2015-02-08 16:14 ` Mike Looijmans
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=54D61CE0.7090702@urbanec.net \
--to=openembedded-devel@urbanec.net \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul@paulbarker.me.uk \
/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