* Opkg removing not-really-orphaned files during opkg upgrade
@ 2010-06-02 11:15 Martin Jansa
2010-06-02 13:06 ` Koen Kooi
2010-06-08 1:14 ` Graham Gower
0 siblings, 2 replies; 3+ messages in thread
From: Martin Jansa @ 2010-06-02 11:15 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Opkg removing not-really-orphaned files during opkg upgrade
2010-06-02 11:15 Opkg removing not-really-orphaned files during opkg upgrade Martin Jansa
@ 2010-06-02 13:06 ` Koen Kooi
2010-06-08 1:14 ` Graham Gower
1 sibling, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2010-06-02 13:06 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02-06-10 13:15, Martin Jansa wrote:
> 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?).
Could you respond to
http://groups.google.com/group/opkg-devel/browse_thread/thread/53e8215d02e303d/cda5a90d98cc6e31?lnk=gst&q=orphaned#cda5a90d98cc6e31
with your test case?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMBldfMkyGM64RGpERAnOpAJ98JjJ83NDtwVSW58CdiqDQshvLYwCgtc/6
cEGI7GVH84vbU8tL6X1XHbo=
=3QUi
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Opkg removing not-really-orphaned files during opkg upgrade
2010-06-02 11:15 Opkg removing not-really-orphaned files during opkg upgrade Martin Jansa
2010-06-02 13:06 ` Koen Kooi
@ 2010-06-08 1:14 ` Graham Gower
1 sibling, 0 replies; 3+ messages in thread
From: Graham Gower @ 2010-06-08 1:14 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-devel
On 2 June 2010 20:45, Martin Jansa <martin.jansa@gmail.com> wrote:
> 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
>
Hi Martin,
Sorry for the late reply... I didn't want to respond until I'd had
some time to analyse the problem.
I've added a bug report for this in opkg's issue tracker
http://code.google.com/p/opkg/issues/detail?id=50 and committed a fix
for the test case I came up with. Can you confirm that this fixes the
bug you are experiencing?
Thanks,
-Graham
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-08 1:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02 11:15 Opkg removing not-really-orphaned files during opkg upgrade Martin Jansa
2010-06-02 13:06 ` Koen Kooi
2010-06-08 1:14 ` Graham Gower
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox