当前位置: 技术问答>linux和unix
suse zypper 安装软件报错:Error building the cache:
来源: 互联网 发布时间:2017-05-16
本文导语: pc456:/etc/zypp/repos.d # zypper ref Repository 'SUSE-1' is up to date. Building repository 'SUSE-1' cache [done] Error building the cache: 'repo2solv.sh' '-o' '/var/cache/zypp/solv/SUSE-1/solv' '/var/cache/zypp/raw/SUSE-1' repo_content: 'CONTENTSTYLE' must be fi...
pc456:/etc/zypp/repos.d # zypper ref
Repository 'SUSE-1' is up to date.
Building repository 'SUSE-1' cache [done]
Error building the cache:
'repo2solv.sh' '-o' '/var/cache/zypp/solv/SUSE-1/solv' '/var/cache/zypp/raw/SUSE-1'
repo_content: 'CONTENTSTYLE' must be first line of 'content'
repo_content: 'content' incomplete, no product solvable created !
Skipping repository 'SUSE-1' because of the above error.
Could not refresh the repositories because of errors.
/etc/zypp/repos.d 目录下,就一个文件
main.repo 内容为:
[SUSE-1]
name=SUSE-1
enabled=1
autorefresh=0
baseurl=file:///media/openSUSE-13.1-DVD-x86_640091
path=/
type=yast2
Repository 'SUSE-1' is up to date.
Building repository 'SUSE-1' cache [done]
Error building the cache:
'repo2solv.sh' '-o' '/var/cache/zypp/solv/SUSE-1/solv' '/var/cache/zypp/raw/SUSE-1'
repo_content: 'CONTENTSTYLE' must be first line of 'content'
repo_content: 'content' incomplete, no product solvable created !
Skipping repository 'SUSE-1' because of the above error.
Could not refresh the repositories because of errors.
/etc/zypp/repos.d 目录下,就一个文件
main.repo 内容为:
[SUSE-1]
name=SUSE-1
enabled=1
autorefresh=0
baseurl=file:///media/openSUSE-13.1-DVD-x86_640091
path=/
type=yast2
|
源的版本有问题,13的源,不能用在11的suse系统中。在11系统的suse中,只能用11的源