Gentoo Archives: gentoo-user

From: "András Csányi" <sayusi.ando@××××××.hu>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] KDE and NetworkManager
Date: Fri, 19 Jul 2013 07:16:27
Message-Id: CALzub=ov5oSwbh1WQKEjegoxvp7TQ2vN1bhWniG+2SaTSz0qZA@mail.gmail.com
In Reply to: Re: [gentoo-user] KDE and NetworkManager by Bruce Hill
1 On 17 July 2013 15:03, Bruce Hill <daddy@×××××××××××××××××××××.com> wrote:
2 > On Wed, Jul 17, 2013 at 02:18:22PM +0200, András Csányi wrote:
3 >> On 17 July 2013 13:59, Bruce Hill <daddy@×××××××××××××××××××××.com> wrote:
4 >> > On Wed, Jul 17, 2013 at 10:04:12AM +0200, András Csányi wrote:
5 >> >> >
6 >> >> > mingdao@jeremiah ~ $ grep plugdev /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
7 >> >> > mingdao@jeremiah ~ $ grep users /usr/portage/net-misc/wicd/wicd-1.7.2.4-r*
8 >> >> > /usr/portage/net-misc/wicd/wicd-1.7.2.4-r2.ebuild: ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
9 >> >> > /usr/portage/net-misc/wicd/wicd-1.7.2.4-r3.ebuild: ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
10 >> >>
11 >> >> Ok. How is possible to get the post-install message of an ebuild
12 >> >> without re-emerge the package neither opening the log file? The man
13 >> >> page of emerge cannot say anything about it.
14 >> >
15 >> > Read the pkg_postinst portion of the ebuild.
16 >>
17 >> Great!
18 >>
19 >> > If you have installed app-portage/elogv issue "elogv" and find the desired
20 >> > package.
21 >>
22 >> Thanks, I'll check it!
23 >>
24 >> > Two quick ways off the top of my head after the first cup of coffee. ;)
25 >>
26 >> The magic is coming from coffee, I know! :)
27 >
28 > Since reading the ebuild is not the _friendly_ way to get this information,
29 > let me help you install the software to make this easy...
30 >
31 > emerge -ajv app-portage/elogv (ncurses, which is text with colors)
32 > or
33 > emerge -ajv app-portage/elogviewer (GTK+ based utility, perhaps with GUI)
34 >
35 > Now add these lines to /etc/portage/make.conf (/etc/make.conf on old systems)
36 >
37 > PORTAGE_ELOG_SYSTEM="save"
38 > PORTAGE_ELOG_CLASSES="warn error info log qa"
39 >
40 > Then create this directory as root with this command:
41 >
42 > mkdir -p /var/log/portage/elog
43 >
44 > Then as root add your normal user to the portage group with this command:
45 >
46 > gpasswd -a <username> portage (replace <username> with your normal user's name
47 > and do not use the < >
48 >
49 > Then issue:
50 >
51 > newgrp
52 >
53 > as that user or logout of Linux and log back in (you do _not_ need to reboot).
54 >
55 > Then you can issue "elogv" or start elogviewer from the desktop entry and read
56 > the logs of your files.
57 >
58 > Hope this helps.
59 >
60 > Happy Gentooing!
61
62 Thanks for the help! This solution gives me what I want.
63
64 --
65 -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
66 http://facebook.com/andras.csanyi
67 -- ""Trust in God and keep your gunpowder dry!" - Cromwell