apt-get install openstack pkg 故障处理

在Ubuntu14.04上安装Openstack时遇到dpkg返回错误代码1的问题,报错涉及perl警告和locale设置。通过在/etc/default/locale中添加LC_ALL="en_US.UTF-8",然后重启终端,调整locale环境,解决了因locale导致的安装失败问题,使apt-get安装能正常进行。
摘要由CSDN通过智能技术生成

操作系统为Ubuntu14.04

在Openstack软件包安装过程中,主机的DNS没问题,软件源的仓库也是正确的,为什么总是出现软件包安装错误呢?

报错如下:

# apt-get install cinder-api cinder-scheduler cinder-volume python-cinderclient -y

Reading package lists... Done
Building dependency tree
Reading state information... Done
cinder-api is already the newest version.
cinder-scheduler is already the newest version.
cinder-volume is already the newest version.
python-cinderclient is already the newest version.
The following packages were automatically installed and are no longer required:
  libboost-iostreams1.46.1 libclass-isa-perl libswitch-perl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值