On other distros, I have a warning with missing repo (the url file exists, but
not the directoiry. If I create the directory, then, I have a warning saying
cannot add empty repo.
I think that there is something to fix here, but I did had time to check that
as for my distros (centos-6, fc-17, fc-18, ubuntu-*) it was not blocking.
Does the following commands fix your problem?
mkdir /tftpboot/distro/redhat-6-x86_64
sudo packman --prepare-repo /tftpboot/distro/redhat-6-x86_64
if yes, that means the when creating the /tftpboot/repos/<distro>.url file we
should also issue the two above commands.
Best regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST
________________________________
De : DongInn Kim [di...@cs.indiana.edu]
Date d'envoi : jeudi 28 novembre 2013 07:15
À : Devel OSCAR
Objet : [Oscar-devel] distro URL file (e.g., redhat-el-6-x86_64.url)
Hi,
/tftpboot/distro/redhat-el-6-x86_64.url can not have any distro repository
during install_prereq which calls repos_add_urlfile in OSCAR::PackagePath.pm.
I have a following repository setup with rhn and I wonder how to deal with this
kind of licensed repository.
[root@rhel64-vm ui]# cat /etc/yum.repos.d/rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel-source-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
The missing distro repository entry in /tftpboot/distro/redhat-el-6-x86_64.url
causes the following trouble.
--> Select online repo
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64
Adding the repositories: [ file:/tftpboot/distro/redhat-el-6-x86_64 ]
Array: 1 element(s)
--> [WARN] /tftpboot/distro/redhat-el-6-x86_64 does not exist
--> Skipping empty local repo (file:/tftpboot/distro/redhat-el-6-x86_64)
--> [INFO] No repository to be added
--> OSCAR pools:
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64
--> Distro pools:
--> Prereq paths: /usr/share/oscar/prereqs/Configurator
--> Adding repos
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64,
[ http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64 ]
Array: 2 element(s)
--> Following packages will be removed:
--> Following packages will be installed: configurator
--> Following shell commands will be executed:
--> smartly installing: configurator
--> Packman status: Packman status:
Format: RPM
Number of repos: 2
List of repos: ,
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64
ERROR: Impossible to detect the architecture of repos: --repo at /usr/bin/yume
line 102.
ERROR during execution 65280
ERROR: -1 error(s) occured for prereq configurator
WARNING: multiple architecture repos specified.) at /usr/bin/install_prereq
line 81
main::handle_smart_pkgs(0, 'configurator') called at
/usr/bin/install_prereq line 407
main::install_prereq('redhat-el', 6, 'x86_64', 'ARRAY(0x1d35750)',
'rpm') called at /usr/bin/install_prereq line 473
ERROR: The following packages were NOT installed:
configurator
at /usr/bin/install_prereq line 415
main::install_prereq('redhat-el', 6, 'x86_64', 'ARRAY(0x1d35750)',
'rpm') called at /usr/bin/install_prereq line 473
ERROR: Impossible to install the prereqs at /usr/bin/install_prereq line 474.
ERROR: impossible to install Configurator ( /usr/bin/install_prereq --smart
/usr/share/oscar/prereqs/Configurator).
at /usr/bin/oscar-config line 99
ERROR: impossible to install Configurator prereqs
(/usr/share/oscar/prereqs/Configurator)
at /usr/bin/oscar-config line 99
ERROR: Impossible to complete stage 1 of the bootstrap.
at /usr/bin/oscar-config line 99
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 100
main::bootstrap() called at /usr/bin/oscar-config line 331
ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 332
If the licensed repository can not be added here, should we expect all the RHEL
OSCAR users to create a private local repository on it?
Can we ignore the missing distro repository?
Regards,
--
- DongInn
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel