View Issue Details

IDProjectCategoryView StatusLast Update
0006073Rocky-Linux-9chkconfigpublic2024-03-07 05:48
ReporterSukumar Reddy Vabbareddy Assigned ToLouis Abel  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Summary0006073: Not able to install chkconfig package on Rocky Linux 9.2
Description[root@stg-content01 init.d]# rpm -q initscripts chkconfig systemd
package initscripts is not installed
package chkconfig is not installed
systemd-252-18.el9.0.1.rocky.x86_64
[root@stg-content01 init.d]# rpm -qf /etc/init.d
error: file /etc/init.d: No such file or directory

[root@stg-content01 init.d]# yum install -y chkconfig
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:05:26 ago on Thu Mar 7 04:16:34 2024.
Dependencies resolved.
==============================================================================================================================================================================================
 Package Architecture Version Repository Size
==============================================================================================================================================================================================
Installing:
 chkconfig x86_64 1.24-1.el9 rockylinux9-base 161 k

Transaction Summary
==============================================================================================================================================================================================
Install 1 Package

Total download size: 161 k
Installed size: 743 k
Downloading Packages:
chkconfig-1.24-1.el9.x86_64.rpm 205 kB/s | 161 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 204 kB/s | 161 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing : 1/1
  Installing : chkconfig-1.24-1.el9.x86_64 1/1
Error unpacking rpm package chkconfig-1.24-1.el9.x86_64
  Verifying : chkconfig-1.24-1.el9.x86_64 1/1

Failed:
  chkconfig-1.24-1.el9.x86_64

Error: Transaction failed
TagsNo tags attached.

Activities

Sukumar Reddy Vabbareddy

Sukumar Reddy Vabbareddy

2024-03-07 05:15

reporter   ~0006370

OS Details
NAME="Rocky Linux"
VERSION="9.3 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.3 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.3"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.3"
Louis Abel

Louis Abel

2024-03-07 05:48

administrator   ~0006371

Thank you for the report. This is not reproducible and will likely come down to directories/files/symlinks that were created by other software/packages.

[root@awx ~]# dnf install chkconfig initscripts
Last metadata expiration check: 2:18:13 ago on Wed 06 Mar 2024 08:19:54 PM MST.
Dependencies resolved.
================================================================================
 Package Architecture Version Repository Size
================================================================================
Installing:
 chkconfig x86_64 1.24-1.el9 baseos 161 k
 initscripts x86_64 10.11.5-1.el9 baseos 210 k

Transaction Summary
================================================================================
Install 2 Packages

Total download size: 371 k
Installed size: 1.8 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): chkconfig-1.24-1.el9.x86_64.rpm 344 kB/s | 161 kB 00:00
(2/2): initscripts-10.11.5-1.el9.x86_64.rpm 418 kB/s | 210 kB 00:00
--------------------------------------------------------------------------------
Total 431 kB/s | 371 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing : 1/1
  Installing : chkconfig-1.24-1.el9.x86_64 1/2
  Installing : initscripts-10.11.5-1.el9.x86_64 2/2
  Running scriptlet: initscripts-10.11.5-1.el9.x86_64 2/2
Created symlink /etc/systemd/system/sysinit.target.wants/import-state.service → /usr/lib/systemd/system/import-state.service.
Created symlink /etc/systemd/system/sysinit.target.wants/loadmodules.service → /usr/lib/systemd/system/loadmodules.service.

  Verifying : chkconfig-1.24-1.el9.x86_64 1/2
  Verifying : initscripts-10.11.5-1.el9.x86_64 2/2

Installed:
  chkconfig-1.24-1.el9.x86_64 initscripts-10.11.5-1.el9.x86_64

Complete!
[root@awx ~]#

The below is owned by the systemd package and are directories.

/etc/rc.d
/etc/rc.d/init.d

The below are directories that exist after the installation of chkconfig/initscripts.

/etc/rc.d/rc0.d
/etc/rc.d/rc1.d
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
/etc/rc.d/rc4.d
/etc/rc.d/rc5.d
/etc/rc.d/rc6.d

The below are symlinks that exist after the installation of chkconfig/initscripts.
/etc/init.d
/etc/rc0.d
/etc/rc1.d
/etc/rc2.d
/etc/rc3.d
/etc/rc4.d
/etc/rc5.d
/etc/rc6.d

You will need to ensure that these files/directories/symlinks do not exist before installing the mentioned packages.

Closing as not a bug. You are encouraged to reach out at https://forums.rockylinux.org or chat.rockylinux.org for assistance from the community.

Issue History

Date Modified Username Field Change
2024-03-07 04:27 Sukumar Reddy Vabbareddy New Issue
2024-03-07 05:15 Sukumar Reddy Vabbareddy Note Added: 0006370
2024-03-07 05:48 Louis Abel Assigned To => Louis Abel
2024-03-07 05:48 Louis Abel Status new => closed
2024-03-07 05:48 Louis Abel Resolution open => unable to reproduce
2024-03-07 05:48 Louis Abel Note Added: 0006371