Missing default repos?

I recently had to rollback to a previous snapshot because I had some issues with NVIDIA drivers after an update. Now I tried to refresh the repos and noticed I have few of them. I’m running Leap 15.6.

Output for zypper lr -d:

# | Alias                | Name                 | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                                                          | Service
--+----------------------+----------------------+---------+-----------+---------+------+----------+--------+----------------------------------------------------------------------------------------------+--------
1 | NVIDIA               | NVIDIA               | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://download.nvidia.com/opensuse/leap/15.6                                               | 
2 | brave-browser        | Brave Browser        | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | https://brave-browser-rpm-release.s3.brave.com/x86_64                                        | 
3 | code                 | Visual Studio Code   | Yes     | (r ) Yes  | No      | -    |   99     | rpm-md | https://packages.microsoft.com/yumrepos/vscode                                               | 
4 | openSUSE-Leap-15.6-1 | openSUSE-Leap-15.6-1 | No      | ----      | ----    | -    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Kingston_DataTraveler_3.0_20CF302E238215B1863C3F1F-0:0-part1 | 
5 | packman              | packman              | Yes     | (r ) Yes  | Yes     | -    |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.6                           | 

Which of the default repos am I missing? How can I re-add them?

I tried following the instructions here but nothing changed even after a refresh (zypper ref).

You are missing all default repos.

Install repo definitions:

sudo zypper in https://download.opensuse.org/update/leap/15.6/oss/x86_64/openSUSE-repos-Leap-20250604.94835c9-lp156.2.9.1.x86_64.rpm
sudo zypper ref -s
1 Like

Thank you for the quick reply! That’s what I needed! Sorry if it was a silly question :slight_smile:

Can I safely remove the repo with the hd:/?device=/dev/disk/by-id/usb-Kingston_DataTraveler_3.0_20CF302E238215B1863C3F1F-0:0-part1 URI?

Yes, this is your original installation USB stick. It has no value anymore as it contains old/outdated package versions. So it is safe to remove.

1 Like