From: Peter Urbanec <openembedded-devel@urbanec.net>
To: Paul Barker <paul@paulbarker.me.uk>,
OE Core <openembedded-core@lists.openembedded.org>
Subject: Re: opkg refactoring
Date: Sat, 07 Feb 2015 21:47:32 +1100 [thread overview]
Message-ID: <54D5ED44.90002@urbanec.net> (raw)
In-Reply-To: <1421446529-24888-1-git-send-email-paul@paulbarker.me.uk>
On 17/01/15 09:15, Paul Barker wrote:
> All these changes work locally in qemuarm and the on-target upgrade path is
> mostly clean. opkg-collateral does get left behind on the target filesystem
> after an upgrade but it's effectively an empty package. I don't think this
> poses any problems.
>
> V2 changes:
> - Add RCONFLICTS and RPROVIDES where RREPLACES is specified
>
> - opkg-collateral is no longer left behind on the target filesystem after an
> upgrade.
I'm running into problems on a few thousand deployed systems where opkg upgrades are "stuck".
I see this:
root@beyonwizt4:~# opkg list-upgradable
opkg-collateral - 1.0-r2 - 1:0.2.4-r0
root@beyonwizt4:~# opkg upgrade
Multiple replacers for opkg-config-base, using first one (opkg-arch-config).
Multiple replacers for opkg-config-base, using first one (opkg-arch-config).
Package opkg is already installed on root.
root@beyonwizt4:~# opkg status opkg-config-base
root@beyonwizt4:~# opkg status opkg-arch-config
Package: opkg-arch-config
Version: 1.0-r1
Provides: opkg-config-base
Replaces: opkg-config-base
Conflicts: opkg-config-base
Status: install ok installed
Architecture: beyonwizt4
Conffiles:
/etc/opkg/arch.conf 913f790674d06e2bd0c2a45971fe7002
Installed-Time: 1423281805
root@beyonwizt4:~# opkg status opkg
Package: opkg
Version: 1:0.2.4-r0
Depends: opkg-config-base, update-alternatives-opkg, libopkg1 (>= 0.2.4), run-postinsts, libc6 (>= 2.20)
Provides: opkg-collateral
Replaces: opkg-nogpg
Conflicts: opkg-collateral
Status: install user installed
Architecture: mips32el
Installed-Time: 1422327765
Unfortunately the user visible interface to opkg is limited to an option that will run "opkg update ; opkg upgrade".
I know I can clean up manually by running "opkg remove opkg-collateral". Any ideas on how to get this cleaned up automatically?
Thanks,
Peter
next prev parent reply other threads:[~2015-02-07 11:00 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 ` Peter Urbanec [this message]
2015-02-07 11:55 ` opkg refactoring Paul Barker
2015-02-07 14:10 ` Peter Urbanec
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=54D5ED44.90002@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