Unable to add openSUSE:Factory.repo

Hi all,

I’m trying to install harfbuzz from the openSUSE:Factory repo as listed here: https://software.opensuse.org//download.html?project=openSUSE%3AFactory&package=harfbuzz . Any time I try to add the repo, I get the error


kittycatcaoimhe@CaoimheDesktop:~> sudo zypper addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
File '/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo' not found on medium 'https://download.opensuse.org/'
**Abort, retry, ignore? [a/r/i/...? shows all options] (a): **a
Problem encountered while trying to read the file at the specified URI:
ABORT request: Aborting requested by user                                                                                                                                                                                                         
History:                                                                                                                                                                                                                                        
 - File '/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo' not found on medium 'https://download.opensuse.org/'  

The repository also doesn’t seem to be up currently when I look at the repo list online, and the closest match I could find is http://download.opensuse.org/repositories/openSUSE:/Factory:/Live/standard/ which does not have harfbuzz. Anyone know of the correct repository? Is the repository I’m looking for just inaccessible right now?

Its in Tumbleweed:

zypper se -s harfbuzz

That shows all installable packages

That was the first thing I tried. When I perform the search, I get:


kittycatcaoimhe@CaoimheDesktop:~> zypper se -s harfbuzz
Loading repository data...
Reading installed packages...

S  | Name                       | Type    | Version   | Arch   | Repository
---+----------------------------+---------+-----------+--------+----------------------
i  | harfbuzz-devel             | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
i  | harfbuzz-devel             | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
v  | harfbuzz-devel             | package | 4.2.0-1.2 | i586   | Main Repository (OSS)
v  | harfbuzz-devel             | package | 4.2.0-1.2 | i586   | openSUSE-20210714-0
i+ | harfbuzz-tools             | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
i+ | harfbuzz-tools             | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
v  | harfbuzz-tools             | package | 4.2.0-1.2 | i586   | Main Repository (OSS)
v  | harfbuzz-tools             | package | 4.2.0-1.2 | i586   | openSUSE-20210714-0
i  | libharfbuzz-gobject0       | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
i  | libharfbuzz-gobject0       | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
v  | libharfbuzz-gobject0       | package | 4.2.0-1.2 | i586   | Main Repository (OSS)
v  | libharfbuzz-gobject0       | package | 4.2.0-1.2 | i586   | openSUSE-20210714-0
   | libharfbuzz-gobject0-32bit | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
   | libharfbuzz-gobject0-32bit | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
i  | libharfbuzz-icu0           | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
i  | libharfbuzz-icu0           | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
v  | libharfbuzz-icu0           | package | 4.2.0-1.2 | i586   | Main Repository (OSS)
v  | libharfbuzz-icu0           | package | 4.2.0-1.2 | i586   | openSUSE-20210714-0
   | libharfbuzz-icu0-32bit     | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
   | libharfbuzz-icu0-32bit     | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
i  | libharfbuzz-subset0        | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
i  | libharfbuzz-subset0        | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
v  | libharfbuzz-subset0        | package | 4.2.0-1.2 | i586   | Main Repository (OSS)
v  | libharfbuzz-subset0        | package | 4.2.0-1.2 | i586   | openSUSE-20210714-0
   | libharfbuzz-subset0-32bit  | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
   | libharfbuzz-subset0-32bit  | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
i  | libharfbuzz0               | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
i  | libharfbuzz0               | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
v  | libharfbuzz0               | package | 4.2.0-1.2 | i586   | Main Repository (OSS)
v  | libharfbuzz0               | package | 4.2.0-1.2 | i586   | openSUSE-20210714-0
i  | libharfbuzz0-32bit         | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
i  | libharfbuzz0-32bit         | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
i  | typelib-1_0-HarfBuzz-0_0   | package | 4.2.0-1.2 | x86_64 | Main Repository (OSS)
i  | typelib-1_0-HarfBuzz-0_0   | package | 4.2.0-1.2 | x86_64 | openSUSE-20210714-0
v  | typelib-1_0-HarfBuzz-0_0   | package | 4.2.0-1.2 | i586   | Main Repository (OSS)
v  | typelib-1_0-HarfBuzz-0_0   | package | 4.2.0-1.2 | i586   | openSUSE-20210714-0

Despite having both harfbuzz-devel and harfbuzz-tools installed, there is no way to open the program. According to the first link, it should just be listed as harfbuzz, which is not present when I do the search. Doing a package search on the openSUSE downloads site just leads me back to the first link.

rpm -ql harfbuzz-tools 
/usr/bin/hb-ot-shape-closure
/usr/bin/hb-shape
/usr/bin/hb-subset
/usr/bin/hb-view

4 programs as you can see.

You can also use the Yast Softwaremanagement to see which files are inside an rpm…

According to the first link you see source package (SRPM) which is not what you install. Source package is named harfbuzz and is used to build binary packages that you install.

I also tried to figure out with real OpenSUSE Factory path.
And after investigation I found:

**[size=4]Default package repositories:[/size]
OpenSUSE Factory OSS: https://download.opensuse.org/tumbleweed/repo/oss/

**OpenSUSE Factory NON-OSS: https://download.opensuse.org/tumbleweed/repo/non-oss/

Source and debug package repositories:**
OpenSUSE Factory OSS Sources: https://download.opensuse.org/tumbleweed/repo/src-oss/

OpenSUSE Factory NON-OSS Sources: https://download.opensuse.org/tumbleweed/repo/src-non-oss/

**OpenSUSE Factory Debug Packages: https://download.opensuse.org/tumbleweed/repo/debug/
**
How to use:Copy link from list above, and add in YAST Software repositories or run commmand

sudo zypper ar $link 

where $link your copied repo link**. As example

sudo zypper ar https://download.opensuse.org/tumbleweed/repo/debug/

Unless you really know what you are doing avoid factory it can cause you much pain :’(

How to use:Copy link from list above, and add in YAST Software repositories or run commmand

sudo zypper ar $link

where $link your copied repo link. As example

sudo zypper ar https://download.opensuse.org/tumbleweed/repo/debug/

Does not work and the Repos should be there in Tumbleweed.

How to add a Repository:
as root:

zypper ar (-f -p 20 and so on) URL NAME

See

zypper ar --help

or

man zypper