All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Opkg removing not-really-orphaned files during opkg upgrade
Date: Wed, 2 Jun 2010 13:15:48 +0200	[thread overview]
Message-ID: <20100602111548.GD16035@jama> (raw)

Hi,

few times I've run to strange issues with missing files after opkg
upgrade, now I have simple case there I can guess what happened. Please
comment if I'm doing something wrong or if it's known issue (but not
fixed because it's to hard without changing lot of opkg internals?).

/etc/pointercal.xinput is now installed by package pointercal-xinput and
not xinput-calibrator
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=fb641200b65b3d3c465332efb1febab7001eff47

The problem which needs your manual intervention is when you see:
Upgrading xinput-calibrator on root from 0.6.1-r1.4 to 0.6.1-r7.0.4...
Downloading
http://build.shr-project.org/tests/shr-unstable/ipk//armv4t/xinput-calibrator_0.6.1-r7.0.4_armv4t.ipk.
Installing pointercal-xinput (0.0-r0.4) to root...
Downloading
http://build.shr-project.org/tests/shr-unstable/ipk//om-gta02/pointercal-xinput_0.0-r0.4_om-gta02.ipk.
Not deleting modified conffile /etc/pointercal.xinput.
Configuring pointercal-xinput.
Configuring xinput-calibrator.
Collected errors:
 * file_md5sum_alloc: Failed to open file /etc/pointercal.xinput: No such file or directory.

Then opkg upgraded xinput-calibrator to version without
pointercal.xinput and in the same batch installed new pointercal-xinput
package providing the same file. And in the end removed
/etc/pointercal.xinput file because it was "orphaned" from
xinput-calibrator packages :/.

Best way to fix this is to call
opkg install -force-reinstall pointercal-xinput
after opkg upgrade.

opkg remove xinput-calibrator; opkg install xinput-calibrator; should
probably also "upgrade" xinput-calibrator properly.

Reagards,

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



             reply	other threads:[~2010-06-02 11:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02 11:15 Martin Jansa [this message]
2010-06-02 13:06 ` Opkg removing not-really-orphaned files during opkg upgrade Koen Kooi
2010-06-08  1:14 ` Graham Gower

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=20100602111548.GD16035@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.