私はGitLab 7.12.2 30bffd5
です。私はそれを更新する必要があると確信しています。GitLab Yum repo failed
私はそれをどのようにインストールしたのか分かりませんが、/opt/gitlab
には/etc/gitlab
の設定がありますので、はそれを更新しません。
ので、directions here次、私は走った:curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
を今、私はyumのコマンドを実行したときに、私は次の出力を得る:
# sudo yum install gitlab-ce
Loaded plugins: fastestmirror, replace, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.seas.harvard.edu
* centosplus: mirror.lug.udel.edu
* contrib: mirrors.umflint.edu
* epel: mirror.umd.edu
* extras: mirror.team-cymru.org
* ius: mirror.symnds.com
* remi: mirrors.mediatemple.net
* remi-php55: mirrors.mediatemple.net
* remi-php56: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* rpmforge: repoforge.mirror.constant.com
* updates: chicago.gaminghost.co
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 300, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 146, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 440, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 211, in doCommand
return base.installPkgs(extcmds)
File "/usr/share/yum-cli/cli.py", line 702, in installPkgs
self.install(pattern=arg)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3522, in install
mypkgs = self.pkgSack.returnPackages(patterns=pats,
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 907, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 687, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 324, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 187, in populate
dobj = repo_cache_function(xml, csum)
File "/usr/lib64/python2.6/site-packages/sqlitecachec.py", line 46, in getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Start tag expected, '<' not found
uname -a
を出力:Linux GitLab-SRV 2.6.32-504.23.4.el6.centos.plus.x86_64 #1 SMP Wed Jun 10 13:09:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
私はいつも「yum clean all」をしているので、これは問題ではありません。 –
あなたは解決策を見つけたことがありますか? – adiaz004