LinuxSir.cn,穿越时空的Linuxsir!

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

Gentoo 问题多多,我开始害怕升级

[复制链接]
发表于 2008-6-30 22:43:15 | 显示全部楼层
revdep-rebuild没有什么问题
不明白前面那位兄弟说要尽量少用是指什么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-1 00:17:22 | 显示全部楼层
Post by lingyunxs;1869555
别害怕,用gentoo就是折腾,折腾久了就自然会了。


Gentoo 害我(啃哼,其实是自己蠢)丢失硬盘所有数据,作为报复,当然要狠狠地 hacking
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-1 00:19:39 | 显示全部楼层
revdep-rebuild没有什么问题
要有个前提罢,那就是非第一次升级,并且配置文件和系统管理得很好


好消息,系统已经能正常重启,会认中断了
似乎是 emerge -e world 起作用
回复 支持 反对

使用道具 举报

发表于 2008-7-1 11:05:47 | 显示全部楼层
有必要经常revdep-rebuild吗?
我基本上从来都不用!


只要软件能用,没有bug,升级都显得很多余。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-1 11:35:17 | 显示全部楼层
奇怪,从昨晚开始
sudo chroot /media/gt /bin/bash
mount dev
mount proc
env-update

卡在
>>> Emerging (1 of 447) sys-libs/libutempter-1.1.5 to /
waiting for lock on /var/tmp/portage/.sys-libs.portage_lockfile
不动

似乎任何包也下载不了……

老大~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-1 13:10:17 | 显示全部楼层
老大~~~
老大~~~
回复 支持 反对

使用道具 举报

发表于 2008-7-1 17:14:05 | 显示全部楼层
sudo pkill -9 emerge
你有已经被停止的(被你用ctrl-z停止的)emerge,它正在background下载软件源代码,被你停止了
而你又要执行新的emerge
典型的deadlock
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-1 18:52:55 | 显示全部楼层
很后悔以前没有细看文档(portage,emerge)
How to Hacking GNU/Linux



1.
  Hundreds of countries, hundreds of GNU/Linux distributions.
  More choices, more boring. || More choices, more people satisfied.


2.
  How to hacking GNU/Linux?

  First, enjoy experience Linux SPM(software package manager).
    Read all manual sections about SPM.

  Second, try to have a good understanding of SPM.
    How does it works?
    Why it work in this way?
    What is its advantage, disadvantage?

  Third, learn compiling or explaining programming language, such C, Shell, Python.
    Besides, understanding algorithm & data structure is good for your advance hacking.
    Developing a graphic font end for SPM.
  
  Congratulation, You hacked Linux!.

  In fact, you just hacking 'GNU/Linux distributions', not 'GNU/Linux kernel'.


3.
  How to hacking 'GNU/Linux kernel'?

  I'm sorry that I'm unable tell you any more, because of I don't know.

  A men who never afraid anything knows nothing.


2008-06-29 13:26:20
这里在 Gentoo struck 时,中文输入也没有搞好时写的(肯定 有很多语法错误 ,常翻译文档的弟兄如果愿意,帮忙改一下,它将会是《提问的智慧》之三,之二是《转 木头 前辈 对 “新手” 的话》)

细心看一下坛子的问题/精华帖子,很多是系统安装/管理相关的,而答案无非就在已有文档中

我在想,有没有必要翻译一下 portage,emerge 的 manpage,并把  portage - the heart of Gentoo 放在所有文档的首位?

我觉得,了解/掌握一个发行版的关键是深入了解它的软件包管理器工作原理。

现在想想以前初试 Gentoo 就发表意见很无聊,很 SB
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-1 18:56:11 | 显示全部楼层
  1. NAME
  2.        portage - the heart of Gentoo
  3. 名称
  4.        portage - Gentoo 的¥灵魂|核心¥
  5. DESCRIPTION
  6.        The  current portage code uses many different configuration files, most
  7.        of which are unknown to users and normal developers.  Here we will  try
  8.        to  collect  all the odds and ends so as to help users more effectively
  9.        utilize portage.  This is a reference  only  for  files  which  do  not
  10.        already have a man page.
  11. 描述
  12.        portage ¥代码|?¥目前使用许多不不一样配置文件,用户和一般开发者并没有好好理解大部
  13. 分文件。
  14.         我们努力收集所有相关信息集中放在这里,帮助用户更有效地使用 portage。这是
  15. ……
复制代码

初试几句,实在糟糕
回复 支持 反对

使用道具 举报

发表于 2008-7-1 19:22:32 | 显示全部楼层
个人觉得 revdep-rebuild还是有必要的,但是-e world 倒不必经常,机器累,等着也累,还有电费还要适当算一下。:p ps:我的cpu是俗称电老虎的那个第一代核心,超级郁闷,自己换了散热器平时还是60。上下。
回复 支持 反对

使用道具 举报

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

本版积分规则

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