Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge: how do I get all special notes after installing?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
wmm
n00b
n00b


Joined: 26 Dec 2007
Posts: 16
Location: Bavaria, Germany

PostPosted: Mon Jul 01, 2013 6:44 pm    Post subject: Emerge: how do I get all special notes after installing? Reply with quote

Hello,

I've searched via google and the forum but perhaps I asked the wrong questions, I could not find the answer.

After emerging many packages by installing or updating my system, a lot of messages appear on terminal screen when emerge is through with install/update. These messages may be very important for post-install work to be done. The messages themselves may be prefixed with red, yellow or green stars as important marks what final state the emerge had on the appropriate package.

How can I reget these post-install messages, does a tool exist which lets me get the important info of all and/or the last current install?

If neccessary, I can provide a picture of a current snapshot of a screen output after emerge process. Not all is visible, as the screen scrolled up and out of sight.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Mon Jul 01, 2013 7:14 pm    Post subject: Reply with quote

see if you have /var/log/portage/elog
shift-PageUp will scroll the terminal
_________________
Defund the FCC.
Back to top
View user's profile Send private message
wmm
n00b
n00b


Joined: 26 Dec 2007
Posts: 16
Location: Bavaria, Germany

PostPosted: Mon Jul 01, 2013 10:18 pm    Post subject: Reply with quote

Thanks for your fast reply.

I have elog, but elog does not contain the message text I see after emerge has finished emerging one or more packages and emerging the next one or after all package emerges are done.

Shift PageUp doesn't give enough output even though I've already enlarged the buffer quite a while ago and it doesn't show all package comments when I do a global emerge -vaueDN system or world update, it just shows the last few pages and that's it.

Drawbacks of PageUp:
I often do an emerge in one of my 11 terminal screens, therefore I use other terminal cli's to do other jobs like ssh to other computers doing update and other management jobs on these machines remotely. Therefore, when I return to the terminal where emerge runs, when it has already finished, PageUp doesn't work anymore, it only works if I stay put to this terminal until all is done. And as soon as I dare switch to another terminal to do such suggested maintenance work, PageUp quits working.

So my question remains:
where can I find these package messages that look like this example from a currently running update, they are NOT included in elog messages:

Code:

...
>>> Original instance of package unmerged safely.
* Text message containing....
* valuable postinstall and ...
* other post-TODO's...
* to keep a bootable system...
>>> Package-dir/package merged. (here sys-libs/pam-1.1.6-r2)
>>> Regenerating /etc/ld.so.cache...

>>> Emerging next package (here gcc...)



Here I'll include a more realistic example from my linux laptop, I have to switch over to that laptop, login and reedit from there:
Code:

...
 * If you have services now which do not start because of this,
 * They can be fixed by adding rc_need="!net"
 * to the /etc/conf.d/<servicename> file.
 * You should also file a bug against the service asking that
 * need net be dropped from the dependencies.
 * The bug you file should block the following tracker:
 * https://bugs.gentoo.org/show_bug.cgi?id=439092
 * This version of OpenRC doesn't enable nfs mounts automatically any
 * longer. In order to mount nfs file systems, you must use the
 * nfsmount service from the nfs-utils package.
 * See bug https://bugs.gentoo.org/show_bug.cgi?id=427996 for
 * more information on this.
 * You should now update all files in /etc, using etc-update
 * or equivalent before restarting any services or this host.
 *
 * Please read the migration guide available at:
 * http://www.gentoo.org/doc/en/openrc-migration.xml

 * Messages for package net-misc/openssh-5.9_p1-r4:

 * Starting with openssh-5.8p1, the server will default to a newer key
 * algorithm (ECDSA).  You are encouraged to manually update your stored
 * keys list as servers update theirs.  See ssh-keyscan(1) for more info.
 * Remember to merge your config files in /etc/ssh/ and then
 * reload sshd: '/etc/init.d/sshd reload'.
 * Please be aware users need a valid shell in /etc/passwd
 * in order to be allowed to login.

 * Messages for package sys-fs/udev-init-scripts-26:

 *
 * You need to add udev-mount to the sysinit runlevel.
 * If you do not do this,
 * your system will not be able to boot!
 * Run this command:
 *      rc-update add udev-mount sysinit

 * Messages for package sys-fs/udev-204:

 *
 * File /etc/udev/rules.d/70-persistent-cd.rules is from old udev installation but if you still use it,
 * rename it to something else starting with 70- to silence this deprecation
 * warning.
 *
 * The new predictable network interface names are used by default, see:
 * http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
 *
 * Example command to get the information for the new interface name before booting
 * (replace <ifname> with, for example, eth0):
 * # udevadm test-builtin net_id /sys/class/net/<ifname> 2> /dev/null
 *
 * You can use kernel commandline net.ifnames=0 to disable this feature.
 *
 * You need to restart udev as soon as possible to make the upgrade go
 * into effect.
 * The method you use to do this depends on your init system.
 *
 * For more information on udev on Gentoo, upgrading, writing udev rules, and
 *          fixing known issues visit:
 *          http://wiki.gentoo.org/wiki/Udev/upgrade
 *          http://www.gentoo.org/doc/en/udev-guide.xml

 * Messages for package sys-apps/busybox-1.20.2:

 * Could not locate user configfile, so we will save a default one
 * You cannot have USE='static pam'.  Assuming static is more important.
 * Your configuration for sys-apps/busybox-1.20.2 has been saved in
 * /etc/portage/savedconfig/sys-apps/busybox-1.20.2 for your editing pleasure.
 * You can edit these files by hand and remerge this package with
 * USE=savedconfig to customise the configuration.
 * You can rename this file/directory to one of the following for
 * its configuration to apply to multiple versions:
 * ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
 * [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Regenerating GNU info directory index...
 * Processed 180 info files.
...


I checked on other logfiles in /var/log and /var/tmp but had no luck.

I think they are installation related but don't know where else to look.

I'm looking for an automated solution showing all messages of all and selectable emerge processes by date or package.

Any other ideas?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Mon Jul 01, 2013 11:26 pm    Post subject: Reply with quote

you should have /var/log/portage/elog/summary.log which for me looks like http://pastebin.ca/2414082 assuming a default /etc/portage/make.conf with only the modifications suggested by the handbook you should have the summary.log also

https://forums.gentoo.org/viewtopic-t-944522-highlight-elog+summary.html --- enjoy a predecessor discussion
_________________
Defund the FCC.
Back to top
View user's profile Send private message
wmm
n00b
n00b


Joined: 26 Dec 2007
Posts: 16
Location: Bavaria, Germany

PostPosted: Wed Jul 03, 2013 4:32 am    Post subject: Reply with quote

OK, I did have the standard of elog-setup in my /etc/portage/make.conf.

I changed that now to the following:

#PORTAGE_ELOG_CLASSES="log warn error"
#PORTAGE_ELOG_CLASSES="*"
PORTAGE_ELOG_CLASSES="log warn error qa"

AND

#PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_ELOG_SYSTEM="echo save mail save_summary mail_summary"


Should I install the elogv and elogviewer?

I'd like to know how you got that nice line numbers into your log?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Wed Jul 03, 2013 5:26 am    Post subject: Reply with quote

I've done nothing in this particular install to affect portage logging.
my /etc/portage/make.conf is rudimentary:
Quote:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="apache2 bindist gd mmx sse sse2 -pulseaudio" # kerberos mysql php python winbind xinetd swat"
MAKEOPTS="-j9"
VIDEO_CARDS="fglrx vesa"
INPUT_DEVICES="evdev synaptics"
ACCEPT_LICENSE="*"
I had an elogviewer on a previous machine, haven't bothered since. Try it you may love it, if not
Code:
emerge --unmerge elogviewer
is quick and easy.

oops sorry pastebin sites add line numbers
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum