Leap 15.2 Installation of latest OCCT fails
https://build.opensuse.org/package/binaries/science:unstable/occt/ openSUSE_Leap_15.2[1] on my system, but the installation could not be carried out. I've downloaded the package version occt-7.5.3-lp152.101.1.src.rpm the following errormessage at installation sequence: $ sudo zypper in occt-7.5.3-lp152.101.1.src.rpm Loading repository data... Reading installed packages... '_tmpRPMcache_:occt=0:7.5.3-lp152.101.1' not found in package names. Trying capabilities. No provider of '_tmpRPMcache_:occt=0:7.5.3-lp152.101.1' found. Resolving package dependencies... Nothing to do. $ What went wrong here? Kind regards Michael Be Free, Be Linux -------- [1] https://build.opensuse.org/package/binaries/science:unstable/occt/ openSUSE_Leap_15.2
On 26/09/2021 11.38, michael.kasimir@gmx.de wrote:
https://build.opensuse.org/package/binaries/science:unstable/occt/openSUSE_L... <https://build.opensuse.org/package/binaries/science:unstable/occt/openSUSE_Leap_15.2>
on my system, but the installation could not be carried out.
I've downloaded the package version
occt-7.5.3-lp152.101.1.src.rpm
the following errormessage at installation sequence:
$ sudo zypper in occt-7.5.3-lp152.101.1.src.rpm
Wrong command. You can not download an rpm an expect zypper to pick what you have downloaded separately. You have to: - add the remoe repository - or download the rpm, create a local repository, put the rpm file in that repository, zypper ref, zypper install from package name only (not file name). - or use the rpm command instead. -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.2 x86_64 (Minas Tirith))
On 26.09.2021 12:38, michael.kasimir@gmx.de wrote:
https://build.opensuse.org/package/binaries/science:unstable/occt/ openSUSE_Leap_15.2[1]
on my system, but the installation could not be carried out.
It looks like the beginning of your message was lost on the way.
I've downloaded the package version occt-7.5.3-lp152.101.1.src.rpm
Are you going to rebuild package locally?
the following errormessage at installation sequence:
$ sudo zypper in occt-7.5.3-lp152.101.1.src.rpm Loading repository data... Reading installed packages... '_tmpRPMcache_:occt=0:7.5.3-lp152.101.1' not found in package names. Trying capabilities. No provider of '_tmpRPMcache_:occt=0:7.5.3-lp152.101.1' found. Resolving package dependencies... Nothing to do. $ What went wrong here?
a) wrong file. src.rpm is used to build binary RPM and you most likely intended to install binary RPM. b) if you install RPM file directly with zypper you need to disambiguate between path and package name. Most simple is to use slash or even full path, like zypper in $PWD/local-file.rpm But this package may have dependencies so you should simply add repository and install from there zypper ar -p 100 obs://science:unstable/openSUSE_Leap_15.2 science:unstable zypper refresh science:unstable zypper in occt pick your name for repository. Priority 100 so you do not install accidentally package that is available in main Leap repo.
participants (3)
-
Andrei Borzenkov
-
Carlos E. R.
-
michael.kasimir@gmx.de