I am trying to run a zypper command with these options: -r http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42.... -r http://download.opensuse.org/repositories/home:/rogeroberholtzer:/mingw64/op... The locations do exist. But I get this error from zypper: Repository 'http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42....' not found by its alias, number, or URI. Repository 'http://download.opensuse.org/repositories/home:/rogeroberholtzer:/mingw64/op...' not found by its alias, number, or URI. In both cases, the RPMs are in the 'noarch' subdirectory. This works when I add the repos via YaST. But I am hoping to have them only for the duration of a configuration script that installs some packages using zypper. According to https://en.opensuse.org/openSUSE:Libzypp_URIs this should work. Did I miss something? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Roger Oberholtzer
I am trying to run a zypper command with these options:
-r http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42.... -r http://download.opensuse.org/repositories/home:/rogeroberholtzer:/mingw64/op...
The locations do exist. But I get this error from zypper:
Repository 'http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42....' not found by its alias, number, or URI. Repository 'http://download.opensuse.org/repositories/home:/rogeroberholtzer:/mingw64/op...' not found by its alias, number, or URI.
In both cases, the RPMs are in the 'noarch' subdirectory.
This works when I add the repos via YaST. But I am hoping to have them only for the duration of a configuration script that installs some packages using zypper.
According to https://en.opensuse.org/openSUSE:Libzypp_URIs this should work. Did I miss something?
do zypper lr you are provided to tags that will work with "zypper -r <tag>", "Alias" and "Name" since you probably work with many machines, provided the same "Alias" for a repo on all machines and the same zypper cmds will work across all. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, Sep 30, 2016 at 2:03 PM, Patrick Shanahan
do zypper lr you are provided to tags that will work with "zypper -r <tag>", "Alias" and "Name"
But that only works when the repo has been added permanently. I want a repo only while running the command. Maybe the -r option does not work that way. Perhaps it more means that the repos are limited to those listed, but they still must be registered in advance. How does the one-click install accomplish this? Add it permanently, use it, remove it (if you have selected this)? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Roger Oberholtzer
On Fri, Sep 30, 2016 at 2:03 PM, Patrick Shanahan
wrote: do zypper lr you are provided to tags that will work with "zypper -r <tag>", "Alias" and "Name"
But that only works when the repo has been added permanently. I want a repo only while running the command. Maybe the -r option does not work that way. Perhaps it more means that the repos are limited to those listed, but they still must be registered in advance. How does the one-click install accomplish this? Add it permanently, use it, remove it (if you have selected this)?
I believe they must exist in /etc/zypp/repos.d/. One-click adds repo but does not remove. You could probably script to add the repo, refresh, <do whatever>, and remove the repo. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/30/2016 08:50 AM, Patrick Shanahan wrote:
* Roger Oberholtzer
[09-30-16 08:45]: On Fri, Sep 30, 2016 at 2:03 PM, Patrick Shanahan
wrote: do zypper lr you are provided to tags that will work with "zypper -r <tag>", "Alias" and "Name"
But that only works when the repo has been added permanently. I want a repo only while running the command. Maybe the -r option does not work that way. Perhaps it more means that the repos are limited to those listed, but they still must be registered in advance. How does the one-click install accomplish this? Add it permanently, use it, remove it (if you have selected this)?
I believe they must exist in /etc/zypp/repos.d/. One-click adds repo but does not remove.
It does if you select that option during the operation. -- Ken linux since 1994 S.u.S.E./openSUSE since 1996 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Ken Schneider
-
Patrick Shanahan
-
Roger Oberholtzer