(beginner) package problem

Hi guys! I’m new in this forum, and I come to openSUSE Leap 42.1 from Ubuntu GNOME 15.10. Great OS, I’m finding it very good and stable.
However I’m experiencing two main problems with the installation of packages and YaST.

  1. Every time I try to install some packages and my 500GB USB storage external media is plugged, I always get the message that the media is almost full; which is true, but how does it have to do with the installation, which is supposed to be done on the computer hard disk?

  2. When I install packages with zypper, I always get the following:

Empty destination in URI: hd:///?device=/dev/disk/by-id/scsi-20001020000060804-part2

Abort, retry, ignore? [a/r/i/? shows all options] (a): i
Do you want to disable the repository openSUSE-42.1-0 permanently? [yes/no] (no): no

It’s not good right? How do I fix this? It’s driving me crazy! :’(
I’m sorry if there’s already some similar thread, but I couldn’t find it :expressionless:

Go to Yast > Software Repositories
And remove the USB source

What do you mean?

Go into Yast, click on Software Repositories, look for the entry that contains **hd:///?device=/dev/disk/by-id/scsi-20001020000060804-part2,
**highlight it and then click ‘Delete’ in lower left corner.

Okay, done. How do I insert the repository back?

in yast there is an option to add an install disk as a repository … but do not add it as the online repository does get updates the disk is finalized, the only reason to use a disk is if you have no or limited internet access.

Agreed. If you want the install media on your system, use a downloaded DVD iso, and add that through Yast’s repo manager.

the only reason to use a disk is if you have no or limited internet access.

So, basically, the repository I deleted didn’t contain anything that the other repositories already have?

The repo is the one that comes on the install media and is just the base packages for the distro. If you have a Internet connection you have no need and most that is on it is already installed.

Simply disabling it is sufficient to keep the update programs from trying to find it and stalling out.

Remember the openSUSE comes with open source only and if you want or need proprietary codecs or other things you need to add additional repos. These are referred to as Community repos and the most important is packman.

Refer to the sticky at the top of the multimedia forum

You did not delete a repository. The repository is on your install media. You simply deleted a link that points to that repository, so Yast does not continue trying to open a location that – because you removed your install media from your PC – now does not exist.

The repository was only needed for installing.

well yes everything that was on the DVD is available online, it’s a matter of convenience and network access, I find it easier and faster to just download a package from the online repo then finding the DVD/USB, plugging it in and then doing a package search, by the time I find the disk an online package would be already downloaded and installed, but there are users with limited internet access and/or are behind firewalls and those are the ones that benefit from an install disk, when I do a full install I usually use the network installer and seeing how my isp hosts a mirror it’s usually as fast as the DVD install.

The DVD image contains all you need to install openSUSE but the online repos actually contain more packages, obviously.

Post installation the DVD or USB you used is still listed as a source, but who of us wants to keep that either in the optical drive or USB port, so you have to manually disable the listed source in your repositories.

I’m not entirely sure why the installer isn’t configured to disable it as the installation finishes. But there may be some historical thinking behind that related to the days when we didn’t have high speed internet.