from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

82450

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Portage magic

/var/log/emerge.log is well-known as the central reporitory of information about all emerge activity going on in system.

Lesser known are some tricks you can do with the content of that log file. For example, when you start an upgrade, you generally don't know how much time it will take to finish compiling. You probably don't remember how long your last mplayer installation took, but Portage does, and if you'd decipher the Unix time stamps in /var/log/emerge.log, you'd get a pretty good idea, too.

Or you could let app-portage/genlop do it for you. Emerge (the unstable, ~arch version of) genlop with:

Code Listing 1: Emerge genlop

#emerge -av genlop

Now run a pretended world upgrade and pipe it to genlop for an estimation of your upgrade schedule:

Code Listing 2: Estimate upgrade time

#emerge -pu world | genlop --pretend 
These are the pretended packages: (this may take a while; wait...) 
 
 * media-libs/tiff 
 * x11-base/xorg-x11 
 * app-sci/stellarium 
 * app-arch/gzip 
 * dev-libs/libIDL 
 * net-www/mozilla-firefox 
 * sys-boot/lilo 
 * app-doc/abs-guide 
 * app-arch/unarj 
 * app-emulation/wine 
 * app-admin/sudo 
 
Estimated update time: 4 hours, 38 minutes.

A look at the mechanism explains how Portage can double as an oracle. It uses the statistics stored in the emerge.log file, take an average of compilation times for given packages, and summarize the results. There are some uncertainties, of course, for example if you use the CCACHE feature, then compile times for a minor version bump may be much faster than the original package took compiling the first time. On the other hand, if an application has been extended with new features, the old average compile time can be shorter than the version you're about to emerge.

Another brilliant feature of genlop is its --current option, the perfect companion to the estimated compile-time from --pretend:

Code Listing 3: How much time spent since the beginning of an emerge

# genlop --current 
 * app-portage/splat-0.07  
       current merge time: 12 seconds.

Now you can say how long time you have to wait.

From http://www.gentoo.org/news/en/gwn/20041122-newsletter.xml

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2025-12-14
concurrent-ruby - 1.3.6
Ebuild name:

dev-ruby/concurrent-ruby-1.3.6

Description

Modern concurrency tools including agents, futures, promises, thread

Added to portage

2025-12-14

flog - 4.9.0
Ebuild name:

dev-ruby/flog-4.9.0

Description

Flog reports the most tortured code in an easy to read pain report

Added to portage

2025-12-14

grub-themes-gentoo - 1.0
Ebuild name:

sys-boot/grub-themes-gentoo-1.0

Description

Grub2 Themes for Gentoo

Added to portage

2025-12-14

openresolv - 3.17.3
Ebuild name:

net-dns/openresolv-3.17.3

Description

A framework for managing DNS information

Added to portage

2025-12-14

ponysay - 3.0.3-r2
Ebuild name:

games-misc/ponysay-3.0.3-r2

Description

cowsay reimplemention for ponies

Added to portage

2025-12-14

ttfautohint - 1.8.4-r4
Ebuild name:

media-gfx/ttfautohint-1.8.4-r4

Description

Application and libary for hinting TrueType fonts

Added to portage

2025-12-14

2025-12-13
acme-client - 2.0.29
Ebuild name:

dev-ruby/acme-client-2.0.29

Description

A Ruby client for the letsencrypt's ACME protocol

Added to portage

2025-12-13

authlib - 1.6.6
Ebuild name:

dev-python/authlib-1.6.6

Description

A Python library in building OAuth and OpenID Connect servers and clients

Added to portage

2025-12-13

awscli - 1.43.15
Ebuild name:

app-admin/awscli-1.43.15

Description

Universal Command Line Environment for AWS

Added to portage

2025-12-13

beartype - 0.22.9
Ebuild name:

dev-python/beartype-0.22.9

Description

Unbearably fast runtime type checking in pure Python

Added to portage

2025-12-13

boogie - 3.5.6
Ebuild name:

dev-lang/boogie-3.5.6

Description

SMT-based program verifier

Added to portage

2025-12-13

boto3 - 1.42.9
Ebuild name:

dev-python/boto3-1.42.9

Description

The AWS SDK for Python

Added to portage

2025-12-13

botocore - 1.42.9
Ebuild name:

dev-python/botocore-1.42.9

Description

Low-level, data-driven core of boto 3

Added to portage

2025-12-13

cachetools - 6.2.3
Ebuild name:

dev-python/cachetools-6.2.3

Description

Extensible memoizing collections and decorators

Added to portage

2025-12-13

capistrano - 3.20.0
Ebuild name:

dev-ruby/capistrano-3.20.0

Description

A distributed application deployment system

Added to portage

2025-12-13

chrome-binary-plugins - 143.0.7499.109
Ebuild name:

www-plugins/chrome-binary-plugins-143.0.7499.109

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2025-12-13

chrome-binary-plugins - 144.0.7559.20_beta
Ebuild name:

www-plugins/chrome-binary-plugins-144.0.7559.20_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2025-12-13

chrome-binary-plugins - 145.0.7572.2_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-145.0.7572.2_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2025-12-13

chromedriver-bin - 143.0.7499.109
Ebuild name:

www-apps/chromedriver-bin-143.0.7499.109

Description

WebDriver for Chrome

Added to portage

2025-12-13

chromium - 143.0.7499.109
Ebuild name:

www-client/chromium-143.0.7499.109

Description

Open-source version of Google Chrome web browser

Added to portage

2025-12-13

clojure - 1.12.4
Ebuild name:

dev-lang/clojure-1.12.4

Description

General-purpose programming language with an emphasis on functional program

Added to portage

2025-12-13

cpuinfo - 2025.11.14
Ebuild name:

dev-libs/cpuinfo-2025.11.14

Description

CPU INFOrmation library

Added to portage

2025-12-13

dar - 2.8.2
Ebuild name:

app-backup/dar-2.8.2

Description

A full featured backup tool, aimed for disks

Added to portage

2025-12-13

devcontainer - 0.80.3
Ebuild name:

app-containers/devcontainer-0.80.3

Description

Reference implementation of the Development Containers specifica

Added to portage

2025-12-13

dist-kernel - 6.12.62
Ebuild name:

virtual/dist-kernel-6.12.62

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-12-13

dist-kernel - 6.17.12
Ebuild name:

virtual/dist-kernel-6.17.12

Description

Virtual to depend on any Distribution Kernel

Added to portage

2025-12-13

duckdb - 1.4.3
Ebuild name:

dev-db/duckdb-1.4.3

Description

high-performance analytical database system

Added to portage

2025-12-13

flask-cors - 6.0.2
Ebuild name:

dev-python/flask-cors-6.0.2

Description

A Flask extension for Cross Origin Resource Sharing (CORS)

Added to portage

2025-12-13

fonttools - 4.61.1
Ebuild name:

dev-python/fonttools-4.61.1

Description

Library for manipulating TrueType, OpenType, AFM and Type1 fonts

Added to portage

2025-12-13

gallery-dl - 1.31.0
Ebuild name:

net-misc/gallery-dl-1.31.0

Description

Download image galleries and collections from several image hosting site

Added to portage

2025-12-13

gentoo-kernel - 6.12.62
Ebuild name:

sys-kernel/gentoo-kernel-6.12.62

Description

Linux kernel built with Gentoo patches

Added to portage

2025-12-13

gentoo-kernel - 6.17.12
Ebuild name:

sys-kernel/gentoo-kernel-6.17.12

Description

Linux kernel built with Gentoo patches

Added to portage

2025-12-13

gentoo-kernel-bin - 6.12.62
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.62

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-12-13

gentoo-kernel-bin - 6.17.12
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.17.12

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2025-12-13

google-chrome - 143.0.7499.109
Ebuild name:

www-client/google-chrome-143.0.7499.109

Description

The web browser from Google

Added to portage

2025-12-13

google-chrome-beta - 144.0.7559.20
Ebuild name:

www-client/google-chrome-beta-144.0.7559.20

Description

The web browser from Google

Added to portage

2025-12-13

google-chrome-unstable - 145.0.7572.2
Ebuild name:

www-client/google-chrome-unstable-145.0.7572.2

Description

The web browser from Google

Added to portage

2025-12-13

kstars - 3.8.0
Ebuild name:

sci-astronomy/kstars-3.8.0

Description

Desktop Planetarium

Added to portage

2025-12-13

libgpr - 26.0.0
Ebuild name:

dev-ada/libgpr-26.0.0

Description

Ada library to handle GPRbuild project files

Added to portage

2025-12-13

mac - 11.90
Ebuild name:

media-sound/mac-11.90

Description

Monkey's Audio Codecs

Added to portage

2025-12-13

microsoft-edge - 143.0.3650.80
Ebuild name:

www-client/microsoft-edge-143.0.3650.80

Description

The web browser from Microsoft

Added to portage

2025-12-13

microsoft-edge-beta - 143.0.3650.66
Ebuild name:

www-client/microsoft-edge-beta-143.0.3650.66

Description

The web browser from Microsoft

Added to portage

2025-12-13

minitest - 5.27.0
Ebuild name:

dev-ruby/minitest-5.27.0

Description

minitest/unit is a small and fast replacement for ruby's huge and slow tes

Added to portage

2025-12-13

moarvm - 2025.11
Ebuild name:

dev-lang/moarvm-2025.11

Description

A 6model-based VM for NQP and Raku

Added to portage

2025-12-13

nqp - 2025.11
Ebuild name:

dev-lang/nqp-2025.11

Description

Not Quite Perl, a Raku bootstrapping compiler

Added to portage

2025-12-13

opera - 125.0.5729.21
Ebuild name:

www-client/opera-125.0.5729.21

Description

A fast and secure web browser

Added to portage

2025-12-13

opera-developer - 126.0.5742.0
Ebuild name:

www-client/opera-developer-126.0.5742.0

Description

A fast and secure web browser

Added to portage

2025-12-13

opera-developer - 126.0.5744.0
Ebuild name:

www-client/opera-developer-126.0.5744.0

Description

A fast and secure web browser

Added to portage

2025-12-13

org-superstar-mode - 1.5.0
Ebuild name:

app-emacs/org-superstar-mode-1.5.0

Description

Prettify headings and plain lists in Org mode (use UTF8 bullets)

Added to portage

2025-12-13

osm - 1.10
Ebuild name:

app-emacs/osm-1.10

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2025-12-13

osm - 1.9
Ebuild name:

app-emacs/osm-1.9

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2025-12-13

osm - 9999
Ebuild name:

app-emacs/osm-9999

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2025-12-13

outline-magic - 0.9
Ebuild name:

app-emacs/outline-magic-0.9

Description

Outline mode extensions for Emacs

Added to portage

2025-12-13

puppet_forge - 6.1.0
Ebuild name:

dev-ruby/puppet_forge-6.1.0

Description

Tools to access Forge API information on Modules, Users, and Releases

Added to portage

2025-12-13

pydf - 15
Ebuild name:

app-admin/pydf-15

Description

Enhanced df with colors

Added to portage

2025-12-13

pytest-describe - 3.1.0
Ebuild name:

dev-python/pytest-describe-3.1.0

Description

Describe-style plugin for pytest

Added to portage

2025-12-13

rakudo - 2025.11
Ebuild name:

dev-lang/rakudo-2025.11

Description

A compiler for the Raku programming language

Added to portage

2025-12-13

rclone - 1.72.1
Ebuild name:

net-misc/rclone-1.72.1

Description

A program to sync files to and from various cloud storage providers

Added to portage

2025-12-13

ruff - 0.14.9
Ebuild name:

dev-util/ruff-0.14.9

Description

An extremely fast Python linter, written in Rust

Added to portage

2025-12-13

simdjson - 4.2.3
Ebuild name:

dev-libs/simdjson-4.2.3

Description

SIMD accelerated C++ JSON library

Added to portage

2025-12-13

sourcegit - 2025.39
Ebuild name:

dev-vcs/sourcegit-2025.39

Description

Open Source Git GUI client using .NET AvaloniaUI

Added to portage

2025-12-13

sqlitestudio - 4.0.0_pre20251207
Ebuild name:

dev-db/sqlitestudio-4.0.0_pre20251207

Description

Powerful cross-platform SQLite database manager

Added to portage

2025-12-13

sshkit - 1.25.0
Ebuild name:

dev-ruby/sshkit-1.25.0

Description

SSHKit makes it easy to write structured, testable SSH commands in Ruby

Added to portage

2025-12-13

steve - 1.2.0
Ebuild name:

dev-build/steve-1.2.0

Description

A load-balancing jobserver for Gentoo

Added to portage

2025-12-13

supercollider - 3.14.1-r1
Ebuild name:

media-sound/supercollider-3.14.1-r1

Description

Environment and programming language for real time audio synthe

Added to portage

2025-12-13

syd - 3.46.0
Ebuild name:

sys-apps/syd-3.46.0

Description

seccomp and landlock based application sandbox with support for namespaces

Added to portage

2025-12-13

tifffile - 2025.12.12
Ebuild name:

dev-python/tifffile-2025.12.12

Description

Read and write TIFF files

Added to portage

2025-12-13

vanilla-kernel - 6.12.62
Ebuild name:

sys-kernel/vanilla-kernel-6.12.62

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-12-13

vanilla-kernel - 6.17.12
Ebuild name:

sys-kernel/vanilla-kernel-6.17.12

Description

Linux kernel built from vanilla upstream sources

Added to portage

2025-12-13

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 61.8 ms