新立得又病了!
-
- 帖子: 67
- 注册时间: 2007-02-10 21:14
- 来自: The Earth
- 联系:
新立得又病了!
samba包损坏,而且更新也不行。现在新立得里面什么东西都装不了
E: /var/cache/apt/archives/samba_3.0.22-1ubuntu3.3_i386.deb: 子进程·新的 pre-removal 脚本·返回了错误号·102
E: /var/cache/apt/archives/samba_3.0.22-1ubuntu3.3_i386.deb: 子进程·新的 pre-removal 脚本·返回了错误号·102
- huangjiahua
- 帖子: 3294
- 注册时间: 2005-03-30 0:27
- 联系:
-
- 帖子: 67
- 注册时间: 2007-02-10 21:14
- 来自: The Earth
- 联系:
- huangjiahua
- 帖子: 3294
- 注册时间: 2005-03-30 0:27
- 联系:
-
- 帖子: 67
- 注册时间: 2007-02-10 21:14
- 来自: The Earth
- 联系:
- huangjiahua
- 帖子: 3294
- 注册时间: 2005-03-30 0:27
- 联系:
-
- 帖子: 67
- 注册时间: 2007-02-10 21:14
- 来自: The Earth
- 联系:
唉 估计病得很重阿。还是直接贴出错信息吧:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
samba
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
Need to get 0B of archives.
After unpacking 7250kB disk space will be freed.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN.UTF-8",
LC_ALL = "zh_CN.UTF-8",
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 88417 files and directories currently installed.)
Removing samba ...
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--remove):
subprocess pre-removal script returned error exit status 102
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
别的出了问题还可以新立得修复,可是新立得病了麻烦可就大了。
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
samba
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
Need to get 0B of archives.
After unpacking 7250kB disk space will be freed.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN.UTF-8",
LC_ALL = "zh_CN.UTF-8",
LANG = "zh_CN.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 88417 files and directories currently installed.)
Removing samba ...
invoke-rc.d: dangling symlink: /etc/rc2.d/K09samba
dpkg: error processing samba (--remove):
subprocess pre-removal script returned error exit status 102
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
别的出了问题还可以新立得修复,可是新立得病了麻烦可就大了。
- huangjiahua
- 帖子: 3294
- 注册时间: 2005-03-30 0:27
- 联系:
-
- 帖子: 67
- 注册时间: 2007-02-10 21:14
- 来自: The Earth
- 联系:
- Superock
- 帖子: 76
- 注册时间: 2008-12-03 21:05
Re: 新立得又病了!
8L搞定了
-
- 帖子: 6548
- 注册时间: 2008-10-31 22:12
- 系统: 践兔
- 联系:
Re: 新立得又病了!
看样子英文是你的Glibc配置有问题,中文locale没装
代码: 全选
localedef -i zh_CN -f UTF-8 zh_CN.UTF-8
代码: 全选
ls /etc/rc2.d/K09samba
代码: 全选
] ls -ld //
-
- 帖子: 817
- 注册时间: 2008-11-13 16:03
Re: 新立得又病了!
早就该用aptitude代替新德里和apt-get了,aptitude 有命令行和文本界面,非常好用
- tsinghan
- 帖子: 1677
- 注册时间: 2005-12-23 19:20
Re: 新立得又病了!
Kubuntu10.10& Windows 7 ultimate
Acer 4738ZG
Intel PM dual core P6100 2.00G
4G DDR1333
ATI Mobility Radeon HD5470
750G HDD
14.0 WXGA 1366×768
Acer 4738ZG
Intel PM dual core P6100 2.00G
4G DDR1333
ATI Mobility Radeon HD5470
750G HDD
14.0 WXGA 1366×768