新立得又病了!

Ubuntu各种衍生版本
回复
xaerochina
帖子: 67
注册时间: 2007-02-10 21:14
来自: The Earth
联系:

新立得又病了!

#1

帖子 xaerochina » 2007-06-24 10:51

samba包损坏,而且更新也不行。现在新立得里面什么东西都装不了

E: /var/cache/apt/archives/samba_3.0.22-1ubuntu3.3_i386.deb: 子进程·新的 pre-removal 脚本·返回了错误号·102
头像
huangjiahua
帖子: 3294
注册时间: 2005-03-30 0:27
联系:

#2

帖子 huangjiahua » 2007-06-24 11:41

源的问题,

先清空缓存吧,
在新立德里选, 或者直接执行

代码: 全选

sudo apt-get clean
跃过无数的时间断层,只为了在
xaerochina
帖子: 67
注册时间: 2007-02-10 21:14
来自: The Earth
联系:

#3

帖子 xaerochina » 2007-06-26 6:34

这么做了,还是有这个问题。
我用地是cn99的源阿。
头像
huangjiahua
帖子: 3294
注册时间: 2005-03-30 0:27
联系:

#4

帖子 huangjiahua » 2007-06-26 9:46

那就是 cn99 的源依然有问题……

试试 shlug 的源吧,见置顶帖子
跃过无数的时间断层,只为了在
xaerochina
帖子: 67
注册时间: 2007-02-10 21:14
来自: The Earth
联系:

#5

帖子 xaerochina » 2007-06-30 8:43

晕了!把上面的列表换了一个又一个,每次都refresh一次新立得,然后重新安装sambar,折腾了好久,问题没有解决,倒是更大的麻烦来了: mousepad等都只有英文菜单,而且在其中已经不能输入中文,另外新打开的gsopcast里面的中文竟然成了方块。

万幸浏览器是在这之前打开地,还能输入中文。

各位大虾,咋办呢!!难不成要重装,那可痛苦死了,好多设置呢!!
头像
huangjiahua
帖子: 3294
注册时间: 2005-03-30 0:27
联系:

#6

帖子 huangjiahua » 2007-06-30 11:55

换了源后,先不要用新立德

直接开个终端执行

代码: 全选

sudo apt-get update
sudo apt-get install -f
跃过无数的时间断层,只为了在
xaerochina
帖子: 67
注册时间: 2007-02-10 21:14
来自: The Earth
联系:

#7

帖子 xaerochina » 2007-07-01 6:55

唉 估计病得很重阿。还是直接贴出错信息吧:

$ 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
联系:

#8

帖子 huangjiahua » 2007-07-01 10:47

你的 locale 和 samba 损坏了。

试试先

代码: 全选

sudo rm /var/lib/dpkg/info/samba.p*
sudo ap-get install -f 
跃过无数的时间断层,只为了在
xaerochina
帖子: 67
注册时间: 2007-02-10 21:14
来自: The Earth
联系:

#9

帖子 xaerochina » 2007-07-04 6:20

谢谢华华哦。
新立得问题基本搞定,就是还是英文显示(仅终端,开始菜单等,thunar,mousepad没问题)
论坛上到处搜索,似乎只有一个相关办法”装一个什么deb包“,搞不清楚是否有用
也暂时没找到那个包,将就英文吧。
头像
Superock
帖子: 76
注册时间: 2008-12-03 21:05

Re: 新立得又病了!

#10

帖子 Superock » 2009-11-09 12:35

8L搞定了
tusooa
帖子: 6548
注册时间: 2008-10-31 22:12
系统: 践兔
联系:

Re: 新立得又病了!

#11

帖子 tusooa » 2009-12-06 20:42

看样子英文是你的Glibc配置有问题,中文locale没装

代码: 全选

localedef -i zh_CN -f UTF-8 zh_CN.UTF-8

代码: 全选

ls /etc/rc2.d/K09samba

代码: 全选

] ls -ld //
onelynx
帖子: 817
注册时间: 2008-11-13 16:03

Re: 新立得又病了!

#12

帖子 onelynx » 2009-12-06 20:58

早就该用aptitude代替新德里和apt-get了,aptitude 有命令行和文本界面,非常好用
头像
tsinghan
帖子: 1677
注册时间: 2005-12-23 19:20

Re: 新立得又病了!

#13

帖子 tsinghan » 2009-12-07 12:58

:em20
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
回复