LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1241|回复: 10

revdep-rebuild 问题[已解决]

[复制链接]
发表于 2007-6-19 00:44:25 | 显示全部楼层 |阅读模式
运行

# revdep-rebuild
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... using existing /root/.revdep-rebuild.1_files.

Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.

Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_rebuild.

Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds.

Evaluating package order... using existing /root/.revdep-rebuild.5_order.

All prepared. Starting rebuild...
emerge --oneshot  =dev-lang/perl-5.8.8-r2 =dev-lang/python-2.4.4-r4 =perl-core/DB_File-1.815 =net-nds/openldap-2.3.35-r1 =gnome-base/gnome-panel-2.16.3 =gnome-base/control-center-2.16.3 =gnome-extra/libgda-1.2.3 =mail-client/evolution-2.8.3-r2 =app-office/openoffice-2.1.0
..........
Calculating dependencies -
emerge: there are no ebuilds to satisfy "=app-office/openoffice-2.1.0".


revdep-rebuild failed to emerge all packages
you have the following choices:

- if emerge failed during the build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (trys to rebuild package, not exact
  ebuild)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*

似乎是 openoffice-2.1.0 找不到 ebuild 了。那么:

运行

# eix openoffice
[D] app-office/openoffice
     Available versions:  [m]~2.1.0-r1 [m]~2.2.0
     Installed versions:  2.1.0(09:03:17 AM 01/25/2007)(-binfilter -branding cairo cups dbus -debug eds -elibc_FreeBSD firefox gnome gstreamer gtk -java -kde ldap -linguas_af -linguas_ar -linguas_as_IN -linguas_be_BY -linguas_bg -linguas_bn -linguas_bs -linguas_ca -linguas_cs -linguas_cy -linguas_da -linguas_de -linguas_el -linguas_en -linguas_en_GB -linguas_en_US -linguas_en_ZA -linguas_es -linguas_et -linguas_fa -linguas_fi -linguas_fr -linguas_gu_IN -linguas_he -linguas_hi_IN -linguas_hr -linguas_hu -linguas_it -linguas_ja -linguas_km -linguas_ko -linguas_lt -linguas_lv -linguas_mk -linguas_nb -linguas_nl -linguas_nn -linguas_nr -linguas_ns -linguas_or_IN -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_ru -linguas_rw -linguas_sh_YU -linguas_sk -linguas_sl -linguas_sr_CS -linguas_st -linguas_sv -linguas_sw_TZ -linguas_ta_IN -linguas_te_IN -linguas_tg -linguas_th -linguas_ti_ER -linguas_tn -linguas_tr -linguas_ts -linguas_ur_IN -linguas_ve -linguas_vi -linguas_xh -linguas_zh_CN -linguas_zh_TW -linguas_zu -odk pam -seamonkey -sound -webdav)
     Homepage:            http://go-oo.org
     Description:         OpenOffice.org, a full office productivity suite.

* app-office/openoffice-bin
     Available versions:  2.2.0
     Homepage:            http://www.openoffice.org/
     Description:         OpenOffice productivity suite

能恢复 原来的 ebuild 吗?

谢谢帮忙!
发表于 2007-6-19 01:25:07 | 显示全部楼层
执行revdep-rebuild前,请先emerge -uDN world.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-19 01:40:30 | 显示全部楼层
Post by sycn_shadow
执行revdep-rebuild前,请先emerge -uDN world.

做了。但是 /usr/portage/...目录下只有openoffice-2.2.1 因为keywords是~amd64。所以 emerge -uDN world 不起作用。
回复 支持 反对

使用道具 举报

发表于 2007-6-19 03:20:28 | 显示全部楼层
Available versions: [m]~2.1.0-r1 [m]~2.2.0
你把这两个版本mask了,看看你的/etc/portage/package.mask
你解除屏蔽后再升级,再revdep-rebuild
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-19 08:32:48 | 显示全部楼层
Post by zhllg
Available versions: [m]~2.1.0-r1 [m]~2.2.0
你把这两个版本mask了,看看你的/etc/portage/package.mask
你解除屏蔽后再升级,再revdep-rebuild


app-office/openoffixe 已经被  unmask 了。问题依旧。但是:

eix openoffice
[D] app-office/openoffice
     Available versions:  ~2.1.0-r1 ~2.2.0
     Installed versions:  2.1.0(09:03:17 AM

是不是必须把 openoffice 升级到 ~amd64?
回复 支持 反对

使用道具 举报

发表于 2007-6-19 09:21:15 | 显示全部楼层
现在portage的确只有openoffice-2.2.1.ebuild了。
  1.   16 Jun 2007; Andreas Proschofsky <suka@gentoo.org>
  2.   -files/2.1.0/detect-db4.5.diff, -files/2.1.0/disable-regcomp-python.diff,
  3.   -files/2.1.0/ooo-wrapper.in, -files/2.1.0/gentoo-2.1.0.diff,
  4.   -files/2.1.0/regcompapply.diff,
  5.   -files/2.1.0/ooo-build-2.1.6-hyperlinks-quotes.diff,
  6.   -files/2.1.0/wrapper-readd.diff,
  7.   -files/2.1.0/ooo-build-2.1.6-starcalc-file-format-parser-2.2.diff,
  8.   -files/2.2.0/disable-regcomp-java.diff,
  9.   -files/2.1.0/disable-regcomp-java.diff,
  10.   -files/2.2.0/disable-regcomp-python.diff, -files/2.2.0/ooo-env_log.diff,
  11.   -files/2.2.0/gentoo-2.2.0.diff, -files/2.2.0/regcompapply.diff,
  12.   -openoffice-2.1.0-r1.ebuild, -openoffice-2.2.0.ebuild:
  13.   Remove vulnerable ebuilds for security bug #181921
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-19 11:40:25 | 显示全部楼层
在freebsd 6.2  release 服务器上安装 postgresql 也遇到过类似问题。port 里的版本对应的 distfiles 内容不存在,已被升级。不得不到 postgresql 网站上下载后放到 distfiles 目录下。

和商业软件比较还是有点距离啊。
回复 支持 反对

使用道具 举报

发表于 2007-6-19 13:29:36 | 显示全部楼层
如果你的关键字是amd64
那你就
echo "app-office/openoffice ~amd64" >> /etc/portage/package.keywords
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-19 20:30:43 | 显示全部楼层
Post by zhllg
如果你的关键字是amd64
那你就
echo "app-office/openoffice ~amd64" >> /etc/portage/package.keywords

升级openoffice到2.2.1后,revdep-rebuild依然要安装openoffice-2.1.0。
回复 支持 反对

使用道具 举报

发表于 2007-6-19 20:59:11 | 显示全部楼层
Post by wxw
升级openoffice到2.2.1后,revdep-rebuild依然要安装openoffice-2.1.0。无计可施了。缴枪!

可能是revdep-rebuild使用旧的搜索结果,你把/root/.revdep-rebuild*都删掉,重新revdep-rebuild -vp看看
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表