Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rockylinux:9.0 image missing diffutils #34

Open
shenxianpeng opened this issue Aug 31, 2022 · 2 comments
Open

rockylinux:9.0 image missing diffutils #34

shenxianpeng opened this issue Aug 31, 2022 · 2 comments

Comments

@shenxianpeng
Copy link

shenxianpeng commented Aug 31, 2022

I saw the link to report an issue on the official docker homepage pointing here so I report here.

Compared with rockylinux:8, rockylinux:9.0 doesn't include diffutils package by default after running dnf update -y command.

Output from Rocky Linux release 9

[root@ff5b55143e85 /]# dnf update -y
Rocky Linux 9 - BaseOS                                                   5.0 MB/s | 1.7 MB     00:00    
Rocky Linux 9 - AppStream                                                2.7 MB/s | 6.0 MB     00:02    
Rocky Linux 9 - Extras                                                   5.2 kB/s | 3.5 kB     00:00    
Dependencies resolved.

...

Complete!
[root@ff5b55143e85 /]# diff
bash: diff: command not found
[root@ff5b55143e85 /]# cat /etc/redhat-release 
Rocky Linux release 9.0 (Blue Onyx)

Output from Rocky Linux release 8

[root@4bc6ffec3c81 /]# dnf update -y
Rocky Linux 8 - AppStream                                                 33 MB/s | 9.6 MB     00:00    
Rocky Linux 8 - BaseOS                                                   6.7 MB/s | 6.7 MB     00:01    
Rocky Linux 8 - Extras                                                    83 kB/s |  11 kB     00:00    
Dependencies resolved.

...

Complete!
[root@4bc6ffec3c81 /]# diff
diff: missing operand after 'diff'
diff: Try 'diff --help' for more information.
[root@4bc6ffec3c81 /]# cat /etc/redhat-release 
Rocky Linux release 8.6 (Green Obsidian)
@tbugfinder
Copy link

hm,
my rockylinux:8 doesn't include diff.

@shenxianpeng
Copy link
Author

Hi rockylinux:8 include diff after running dnf update -y, please refer my output.

C:\Users\xianp>docker run -it rockylinux:8 bash
Unable to find image 'rockylinux:8' locally
8: Pulling from library/rockylinux
0049b869cecb: Pull complete
Digest: sha256:afd392a691df0475390df77cb5486f226bc2b4cbaf87c41785115b9237f3203f
Status: Downloaded newer image for rockylinux:8
[root@44230ed11a09 /]# diff
bash: diff: command not found
[root@44230ed11a09 /]# dnf update -y

....

Installed:
  diffutils-3.6-6.el8.x86_64       gnupg2-smime-2.2.20-3.el8_6.x86_64               libsecret-0.18.6-1.el8.0.2.x86_64
  libxkbcommon-0.9.1-1.el8.x86_64  openssl-1:1.1.1k-7.el8_6.x86_64                  openssl-pkcs11-0.4.10-2.el8.x86_64
  pinentry-1.1.0-2.el8.x86_64      platform-python-pip-9.0.3-22.el8.rocky.0.noarch  xkeyboard-config-2.28-1.el8.noarch

Complete!

[root@44230ed11a09 /]# diff
diff: missing operand after 'diff'
diff: Try 'diff --help' for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants