Difference between revisions of "HOWTOs for Portage"

From Sabayon Wiki
Jump to: navigation, search
(Multimedia)
(Undo revision 22291 by Joshua (talk))
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{I18n| [[De:Portage Paketverwalter|de]] [[Portage Package Manager|en]] [[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 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.
 
[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.
Line 8: Line 8:
  
 
=HowTos=
 
=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: 
 +
[https://bugs.gentoo.org/show_bug.cgi?id=489922 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 ==
 +
*[[HOWTO: systemd]]
  
 
==Networking|Hardware==
 
==Networking|Hardware==

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