设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Debian Linux
›
gnustep包出问题了,系统无法升级了!请教 ...
1
2
/ 2 页
下一页
返回列表
查看:
1271
|
回复:
11
gnustep包出问题了,系统无法升级了!请教
[复制链接]
Brume
Brume
当前离线
积分
302
IP卡
狗仔卡
发表于 2010-9-9 17:39:31
|
显示全部楼层
|
阅读模式
Stopping GNUstep distributed object mapper: invoke-rc.d: initscript gdomap, action "stop" failed.
dpkg:处理 gnustep-base-runtime (--remove)时出错:
子进程 已安装 pre-removal 脚本 返回了错误号 1
在处理时有错误发生:
gnustep-base-runtime
E: Sub-process /usr/bin/dpkg returned an error code (1)
软件包安装失败。正在试图恢复:
请各位老大支招!
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
Brume
Brume
当前离线
积分
302
IP卡
狗仔卡
楼主
|
发表于 2010-9-9 17:40:49
|
显示全部楼层
想删除也删不掉:
# aptitude purge gnustep-base-runtime
下列软件包将被“删除”:
gnustep-base-runtime{pu}
0 个软件包被升级,新安装 0 个,1 个将被删除, 同时 164 个将不升级。
需要获取 0B 的存档。解包后将释放 672kB。
您要继续吗?[Y/n/?]
(正在读取数据库 ... 系统当前共安装有 311048 个文件和目录。)
正在卸载 gnustep-base-runtime ...
Stopping GNUstep distributed object mapper: invoke-rc.d: initscript gdomap, action "stop" failed.
dpkg:处理 gnustep-base-runtime (--purge)时出错:
子进程 已安装 pre-removal 脚本 返回了错误号 1
在处理时有错误发生:
gnustep-base-runtime
E: Sub-process /usr/bin/dpkg returned an error code (1)
软件包安装失败。正在试图恢复:
回复
支持
反对
使用道具
举报
显身卡
Brume
Brume
当前离线
积分
302
IP卡
狗仔卡
楼主
|
发表于 2010-9-9 17:41:49
|
显示全部楼层
强制删除也不行:
# dpkg --purge --force-all gnustep-base-runtime
(正在读取数据库 ... 系统当前共安装有 311048 个文件和目录。)
正在卸载 gnustep-base-runtime ...
Stopping GNUstep distributed object mapper: invoke-rc.d: initscript gdomap, action "stop" failed.
dpkg:处理 gnustep-base-runtime (--purge)时出错:
子进程 已安装 pre-removal 脚本 返回了错误号 1
在处理时有错误发生:
gnustep-base-runtime
回复
支持
反对
使用道具
举报
显身卡
blue_stone
blue_stone
当前离线
积分
743
IP卡
狗仔卡
发表于 2010-9-9 17:42:33
|
显示全部楼层
看看/etc/init.d/gdomap为什么不能停
回复
支持
反对
使用道具
举报
显身卡
Brume
Brume
当前离线
积分
302
IP卡
狗仔卡
楼主
|
发表于 2010-9-9 17:43:18
|
显示全部楼层
其实我也没有用过gnustep,但是,现在被卡在这儿,无法更新,也无法安装新软件。
敬请各位老大支招!
回复
支持
反对
使用道具
举报
显身卡
blue_stone
blue_stone
当前离线
积分
743
IP卡
狗仔卡
发表于 2010-9-9 17:44:59
|
显示全部楼层
/etc/init.d/gdomap stop 报什么错误?
回复
支持
反对
使用道具
举报
显身卡
Brume
Brume
当前离线
积分
302
IP卡
狗仔卡
楼主
|
发表于 2010-9-9 17:48:17
|
显示全部楼层
# /etc/init.d/gdomap stop
Stopping GNUstep distributed object mapper:
没报错啊!
回复
支持
反对
使用道具
举报
显身卡
blue_stone
blue_stone
当前离线
积分
743
IP卡
狗仔卡
发表于 2010-9-9 17:52:13
|
显示全部楼层
/etc/init.d/gdomap stop
echo $?
invoke-rc.d根据$?的值确定脚本是否执行成功。
回复
支持
反对
使用道具
举报
显身卡
Brume
Brume
当前离线
积分
302
IP卡
狗仔卡
楼主
|
发表于 2010-9-9 17:56:10
|
显示全部楼层
# /etc/init.d/gdomap stop
Stopping GNUstep distributed object mapper:
# echo $?
1
谢谢blue_stone版主的快速回复,我有点儿没有明白你的意思,$?是要换成什么别的实际值吗?
回复
支持
反对
使用道具
举报
显身卡
blue_stone
blue_stone
当前离线
积分
743
IP卡
狗仔卡
发表于 2010-9-9 18:01:21
|
显示全部楼层
$?是会记录 程序执行的返回值,正常应该是0,
试一下/etc/init.d/gdomap start, 然后再执行
/etc/init.d/gdomap stop
echo $?
如果结果是0, 可以运行/etc/init.d/gdomap start后运行aptitude purge gnustep-base-runtime,
如果结果不是0, 则要改一下/etc/init.d/gdomap 脚本,让其退出时返回0. 再删除
回复
支持
反对
使用道具
举报
显身卡
下一页 »
1
2
/ 2 页
下一页
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
Linux发行版 Turbolinux专题
Gentoo Linux
Linux 发行版其他专题
Perl | PHP | Python 脚本程序开发
Linux 程序设计专题讨论
网络技术\网络安全讨论
开源软件专题讨论
LinuxSir 论坛管理
Ubuntu Linux 专题讨论
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表