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:

59672

userrating:

average rating: 1.5 (4 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


rate this article:
current rating: average rating: 1.1 (78 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2022-01-20
awscli - 1.22.39
Ebuild name:

app-admin/awscli-1.22.39

Description

Universal Command Line Environment for AWS

Added to portage

2022-01-20

boto3 - 1.20.39
Ebuild name:

dev-python/boto3-1.20.39

Description

The AWS SDK for Python

Added to portage

2022-01-20

botocore - 1.23.39
Ebuild name:

dev-python/botocore-1.23.39

Description

Low-level, data-driven core of boto 3

Added to portage

2022-01-20

dogpile-cache - 1.1.5
Ebuild name:

dev-python/dogpile-cache-1.1.5

Description

A locking API for expiring values while a single thread generates a

Added to portage

2022-01-20

fcron - 3.3.1_beta
Ebuild name:

sys-process/fcron-3.3.1_beta

Description

A command scheduler with extended capabilities over cron and anacron

Added to portage

2022-01-20

h11 - 0.13.0
Ebuild name:

dev-python/h11-0.13.0

Description

A pure-Python implementation of HTTP/1.1 inspired by hyper-h2

Added to portage

2022-01-20

hypothesis - 6.36.0
Ebuild name:

dev-python/hypothesis-6.36.0

Description

A library for property based testing

Added to portage

2022-01-20

ipython - 7.31.1
Ebuild name:

dev-python/ipython-7.31.1

Description

Advanced interactive shell for Python

Added to portage

2022-01-20

ipython - 8.0.1
Ebuild name:

dev-python/ipython-8.0.1

Description

Advanced interactive shell for Python

Added to portage

2022-01-20

iwdevtools - 0.9.0
Ebuild name:

app-portage/iwdevtools-0.9.0

Description

Small tools to aid with Gentoo development, primarily intended for QA

Added to portage

2022-01-20

leatherman - 1.12.7
Ebuild name:

dev-libs/leatherman-1.12.7

Description

A C++ toolkit

Added to portage

2022-01-20

minikube - 1.25.0
Ebuild name:

sys-cluster/minikube-1.25.0

Description

Single Node Kubernetes Cluster

Added to portage

2022-01-20

moodle - 3.10.9
Ebuild name:

www-apps/moodle-3.10.9

Description

The Moodle Course Management System

Added to portage

2022-01-20

moodle - 3.11.5
Ebuild name:

www-apps/moodle-3.11.5

Description

The Moodle Course Management System

Added to portage

2022-01-20

moodle - 3.9.12
Ebuild name:

www-apps/moodle-3.9.12

Description

The Moodle Course Management System

Added to portage

2022-01-20

ncftp - 3.2.6-r4
Ebuild name:

net-ftp/ncftp-3.2.6-r4

Description

An extremely configurable ftp client

Added to portage

2022-01-20

pytest-regressions - 2.3.1
Ebuild name:

dev-python/pytest-regressions-2.3.1

Description

Easy to use fixtures to write regression tests

Added to portage

2022-01-20

sc-controller - 0.4.8.6
Ebuild name:

games-util/sc-controller-0.4.8.6

Description

User-mode driver and GTK-based GUI for Steam Controllers and other

Added to portage

2022-01-20

scala-mode - 2.10.3
Ebuild name:

app-emacs/scala-mode-2.10.3

Description

Scala mode for Emacs

Added to portage

2022-01-20

scheme-complete - 0.9.8
Ebuild name:

app-emacs/scheme-complete-0.9.8

Description

Scheme tab-completion and word-completion for Emacs

Added to portage

2022-01-20

stripe-mock - 0.117.0
Ebuild name:

dev-util/stripe-mock-0.117.0

Description

Mock HTTP server that responds like the real Stripe API

Added to portage

2022-01-20

tekore - 4.2.0
Ebuild name:

dev-python/tekore-4.2.0

Description

Spotify Web API client

Added to portage

2022-01-20

tsm - 8.1.13.3
Ebuild name:

app-backup/tsm-8.1.13.3

Description

IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client,

Added to portage

2022-01-20

varnish - 7.0.1
Ebuild name:

www-servers/varnish-7.0.1

Description

Varnish is a state-of-the-art, high-performance HTTP accelerator

Added to portage

2022-01-20

2022-01-19
awscli - 1.22.38
Ebuild name:

app-admin/awscli-1.22.38

Description

Universal Command Line Environment for AWS

Added to portage

2022-01-19

bitshuffle - 0.3.5
Ebuild name:

dev-libs/bitshuffle-0.3.5

Description

Bitshuffle C library

Added to portage

2022-01-19

boto3 - 1.20.38
Ebuild name:

dev-python/boto3-1.20.38

Description

The AWS SDK for Python

Added to portage

2022-01-19

botocore - 1.23.38
Ebuild name:

dev-python/botocore-1.23.38

Description

Low-level, data-driven core of boto 3

Added to portage

2022-01-19

canlock - 3.3.0
Ebuild name:

net-libs/canlock-3.3.0

Description

A library for creating and verifying Usenet cancel locks

Added to portage

2022-01-19

capnproto - 0.9.1
Ebuild name:

dev-libs/capnproto-0.9.1

Description

RPC/Serialization system with capabilities support

Added to portage

2022-01-19

cfn-lint - 0.57.0
Ebuild name:

dev-python/cfn-lint-0.57.0

Description

CloudFormation Linter

Added to portage

2022-01-19

checker-framework-qual - 3.14.0
Ebuild name:

dev-java/checker-framework-qual-3.14.0

Description

Annotations for type-checking by the Checker Framework

Added to portage

2022-01-19

dnspython - 2.2.0
Ebuild name:

dev-python/dnspython-2.2.0

Description

DNS toolkit for Python

Added to portage

2022-01-19

element - 1.9.9
Ebuild name:

www-apps/element-1.9.9

Description

A glossy Matrix collaboration client for the web

Added to portage

2022-01-19

entrypoint2 - 1.0
Ebuild name:

dev-python/entrypoint2-1.0

Description

Easy to use command-line interface for python modules

Added to portage

2022-01-19

error-prone-annotations - 2.7.1
Ebuild name:

dev-java/error-prone-annotations-2.7.1

Description

Java annotations for the Error Prone static analysis tool

Added to portage

2022-01-19

eselect - 1.4.20
Ebuild name:

app-admin/eselect-1.4.20

Description

Gentoo's multi-purpose configuration and management tool

Added to portage

2022-01-19

failureaccess - 30.1.1
Ebuild name:

dev-java/failureaccess-30.1.1

Description

Guava's InternalFutureFailureAccess and InternalFutures classes.

Added to portage

2022-01-19

ffmpeg - 5.0
Ebuild name:

media-video/ffmpeg-5.0

Description

Complete solution to record/convert/stream audio and video. Includes libavco

Added to portage

2022-01-19

frozenlist - 1.3.0
Ebuild name:

dev-python/frozenlist-1.3.0

Description

A list-like structure which implements collections.abc.MutableSequence

Added to portage

2022-01-19

gimp - 2.99.6-r2
Ebuild name:

media-gfx/gimp-2.99.6-r2

Description

GNU Image Manipulation Program

Added to portage

2022-01-19

gimp - 2.99.8-r1
Ebuild name:

media-gfx/gimp-2.99.8-r1

Description

GNU Image Manipulation Program

Added to portage

2022-01-19

glassfish-xmlrpc-api - 1.1.1-r1
Ebuild name:

dev-java/glassfish-xmlrpc-api-1.1.1-r1

Description

Project GlassFish XML RPC API

Added to portage

2022-01-19

glibc - 2.33-r8
Ebuild name:

sys-libs/glibc-2.33-r8

Description

GNU libc C library

Added to portage

2022-01-19

google-api-python-client - 2.36.0
Ebuild name:

dev-python/google-api-python-client-2.36.0

Description

Google API Client for Python

Added to portage

2022-01-19

grafana-bin - 7.5.13
Ebuild name:

www-apps/grafana-bin-7.5.13

Description

Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & Open

Added to portage

2022-01-19

grafana-bin - 8.3.4
Ebuild name:

www-apps/grafana-bin-8.3.4

Description

Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenT

Added to portage

2022-01-19

guava - 30.1.1
Ebuild name:

dev-java/guava-30.1.1

Description

A collection of Google's core Java libraries

Added to portage

2022-01-19

httpcore - 0.14.5
Ebuild name:

dev-python/httpcore-0.14.5

Description

A minimal low-level HTTP client

Added to portage

2022-01-19

ispc - 1.17.0
Ebuild name:

dev-lang/ispc-1.17.0

Description

Intel SPMD Program Compiler

Added to portage

2022-01-19

lark-parser - 0.11.3-r1
Ebuild name:

dev-python/lark-parser-0.11.3-r1

Description

Python module to propose a modern general-purpose parsing library

Added to portage

2022-01-19

libnma - 1.8.34
Ebuild name:

net-libs/libnma-1.8.34

Description

NetworkManager GUI library

Added to portage

2022-01-19

libreoffice-bin - 7.2.5.2
Ebuild name:

app-office/libreoffice-bin-7.2.5.2

Description

A full office productivity suite. Binary package

Added to portage

2022-01-19

libreoffice-bin-debug - 7.2.5.2
Ebuild name:

app-office/libreoffice-bin-debug-7.2.5.2

Description

LibreOffice, a full office productivity suite. Binary pack

Added to portage

2022-01-19

libwmf - 0.2.8.4-r9
Ebuild name:

media-libs/libwmf-0.2.8.4-r9

Description

A library for reading vector images in Microsoft's Windows Metafile Fo

Added to portage

2022-01-19

mednafen - 1.29.0
Ebuild name:

games-emulation/mednafen-1.29.0

Description

Argument-driven multi-system emulator utilizing OpenGL and SDL

Added to portage

2022-01-19

meson - 0.61.1
Ebuild name:

dev-util/meson-0.61.1

Description

Open source build system

Added to portage

2022-01-19

microsoft-edge - 97.0.1072.62
Ebuild name:

www-client/microsoft-edge-97.0.1072.62

Description

The web browser from Microsoft

Added to portage

2022-01-19

microsoft-edge-beta - 98.0.1108.23
Ebuild name:

www-client/microsoft-edge-beta-98.0.1108.23

Description

The web browser from Microsoft

Added to portage

2022-01-19

microsoft-edge-dev - 99.0.1131.3
Ebuild name:

www-client/microsoft-edge-dev-99.0.1131.3

Description

The web browser from Microsoft

Added to portage

2022-01-19

mixxx - 2.3.1-r3
Ebuild name:

media-sound/mixxx-2.3.1-r3

Description

Advanced Digital DJ tool based on Qt

Added to portage

2022-01-19

mvel - 2.3.2-r1
Ebuild name:

dev-java/mvel-2.3.2-r1

Description

MVFLEX Expression Language

Added to portage

2022-01-19

owncloud - 10.9.1
Ebuild name:

www-apps/owncloud-10.9.1

Description

Web-based storage application where all your data is under your own contro

Added to portage

2022-01-19

owncloud-client - 2.10.0.6519
Ebuild name:

net-misc/owncloud-client-2.10.0.6519

Description

Synchronize files from ownCloud Server with your computer

Added to portage

2022-01-19

parse_type - 0.6.0
Ebuild name:

dev-python/parse_type-0.6.0

Description

Extension to the parse module

Added to portage

2022-01-19

postfix - 3.6.4
Ebuild name:

mail-mta/postfix-3.6.4

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2022-01-19

postfix - 3.7_pre20220117
Ebuild name:

mail-mta/postfix-3.7_pre20220117

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2022-01-19

py - 1.11.0-r1
Ebuild name:

dev-python/py-1.11.0-r1

Description

library with cross-python path, ini-parsing, io, code, log facilities

Added to portage

2022-01-19

pytest-timeout - 2.1.0
Ebuild name:

dev-python/pytest-timeout-2.1.0

Description

pytest plugin to abort hanging tests

Added to portage

2022-01-19

pytz_deprecation_shim - 0.1.0_p0-r2
Ebuild name:

dev-python/pytz_deprecation_shim-0.1.0_p0-r2

Description

Shims to make deprecation of pytz easier

Added to portage

2022-01-19

regex - 2022.1.18
Ebuild name:

dev-python/regex-2022.1.18

Description

Alternative regular expression module to replace re

Added to portage

2022-01-19

rfc3986-validator - 0.1.1-r1
Ebuild name:

dev-python/rfc3986-validator-0.1.1-r1

Description

Pure python RFC3986 validator

Added to portage

2022-01-19

rfc3987 - 1.3.8-r2
Ebuild name:

dev-python/rfc3987-1.3.8-r2

Description

Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)

Added to portage

2022-01-19

rp-pppoe - 3.15-r2
Ebuild name:

net-dialup/rp-pppoe-3.15-r2

Description

A user-mode PPPoE client and server suite for Linux

Added to portage

2022-01-19

rssguard - 4.1.2
Ebuild name:

net-news/rssguard-4.1.2

Description

Simple (yet powerful) feed reader

Added to portage

2022-01-19

sax - 2.2.1-r5
Ebuild name:

dev-java/sax-2.2.1-r5

Description

SAX Simple API for XML in Java

Added to portage

2022-01-19

scim-bridge-el - 0.8.2-r1
Ebuild name:

app-emacs/scim-bridge-el-0.8.2-r1

Description

a SCIM-Bridge client for Emacs

Added to portage

2022-01-19

scss-mode - 0.5.0_p20180123-r1
Ebuild name:

app-emacs/scss-mode-0.5.0_p20180123-r1

Description

Major mode for editing SCSS files in Emacs

Added to portage

2022-01-19

setuptools_scm - 6.4.1
Ebuild name:

dev-python/setuptools_scm-6.4.1

Description

Manage versions by scm tags via setuptools

Added to portage

2022-01-19

socksio - 1.0.0
Ebuild name:

dev-python/socksio-1.0.0

Description

Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5

Added to portage

2022-01-19

sphinx-autodoc-typehints - 1.15.3
Ebuild name:

dev-python/sphinx-autodoc-typehints-1.15.3

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2022-01-19

stunnel - 5.62
Ebuild name:

net-misc/stunnel-5.62

Description

TLS/SSL - Port Wrapper

Added to portage

2022-01-19

tmpreaper - 1.6.16
Ebuild name:

app-admin/tmpreaper-1.6.16

Description

A utility for removing files based on when they were last accessed

Added to portage

2022-01-19

tzlocal - 4.1-r1
Ebuild name:

dev-python/tzlocal-4.1-r1

Description

tzinfo object for the local timezone

Added to portage

2022-01-19

umockdev - 0.17.5
Ebuild name:

dev-util/umockdev-0.17.5

Description

Mock hardware devices for creating unit tests

Added to portage

2022-01-19

visualvm - 2.1.2
Ebuild name:

dev-util/visualvm-2.1.2

Description

Integrates commandline JDK tools and profiling capabilities

Added to portage

2022-01-19

wine-staging - 7.0
Ebuild name:

app-emulation/wine-staging-7.0

Description

Free implementation of Windows(tm) on Unix, with Wine-Staging patchs

Added to portage

2022-01-19

wine-vanilla - 7.0
Ebuild name:

app-emulation/wine-vanilla-7.0

Description

Free implementation of Windows(tm) on Unix, without external patchse

Added to portage

2022-01-19

zstandard - 0.17.0
Ebuild name:

dev-python/zstandard-0.17.0

Description

Zstandard Bindings for Python

Added to portage

2022-01-19

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 67.8 ms