View Issue Details

IDProjectCategoryView StatusLast Update
0009340Rocky-Linux-9Generalpublic2025-05-02 23:21
ReporterJason Jardina Assigned ToLouis Abel  
PrioritynormalSeveritymajorReproducibilityalways
Status needinfoResolutionopen 
Platformx86_64OSRocky-9-XFCE-x86_64-latest.isoOS Version9.5
Summary0009340: ln command is not present
DescriptionCoreutils is installed, however the ln command to create hard and symbolic links is not present.

Try to run the ln command and receive this error.
bash: ln: command not found

Rocky Server has ln installed in /usr/bin

Rocky 9 XFCE does not have the ln command under the /usr/bin

I have checked and coreutils is installed.
Steps To ReproduceInstall Rocky 9 XFCE edition
Try to run ln to create a link
You will receive the error

Check that coreutils is installed, it is installed by default but if not, install it.
ln application is still not available
TagsNo tags attached.

Activities

Jason Jardina

Jason Jardina

2025-05-02 19:16

reporter   ~0010000

validated that rocky cinnamon does have the ln command in /usr/bin
This issue only appears to be in the XFCE version
Louis Abel

Louis Abel

2025-05-02 19:26

administrator   ~0010001

Thank you for the report. I am unable to reproduce your issue with `ln` missing. The screenshots I have attached show that `ln` is there on the live image booted and that it remains there after installation. coreutils is almost always installed by default as it is required by key default packages such as rpm.

What else are you installing or performing after your installation?
Jason Jardina

Jason Jardina

2025-05-02 19:48

reporter   ~0010002

Thanks for checking @Louis

I installed julia, git, zsh, oh-my-zsh, vscodium and nerd fonts with ligatures
I tried running the command in zsh, then bash, couldn't find it.
Checked /usr/bin and it's not there.

I ran 'sudo dnf reinstall coreutils' and it fixed the problem. I now have ln in /usr/bin
I have no idea how this happened, but the reinstall of coreutils appears to have fixed.
You can close the ticket.
Jason Jardina

Jason Jardina

2025-05-02 22:11

reporter   ~0010003

Even though I fixed the issue with a dnf reinstall, this issue might be related to Ticket: 0008948
If a package didn't get installed correctly at initial install, I can see how it might have missed installing 'ln' if that ticket is accurate?
Louis Abel

Louis Abel

2025-05-02 22:16

administrator   ~0010004

I'm not sure if it's related, as no dnf installs take place during a live install. When you install from a live image, what is happening is the image itself is being unpacked to your desired disk. Meaning, what you see in the live image is what will be there the first time you boot to your hard drive.
Jason Jardina

Jason Jardina

2025-05-02 23:21

reporter   ~0010005

I didn't know if the installer reached out to rocky do d/l anything or if it just pulled from the mounted iso. Thanks for the clarification.
I have no idea what could have caused this unless it was some hardware hiccup on my end. I was surprised not to see the core ln command available for use after a fresh install. I should note that I am running this instance as a VM in Workstation 17.6.2. But I have never encountered anything like this before without a hard error at install time.
Like I stated previously, I was able to reinstall the coreutils and that fixed my problem. You can close this ticket as I don't want to waste anymore of your time if this is some ssd/hardware glitch on my end. Thanks for being so responsive.

Issue History

Date Modified Username Field Change
2025-05-02 19:13 Jason Jardina New Issue
2025-05-02 19:16 Jason Jardina Note Added: 0010000
2025-05-02 19:26 Louis Abel Note Added: 0010001
2025-05-02 19:26 Louis Abel File Added: VirtualBoxVM_B3WkhNs2WC.png
2025-05-02 19:26 Louis Abel File Added: VirtualBoxVM_n19AitwVrI.png
2025-05-02 19:27 Louis Abel Assigned To => Louis Abel
2025-05-02 19:27 Louis Abel Status new => needinfo
2025-05-02 19:48 Jason Jardina Note Added: 0010002
2025-05-02 22:11 Jason Jardina Note Added: 0010003
2025-05-02 22:16 Louis Abel Note Added: 0010004
2025-05-02 23:21 Jason Jardina Note Added: 0010005