openSUSE / opi

OBS Package Installer (CLI)
GNU General Public License v3.0
244 stars 22 forks source link

install instructions for SLE 15 do not work #102

Closed pbielefeldt closed 2 years ago

pbielefeldt commented 2 years ago

If I follow the instructions provided for SUSE Linux Enterprise, on a SLE 15.2 machine with the base package activated, I get:

sudo zypper ref
Repository 'SLE-Module-Basesystem15-SP2-Pool' is up to date.                                                                                                                       
Repository 'SLE-Module-Basesystem15-SP2-Updates' is up to date.                                                                                                                    
Repository 'SLES15-SP2-15.2-0' is up to date.                                                                                                                                      
Repository 'SLE-Product-SLES15-SP2-Pool' is up to date.                                                                                                                            
Repository 'SLE-Product-SLES15-SP2-Updates' is up to date.                                                                                                                         
Repository 'SLE-Module-Server-Applications15-SP2-Pool' is up to date.                                                                                                              
Repository 'SLE-Module-Server-Applications15-SP2-Updates' is up to date.                                                                                                           
Repository 'home:guoyunhe (SLE_15)' is up to date.                                                                                                                                 
All repositories have been refreshed.
~> sudo zypper install opi
Refreshing service 'Basesystem_Module_15_SP2_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP2_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP2_x86_64'.
Loading repository data...
Reading installed packages...
'opi' not found in package names. Trying capabilities.
No provider of 'opi' found.
Resolving package dependencies...
Nothing to do.

Maybe it's just the documentation that's wrong here?

asdil12 commented 2 years ago

Yes - that README.md is outdated. I will update it.

For SLE15SP2, SP3 and SP4 the opi rpm should be available in the PackageHub Module (repo):

SUSEConnect -p PackageHub/15.2/x86_64 # for SP2
SUSEConnect -p PackageHub/15.3/x86_64 # for SP3
SUSEConnect -p PackageHub/15.4/x86_64 # for SP4

For the latest version only:

For 15SP2 you could try to install opi from git. I'm not sure if that would still work, though.

git clone https://github.com/openSUSE/opi
cd opi
python3 setup.py install

For 15 SP3 and SP4 the openSUSE Leap repos might work: https://download.opensuse.org/repositories/utilities/openSUSE_Leap_15.3/ https://download.opensuse.org/repositories/utilities/15.4/