Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sysvinit blocked systemd [solved]
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
Monsterherz77
n00b
n00b


Joined: 07 Jan 2018
Posts: 15
Location: Kiel

PostPosted: Sun Jan 28, 2018 2:33 pm    Post subject: sysvinit blocked systemd [solved] Reply with quote

I want install netirfc because my link to net.lo is lost after an update. I get a conflict between sysvinit and systemd. The information from gentoo to clear it i have tested. My config:

Code:
#emerge -av netirc

These are the packages that would be merged, in order:

Calculating dependencies  .... done!
[ebuild  N     ] virtual/tmpfiles-0::gentoo  0 KiB
[ebuild  N    #] sys-apps/sysvinit-2.88-r9::gentoo  USE="(-ibm) (-selinux) -static" 0 KiB
[ebuild  N     ] sys-apps/openrc-0.34.11::gentoo  USE="ncurses netifrc pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs" 0 KiB
[ebuild  N     ] net-misc/netifrc-0.5.1::gentoo  0 KiB
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-236-r5)

Total: 4 packages (4 new), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)




#less /etc/portage/make.conf
## 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="-O2 -pipe"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
USE="X -kde -games cups alsa systemd -bluetooth -sysvinit -openrc"
L10="de"
LINGUAS="de"
GRUB_PLATFORMS="efi-64 pc"


GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/"

/etc/portage/package.mask# ls
libtool
openrc
perl
sysv-utils
sysvinit


Where is the error?


Last edited by Monsterherz77 on Sun Jan 28, 2018 5:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Jan 28, 2018 2:37 pm    Post subject: Reply with quote

Do you have systemd installed with USE=sysv-utils? This is incompatible with sysvinit.
Back to top
View user's profile Send private message
Monsterherz77
n00b
n00b


Joined: 07 Jan 2018
Posts: 15
Location: Kiel

PostPosted: Sun Jan 28, 2018 3:26 pm    Post subject: Reply with quote

No. I dont have it.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sun Jan 28, 2018 3:47 pm    Post subject: Reply with quote

Monsterherz77 wrote:
No. I dont have it.

You are sure because sysv-utils use flag on systemd package is enabled by default
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Monsterherz77
n00b
n00b


Joined: 07 Jan 2018
Posts: 15
Location: Kiel

PostPosted: Sun Jan 28, 2018 3:51 pm    Post subject: Reply with quote

Yes. It was active before the update. Thats why i changed the make.conf an package.mask . I though thats all i have to do. Or what should i do?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sun Jan 28, 2018 4:18 pm    Post subject: Reply with quote

You can post output emerge -pvq systemd for see if use flag is really disabled?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Jan 28, 2018 4:34 pm    Post subject: Reply with quote

Monsterherz77 wrote:
Yes. It was active before the update. Thats why i changed the make.conf an package.mask . I though thats all i have to do. Or what should i do?

You either have to re-emerge systemd manually or use
Code:
emerge -NaDu @world

The reason is that by the command which you had used, portage does not check whether the USE-flag for systemd has changed.
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Sun Jan 28, 2018 5:39 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You can post output emerge -pvq systemd for see if use flag is really disabled?


This set of options seems weird: use emerge -pv sys-apps/systemd instead.

I forgot that I set the variable EMERGE_DEFAULT_OPTS in make.conf.


Last edited by Mr. T. on Tue Jan 30, 2018 7:36 am; edited 1 time in total
Back to top
View user's profile Send private message
Monsterherz77
n00b
n00b


Joined: 07 Jan 2018
Posts: 15
Location: Kiel

PostPosted: Sun Jan 28, 2018 5:48 pm    Post subject: Reply with quote

Many Thanks. All right :-)
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