HOWTOs for Portage

From Sabayon Wiki
Revision as of 09:14, 24 October 2014 by Joshua (talk | contribs)

Jump to: navigation, search
i18n: de en zh_cn(简体中文) tr

Portage is Gentoo Linux 使用的包管理系统。Gentoo 由于 Portage 及其的灵活被经常认为是元发行版,它甚至被认为是独立于操作系统的。Sabayon Linux 是基于 Gentoo 的,但有些地方又是有些稍许不同的。Portage 不是 Sabayon 的默认包管理器,尽管它在 Gentoo 下是极其强大的包管理器。Sabayon Linux 的 Entropy 使用 Portage 获取二进制包服务于用户,使你们的使用更加简单。

此页是从 Entropy 基本知识文章中分离出的 Portage 基本知识文章,如果你有关于 Portage 基本知识的文章,请添加在这里。

Stop.png
Portage 包管理器不是 Sabayon 的默认包管理器。只推荐那些理解 Portage 系统并知道标记在系统中作用的高级用户使用它。如果你坚持使用 Portage 并且把你的 Sabayon Linux 的安装搞的一团糟,那是你自己的决定。这是对你而言最大的注意事项,所以请足够重视它。

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