Which image shall I download

Issues related to applications and software problems and general support
User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Which image shall I download

Post by TrevorH » 2021/04/08 17:21:45

I don't think there's a specific Stream EPEL, it's just EPEL.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

satimis
Posts: 151
Joined: 2006/11/14 14:24:08

Re: Which image shall I download

Post by satimis » 2021/04/09 02:10:38

tunk wrote:
2021/04/08 17:04:39
It exists for CentOS 8 - maybe there's no version for Stream:
$ yum whatprovides inxi
inxi-3.3.02-1.el8.noarch : A full featured system information script
Repo : epel
Matched from:
Provide : inxi = 3.3.02-1.el8
$ rpm -qa|grep epel
epel-release-8-10.el8.noarch
Hi tunk,

$ yum whatprovides inxi

Code: Select all

CentOS Stream 8 - AppStream                     5.2 MB/s | 6.7 MB     00:01    
CentOS Stream 8 - BaseOS                                                                                             336 kB/s | 2.3 MB     00:07    
CentOS Stream 8 - Extras                                                                                              19 kB/s | 8.9 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                               103 kB/s | 557 kB     00:05    
Extra Packages for Enterprise Linux 8 - x86_64                                                                       5.2 MB/s | 9.1 MB     00:01    
inxi-3.3.02-1.el8.noarch : A full featured system information script
Repo        : epel
Matched from:
Provide    : inxi = 3.3.02-1.el8
$ rpm -qa | grep epel

Code: Select all

epel-release-8-8.el8.noarch
$ which inxi

Code: Select all

/usr/bin/which: no inxi in (/home/satimis/.local/bin:/home/satimis/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin)
It is very strange

Edit
===
# inxi -C

Code: Select all

bash: inxi: command not found...
Install package 'inxi' to provide command 'inxi'? [N/y] y

 * Waiting in queue... Failed to install packages: Could not depsolve transaction; 1 problem detected:
 Problem: conflicting requests
  - nothing provides perl(JSON::XS) needed by inxi-3.3.02-1.el8.noarch
Regards

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Which image shall I download

Post by TrevorH » 2021/04/09 09:07:58

You need to enable the powertools repo.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

satimis
Posts: 151
Joined: 2006/11/14 14:24:08

Re: Which image shall I download

Post by satimis » 2021/04/09 09:38:56

Hi TrevorH,

Thanks for your advice.

I found below document;

Enable PowerTools Repository on CentOS 8 / RHEL 8
https://computingforgeeks.com/enable-po ... hel-linux/

Is it relevant to my case to follow?

Whether I need to run again;
# yum install epel-release

# dnf install --skip-broken inxi

Do I need to uninstall them first? If YES, please advise HOW?

Thanks and Regards

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Which image shall I download

Post by TrevorH » 2021/04/09 10:19:09

First. don't bother with --skip-broken. I have no idea why dnf/yum spits out an error suggesting that as it's utterly useless and does nothing useful.

No, you don't need to reinstall epel-release, that just adds the repo and you've already done it. The problem is that the powertools comes out of the box as disabled and there are many things that require packages from it so it should be enabled. You can enable it with dnf-config-manager or just by editing the file in /etc/yum.repos.d and changing the line 'enabled=0' to 1.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

satimis
Posts: 151
Joined: 2006/11/14 14:24:08

Re: Which image shall I download

Post by satimis » 2021/04/09 11:27:50

Hello TrevorH,

Performed following steps;

# nano /etc/yum.repo.d/CentOS-Stream_PowerTools-repo

Change
enabled=0
to
enabled=1

Reboots PC

# which inxi

Code: Select all

/usr/bin/which: no inxi in (/home/satimis/.local/bin:/home/satimis/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin)
Still the same.

Regards

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Which image shall I download

Post by jlehtone » 2021/04/09 11:35:26

You have to install the inxi package.


First, 'yum' is now an alias for 'dnf'; they are one and same program.

Configuration in your system tells dnf what repositories it should seek from.
A repository can be configured, but disabled so that we can use it but not by default.

The dnf whatprovides feature seeks from enabled repositories.
It does not install feature but just tells which packages have it (if any).

You can see the configured and enabled repositories with: dnf repolist
You can see all configured repositories with: dnf repolist all


When you install epel-release package, you add configuration of EPEL repositories.
If you uninstall the package, then you can't use those repositories.

When you enable a repository, then you can install packages from it.

If you run dnf install packagename again, then it simply notes that packagename is already installed.

You can enable/disable the "powertools" repository with:

Code: Select all

sudo dnf config-manager --enable powertools
sudo dnf config-manager --disable powertools
It is possible to edit the file too, but then you have to find the right file and typos in edit can happen.

You can install packages without the above, ad hoc, by telling dnf to enable repo for duration of the install command.

Code: Select all

sudo dnf --enablerepo=powertools install inxi

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Which image shall I download

Post by TrevorH » 2021/04/09 11:42:04

The problem is that when you tried to install inxi, it did not install because you had the powertools repo disabled and it contains a pre-req package that inxi depends on. The install of inxi failed so you need to do it again now that you have powertools enabled.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

satimis
Posts: 151
Joined: 2006/11/14 14:24:08

Re: Which image shall I download

Post by satimis » 2021/04/09 11:46:53

Whether I need to reinstall both of them;
# yum install epel-release

# dnf install --skip-broken inxi

?

Or only;
# dnf install --skip-broken inxi

Do I need removing --skip-broken ?
Because at that time without --skip-broken I couldn't install inxi

Regards

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Which image shall I download

Post by TrevorH » 2021/04/09 11:52:28

You couldn't install inxi because you did not have powertools enabled. now you do it should install (assuming there's nothing else missing).

You don't need to install epel-release again since you did that once and it worked.

If you get errors from yum/dnf (they are the same thing) then you need to read those errors and fix them and rerun it. Errors mean it did not work.

--skip-broken is a waste of time, don't bother with it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply