Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[closed] emerging hell, need help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tokimimo
n00b
n00b


Joined: 25 Aug 2014
Posts: 5
Location: Germany

PostPosted: Mon Aug 25, 2014 11:15 am    Post subject: [closed] emerging hell, need help Reply with quote

Hello Guys,

So first off sorry for my english, because im from Germany.

I am using Gentoo and this is my first contact with linux at all.
I'm trying to install gnome for my x-server. For a Desktop Environmet :)

My selected profile is:
[4] default/linux/x86/13.0/desktop/gnome

when I type in the following command:
Code:
emerge --autounmask-write --newuse --update --backtrack=30 gnome


I get 4 error messages:
Code:

[blocks B] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-215-r1)
[blocks B] sys-power/upower ("sys-power/upower" is blocking sys-power/upower-pm-utils-0.9.23-r2)
[blocks B] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/gentoo-systemd-integration-4, sys-apps/systemd-215-r3)
[blocks B] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-215-r1)


This is pretty confusing for me...
I already googled the hell out of it but all 4 threads I found, which where useful, made it just worse.
Because I'm new to linux and portage this is pretty confusing for me.

what I already tried:

Code:
 emerge --sync

- This one just gave me 3 time outs but nothing special.

Code:
 emerge -vDup --newuse world

- this one now gives me 3 errors, too!

the Errors:
Code:

[blocks B] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-215-r1)
[blocks B] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/gentoo-systemd-integration-4, sys-apps/systemd-215-r3)
[blocks B] sys-apps/gentoo-systemd-integration" is blocking sys-fs/udev-215-r1)

Total: 53 packages (9 upgrades, 29 new, 1 in new slot, 14 reinstalls) [...]
Conflict: 3 blocks (3 unsatisfied)


This is all I tried.

I dont know if I should switch to gnome/systemd profile, or if I can get working it like it is now.
While booting it is waiting for uevents so I think I need udev for my system.
I'm scared of rebooting my system :oops:

Why the heck is gentoo trying to force systemd on my system?
What can I do to stop it and finally get my gnome working?

I would appreciate every help :oops:
_________________
Linux is powerfull and great...if you understand it.


Last edited by Tokimimo on Wed Aug 27, 2014 1:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 234
Location: Switzerland

PostPosted: Mon Aug 25, 2014 11:42 am    Post subject: Reply with quote

hi,
Tokimimo wrote:
Why the heck is gentoo trying to force systemd on my system?


because gnome 3.x (I don't know the correct version) is depending on logind which is shipped with systemd. as for your blocks, just unmerge udev and proceed with the update, because systemd is allready shipped with udev, so you don't need to install it as a separate package (which obviously doesn't work, as you get blocks from portage).

[edit]
Please also check out the systemd wiki pages [1].

[1]https://wiki.gentoo.org/wiki/Systemd
[/edit]
_________________
For calming down your eyes or clearing your mind: www.patrickwehli.ch
Back to top
View user's profile Send private message
Tokimimo
n00b
n00b


Joined: 25 Aug 2014
Posts: 5
Location: Germany

PostPosted: Mon Aug 25, 2014 12:23 pm    Post subject: Reply with quote

mvaterlaus wrote:
hi,
because gnome 3.x (I don't know the correct version) is depending on logind which is shipped with systemd. as for your blocks, just unmerge udev and proceed with the update, because systemd is allready shipped with udev, so you don't need to install it as a separate package (which obviously doesn't work, as you get blocks from portage).


So when I unmerge udev. Do I have to change my profile to gnome/systemd and do I need to change something in my bootloader?

Thanks for the answer
_________________
Linux is powerfull and great...if you understand it.
Back to top
View user's profile Send private message
mvaterlaus
Apprentice
Apprentice


Joined: 01 Oct 2010
Posts: 234
Location: Switzerland

PostPosted: Mon Aug 25, 2014 1:51 pm    Post subject: Reply with quote

Tokimimo wrote:
So when I unmerge udev. Do I have to change my profile to gnome/systemd and do I need to change something in my bootloader?


yes, you have to change a few things. you need to adjust the kernel as well as the profile and the kernel command line. but this is all documented in the gentoo wiki article of systemd. it is best, if you go through this article step by step, so you won't miss anything important.

Sorry that my advises are vague, but I'm not a systemd user, so I never have done the migration to systemd myself.
_________________
For calming down your eyes or clearing your mind: www.patrickwehli.ch
Back to top
View user's profile Send private message
Tokimimo
n00b
n00b


Joined: 25 Aug 2014
Posts: 5
Location: Germany

PostPosted: Tue Aug 26, 2014 6:31 am    Post subject: my state Reply with quote

I am doing it like the tutorial is saying me to do it.

when trying to use
Code:
genkernel --udev --lvm

it gives me a syntax error. I tried to install "genkernel-next"
but it says that genkernel is blocking genkerlen-next-55.

I am trying to get a way around it by installing sys-apps/dbus

I changed my init to systemd in grub and set use_vlmetad = 1.

Do I need genkernel-next?

is the
Code:
genkernel --udev --lvm
really needed?
Becaue my system is already running and I'm not quite sure if I really use lvm2.
I use initramfs and because of that I think I need it.

Is there a work around for this?

I have to get gnome working in this week.

I am doing an apprenticeship and my boss said I have this week left.

/edit: corrected 2 little typos.
_________________
Linux is powerfull and great...if you understand it.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1213
Location: Massachusetts USA

PostPosted: Tue Aug 26, 2014 7:21 am    Post subject: Reply with quote

Try genkernel without the --udev and you need the action part of the command.

I think that the gnome/systemd profile wants genkernel-next, but I use the old version of grub, genkernel and systemd but I do not use the gnome/systemd profile.
Back to top
View user's profile Send private message
Tokimimo
n00b
n00b


Joined: 25 Aug 2014
Posts: 5
Location: Germany

PostPosted: Tue Aug 26, 2014 7:41 am    Post subject: Reply with quote

jburns wrote:
Try genkernel without the --udev and you need the action part of the command.


without --udev it shows me the help page with the usage of genkernel.

after

Code:
 emerge --autounmask-keep-masks genkernel-next


it says the following

Code:

!!! All Ebuild that could satisfy "genkernel-next" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/genkernel-next-58::gentoo (masked by: package.mask, x86 keyword)
/usr/portage/profiles/targets/systemd/package.mask:
# sys-kernel/genkernel is not compatible with Systemd, you need
# to use sys-kernel/genkernel-next instead

- sys-kernel/genkernel-next-55::gentoo (masked by: package.mask)
- sys-kernel/genkernel-next-54::gentoo (masked by: package.mask, x86 keyword)
- sys-kernel/genkernel-next-35::gentoo (masked by: package.mask)


I am using grub2 and now I think about trying

Code:
 emerge --autounmask-write genkernel-next


But I am unsure if it is really the best way to do it.

I think I really need to do

Code:
 genkernel --lvm


without it my system should not be able to boot.

/edit:

I did a full backup of my system in a .tar archive and rebooted without installing genkernel.

Luckily I did everything right and my system is still booting.
I slept over it and I can see how stupid I was, I don't need genkernel because I already have a running system.
I just needed to change from udev to systemd.

Not I try my luck with installing gnome.
_________________
Linux is powerfull and great...if you understand it.
Back to top
View user's profile Send private message
Tokimimo
n00b
n00b


Joined: 25 Aug 2014
Posts: 5
Location: Germany

PostPosted: Wed Aug 27, 2014 1:10 pm    Post subject: closed Reply with quote

After switching to systemd my system could not boot propertly.
2 partitions "sdb2.device" didnt start or mount at booting.

I erased my hard drive and now start all over again.

This Thread can be closed.
_________________
Linux is powerfull and great...if you understand it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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