Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] can not install systemd
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
klas
n00b
n00b


Joined: 30 Aug 2017
Posts: 46
Location: Bradford, UK

PostPosted: Wed Aug 30, 2017 10:21 pm    Post subject: [Solved] can not install systemd Reply with quote

Guys , I am switching one of my computer to gentoo and I am stuck to this stage.
I can not install systemd .

Code:



((chroot) livecd / # emerge -a sys-apps/systemd

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!


[nomerge       ] sys-apps/systemd-233-r4:0/2::gentoo  USE="acl cryptsetup gcrypt kmod lz4 lzma pam seccomp ssl xkb (-apparmor) -audit -build -curl -doc -elfutils -gnuefi -http -idn -importd -nat -policykit -qrcode (-selinux) -sysv-utils {-test} -vanilla" ABI_X86="(64) -32 (-x32)"
[nomerge       ]  app-arch/lz4-1.7.5-r1:0/r131::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ]   dev-util/cmake-3.7.2::gentoo  USE="ncurses -doc -emacs -qt5 -system-jsoncpp {-test}" 7,190 KiB
[ebuild  N     ]    app-arch/libarchive-3.3.1:0/13::gentoo  USE="acl bzip2 e2fsprogs iconv lz4 lzma lzo threads xattr zlib -expat (-libressl) -nettle -static-libs" ABI_X86="(64) -32 (-x32)" 6,075 KiB
[ebuild  N     ]     app-arch/lz4-1.7.5-r1:0/r131::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 204 KiB
[ebuild  N     ]  sys-fs/cryptsetup-1.7.4::gentoo  USE="gcrypt nls python udev -kernel (-libressl) -nettle -openssl -pwquality -reencrypt (-static) (-static-libs) -urandom" PYTHON_TARGETS="python2_7 python3_4 (-python3_5)" 1,204 KiB
[ebuild  N     ]   sys-fs/lvm2-2.02.145-r2::gentoo  USE="readline systemd thin udev (-clvm) (-cman) -corosync -device-mapper-only -lvm1 -lvm2create_initrd -openais (-selinux) (-static) (-static-libs)" 1,940 KiB
[ebuild  N     ]  sys-apps/dbus-1.10.18::gentoo  USE="X systemd -debug -doc (-elogind) (-selinux) -static-libs {-test} -user-session" ABI_X86="(64) -32 (-x32)" 1,941 KiB
[ebuild  N     ]  sys-apps/gentoo-systemd-integration-6::gentoo  63 KiB
[nomerge       ] sys-fs/cryptsetup-1.7.4::gentoo  USE="gcrypt nls python udev -kernel (-libressl) -nettle -openssl -pwquality -reencrypt (-static) (-static-libs) -urandom" PYTHON_TARGETS="python2_7 python3_4 (-python3_5)"
[ebuild  N     ]  virtual/libudev-232:0/1::gentoo  USE="(systemd) (-static-libs)" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ]   sys-apps/systemd-233-r4:0/2::gentoo  USE="acl cryptsetup gcrypt kmod lz4 lzma pam seccomp ssl xkb (-apparmor) -audit -build -curl -doc -elfutils -gnuefi -http -idn -importd -nat -policykit -qrcode (-selinux) -sysv-utils {-test} -vanilla" ABI_X86="(64) -32 (-x32)" 4,583 KiB

Total: 9 packages (9 new), Size of downloads: 23,195 KiB

 * Error: circular dependencies:

(virtual/libudev-232:0/1::gentoo, ebuild scheduled for merge) depends on
 (sys-apps/systemd-233-r4:0/2::gentoo, ebuild scheduled for merge) (runtime)
  (sys-fs/cryptsetup-1.7.4:0/0::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
   (virtual/libudev-232:0/1::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying any of the following changes:
- sys-fs/cryptsetup-1.7.4 (Change USE: -udev)
- sys-apps/systemd-233-r4 (Change USE: -cryptsetup)

Note that this change can be reverted, once the package has been installed.

Note that the dependency graph contains a lot of cycles.
Several changes might be required to resolve all cycles.
Temporarily changing some use flag for all packages might be the better option.

!!! The following installed packages are masked:
- sys-fs/eudev-3.1.5::gentoo (masked by: package.mask)
/usr/portage/profiles/targets/systemd/package.mask:
# Pacho Ramos <pacho@gentoo.org> (21 Apr 2015)
# This is for running sys-apps/systemd and also helps
# portage to not try to pull in other providers leading to
# strange blockers.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.



Any help Please

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]


Last edited by klas on Thu Aug 31, 2017 12:36 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6154
Location: almost Mile High in the USA

PostPosted: Wed Aug 30, 2017 10:59 pm    Post subject: Reply with quote

Try this:

Code:
# USE="-udev -cryptsetup" emerge --oneshot systemd


Note: do NOT put the USE flags in your make.conf; if you must, remove it after systemd gets installed.

Then after it gets installed

Code:
# emerge --depclean eudev
# emerge --oneshot systemd cryptsetup


so that it fixes the USE flags to what they should be.

I suspect that there should be many applications that will depend on systemd at a future date, it's best not to put systemd in your world file if you don't need it.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
klas
n00b
n00b


Joined: 30 Aug 2017
Posts: 46
Location: Bradford, UK

PostPosted: Thu Aug 31, 2017 12:36 am    Post subject: Reply with quote

Thanks .
I figured it out before . Thanks any way for the advice. I will not sleep until I get everything working and back to learning coding.
Cheers
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