power tools message
AnsweredI ran the yum update command recently and started to see this about powertools. Is this something that needs fixing? If so, any recommendations?
[root@server ~]# yum update
Repository powertools is listed more than once in the configuration
Repository powertools-source is listed more than once in the configuration
Repository powertools-debuginfo is listed more than once in the configuration
Last metadata expiration check: 2:06:51 ago on Thu 29 Aug 2024 05:16:03 AM EDT.
Dependencies resolved.
Nothing to do.
Complete!
-
Hey there! What is the output from this command on the server?
ls -lah /etc/yum.repos.d/ | grep -i powertools
That will show you if it is indeed listed twice.
0 -
Here you go.
[root@server ~]# ls -lah /etc/yum.repos.d/ | grep -i powertools
-rw-r--r--. 1 root root 963 May 22 10:49 almalinux-powertools.repo
[root@server ~]# yum update
Repository powertools is listed more than once in the configuration
Repository powertools-source is listed more than once in the configuration
Repository powertools-debuginfo is listed more than once in the configuration
Last metadata expiration check: 3:40:04 ago on Thu 29 Aug 2024 12:04:53 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[root@server ~]#0 -
That's the same one I have on my system. Do you see multiple entries for PowerTools inside the repo file? There should be three sections - PowerTools, PowerTools Source, and PowerTools debuginfo. If there are more than that, that could also cause the issue.
0 -
No just the 3 you mentioned.
# almalinux-powertools.repo
[powertools]
name=AlmaLinux $releasever - PowerTools
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools
# baseurl=https://repo.almalinux.org/almalinux/$releasever/PowerTools/$basearch/os/
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux## Sources
[powertools-source]
name=AlmaLinux $releasever - PowerTools Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools-source
# baseurl=https://repo.almalinux.org/vault/$releasever/PowerTools/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux## Debuginfo
[powertools-debuginfo]
name=AlmaLinux $releasever - PowerTools debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools-debuginfo
# baseurl=https://repo.almalinux.org/vault/$releasever/PowerTools/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux0 -
Interesting - I'm not sure where else that could be coming from as that configuration looks correct. Could you submit a ticket so this can be investigated directly on the system?
0 -
It started after I updated to 122.0.5 I believe. I'll open a ticket. Thanks.
0 -
The update to cPanel *shouldn't* have any affect on that repo since that is from the operating system directly. If your ticket is with us, could you please post the number here so I can follow along?
0 -
I found power tools in these also
0 -
# almalinux.repo
[baseos]
name=AlmaLinux $releasever - BaseOS
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[appstream]
name=AlmaLinux $releasever - AppStream
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[powertools]
name=AlmaLinux $releasever - PowerTools
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools
# baseurl=https://repo.almalinux.org/almalinux/$releasever/PowerTools/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[extras]
name=AlmaLinux $releasever - Extras
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1## Sources
[baseos-source]
name=AlmaLinux $releasever - BaseOS Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos-source
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[appstream-source]
name=AlmaLinux $releasever - AppStream Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream-source
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[powertools-source]
name=AlmaLinux $releasever - PowerTools Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools-source
# baseurl=https://repo.almalinux.org/almalinux/$releasever/PowerTools/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[extras-source]
name=AlmaLinux $releasever - Extras Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras-source
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1## Debuginfo
[baseos-debuginfo]
name=AlmaLinux $releasever - BaseOS debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos-debuginfo
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[appstream-debuginfo]
name=AlmaLinux $releasever - AppStream debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream-debuginfo
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[powertools-debuginfo]
name=AlmaLinux $releasever - PowerTools debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/powertools-debuginfo
# baseurl=https://repo.almalinux.org/almalinux/$releasever/PowerTools/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=1[extras-debuginfo]
name=AlmaLinux $releasever - Extras debuginfo
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras-debuginfo
# baseurl=https://repo.almalinux.org/almalinux/$releasever/extras/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
fastestmirror=10 -
I'm not entirely sure what that interface is showing me, but is that inside of /etc/yum.repos.d? If so, can you move the .bak file to another location and see if the error persists?
I thought you only had the three sections we were looking for in the repo file?
0 -
The three sections are in both those files.
The interface I'm using is ConfigServer Explorer
0 -
I'd move the .bak out of the way, then run this to see if that changes the behavior:
yum clean all
yum makecache
yum update0 -
PowerTools, PowerTools Source, and PowerTools debuginfo sections are in these 3 files.
0 -
A ha! I bet that's the issue then - the data inside the almalinux.repo file. Remove the powertools entries from that file and you'll be all set, although you'll still need to run those Yum commands I posted to refresh the server's data.
0 -
I ran those yum commands yesterday but will do it again after I remove those powertools entries from the almalinux.repo file and see if I still get the error.
0 -
That fixed it! Thanks for the help!
[root@server ~]# yum update
Last metadata expiration check: 0:02:12 ago on Thu 29 Aug 2024 04:34:15 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[root@server ~]#0 -
I'm glad that took care of things!
0
Please sign in to leave a comment.
Comments
17 comments