emerge -av --depclean wants to remove
sys-kernel/gentoo-sources-2.6.30-r7 after a world update.
How do I prevent this? I've tried the --deselect and --noreplace switches but that has the opposite effect I'm looking for.
I read this same question earlier this year on the gentoo-user mailing list and got a perfect solution from Mike Kazantsev along with help from Boris Fersing.
Edit (or create) /etc/portage/sets.conf and put this inside:
[kernels]
class = portage.sets.dbapi.OwnerSet
world-candidate = False
files = /usr/src
Then edit/create /var/lib/portage/world_sets and add this line:
@kernels
Now --depclean should never try to remove your kernel packages! It
works great for me.
net-misc/wicd is a nice program to manage your wired and wireless networks. I use wicd to manager my eth0 and wlan0 on my laptops.
openrc 4.3
In /etc/init.d I only have net.lo and my /etc/conf.d/rc has;
RC_PLUG_SERVICES="!net.eth0 !net.wlan0".
openrc 5.2
/etc/rc.conf rc_hotplug="!net.wlan !net.eth0"
by Christian Faulhammer (fauli)
Writing a news item For some time now it is possible to distribute news items to users. The notification is similar to the pending updates in /etc, so users are alerted in a more highlighted manner than by simple elog information that passes by on the screen. To not annoy the user with minor problems, only really important information like a major configuration change in the X component should be announced. As the description in GLEP 42 [1] is quite a lot of text and getting through to the information needed to write a news item is relatively hard, I want to make a summary of the steps to take. No responsibilty though, the GLEP stays the definitive source of wisdom:
1. Choose a correct file name: YYYY-MM-DD-name.lang.txt, where the date is followed by a name (all letters and numbers allowed, plus dash and underscore), the two-letter ISO language code (en for English must be chosen as default) and the file extension txt.
2. Write the news item, which is similar to a RFC-compliant email. Details what is allowed can be found in the appropriate GLEP section . As a note: Exceptions depending on installed packages or activated profiles is possible.
3. Send the news item to the gentoo-dev mailing list and the Gentoo PR team (pr@g.o) 72 hours in advance of commit.
4. Wait for corrections or people who tell you that your news item is not of great importance and should be revoked (can be possible).
5. Crate a detached armored GnuPG signature with gpg --detach-signature --armor YYYY-MM-DD-name.lang.txt
6. Create a directory structure for your item in the Gentoo News repository gentoo-news: YYYY/MM (e.g. 2011/06 for a news item published in June 2011).
7. Add signature and news file to that directory.
8. Commit both
Title: Using default-linux profile is now obsolete
Author: Samuli Suominen
Content-Type: text/plain
Posted: 2009-10-21
Revision: 1
News-Item-Format: 1.0
Display-If-Profile: default-linux
The profiles in default-linux/ have been deprecated for six weeks.
Users using these profiles are expected to migrate to a new profile
before 2009-12-01, at which point the default-linux/ profiles will be
removed. The new profiles contain up to date configurations and were
adopted because they were easier to maintain. Users can switch to a
new profile using eselect:
# eselect profile list
# eselect profile set
If a machine is not migrated to a new valid profile then emerge will
have very limited functionality.
If you experience problems sending encrypted email;
Please remember to restart gpg-agent if a different version
of the agent is currently used. If you are unsure of the gpg
agent you are using please run 'killall gpg-agent',
and to start a fresh daemon just run 'gpg-agent --daemon'.
In make.conf:
ACCEPT_LICENSE="*"
To unmask all licenses. Or else name the licenses you wish unmasked one by one. In a recent portage-2.2 rc. It masks end user license agreements by default (-@EULA is the syntax)
Another option is to create /etc/portage/package.license and put the
licenses you want to accept in here. The portage man page has a little info
about it.
So if you see something like;
#
!!! All ebuilds that could satisfy "games-fps/doom3" have been masked.
#
!!! One of the following masked packages is required to complete your request:
#
- games-fps/doom3-1.3.1304 (masked by: package.mask, DOOM3 license(s))
#
/usr/portage/profiles/package.mask:
#
# Chris Gianelloni (3 Mar 2008)
#
# Masking due to security bug #194607 and security bug #204067
#
#
A copy of the 'DOOM3' license is located at '/usr/portage/licenses/DOOM3'.
#
echo "games-fps/doom3 DOOM3" >> /etc/portage/package.license
Boot Option;
gentoo nox
edit /etc/conf.d/xdm
replace "kdm" with "gdm"
/usr/sbin/x-setup
create root password
passwd
create gentoo user password "gentoo" (may not be needed)
/etc/init.d/xdm start
have fun :)
I redid it so audacity would work, my other set up, just did not seem to be correct so here is what I did;
I followed this guide;
http://duckzland.ismywebsite.com/about/pulseaudio-and-gentoo/
Mine is a little different as I do not start pulseaudio system wide with;
/etc/init.d/pulseaudio start rc-update add pulseaudio default
[ebuild R ] media-sound/pulseaudio-0.9.15-r51 USE="X alsa asyncns avahi bluetooth caps dbus glib hal oss tcpd -gnome -jack -libsamplerate -lirc (-policykit) -test" 0 kB
And I do use gnome so;
gnome-volume-control
select your input and output devices
gstreamer-properties
select PulseAudio Sound Server
Sound for flash stopped working and I have been wanting to get pulseaudio working the correct way so I did a little research and this is what I came up with for gnome. Sound working correctly is important on this box because this is the machine I record my Podcasts on.
/etc/make.conf USE="pulseaudio alsa oss"
emerge pavucontrol pavumeter paman padevchooser paprefs puleaudio
Create or edit ~/.asoundrc
cat .asoundrc
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
add user to pulse group
gnome
gnome-volume-control
select your input and output devices
gstreamer-properties
select PulseAudio Sound Server
/etc/init.d/hald restart
/etc/init.d/alsasound restart
restart X
To use eselect news;
eselect news list
eselect news read all
If you only want to read new items;
eselect news read item_number
This resets the read/unread markers for the main Portage tree:
rm /var/lib/gentoo/news/news-gentoo.*
find /usr/portage/metadata/news -mindepth 1 -type d -printf "%P\n" \
> /var/lib/gentoo/news/news-gentoo.unread
eselect news list will then list all news items. Note that news items are tracked per overlay, by repository name (gentoo is the main tree). Files named news-foo.* track news for overlay foo.
Powered by Drupal and Drupal Theme created by vigilianty.