[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get upgrade 报错



On Sat, Nov 05, 2005 at 01:45:25PM +0800, "肖盛文(Faris Xiao)" wrote:
> apt-get upgrade 报错如下:
> 
[snip]
> /var/lib/dpkg/info/cpio.postinst: line 16: 11330 非法指令                ln -sf ../share/doc/$pkg 
> /usr/doc/$pkg
> dpkg:处理 cpio (--configure)时出错:
> 子进程?post-installation script?返回了错误号?132
> 正在设置 mozilla-firefox (1.0.4-2sarge5) ...
> Updating mozilla-firefox chrome registry.../usr/sbin/update-mozilla-firefox-chrome: line 51: 11376 非法 指令 
>                ln -sf ${VARDIR}/chrome/overlayinfo ${LIBDIR}/chrome/overlayinfo
> dpkg:处理 mozilla-firefox (--configure)时出错:
> 子进程?post-installation script?返回了错误号?132
> 在处理时有错误发生:
> cpio
> mozilla-firefox
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
[snip]

回报错误时,最好是提供英文信息。谢谢!

看样子都是 ln 命令出错,您不妨仔细读一下 postinst 脚本内容,然后手动执
行这两条 ln 命令,看看是什么结果。

-- 
 Best Regards,
 Carlos



Reply to: