Bug 31127 - urpme --auto-orphans fails on kernel-latest packages
Summary: urpme --auto-orphans fails on kernel-latest packages
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 31382
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-15 14:26 CET by Chris Denice
Modified: 2023-06-22 12:11 CEST (History)
2 users (show)

See Also:
Source RPM: urpmi-8.128-1.mga9.src.rpm / kernel-devel-latest
CVE:
Status comment:


Attachments

Description Chris Denice 2022-11-15 14:26:12 CET
On Cauldron only, I have this new error each time I am trying to do an auto-orphans:

sudo urpme --auto-orphans

long list...

Remove 344 packages? (y/N)

yes, of course:

Removal failed:
	kernel-server-devel-6.0.8-3.mga9 is needed by (installed) kernel-server-devel-latest-6.0.8-3.mga9.x86_64

Best guess, it may be a versioning problem with kernel-*-latest; or something that changed in urpme.

The fact is that this breaks auto-orphans as soon as one of the kernel-*-latest package is installed.

cheers,
chris.
Barry Jackson 2022-11-15 15:15:27 CET

CC: (none) => zen25000

Comment 1 Lewis Smith 2022-11-15 21:46:56 CET
I have never myself seen a kernel in auto-orphans (just tried it), and always have a 'kernel-desktop-latest-...'

Can you say when this started?
> I have this new error
Assigning anyway to the MageiaTools people, CC'ing Thomas.

Assignee: bugsquad => mageiatools
CC: (none) => tmb

Comment 2 Chris Denice 2022-11-16 21:01:56 CET
I have/had regular kernel in auto-orphans since mgaX, X being very small, obviously, only when another kernel is installed though.

But the pb with not removing them anymore started when I installed Cauldron a few weeks ago !
Comment 3 Chris Denice 2022-12-03 13:42:55 CET
I've just update another machine from mga8 to Cauldron, I am getting the same errors, that is not some local configuration issues:

[root@brenva chris]# urpme --auto-orphans
To satisfy dependencies, the following 2 packages will be removed (161MB):

(orphan packages)
  kernel-desktop-6.0.10-1.mga9.x86_64
  kernel-server-6.0.10-1.mga9.x86_64
Remove 2 packages? (y/N) y
removing kernel-desktop-6.0.10-1.mga9.x86_64 kernel-server-6.0.10-1.mga9.x86_64
Removal failed:
	kernel-desktop-6.0.10-1.mga9 is needed by (installed) kernel-desktop-latest-6.0.10-1.mga9.x86_64
	kernel-server-6.0.10-1.mga9 is needed by (installed) kernel-server-latest-6.0.10-1.mga9.x86_64
Chris Denice 2023-01-12 15:29:03 CET

Depends on: (none) => 31382

Comment 4 Chris Denice 2023-04-11 14:14:56 CEST
Ok, found another pb with this, a possible issue with meta-packages:

sudo urpme --auto-orphans
writing /var/lib/rpm/installed-through-deps.list
To satisfy dependencies, the following 114 packages will be removed (606MB):

(orphan packages)
  babeltrace-1.5.11-1.mga9.x86_64
  boost-bjam-1.81.0-3.mga9.x86_64
  boost-build-1.81.0-3.mga9.noarch
  gnutls-3.8.0-2.mga9.x86_64
  jq-1.6-3.mga9.x86_64
  kernel-linus-6.2.10-1.mga9.x86_64
  kernel-server-devel-6.2.10-2.mga9.x86_64
  lib64aio-devel-0.3.113-1.mga9.x86_64
  lib64aio1-0.3.113-1.mga9.x86_64
  lib64argon2-devel-20190702-4.mga9.x86_64
  lib64babeltrace-devel-1.5.11-1.mga9.x86_64
  lib64boost-devel-1.81.0-3.mga9.x86_64
  lib64boost_atomic1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_chrono1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_container1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_context1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_contract1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_coroutine1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_exception1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_fiber1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_graph1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_json1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_log1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_math1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_nowide1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_numpy310_1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_openmpi1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_prg_exec_monitor1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_python3-devel-1.81.0-3.mga9.x86_64
  lib64boost_python310_1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_random1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_regex1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_serialization1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_stacktrace1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_system1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_timer1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_type_erasure1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_unit_test_framework1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_url1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_wave1.81.0-1.81.0-3.mga9.x86_64
  lib64boost_wserialization1.81.0-1.81.0-3.mga9.x86_64
  lib64cryptopp-devel-8.7.0-1.mga9.x86_64
  lib64cryptsetup-devel-2.6.1-1.mga9.x86_64
  lib64cunit-devel-2.1.3-5.mga9.x86_64
  lib64cunit1-2.1.3-5.mga9.x86_64
  lib64devmapper-devel-1.02.185-1.mga9.x86_64
  lib64double-conversion-devel-3.2.1-1.mga9.x86_64
  lib64fcgi-devel-2.4.0-22.mga9.x86_64
  lib64fcgi0-2.4.0-22.mga9.x86_64
  lib64fmt-devel-9.1.0-1.mga9.x86_64
  lib64fuse3-devel-3.14.0-1.mga9.x86_64
  lib64gmock-devel-1.12.1-2.mga9.x86_64
  lib64gmock1.12.1-1.12.1-2.mga9.x86_64
  lib64gnutls-dane0-3.8.0-2.mga9.x86_64
  lib64gnutls-devel-3.8.0-2.mga9.x86_64
  lib64gnutlsxx30-3.8.0-2.mga9.x86_64
  lib64gtest-devel-1.12.1-2.mga9.x86_64
  lib64gtest1.12.1-1.12.1-2.mga9.x86_64
  lib64jemalloc-devel-5.3.0-1.mga9.x86_64
  lib64jq1-1.6-3.mga9.x86_64
  lib64json-c-devel-0.16-1.mga9.x86_64
  lib64leveldb-devel-1.23-1.mga9.x86_64
  lib64leveldb1-1.23-1.mga9.x86_64
  lib64ltdl-devel-2.4.7-1.mga9.x86_64
  lib64lttng-ust-ctl4-2.12.0-7.mga9.x86_64
  lib64lttng-ust-devel-2.12.0-7.mga9.x86_64
  lib64lttng-ust0-2.12.0-7.mga9.x86_64
  lib64lua-devel-5.4.4-3.mga9.x86_64
  lib64mnl-devel-1.0.5-1.mga9.x86_64
  lib64nettle-devel-3.8.1-1.mga9.x86_64
  lib64nspr-devel-4.35-1.mga9.x86_64
  lib64nss-devel-3.89.0-2.mga9.x86_64
  lib64numa-devel-2.0.16-1.mga9.x86_64
  lib64oath-devel-2.6.7-1.mga9.x86_64
  lib64oath0-2.6.7-1.mga9.x86_64
  lib64p11-kit-devel-0.24.1-1.mga9.x86_64
  lib64popt-devel-1.19-1.mga9.x86_64
  lib64qt5core-devel-5.15.7-4.mga9.x86_64
  lib64qt5network-devel-5.15.7-4.mga9.x86_64
  lib64rabbitmq-devel-0.11.0-1.mga9.x86_64
  lib64rabbitmq4-0.11.0-1.mga9.x86_64
  lib64rdkafka-devel-1.8.0-1.mga9.x86_64
  lib64re2-devel-20220601-1.mga9.x86_64
  lib64rocksdb-devel-7.7.8-1.mga9.x86_64
  lib64rocksdb7-7.7.8-1.mga9.x86_64
  lib64snappy-devel-1.1.9-3.mga9.x86_64
  lib64sqlite3-devel-3.40.1-1.mga9.x86_64
  lib64tasn1-devel-4.19.0-1.mga9.x86_64
  lib64thrift-devel-0.14.0-6.mga9.x86_64
  lib64thrift0-0.14.0-6.mga9.x86_64
  lib64unbound-devel-1.17.1-1.mga9.x86_64
  lib64urcu-devel-0.13.2-1.mga9.x86_64
  lib64uring-devel-2.3-1.mga9.x86_64
  lib64utf8proc-devel-2.8.0-1.mga9.x86_64
  lib64xfs-devel-6.1.0-1.mga9.x86_64
  lib64xfs1-6.1.0-1.mga9.x86_64
  lib64xmlsec1-devel-1.2.37-1.mga9.x86_64
  lib64xmlsec1-gcrypt1-1.2.37-1.mga9.x86_64
  lib64xmlsec1-gnutls1-1.2.37-1.mga9.x86_64
  lib64xmlsec1-openssl1-1.2.37-1.mga9.x86_64
  lib64xslt-devel-1.1.37-2.mga9.x86_64
  libatomic-devel-12.2.1-0.20230408.1.mga9.x86_64
  libstdc++-static-devel-12.2.1-0.20230408.1.mga9.x86_64
  libtasn1-tools-4.19.0-1.mga9.x86_64
  libtool-2.4.7-1.mga9.x86_64
  lua-rpm-macros-1-6.mga9.noarch
  nodejs-18.14.1-1.mga9.x86_64
  nodejs-libs-18.14.1-1.mga9.x86_64
  npm-9.3.1-1.18.14.1.1.mga9.x86_64
  python3-numpy-devel-1.23.4-1.mga9.x86_64
  qtbase5-common-devel-5.15.7-4.mga9.x86_64
  socat-2.0.0-0.b9.11.mga9.x86_64
  systemtap-sdt-devel-4.8-2.mga9.x86_64
  yasm-devel-1.3.0-7.mga9.x86_64
Remove 114 packages? (y/N)
y
...

Removal failed:
	kernel-devel is needed by (installed) dkms-2.0.19-45.mga9.noarch
Morgan Leijström 2023-06-22 12:11:10 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=31699


Note You need to log in before you can comment on or make changes to this bug.