[zypp-devel] multiple repos per file
Is it supported to have more than one repo per file? An upgrade attempt to factory fails because it lists only 'factory-debug' from /etc/zypp/repos.d/factory.repo. If its supported I will file a yast bug, or whatever component parses the *.repo files. Olaf root@optiplex:~ # head -n 123 /etc/zypp/repos.d/*.repo ==> /etc/zypp/repos.d/factory.repo <== [factory-oss] name=factory-oss enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/factory/repo/oss/ path=/ type=yast2 priority=66 keeppackages=0 [factory-non-oss] name=factory-non-oss enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/factory/repo/non-oss/ path=/ type=yast2 priority=66 keeppackages=0 [factory-debug] name=factory-debug enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/factory/repo/debug/ path=/ type=yast2 priority=66 keeppackages=0 ==> /etc/zypp/repos.d/obs-network_wicked_master.repo <== [obs-network_wicked_master] name=obs-network_wicked_master enabled=1 autorefresh=1 baseurl=http://download.opensuse.org/repositories/network:/wicked:/master/openSUSE_F... path=/ type=rpm-md priority=66 keeppackages=0 ==> /etc/zypp/repos.d/remote-packman-essentials.repo <== [remote-packman-essentials] name=remote-packman-essentials enabled=1 autorefresh=1 baseurl=http://packman.inode.at/suse/Factory/Essentials path=/ type=rpm-md priority=66 keeppackages=0 root@optiplex:~ # zypper -v -v lr -d Ausführlichkeitsgrad: 2 # | Alias | Name | Aktiviert | Aktualisieren | Priorität | Typ | URI | Dienst --+---------------------------+---------------------------+-----------+---------------+-----------+--------+-------------------------------------------------------------------------------------+------- 1 | factory-debug | factory-debug | Ja | Ja | 66 | yast2 | http://download.opensuse.org/factory/repo/debug/ | 2 | factory-non-oss | factory-non-oss | Ja | Ja | 66 | yast2 | http://download.opensuse.org/factory/repo/non-oss/ | 3 | factory-oss | factory-oss | Ja | Ja | 66 | yast2 | http://download.opensuse.org/factory/repo/oss/ | 4 | obs-network_wicked_master | obs-network_wicked_master | Ja | Ja | 66 | rpm-md | http://download.opensuse.org/repositories/network:/wicked:/master/openSUSE_F... | 5 | remote-packman-essentials | remote-packman-essentials | Ja | Ja | 66 | rpm-md | http://packman.inode.at/suse/Factory/Essentials | root@optiplex:~ # -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Thursday 02 October 2014 18:30:45 Olaf Hering wrote:
Is it supported to have more than one repo per file?
Yes.
An upgrade attempt to factory fails because it lists only 'factory-debug' from /etc/zypp/repos.d/factory.repo.
Who lists only...?
If its supported I will file a yast bug, or whatever component parses the *.repo files.
The *.repo files are usually parsed libzypp. But your zypper command lists your 3 repos in factory.repo as expected:
root@optiplex:~ # head -n 123 /etc/zypp/repos.d/*.repo ==> /etc/zypp/repos.d/factory.repo <== [factory-oss] ... [factory-non-oss] ... [factory-debug]
root@optiplex:~ # zypper -v -v lr -d Ausführlichkeitsgrad: 2 # | Alias | Name | Aktiviert --+---------------------------+---------------------------+-----------+ 1 | factory-debug | factory-debug | Ja | 2 | factory-non-oss | factory-non-oss | Ja | 3 | factory-oss | factory-oss | Ja |
Same on my system. Even repos from the openSUSE: service I'm using are listed and loaded correctly: root@fibonacci:repos.d (0) $ cd /etc/zypp/repos.d/ root@fibonacci:repos.d (0) $ mkdir bak root@fibonacci:repos.d (0) $ mv *repo bak root@fibonacci:repos.d (0) $ cat bak/*.repo > big.repo root@fibonacci:repos.d (0) $ zypper lr # | Alias |...| Enabled | Refresh ---+------------------------------------+...+---------+-------- 1 | CA |...| No | Yes 2 | FATE |...| Yes | Yes 3 | KDE3 |...| No | Yes 4 | OpenStack |...| Yes | Yes 5 | SuSETools |...| Yes | Yes 6 | X11:XOrg |...| Yes | Yes 7 | google-chrome |...| Yes | Yes 8 | local |...| Yes | No 9 | localTest |...| Yes | Yes 10 | openSUSE:repo-debug |...| No | Yes 11 | openSUSE:repo-debug-update |...| No | Yes 12 | openSUSE:repo-debug-update-non-oss |...| No | Yes 13 | openSUSE:repo-non-oss |...| Yes | Yes 14 | openSUSE:repo-non-oss-update |...| Yes | Yes 15 | openSUSE:repo-oss |...| Yes | Yes 16 | openSUSE:repo-oss-update |...| Yes | Yes 17 | openSUSE:repo-source |...| No | Yes 18 | packman |...| Yes | Yes 19 | videolan |...| Yes | Yes So what's the exact problem? If you decide to file a bugreport, please don't forget to attach the relevant log files. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Mon, Oct 06, Michael Andres wrote:
On Thursday 02 October 2014 18:30:45 Olaf Hering wrote:
An upgrade attempt to factory fails because it lists only 'factory-debug' from /etc/zypp/repos.d/factory.repo. Who lists only...?
yast lists only the last one. I boot with 'install=$URL upgrade=1'. I will try again and file a yast bug with logs. Olaf -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Mon, Oct 06, Olaf Hering wrote:
I will try again and file a yast bug with logs.
Bug 900232 has been added to the database. http://bugzilla.opensuse.org/show_bug.cgi?id=900232 Olaf -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On 6.10.2014 10:10, Olaf Hering wrote:
On Mon, Oct 06, Michael Andres wrote:
On Thursday 02 October 2014 18:30:45 Olaf Hering wrote:
An upgrade attempt to factory fails because it lists only 'factory-debug' from /etc/zypp/repos.d/factory.repo. Who lists only...?
yast lists only the last one. I boot with 'install=$URL upgrade=1'. I will try again and file a yast bug with logs.
Yast "didn't" know it was possible so it doesn't support more repos in one config file, I'm afraid. Reading the files during upgrade is the only use case Yast needs to do. In all other cases, we can use libzypp. Bye Lukas -- Lukas Ocilka, Systems Management (Yast) Team Leader Cloud & Systems Management Department, SUSE Linux -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Friday 10 October 2014 08:56:41 Lukas Ocilka wrote:
Yast "didn't" know it was possible so it doesn't support more repos in one config file, I'm afraid.
Reading the files during upgrade is the only use case Yast needs to do. In all other cases, we can use libzypp.
Why can't you use libzypp here? Can't e.g yast-pkgbindings offer something
like:
==============================
#include <iostream>
#include
participants (3)
-
Lukas Ocilka
-
Michael Andres
-
Olaf Hering