LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   CentOS Stream 8/9 (https://www.linuxquestions.org/questions/centos-111/centos-stream-8-9-a-4175710764/)

Linux_Kidd 04-13-2022 11:39 AM

CentOS Stream 8/9
 
In terms of security, anyone have any pitfall notes for CentOS Stream 8 or 9 ?

And what's up with powertools, can't seem to get that repo enabled, looking to install a KDE.

knudfl 04-14-2022 03:03 AM

# dnf config-manager --set-enabled powertools

Originally it could be --set-enabled PowerTools
... so please try with both {powertools and PowerTools}.

Linux_Kidd 04-14-2022 10:44 AM

dnf config-manager --set-enabled powertools
dnf config-manager --set-enabled PowerTools

That's where something is not right. No repo for powertools or PowerTools, this was the err message for past 3 days.

Today, boot the OS, do a dnf and it does not err. Weird, I made no changes.

But now a new err
Code:

[root@localhost ~]# dnf group list
CentOS Stream 9 - PowerTools                    7.2  B/s |  38  B    00:05   
Error: Failed to download metadata for repo 'powertools': Cannot prepare internal mirrorlist: No URLs in mirrorlist

repo file
Code:

[powertools]
       
name=CentOS Stream $releasever - PowerTools
       
mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=Pow
erTools&infra=$infra
       
#baseurl=http://mirror.centos.org/$contentdir/$stream/PowerTools/$basearch/os/
       
gpgcheck=1
       
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial


repolist
Code:

[root@localhost yum.repos.d]# dnf repolist
repo id                                    repo name
appstream                                  CentOS Stream 9 - AppStream
baseos                                    CentOS Stream 9 - BaseOS
epel                                      Extra Packages for Enterprise Linux 9 - x86_64
epel-next                                  Extra Packages for Enterprise Linux 9 - Next - x86_64
extras-common                              CentOS Stream 9 - Extras packages
powertools                                CentOS Stream 9 - PowerTools

Same err if I change repo file from PowerTools to powertools

Linux_Kidd 04-14-2022 11:12 AM

Bad repo file. edited base

Code:

[powertools]
name=CentOS Stream $releasever - PowerTools
#mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=powertools&infra=$infra
baseurl=http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial



All times are GMT -5. The time now is 10:46 AM.