Stefan Agner
2016-04-20 22:17:38 UTC
Hi,
While using the Ångström distribution we see issues when upgrading some
packages. Specifically, libjpeg8 seems to get handled strange: opkg
tries to remove the old package twice! I looked at the package metadata,
it doesn't seem to have anything unusual:
Package: libjpeg8
Version: 8d+1.4.1-r0.6
Depends: libc6 (>= 2.22)
Provides: libjpeg-turbo, jpeg
Replaces: jpeg
Conflicts: jpeg
Section: base
Architecture: armv7at2hf-vfp-neon
Maintainer: Angstrom Developers <angstrom-distro-***@linuxtogo.org>
MD5Sum: a7b348f7dd4a347d0f636ff9ada3a0ed
Size: 195454
Filename: libjpeg8_8d+1.4.1-r0.6_armv7at2hf-vfp-neon.ipk
Description: libjpeg-turbo version 8d+1.4.1-r0 libjpeg-turbo is a
derivative of
libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate
baseline JPEG compression and decompression
OE: libjpeg-turbo
HomePage: http://libjpeg-turbo.org/
License: BSD-3-Clause
Priority: optional
However, when this package gets upgraded, opkg tries to remove the old
package twice, and the second remove fails due to missing rm scripts
(note "Removing package libjpeg8 from root"):
pkg_info_preinstall_check: Updating file owner list.
pkg_hash_fetch_best_installation_candidate: Best installation candidate
for libjpeg8:
pkg_hash_fetch_best_installation_candidate: apkg=libjpeg8 nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding libjpeg8 to
providers.
pkg_hash_fetch_best_installation_candidate: libjpeg8
arch=armv7at2hf-vfp-neon arch_priority=61 version=8d+1.4.1.
pkg_hash_fetch_best_installation_candidate: libjpeg8
arch=armv7at2hf-vfp-neon arch_priority=61 version=8d+1.4.1.
pkg_hash_fetch_best_installation_candidate: Candidate: libjpeg8
8d+1.4.1.
pkg_hash_fetch_best_installation_candidate: Candidate: libjpeg8
8d+1.4.1.
pkg_hash_fetch_best_installation_candidate: 2 matching pkgs for
apkg=libjpeg8:
pkg_hash_fetch_best_installation_candidate: libjpeg8 8d+1.4.1
armv7at2hf-vfp-neon
pkg_hash_fetch_best_installation_candidate: libjpeg8 8d+1.4.1
armv7at2hf-vfp-neon
opkg_prepare_upgrade_pkg: Comparing visible versions of pkg libjpeg8:
8d+1.4.1-r0 is installed
8d+1.4.1-r0.6 is available
-302 was comparison result
pkg_arch_supported: Arch armv7at2hf-vfp-neon (priority 61) supported for
pkg libjpeg8.
Upgrading libjpeg8 from 8d+1.4.1-r0 to 8d+1.4.1-r0.6 on root.
Downloading
http://feeds.toradex.com/angstrom/feeds/v2015.12/ipk/glibc/armv7at2hf-vfp-neon/base/libjpeg8_8d+1.4.1-r0.6_armv7at2hf-vfp-neon.ipk.
print_paths: Extracting '/tmp/opkg-mO9Qej/libjpeg8-9envY3/control'.
print_paths: Extracting '/tmp/opkg-mO9Qej/libjpeg8-9envY3/postinst'.
pkg_hash_fetch_best_installation_candidate: Best installation candidate
for libc6:
pkg_hash_fetch_best_installation_candidate: apkg=libc6 nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding libc6 to providers.
pkg_hash_fetch_best_installation_candidate: libc6 arch=armv7ahf-vfp-neon
arch_priority=56 version=2.22.
pkg_hash_fetch_best_installation_candidate: Candidate: libc6 2.22.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0xdd2010
pkg_hash_fetch_best_installation_candidate: Best installation candidate
for libc6:
pkg_hash_fetch_best_installation_candidate: apkg=libc6 nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding libc6 to providers.
pkg_hash_fetch_best_installation_candidate: libc6 arch=armv7ahf-vfp-neon
arch_priority=56 version=2.22.
pkg_hash_fetch_best_installation_candidate: Candidate: libc6 2.22.
Removing package libjpeg8 from root...
pkg_run_script: Running script ///var/lib/opkg/info/libjpeg8.prerm.
pkg_run_script: Running script ///var/lib/opkg/info/libjpeg8.postrm.
remove_maintainer_scripts: Deleting
///var/lib/opkg/info/libjpeg8.control.
remove_maintainer_scripts: Deleting
///var/lib/opkg/info/libjpeg8.postinst.
Removing package libjpeg8 from root...
You can force removal of packages with failed prerm scripts with the
option:
--force-remove
pkg_arch_supported: Arch armv7at2hf-vfp-neon (priority 61) supported for
pkg libjpeg8.
Installing libjpeg8 (8d+1.4.1-r0) on root.
To remove package debris, try `opkg remove libjpeg8`.
To re-attempt the install, try `opkg install libjpeg8`.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
The libjpeg8 section in the opkg status file looks as follows:
Package: libjpeg8
Version: 8d+1.4.1-r0
Depends: libc6 (>= 2.22)
Provides: libjpeg-turbo, jpeg
Replaces: jpeg
Conflicts: jpeg
Status: install ok installed
Architecture: armv7at2hf-vfp-neon
Installed-Time: 1459440337
Auto-Installed: yes
Any idea what goes wrong here?
Angstrom release 2015.12 based on jethro, opkg version is 0.3.0
--
Stefan
While using the Ångström distribution we see issues when upgrading some
packages. Specifically, libjpeg8 seems to get handled strange: opkg
tries to remove the old package twice! I looked at the package metadata,
it doesn't seem to have anything unusual:
Package: libjpeg8
Version: 8d+1.4.1-r0.6
Depends: libc6 (>= 2.22)
Provides: libjpeg-turbo, jpeg
Replaces: jpeg
Conflicts: jpeg
Section: base
Architecture: armv7at2hf-vfp-neon
Maintainer: Angstrom Developers <angstrom-distro-***@linuxtogo.org>
MD5Sum: a7b348f7dd4a347d0f636ff9ada3a0ed
Size: 195454
Filename: libjpeg8_8d+1.4.1-r0.6_armv7at2hf-vfp-neon.ipk
Description: libjpeg-turbo version 8d+1.4.1-r0 libjpeg-turbo is a
derivative of
libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate
baseline JPEG compression and decompression
OE: libjpeg-turbo
HomePage: http://libjpeg-turbo.org/
License: BSD-3-Clause
Priority: optional
However, when this package gets upgraded, opkg tries to remove the old
package twice, and the second remove fails due to missing rm scripts
(note "Removing package libjpeg8 from root"):
pkg_info_preinstall_check: Updating file owner list.
pkg_hash_fetch_best_installation_candidate: Best installation candidate
for libjpeg8:
pkg_hash_fetch_best_installation_candidate: apkg=libjpeg8 nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding libjpeg8 to
providers.
pkg_hash_fetch_best_installation_candidate: libjpeg8
arch=armv7at2hf-vfp-neon arch_priority=61 version=8d+1.4.1.
pkg_hash_fetch_best_installation_candidate: libjpeg8
arch=armv7at2hf-vfp-neon arch_priority=61 version=8d+1.4.1.
pkg_hash_fetch_best_installation_candidate: Candidate: libjpeg8
8d+1.4.1.
pkg_hash_fetch_best_installation_candidate: Candidate: libjpeg8
8d+1.4.1.
pkg_hash_fetch_best_installation_candidate: 2 matching pkgs for
apkg=libjpeg8:
pkg_hash_fetch_best_installation_candidate: libjpeg8 8d+1.4.1
armv7at2hf-vfp-neon
pkg_hash_fetch_best_installation_candidate: libjpeg8 8d+1.4.1
armv7at2hf-vfp-neon
opkg_prepare_upgrade_pkg: Comparing visible versions of pkg libjpeg8:
8d+1.4.1-r0 is installed
8d+1.4.1-r0.6 is available
-302 was comparison result
pkg_arch_supported: Arch armv7at2hf-vfp-neon (priority 61) supported for
pkg libjpeg8.
Upgrading libjpeg8 from 8d+1.4.1-r0 to 8d+1.4.1-r0.6 on root.
Downloading
http://feeds.toradex.com/angstrom/feeds/v2015.12/ipk/glibc/armv7at2hf-vfp-neon/base/libjpeg8_8d+1.4.1-r0.6_armv7at2hf-vfp-neon.ipk.
print_paths: Extracting '/tmp/opkg-mO9Qej/libjpeg8-9envY3/control'.
print_paths: Extracting '/tmp/opkg-mO9Qej/libjpeg8-9envY3/postinst'.
pkg_hash_fetch_best_installation_candidate: Best installation candidate
for libc6:
pkg_hash_fetch_best_installation_candidate: apkg=libc6 nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding libc6 to providers.
pkg_hash_fetch_best_installation_candidate: libc6 arch=armv7ahf-vfp-neon
arch_priority=56 version=2.22.
pkg_hash_fetch_best_installation_candidate: Candidate: libc6 2.22.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0xdd2010
pkg_hash_fetch_best_installation_candidate: Best installation candidate
for libc6:
pkg_hash_fetch_best_installation_candidate: apkg=libc6 nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding libc6 to providers.
pkg_hash_fetch_best_installation_candidate: libc6 arch=armv7ahf-vfp-neon
arch_priority=56 version=2.22.
pkg_hash_fetch_best_installation_candidate: Candidate: libc6 2.22.
Removing package libjpeg8 from root...
pkg_run_script: Running script ///var/lib/opkg/info/libjpeg8.prerm.
pkg_run_script: Running script ///var/lib/opkg/info/libjpeg8.postrm.
remove_maintainer_scripts: Deleting
///var/lib/opkg/info/libjpeg8.control.
remove_maintainer_scripts: Deleting
///var/lib/opkg/info/libjpeg8.postinst.
Removing package libjpeg8 from root...
You can force removal of packages with failed prerm scripts with the
option:
--force-remove
pkg_arch_supported: Arch armv7at2hf-vfp-neon (priority 61) supported for
pkg libjpeg8.
Installing libjpeg8 (8d+1.4.1-r0) on root.
To remove package debris, try `opkg remove libjpeg8`.
To re-attempt the install, try `opkg install libjpeg8`.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
The libjpeg8 section in the opkg status file looks as follows:
Package: libjpeg8
Version: 8d+1.4.1-r0
Depends: libc6 (>= 2.22)
Provides: libjpeg-turbo, jpeg
Replaces: jpeg
Conflicts: jpeg
Status: install ok installed
Architecture: armv7at2hf-vfp-neon
Installed-Time: 1459440337
Auto-Installed: yes
Any idea what goes wrong here?
Angstrom release 2015.12 based on jethro, opkg version is 0.3.0
--
Stefan
--
You received this message because you are subscribed to the Google Groups "opkg-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opkg-devel+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "opkg-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opkg-devel+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.