安装软件时总报错:E: Sub-process /usr/bin/dpkg returned an error code
发表于 : 2010-05-03 16:31
我以前装的nfs-kernel-server and nfs-common and portmap 可以和另外一台同局域网的电脑上的Ubuntu共享文件夹。
后来装了中国电信无线宽带客服端(不能肯定是这个引起的)。不久后,想共享文件夹,边没法从这台电脑的Network里面看到其他电脑共享的文件夹了。
执行:
后,反馈:
后来卸载掉,卸载过程中报错,但Synaptic Package Manager(新得立更新管理)显示卸载成功。再安装报同样的错,但Synaptic Package Manager(新得立更新管理)显示已经为安装了的(installed)。
PS1:我的Ubuntukernel版本是2.6.31.14.仅此一个版本的kernel!
PS2:据说mv掉 dpkg的info,再装上会导致以前装的程序无法运行,我可不想这样。
这个问题已经解决,见2楼。。。
后来装了中国电信无线宽带客服端(不能肯定是这个引起的)。不久后,想共享文件夹,边没法从这台电脑的Network里面看到其他电脑共享的文件夹了。
执行:
代码: 全选
sudo apt-get install nfs-kernel-server
说明装了nfs的,只是not fully installed or removed....Reading package lists... Done
Building dependency tree
Reading state information... Done
nfs-kernel-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 240 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up crossplatformui (1.0.27) ...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service acpid restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart acpid
acpid start/running, process 8789
make -C /mnt/windows/old_linux-2.6.31.6 M=/usr/local/bin/ztemtApp/zteusbserial/2.6.31 modules
make: *** /mnt/windows/old_linux-2.6.31.6: No such file or directory. Stop.
make: *** [modules] Error 2
dpkg: error processing crossplatformui (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
crossplatformui
E: Sub-process /usr/bin/dpkg returned an error code (1)
后来卸载掉,卸载过程中报错,但Synaptic Package Manager(新得立更新管理)显示卸载成功。再安装报同样的错,但Synaptic Package Manager(新得立更新管理)显示已经为安装了的(installed)。
谁知道怎么解决?-laptop:~$ sudo apt-get -f install nfs-kernel-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
nfs-kernel-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 240 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up crossplatformui (1.0.27) ...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service acpid restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart acpid
acpid start/running, process 8724
make -C /mnt/windows/old_linux-2.6.31.6 M=/usr/local/bin/ztemtApp/zteusbserial/2.6.31 modules
make: *** /mnt/windows/old_linux-2.6.31.6: No such file or directory. Stop.
make: *** [modules] Error 2
dpkg: error processing crossplatformui (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
crossplatformui
E: Sub-process /usr/bin/dpkg returned an error code (1)
PS1:我的Ubuntukernel版本是2.6.31.14.仅此一个版本的kernel!
PS2:据说mv掉 dpkg的info,再装上会导致以前装的程序无法运行,我可不想这样。
这个问题已经解决,见2楼。。。