Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
用emerge -C卸载软件包后是否还应该做什么呢?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
milestogo
n00b
n00b


Joined: 12 Nov 2010
Posts: 3

PostPosted: Fri May 27, 2011 6:24 am    Post subject: 用emerge -C卸载软件包后是否还应该做什么呢? Reply with quote

不久前安装上了sabayon,用emerge -C删除软件包后,执行了emerge -avuDN world后,又安装了我之前删除的软件
请教该如何设置才不会去安装那些已经删除的软件呢?
Back to top
View user's profile Send private message
RichardGv
n00b
n00b


Joined: 26 Jan 2010
Posts: 43
Location: People's Republic of China

PostPosted: Sat May 28, 2011 3:02 am    Post subject: Reply with quote


  • 不建议使用emerge -C,因为它可能移除其他软件包的依赖,导致其他包无法使用。建议改用emerge -cv package-XXX;
  • 多读手册,呃,RTFM。
  • emerge -avuDN会重新安装你移除了的包,是因为这个包被你的world(/var/lib/portage/world)文件中某一个包(直接或间接)依赖。可以用emerge的--tree选项查看:
    Code:
    emerge -avuDN --tree @world

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum