Difference between revisions of "HOWTOs for Portage"

From Sabayon Wiki
Jump to: navigation, search
(Undo revision 22291 by Joshua (talk))
 
Line 1: Line 1:
{{I18n| [[De:Portage Paketverwalter|de]] [[Portage Package Manager|en]] [[Zh_CN:Portage Package Manager|zh_cn(简体中文)]] [[Tr:Portage Package Manager|tr]]}}
+
{{I18n| [[De:Portage Paketverwalter|de]] [[Portage Package Manager|en]] [[Zh_CN:Portage Package Manager|zh_cn(简体中文)]] [[Tr:Portage Package Manager|tr]]}}
  
[http://en.wikipedia.org/wiki/Portage_(software) Portage] is [http://www.gentoo.org Gentoo Linux] 使用的包管理系统。Gentoo 由于 Portage 及其的灵活被经常认为是元发行版,它甚至被认为是独立于操作系统的。[http://www.sabayon.org Sabayon Linux] 是基于 Gentoo 的,但有些地方又是有些稍许不同的。Portage 不是 Sabayon 的默认包管理器,尽管它在 Gentoo 下是极其强大的包管理器。Sabayon Linux Entropy 使用 Portage 获取二进制包服务于用户,使你们的使用更加简单。
+
[http://en.wikipedia.org/wiki/Portage_(software) Portage] is a package management system used by [http://www.gentoo.org Gentoo Linux]. Gentoo is sometimes referred to as a meta-distribution due to the extreme flexibility of Portage, which even makes it operating-system-independent. [http://www.sabayon.org Sabayon Linux] is based on Gentoo, but is a bit different in a few ways. Portage is not the default package manager for Sabayon and should only be used by those that are highly experienced with Gentoo. Sabayon Linux Entropy Server uses Portage to bring you the binary packages, making your life much simpler.
  
此页是从 Entropy 基本知识文章中分离出的 Portage 基本知识文章,如果你有关于 Portage 基本知识的文章,请添加在这里。
+
This page is to separate Portage HowTo articles from Entropy HowTo articles.  If you have a HowTo article for Portage, please add it here.
  
{{Warning| '''Portage 包管理器不是 Sabayon 的默认包管理器。只推荐那些理解 Portage 系统并知道标记在系统中作用的高级用户使用它。如果你坚持使用 Portage 并且把你的 Sabayon Linux 的安装搞的一团糟,那是你自己的决定。这是对你而言最大的注意事项,所以请足够重视它。'''}}
+
{{Warning| '''The Portage package manager is not the default package manager of Sabayon.  It should only be used by advanced users who understand the Portage system and understand what flags can do to a system. If you insist on using Portage and you FUBAR your Sabayon Linux installation, you are on your own.  This is your big warning, so pay attention to it.'''}}
  
 
=HowTos=
 
=HowTos=

Latest revision as of 09:17, 24 October 2014

i18n: de en zh_cn(简体中文) tr

Portage is a package management system used by Gentoo Linux. Gentoo is sometimes referred to as a meta-distribution due to the extreme flexibility of Portage, which even makes it operating-system-independent. Sabayon Linux is based on Gentoo, but is a bit different in a few ways. Portage is not the default package manager for Sabayon and should only be used by those that are highly experienced with Gentoo. Sabayon Linux Entropy Server uses Portage to bring you the binary packages, making your life much simpler.

This page is to separate Portage HowTo articles from Entropy HowTo articles. If you have a HowTo article for Portage, please add it here.

Stop.png
The Portage package manager is not the default package manager of Sabayon. It should only be used by advanced users who understand the Portage system and understand what flags can do to a system. If you insist on using Portage and you FUBAR your Sabayon Linux installation, you are on your own. This is your big warning, so pay attention to it.

HowTos

Portage errors, blocks, output problems

"USE-flag vdpau" blocks VLC media player

When upgrading VLC media player with Portage to the latest version, you may find some errors and blocks.

The problem is that the portage-output is not pointing you in the right direction.

The REAL blocker here, is that the USE-flag "vdpau" is enabled on vlc.

Because of that you cannot install <media-video/libav-9.11

vdpau is incompatible with libav. Removing vdpau from the USE flags removes the block and vlc will emerge fine.


To solve, or bypass this, edit:

/etc/portage/package.use/00-sabayon.package.use,

scroll down to the media-video/vlc entry, and add the -vdpau USE-flag

THEN just emerge the package as you normally would do.


This is actually a known bug at Gentoo: Bug 489922)


NVidia blocks Chromium

Users with NVidia-drivers installed, who wants to emerge/upgrade chromium, will notice that the package prevents chromium

for being emerged. This is because the "tcmalloc USE-flag" is enabled on chromium.

To solve, or bypass this, edit:

/etc/portage/package.use/00-sabayon.package.use,

scroll down to the www-client/chromium entry, and add the -tcmalloc USE-flag

THEN just emerge the package as you normally would do.

systemd

Networking|Hardware

Package Management

Installation

Recovery

Desktops|compiz

Graphics

Multimedia

Virtual Machines|Server

Other