LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: l_s

e2fsprogs 文件不小心 被emerge -C 了还有没有补救的方法

[复制链接]
 楼主| 发表于 2009-10-7 15:50:10 | 显示全部楼层
Post by 亞利艾爾;2033916
樓上先不要忙lddtree的事了,先忙你的e2fsprogs吧。那個和你問題修復沒有直接關係……

你試過沒有?從livecd的iso里拷so文件,或者去掉ssl再編譯一次wget后安裝e2fsprogs?

谢谢大家的热情帮忙。

兄弟呀。。。还没有下班。。回去试了来。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-7 20:12:09 | 显示全部楼层
回来试了。。我从另一个地方拷了个。可是mount 不起。差文件 libblkid.so.1 找不这个文件目录
wget 差个 libcom_err.so.2 和前者一样。差。。

USE里没有 ssl 还有我的distfile里 也没有wget 的包
回复 支持 反对

使用道具 举报

发表于 2009-10-7 20:31:25 | 显示全部楼层
Post by 亞利艾爾;2033916
這個……那個……是不是說反了……不好意思……沒有看明白……

不好意思,偶语文全还回去啦!
是您反了。

重新断句:
(您)误解(了);
(实际情况是)ldd 默认列出所有依赖的库,包括库依赖的库;
偶一直想找到只列出直接依赖的方法,无果(现在有更好的东东用啦)。
回复 支持 反对

使用道具 举报

发表于 2009-10-7 20:44:08 | 显示全部楼层
楼主最不济,您可以先在其它系统中静态编译 mount wget,覆盖损坏系统对应程序,先正常启动系统,再修复好啦。
回复 支持 反对

使用道具 举报

发表于 2009-10-7 23:32:15 | 显示全部楼层
Post by 聚焦深空;2033982
不好意思,偶语文全还回去啦!
是您反了。

重新断句:
(您)误解(了);
(实际情况是)ldd 默认列出所有依赖的库,包括库依赖的库;
偶一直想找到只列出直接依赖的方法,无果(现在有更好的东东用啦)。

沒有看到ldd能列出庫依賴的庫呀?相反到是lddtree做了這個事情……

@樓主:至於你連mount都不行的話……嗯,自己搞個盤子是比較實際的……還有,上網不一定要用wget的吧?不知道你有沒有安裝curl,我不知道curl能不能用,你試試吧。

curl -O http://ftp.kaist.ac.kr/gentoo/distfiles/e2fsprogs-1.41.9.tar.gz
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-8 00:45:19 | 显示全部楼层
ok   please look me install setup

setup 1.  mkdir /media/gentoo
              mount /dev/sda6 /media/gentoo
              chroot /media/gentoo /bin/bash

setup 2  cp /media/usb/e2fsprogs* /root
             tar -xvf  e2fsprogs-1.41.3
             ./configure                     ....ok
              make                            ....ok
              make install                 ...error [
make[1]: Entering directory `/root/e2fsprogs-1.41.3/doc'
        TEXI2DVI libext2fs.dvi
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://www.tug.org.  If
you happen to be using Debian, you can get it with this command:
  apt-get install tetex-bin
make[1]: [libext2fs.dvi] Error 1 (ignored)
        MKINSTALLDIRS /usr/share/info
        INSTALL_DATA /usr/share/info/libext2fs.info
        GZIP /usr/share/info/libext2fs.info*
make[1]: Leaving directory `/root/e2fsprogs-1.41.3/doc'
if test ! -d e2fsck && test ! -d debugfs && test ! -d misc && test ! -d ext2ed ; then make install-libs ; fi
]


setup 3  e2fsprogs-libs-1.41.3  install success ![ ]


setup 4 wget baidu.com          ....error [wget: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directory
]

help me.thanks
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-8 01:00:06 | 显示全部楼层
555555555555555

reinstall wget happened error
install wget success , but not use

livecd wget-1.11.4 # w   
w             watch         whatis        while         winbond-diag
wait          wc            whereis       who           write
wall          wget          which         whoami        

wget www.baidu.com
error  code
bash: /usr/bin/wget: No such file or directory {why !!}


livecd wget-1.11.4 # emerge e2fsprogs
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 3) sys-devel/bc-1.06.95
openpty failed: 'out of pty devices'
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
>>> Downloading 'http://61.135.158.199/distfiles/bc-1.06.95.tar.bz2'
Traceback (most recent call last):
  File "/usr/lib/portage/bin/ebuild", line 249, in <module>
    debug=debug, tree=mytree)
  File "//usr/lib/portage/pym/portage/__init__.py", line 6321, in doebuild
    fetchme, mysettings, listonly=listonly, fetchonly=fetchonly):
  File "//usr/lib/portage/pym/portage/__init__.py", line 4364, in fetch
    myret = _spawn_fetch(mysettings, myfetch)
  File "//usr/lib/portage/pym/portage/__init__.py", line 3526, in _spawn_fetch
    env=dict(settings.iteritems()), **kwargs)
  File "//usr/lib/portage/pym/portage/process.py", line 189, in spawn
    raise CommandNotFound(mycommand[0])
portage.exception.CommandNotFound: /usr/bin/wget
* Fetch failed for 'sys-devel/bc-1.06.95', Log file:
*  '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'

>>> Failed to emerge sys-devel/bc-1.06.95, Log file:

>>>  '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'

* Messages for package sys-devel/bc-1.06.95:

* Fetch failed for 'sys-devel/bc-1.06.95', Log file:
*  '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'

亞利艾爾  what is mean
回复 支持 反对

使用道具 举报

发表于 2009-10-8 02:27:17 | 显示全部楼层
我無能為力……有curl沒有?curl http://61.135.158.199/distfiles/bc-1.06.95.tar.bz2一下
回复 支持 反对

使用道具 举报

发表于 2009-10-8 02:28:16 | 显示全部楼层
還有,你wget是用Portage安裝的還是手動安裝的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-8 08:03:52 | 显示全部楼层
手动安装的。。。 全部是手动安装的。

就./configure make make install

wget  加了一个去掉ssl 的选项。
回复 支持 反对

使用道具 举报

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

本版积分规则

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