LinuxSir.cn,穿越时空的Linuxsir!

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

live CD安装gentoo后,用live CD桌面emerge rp-pppoe 出错(solved)

[复制链接]
发表于 2006-11-26 09:03:30 | 显示全部楼层 |阅读模式
我用live CD  networkless安装完系统后,系统不能设置pppoe。我根据论坛里的提示用live CD  emerge  rp-pppoe,但遇到问题。过程如下:

在gentoo中已经修改 /etc/make,conf 加入:
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://distfiles.gentoo.org"
SYNC="rsync://acm.cs.rpi.edu/gentoo-portage"

1、live CD启动进入桌面,设置pppoe成功

2、live桌面下mount相关硬盘分区:

# mount  -t  reiserfs  /dev/sda7  /mnt/gentoo/boot
# mount  -t  reiserfs  /dev/sda9  /mnt/gentoo
# mount  -t  reiserfs  /dev/sda10  /mnt/gentoo/usr
# mount  -t  reiserfs  /dev/sda11  /mnt/gentoo/home
# mount  -t  reiserfs  /dev/sda12  /mnt/gentoo/var

3、# cp /etc/resolv.conf  /mnt/gentoo/etc/resolv.conf

4、# chroot /mnt/gentoo

5、# emerge rp-pppoe    提示如下错误:

Calculating dependencies... done!
>>> Emerging (1 of 5) dev-lang/tcl-8.4.9 to /
>>> Downloading http://mirrors.acm.cs.rpi.edu/gentoo...4.9-src.tar.gz
--20:25:03-- http://mirrors.acm.cs.rpi.edu/gentoo...4.9-src.tar.gz
=> `/usr/portage/distfiles/tcl8.4.9-src.tar.gz'
Resolving mirrors.acm.cs.rpi.edu... 128.213.5.34, 128.213.5.37
Connecting to mirrors.acm.cs.rpi.edu|128.213.5.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,496,364 (3.3M) [application/x-tar]

100%[=================================================================================>] 3,496,364 24.83K/s ETA 00:00

20:29:57 (11.71 KB/s) - `/usr/portage/distfiles/tcl8.4.9-src.tar.gz' saved [3496364/3496364]

>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking tcl8.4.9-src.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking tcl8.4.9-src.tar.gz to /var/tmp/portage/tcl-8.4.9/work
* Applying tcl-8.4.6-multilib.patch ... [ ok ] * Patching nls cruft in tools/configure [ ok ] * Patching nls cruft in unix/configure [ ok ] * Patching nls cruft in win/configure [ ok ]touch: setting times of `/var/tmp/portage/tcl-8.4.9/.unpacked': Function not implemented

!!! ERROR: dev-lang/tcl-8.4.9 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_unpack
ebuild.sh, line 712: Called die

!!! IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/tcl-8.4.9
!!! If you need support, post the topmost build error, and the call stack if relevant.
发表于 2006-11-26 10:07:16 | 显示全部楼层
好像这步要把一个resolve.conf cp过来?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-26 10:25:52 | 显示全部楼层
Post by 林文清
好像这步要把一个resolve.conf cp过来?

resolve.conf的作用是什么?
回复 支持 反对

使用道具 举报

发表于 2006-11-26 11:34:00 | 显示全部楼层
GentooLinux ~ # cat /etc/resolv.conf
# Generated by dhcpcd for interface eth0
search domain
nameserver 202.96.128.86
nameserver 61.144.56.101
nameserver 61.144.56.100

就是负责域名解析的
回复 支持 反对

使用道具 举报

发表于 2006-11-26 12:45:00 | 显示全部楼层

but still failed

livecd / # emerge rp-pppoe
Calculating dependencies... done!
>>> Emerging (1 of 5) dev-lang/tcl-8.4.9 to /
>>> Downloading http://mirrors.acm.cs.rpi.edu/ge ... tcl8.4.9-src.tar.gz
--20:25:03--  http://mirrors.acm.cs.rpi.edu/ge ... tcl8.4.9-src.tar.gz
           => `/usr/portage/distfiles/tcl8.4.9-src.tar.gz'
Resolving mirrors.acm.cs.rpi.edu... 128.213.5.34, 128.213.5.37
Connecting to mirrors.acm.cs.rpi.edu|128.213.5.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,496,364 (3.3M) [application/x-tar]

100%[=================================================================================>] 3,496,364     24.83K/s    ETA 00:00

20:29:57 (11.71 KB/s) - `/usr/portage/distfiles/tcl8.4.9-src.tar.gz' saved [3496364/3496364]

>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking tcl8.4.9-src.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking tcl8.4.9-src.tar.gz to /var/tmp/portage/tcl-8.4.9/work
* Applying tcl-8.4.6-multilib.patch ...                                                                               [ ok ] * Patching nls cruft in tools/configure                                                                               [ ok ] * Patching nls cruft in unix/configure                                                                                [ ok ] * Patching nls cruft in win/configure                                                                                 [ ok ]touch: setting times of `/var/tmp/portage/tcl-8.4.9/.unpacked': Function not implemented

!!! ERROR: dev-lang/tcl-8.4.9 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_unpack
  ebuild.sh, line 712:   Called die

!!! IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/tcl-8.4.9
!!! If you need support, post the topmost build error, and the call stack if relevant.
回复 支持 反对

使用道具 举报

发表于 2006-11-26 13:58:51 | 显示全部楼层
是不是chroot之前没mount proc

或者你下载好源码包,然后重启到gentoo里面再emerge看看,或许能解决这个问题。
回复 支持 反对

使用道具 举报

发表于 2006-11-26 15:31:08 | 显示全部楼层
Post by 林文清
是不是chroot之前没mount proc

或者你下载好源码包,然后重启到gentoo里面再emerge看看,或许能解决这个问题。


I had mounted all the linux partitions, so the the /proc is surely included.

I download the ppp-2.4.3 and rp-pppoe-3.8 on their Website, and then installed them.

I can connect the system to the internet now.
回复 支持 反对

使用道具 举报

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

本版积分规则

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