求助.gentoo下输入linux pvdisplayy就显示如下信息

Gentoo emerge 各功能实用参数组合及使用技巧-红联Linux系统门户
您的位置:
&& 查看内容 - - -
Gentoo emerge 各功能实用参数组合及使用技巧
Archive发布于
&&字号: &&&&(网友评论&0&条)&
1, 编译安装包
emerge -avt xx
带详细信息,树形依赖关系显示,交互确认指示的安装命令。其中要注意在确认指示时,输出到屏幕上的包信息后面的USE标记, 主要有 红色 与 蓝色 两种USE标记。
红色表示会支持这个功能,蓝色表示去除这个功能,比如安装samba时, 默认需要支持 cups
打印机,并且系统上未安装cups,会自动进行编译安装相关包。所以,如果你不希望安装打印机支持或者未启用图形桌面的,还是取消为好。
步骤如下:
修改 make.conf 在 USE 标记中添加
USE="-cups"
emerge -avt samba
2, 搜索查找安装包
emerge -s xxx
通过标题查找包
emerge -S xxx
通过描述信息查找包
3, 查看包的依赖关系
emerge -vp xxx
查看带详细信息的依赖关系
4, 删除安装包
emerge -avC xxx
删除当前包,并显示详细信息以及删除前询问.
5, 下载源代码包
emerge -f xxx
仅仅在 USE 标记前提下,有针对性的下载需要安装编译的源码及依赖包源码(不执行安装编译)
修改 make.conf 在 USE 标记中添加
USE="-cups"
emerge -f samba
下载的 samba 源码包时,不会下载 samba 所依赖的 cups 源码包。
emerge -F xxx
不论 USE 标记设了什么,下载所有指定包及依赖包源码。
6, 修改了 USE 标记后重装
emerge -avtN xx
带详细信息,树形依赖关系显示,交互确认指示的重装命令。
7, 升级整个系统
emerge -avtuDN world
系统升级命令,带详细信息,树形依赖关系显示,交互确认指示,依赖包查找更新及根据 USE 标记新增,删除情况,对依赖包进行重新编译安装。
N表示 --newuse , 即用户新增或修改,删除了 USE 标记, 编译时,需要将使用到该标记的,已安装的软件包进行重新编译安装,这个选项算然是可选的。但还是建议每次都选上,因为,谁都无法保证,你之前是否真的新增或修改了 USE 标记,还是交给 portage 自己去判断。
8,清除没有依赖关系的源码包
emerge -avt --depclean
带详细信息,树形依赖关系显示,交互确认指示,系统清理命令。通常与删除包或升级过整个系统后联用。先删除或升级,后清理。
depclean完成之后,运行revdep-rebuild来重新构建那些动态链接到由可能已经删除的包提供的公共对象的程序。
(revdep-rebuild是gentoolkit包的一部分,不要忘了先emerge它。)
临时的设置 USE 标记,在升级系统或重装时,都会丢失。所以,建议还是加载 make.conf 里。哪怕是有些工具不需要用,但是装着也不会消费太多的空间。
发表评论,与各位同人交流。回复请点击下方的我要评论按钮(游客可回复),要发表贴子请点击
Linux教程下载?“”(请点击),Linux教程免费下载。
求助Linux问题?论坛有39版块,覆盖所有Linux技术层面。前往“”
 |  |  |  |  |  |  |  |  |  |  |  | 
&2015 红联 Powered by SupSiteGENTOO关于use标记的问题,不是很解,求助_linux吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:111,736贴子:
GENTOO关于use标记的问题,不是很解,求助收藏
emerge gnome * IMPORTANT: 5 news items need reading for repository 'gentoo'. * Use eselect news to read news items.Calculating dependencies... done!!!! Multiple package instances within a single package slot have been pulled!!! into the dependency graph, resulting in a slot conflict:dev-libs/libxml2:2
(dev-libs/libxml2-2.8.0-r3::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)
(dev-libs/libxml2-2.8.0-r3::gentoo, ebuild scheduled for merge) pulled in by
&=dev-libs/libxml2-2.6.12[python] required by (app-text/gnome-doc-utils-0.20.10::gentoo, ebuild scheduled for merge)!!! Enabling --newuse and --update might solve this conflict.!!! If not, it might help emerge to give a more specific suggestion.The following USE changes are necessary to proceed:#required by app-text/gnome-doc-utils-0.20.10, required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1-r2, required by gnome (argument)=dev-libs/libxml2-2.8.0-r3 pythonUse --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).!!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet requirements.- x11-libs/gtk+-3.4.4::gentoo USE="cups introspection -X (-aqua) -colord -debug -examples (-packagekit) -test -vim-syntax (-wayland) -xinerama"
The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( aqua wayland X )
The above constraints are a subset of the following complete expression:
any-of ( aqua wayland X ) xinerama? ( X )(dependency required by "x11-misc/xdg-user-dirs-gtk-0.9" [ebuild])(dependency required by "gnome-base/gnome-session-2.32.1-r3" [ebuild])(dependency required by "gnome-base/gnome-2.32.1-r2" [ebuild])(dependency required by "gnome" [argument])
!!! Enabling --newuse and --update might solve this conflict.!!! If not, it might help emerge to give a more specific suggestion.emerge的提示很好玩,pull是依赖,push是冲突
emerge --newuse --update gnome * IMPORTANT: 5 news items need reading for repository 'gentoo'. * Use eselect news to read news items.Calculating dependencies... done!!!! Multiple package instances within a single package slot have been pulled!!! into the dependency graph, resulting in a slot conflict:dev-libs/libxml2:2
(dev-libs/libxml2-2.8.0-r3::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)
(dev-libs/libxml2-2.8.0-r3::gentoo, ebuild scheduled for merge) pulled in by
&=dev-libs/libxml2-2.6.12[python] required by (app-text/gnome-doc-utils-0.20.10::gentoo, ebuild scheduled for merge)It may be possible to solve this problem by using package.mask toprevent one of those packages from being selected. However, it is alsopossible that conflicting dependencies exist such that they areimpossible to satisfy simultaneously.
If such a conflict exists inthe dependencies of two different packages, then those packages cannot be installed simultaneously.For more information, see MASKED PACKAGES section in the emerge manpage or refer to the Gentoo Handbook.The following USE changes are necessary to proceed:#required by app-text/gnome-doc-utils-0.20.10, required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1-r2, required by gnome (argument)=dev-libs/libxml2-2.8.0-r3 pythonUse --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).!!! The ebuild selected to satisfy "x11-libs/gtk+:3" has unmet requirements.- x11-libs/gtk+-3.4.4::gentoo USE="cups introspection -X (-aqua) -colord -debug -examples (-packagekit) -test -vim-syntax (-wayland) -xinerama"
The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( aqua wayland X )
The above constraints are a subset of the following complete expression:
any-of ( aqua wayland X ) xinerama? ( X )(dependency required by "x11-misc/xdg-user-dirs-gtk-0.9" [ebuild])(dependency required by "gnome-base/gnome-session-2.32.1-r3" [ebuild])(dependency required by "gnome-base/gnome-2.32.1-r2" [ebuild])(dependency required by "gnome" [argument])
dev-libs/libxml2包slot冲突,这个软件包应该安装了不止一个版本
app-text/gnome-doc-utils-0.20.10是这个包的问题。把它~arch掉升级一下或者干脆删了,再安装你原来的东西
设定新的use完了后
emerge --update --deep --newuse world 把gcc重新编译了一次 然后revdep-rebuild 做完这个再把libxml2给emerge一遍就OK了 估计是我才装完就更新过
忘了些什么东西 现在机器在emerge gnome了 :-)
debian用久了 暂时还没习惯过来gentoo的方式
以后再也不买HP的机器了 DEBIAN安装过程中直接黑屏没反应 TEXT界面装完后启动过程中也黑屏 然后自动关了显示器
早上抱着试试看的心情搞个GENTOO上去
还好 一切正常 就是适应过程有点慢
挽,壮哉我大paludis
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或新手园地& & & 硬件问题Linux系统管理Linux网络问题Linux环境编程Linux桌面系统国产LinuxBSD& & & BSD文档中心AIX& & & 新手入门& & & AIX文档中心& & & 资源下载& & & Power高级应用& & & IBM存储AS400Solaris& & & Solaris文档中心HP-UX& & & HP文档中心SCO UNIX& & & SCO文档中心互操作专区IRIXTru64 UNIXMac OS X门户网站运维集群和高可用服务器应用监控和防护虚拟化技术架构设计行业应用和管理服务器及硬件技术& & & 服务器资源下载云计算& & & 云计算文档中心& & & 云计算业界& & & 云计算资源下载存储备份& & & 存储文档中心& & & 存储业界& & & 存储资源下载& & & Symantec技术交流区安全技术网络技术& & & 网络技术文档中心C/C++& & & GUI编程& & & Functional编程内核源码& & & 内核问题移动开发& & & 移动开发技术资料ShellPerlJava& & & Java文档中心PHP& & & php文档中心Python& & & Python文档中心RubyCPU与编译器嵌入式开发驱动开发Web开发VoIP开发技术MySQL& & & MySQL文档中心SybaseOraclePostgreSQLDB2Informix数据仓库与数据挖掘NoSQL技术IT业界新闻与评论IT职业生涯& & & 猎头招聘IT图书与评论& & & CU技术图书大系& & & Linux书友会二手交易下载共享Linux文档专区IT培训与认证& & & 培训交流& & & 认证培训清茶斋投资理财运动地带快乐数码摄影& & & 摄影器材& & & 摄影比赛专区IT爱车族旅游天下站务交流版主会议室博客SNS站务交流区CU活动专区& & & Power活动专区& & & 拍卖交流区频道交流区
UID7211109空间积分0 积分107阅读权限10帖子精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
白手起家, 积分 107, 距离下一级还需 93 积分
帖子主题精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
论坛徽章:0
本帖最后由 cenalulu 于
11:33 编辑
gentoo2.6 命令界面,安装mysql5.1,按照网上的教程,我用二进安装,但是初始化数据库的时候,scripsts/mysql_install_db--user=root,我的目录中是mysql_imstall_db.sh,就卡在这一步,我下的数据库大下为23M左右,现在官方好像已经不能下。我是 google出来下载的,现在不知道问题出在哪里,知道的朋友告诉我一下,谢谢!
&&nbsp|&&nbsp&&nbsp|&&nbsp&&nbsp|&&nbsp&&nbsp|&&nbsp
UID空间积分0 积分16743阅读权限100帖子精华可用积分16743 信誉积分1581 专家积分40 在线时间1944 小时注册时间最后登录
帖子主题精华可用积分16743 信誉积分1581 专家积分40 在线时间1944 小时注册时间最后登录
论坛徽章:4
报什么错误呢
UID7211109空间积分0 积分107阅读权限10帖子精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
白手起家, 积分 107, 距离下一级还需 93 积分
帖子主题精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
论坛徽章:0
小版主杀手
# ./mysql_install_db.sh
FATAL ERROR: Could not find @bindir@/my_print_defaults
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
文档是要求步骤是这样的:
shell& groupadd mysql
shell& useradd -r -g mysql mysql
shell& cd /usr/local
shell& tar zxvf /path/to/mysql-VERSION-OS.tar.gz
shell& ln -s full-path-to-mysql-VERSION-OS mysql
shell& cd mysql
shell& chown -R mysql .
shell& chgrp -R mysql .
shell& scripts/mysql_install_db --user=mysql
shell& chown -R root .
shell& chown -R mysql data
# Next command is optional
shell& cp support-files/f /f
shell& bin/mysqld_safe --user=mysql &
# Next command is optional
shell& cp support-files/mysql.server /etc/init.d/mysql.server
我的安装包中的scripts中的文件mysql_install_db是带有SH的,就进行不下去了
# ./mysql_install_db --user=mysql
-bash: ./mysql_install_db: No such file or directory
scripts # ./mysql_install_db.sh --user=mysql
FATAL ERROR: Could not find @bindir@/my_print_defaults
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
我的系统版本为:Linux syscout 2.6.17-gentoo-r7
UID空间积分0 积分16743阅读权限100帖子精华可用积分16743 信誉积分1581 专家积分40 在线时间1944 小时注册时间最后登录
帖子主题精华可用积分16743 信誉积分1581 专家积分40 在线时间1944 小时注册时间最后登录
论坛徽章:4
zixing23 发表于
回复 2# 小版主杀手
上面的提示:--basedir option
pointing to that location.
指定安装路径,数据存放路径
scripts/mysql_install_db.sh --user=mysql --basedir=xxxx --datadir=/xxx
UID7211109空间积分0 积分107阅读权限10帖子精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
白手起家, 积分 107, 距离下一级还需 93 积分
帖子主题精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
论坛徽章:0
小版主杀手
我的安装包路径是在/root/mysql-5.1.62 程序打算安装在/usr/local/mysql,数据存放在/var/lib/mysql。提示如下错误:
& & scripts # ./mysql_install_db.sh --user=mysql --basedir=/root/mysql-5.1.62/ --datadir=/var/lib/mysql
FATAL ERROR: Could not find my_print_defaults
The following directories were searched:
& & /root/mysql-5.1.62//bin
& & /root/mysql-5.1.62//extra
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
UID7211109空间积分0 积分107阅读权限10帖子精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
白手起家, 积分 107, 距离下一级还需 93 积分
帖子主题精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
论坛徽章:0
小版主杀手
& & 还有就是我把安装包也拷到了/usr/local/mysql目录下,把安装路径指向了/usr/local/mysql也一样不行
UID空间积分0 积分16743阅读权限100帖子精华可用积分16743 信誉积分1581 专家积分40 在线时间1944 小时注册时间最后登录
帖子主题精华可用积分16743 信誉积分1581 专家积分40 在线时间1944 小时注册时间最后登录
论坛徽章:4
zixing23 发表于
回复 4# 小版主杀手
If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.
你下载的是源码包吧?
UID7211109空间积分0 积分107阅读权限10帖子精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
白手起家, 积分 107, 距离下一级还需 93 积分
帖子主题精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
论坛徽章:0
小版主杀手
& & 我是网上下的,mysql5.1 for linux的,怎么去看如何是源码包?我的包不解压只有23M
UID7211109空间积分0 积分107阅读权限10帖子精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
白手起家, 积分 107, 距离下一级还需 93 积分
帖子主题精华可用积分107 信誉积分109 专家积分0 在线时间117 小时注册时间最后登录
论坛徽章:0
小版主杀手
& & 官方不能下载,只能下载for windows的.我的下的包是google里弄出来的
UID空间积分0 积分16743阅读权限100帖子精华可用积分16743 信誉积分1581 专家积分40 在线时间1944 小时注册时间最后登录
帖子主题精华可用积分16743 信誉积分1581 专家积分40 在线时间1944 小时注册时间最后登录
论坛徽章:4
zixing23 发表于
回复 7# 小版主杀手
源码包的话
进入解压目录
./configure --prefix=/usr/local/mysql --with-charsets=utf8 --with-extra-charsets=all --datadir=/var/lib/mysql
.make && make install
.cp&&support-files/f /f
./mysql_install_db --user=mysql --datadir=/var/lib/
北京皓辰网域网络信息技术有限公司. 版权所有 京ICP证:060528号 北京市公安局海淀分局网监中心备案编号:
广播电视节目制作经营许可证(京) 字第1234号
中国互联网协会会员&&联系我们:
感谢所有关心和支持过ChinaUnix的朋友们
转载本站内容请注明原作者名及出处求助.gentoo下输入pvdisplay就显示如下信息_百度知道
求助.gentoo下输入pvdisplay就显示如下信息
提问者采纳
也就是第二块硬盘的第二个分区你可以进grub,再进gentoo.7,1),我会在windows7下面使用easybcd来添加grub的启动项,只要你能引导就行~假如你的kernel(make生成的bzImage)放在了(hd1:kernel (hd1如果我是你。目前我系统上是一个win7,然后下次在windows 7的引导中选择grub,为了保证windows 7能进,那就按照我说的去做grub的选项~gentoo安装程序不会没有任何地方告诉你去安装grub,最近才删了mac~gentoo你如果确定配置好了;dev&#47,一个mac osx 10,1)/bzImage root=&#47,一个gentoo,然后输入,这些都是可选项
其他类似问题
为您推荐:
gentoo的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁}

我要回帖

更多关于 gentoo wiki 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信