Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cave/paludis: problem installing systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
andi456
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2005
Posts: 123
Location: Germany

PostPosted: Thu Feb 13, 2014 2:11 pm    Post subject: cave/paludis: problem installing systemd Reply with quote

Hi,

because of some trouble caused by consolekit which can be looked at here: https://forums.gentoo.org/viewtopic-p-7499626.html, somebody told me that I should consider switching to systemd instead of openrc. As systemd is being blocked by sys-fs/udev which is required by openrc, I uninstalled the latter two packages. But now I end up with the following output:
Code:
cave resolve systemd -x
n   sys-apps/systemd:0::gentoo 208-r3 to ::installed
    "System and service manager for Linux"
    acl -audit cryptsetup -doc filecaps firmware-loader -gcrypt gudev -http introspection kmod -lzma pam (policykit) python -qrcode (-selinux) tcpd -vanilla xattr (-test) ABI_X86: -32 (64) (-x32) PYTHON_SINGLE_TARGET: python2_7 PYTHON_TARGETS: python2_7 build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: target, sys-apps/gentoo-systemd-integration-2:0::gentoo
    2.28 MBytes to download

n   sys-apps/gentoo-systemd-integration:0::gentoo 2 to ::installed
    "systemd integration files for Gentoo"
    build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: sys-apps/systemd-208-r3:0::gentoo
    50.73 kBytes to download

n   sys-apps/openrc:0::gentoo 0.12.4 to ::installed
    "OpenRC manages the services, startup and shutdown of a host"
    -debug ncurses netifrc -newnet pam (-prefix) (-selinux) -static-libs -tools unicode build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: !<sys-apps/openrc-0.11 from sys-fs/lvm2-2.02.105-r2:0::installed, !<sys-apps/openrc-0.11.8 from sys-libs/pam-1.1.6-r2:0::installed, !<sys-apps/openrc-0.12 from net-misc/netifrc-0.1:0::installed, 3 more
    128.82 kBytes to download

n   sys-fs/udev-init-scripts:0::gentoo 26 to ::installed
    "udev startup scripts for openrc"
    build_options: symbols=split -dwarf_compress (-optional_tests) -trace work=tidyup
    Reasons: !<sys-fs/udev-init-scripts-17 from sys-apps/openrc-0.12.4:0::gentoo, sys-apps/systemd-208-r3:0::gentoo
    4.81 kBytes to download

Total: 4 new installs, 2.46 MBytes to download

Build Options:
    dwarf_compress:                Compress DWARF2+ debug information
    optional_tests:                Run tests considered by the package to be optional
    symbols:                       How to handle debug symbols in installed files
    trace:                         Trace actions executed by the package (very noisy, for debugging broken builds only)
    work:                          Whether to preserve or remove working directories

USE:
    acl:                           Add support for Access Control Lists
    audit:                         Enable support for sys-process/audit
    cryptsetup:                    Use libcryptsetup
    debug:                         Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
    doc:                           Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
    filecaps:                      Use Linux file capabilities to control privilege rather than set*id
    firmware-loader:               Enable user-space firmware loader (for kernels prior to 3.8)
    gcrypt:                        Enable sealing of journal files using gcrypt
    gudev:                         enable libudev gobject interface
    http:                          Enable embedded HTTP server in journald
    introspection:                 Add support for GObject based introspection
    kmod:                          Enable kernel module loading via sys-apps/kmod
    lzma:                          Support for LZMA (de)compression algorithm
    ncurses:                       Add ncurses support (console display library)
    netifrc:                       enable Gentoo's network stack (net.* scripts)
    newnet:                        enable the new network stack (experimental)
    pam:                           Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
    policykit:                     Enable PolicyKit authentication support
    prefix:                        Defines if a Gentoo Prefix offset installation is used
    python:                        Add optional support/bindings for the Python language
    qrcode:                        Enable qrcode output support in journal
    selinux:                       !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
    static-libs:                   Build static versions of dynamic libraries as well
    tcpd:                          Add support for TCP wrappers
    test:                          Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
    tools:                         build optional tools
    unicode:                       Add support for Unicode
    vanilla:                       Disable Gentoo-specific behavior and compatibility quirks
    xattr:                         Add support for extended attributes (filesystem-stored metadata)

abi_x86:
    32:                            32-bit (x86) libraries
    64:                            64-bit (amd64) libraries
    x32:                           x32 ABI libraries

python_single_target:
    python2_7:                     Build for Python 2.7 only

python_targets:
    python2_7:                     Build with Python 2.7

I encountered the following errors:

!   sys-fs/udev
    Reasons: !<sys-fs/udev-133 from sys-apps/openrc-0.12.4:0::gentoo, !<sys-fs/udev-186 from sys-fs/udev-init-scripts-26:0::gentoo, !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo, virtual/udev-208:0::installed
    Unsuitable candidates:
      * sys-fs/udev-208:0::gentoo
        Did not meet !sys-fs/udev, use existing if possible, installing to / (nothing is fine too) from !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo
      * sys-fs/udev-9999:0::gentoo
        Masked by keyword
            Keywords
        Did not meet !sys-fs/udev, use existing if possible, installing to / (nothing is fine too) from !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo

That seems to be something like a vicious circle... Any hints will be appreciated.

Regards Andreas
Back to top
View user's profile Send private message
sera
Developer
Developer


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Thu Feb 13, 2014 4:28 pm    Post subject: Reply with quote

Probably the virtual which prefers udev over systemd is the issue here.
Code:
cave resolve systemd -F systemd
might get you past this.

Else let paludis "explain" the constraints that lead to udev being pulled in
Code:
cave resolve systemd -X sys-fs/udev

Switching to systemd I consider a rather drastic cure, also, you can have openrc installed in parallel.
Back to top
View user's profile Send private message
andi456
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2005
Posts: 123
Location: Germany

PostPosted: Thu Feb 13, 2014 4:47 pm    Post subject: Reply with quote

Actually, I've reinstalled openrc already, but I don't think that uninstalling it again would make a real difference, so here's what the two commands you mentioned tell me:

Code:
cave resolve systemd -F systemd
These are the actions I will take, in order:

n   sys-apps/systemd:0::gentoo 208-r3 to ::installed
    "System and service manager for Linux"
    acl -audit cryptsetup -doc filecaps firmware-loader -gcrypt gudev -http introspection kmod -lzma pam (policykit) python -qrcode (-selinux) tcpd -vanilla xattr (-test) ABI_X86: -32 (64) (-x32) PYTHON_SINGLE_TARGET: python2_7 PYTHON_TARGETS: python2_7 build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: target, sys-apps/gentoo-systemd-integration-2:0::gentoo, virtual/udev-208:0::installed
    7.18 kBytes to download

n   sys-apps/gentoo-systemd-integration:0::gentoo 2 to ::installed
    "systemd integration files for Gentoo"
    build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: sys-apps/systemd-208-r3:0::gentoo
    50.73 kBytes to download

Total: 2 new installs, 57.91 kBytes to download

Build Options:
    dwarf_compress:                Compress DWARF2+ debug information
    optional_tests:                Run tests considered by the package to be optional
    symbols:                       How to handle debug symbols in installed files
    trace:                         Trace actions executed by the package (very noisy, for debugging broken builds only)
    work:                          Whether to preserve or remove working directories

USE:
    acl:                           Add support for Access Control Lists
    audit:                         Enable support for sys-process/audit
    cryptsetup:                    Use libcryptsetup
    doc:                           Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
    filecaps:                      Use Linux file capabilities to control privilege rather than set*id
    firmware-loader:               Enable user-space firmware loader (for kernels prior to 3.8)
    gcrypt:                        Enable sealing of journal files using gcrypt
    gudev:                         enable libudev gobject interface
    http:                          Enable embedded HTTP server in journald
    introspection:                 Add support for GObject based introspection
    kmod:                          Enable kernel module loading via sys-apps/kmod
    lzma:                          Support for LZMA (de)compression algorithm
    pam:                           Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
    policykit:                     Enable PolicyKit authentication support
    python:                        Add optional support/bindings for the Python language
    qrcode:                        Enable qrcode output support in journal
    selinux:                       !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
    tcpd:                          Add support for TCP wrappers
    test:                          Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
    vanilla:                       Disable Gentoo-specific behavior and compatibility quirks
    xattr:                         Add support for extended attributes (filesystem-stored metadata)

abi_x86:
    32:                            32-bit (x86) libraries
    64:                            64-bit (amd64) libraries
    x32:                           x32 ABI libraries

python_single_target:
    python2_7:                     Build for Python 2.7 only

python_targets:
    python2_7:                     Build with Python 2.7

I encountered the following errors:

!   sys-fs/udev
    Reasons: !<sys-fs/udev-133 from sys-apps/openrc-0.12.4:0::installed, !<sys-fs/udev-186 from sys-fs/udev-init-scripts-26:0::installed, !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo
    Unsuitable candidates:
      * sys-fs/udev-208:0::gentoo
        Did not meet !sys-fs/udev, use existing if possible, installing to / (nothing is fine too) from !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo
      * sys-fs/udev-9999:0::gentoo
        Masked by keyword
            Keywords
        Did not meet !sys-fs/udev, use existing if possible, installing to / (nothing is fine too) from !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo

Code:
cave resolve systemd -X sys-fs/udev
These are the actions I will take, in order:

n   sys-apps/systemd:0::gentoo 208-r3 to ::installed
    "System and service manager for Linux"
    acl -audit cryptsetup -doc filecaps firmware-loader -gcrypt gudev -http introspection kmod -lzma pam (policykit) python -qrcode (-selinux) tcpd -vanilla xattr (-test) ABI_X86: -32 (64) (-x32) PYTHON_SINGLE_TARGET: python2_7 PYTHON_TARGETS: python2_7 build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: target, sys-apps/gentoo-systemd-integration-2:0::gentoo
    7.18 kBytes to download

n   sys-apps/gentoo-systemd-integration:0::gentoo 2 to ::installed
    "systemd integration files for Gentoo"
    build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: sys-apps/systemd-208-r3:0::gentoo
    50.73 kBytes to download

Total: 2 new installs, 57.91 kBytes to download

Build Options:
    dwarf_compress:                Compress DWARF2+ debug information
    optional_tests:                Run tests considered by the package to be optional
    symbols:                       How to handle debug symbols in installed files
    trace:                         Trace actions executed by the package (very noisy, for debugging broken builds only)
    work:                          Whether to preserve or remove working directories

USE:
    acl:                           Add support for Access Control Lists
    audit:                         Enable support for sys-process/audit
    cryptsetup:                    Use libcryptsetup
    doc:                           Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
    filecaps:                      Use Linux file capabilities to control privilege rather than set*id
    firmware-loader:               Enable user-space firmware loader (for kernels prior to 3.8)
    gcrypt:                        Enable sealing of journal files using gcrypt
    gudev:                         enable libudev gobject interface
    http:                          Enable embedded HTTP server in journald
    introspection:                 Add support for GObject based introspection
    kmod:                          Enable kernel module loading via sys-apps/kmod
    lzma:                          Support for LZMA (de)compression algorithm
    pam:                           Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
    policykit:                     Enable PolicyKit authentication support
    python:                        Add optional support/bindings for the Python language
    qrcode:                        Enable qrcode output support in journal
    selinux:                       !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
    tcpd:                          Add support for TCP wrappers
    test:                          Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
    vanilla:                       Disable Gentoo-specific behavior and compatibility quirks
    xattr:                         Add support for extended attributes (filesystem-stored metadata)

abi_x86:
    32:                            32-bit (x86) libraries
    64:                            64-bit (amd64) libraries
    x32:                           x32 ABI libraries

python_single_target:
    python2_7:                     Build for Python 2.7 only

python_targets:
    python2_7:                     Build with Python 2.7

I encountered the following errors:

!   sys-fs/udev
    Reasons: !<sys-fs/udev-133 from sys-apps/openrc-0.12.4:0::installed, !<sys-fs/udev-186 from sys-fs/udev-init-scripts-26:0::installed, !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo, virtual/udev-208:0::installed
    Unsuitable candidates:
      * sys-fs/udev-208:0::gentoo
        Did not meet !sys-fs/udev, use existing if possible, installing to / (nothing is fine too) from !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo
      * sys-fs/udev-9999:0::gentoo
        Masked by keyword
            Keywords
        Did not meet !sys-fs/udev, use existing if possible, installing to / (nothing is fine too) from !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo

Explaining requested decisions:

For sys-fs/udev:0::(install_to_slash):
    The following constraints were in action:
      * !<sys-fs/udev-133, use existing if possible, installing to / (nothing is fine too)
        Because of !<sys-fs/udev-133 from sys-apps/openrc-0.12.4:0::installed
      * !<sys-fs/udev-186, use existing if possible, installing to / (nothing is fine too)
        Because of !<sys-fs/udev-186 from sys-fs/udev-init-scripts-26:0::installed
      * !sys-fs/udev, use existing if possible, installing to / (nothing is fine too)
        Because of !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo
      * >=sys-fs/udev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev?,introspection?,kmod?,selinux?,static-libs?], use existing if possible, installing to /
        Because of >=sys-fs/udev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev?,introspection?,kmod?,selinux?,static-libs?] from virtual/udev-208:0::installed, key 'Run dependencies', labelled 'RDEPEND' (originally || ( >=sys-fs/udev-208[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev?,introspection?,kmod?,selinux?,static-libs?] >=sys-apps/systemd-208:0/1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev?,introspection?,kmod?,selinux?,static-libs(-)?] >=sys-apps/systemd-208:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev?,introspection?,kmod?,selinux?,static-libs(-)?] kmod? ( >=sys-fs/eudev-1.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,keymap,modutils,gudev?,hwdb,introspection?,selinux?,static-libs?] ) ))
    No decision could be made
Back to top
View user's profile Send private message
sera
Developer
Developer


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Fri Feb 14, 2014 12:03 pm    Post subject: Reply with quote

As you can see from the explanation, the installed virtual/udev || () dep-block was rewritten. You will have to add the virtual to the resolution so it gets reinstalled.
Code:
cave resolve systemd -F systemd -w virtual/udev
should do the trick.
Back to top
View user's profile Send private message
andi456
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2005
Posts: 123
Location: Germany

PostPosted: Fri Feb 14, 2014 12:28 pm    Post subject: Reply with quote

Unfortunately it doesn't:
Code:
These are the actions I will take, in order:

n   sys-apps/systemd:0::gentoo 208-r3 to ::installed [cycle 1]
    "System and service manager for Linux"
    acl -audit cryptsetup -doc filecaps firmware-loader -gcrypt gudev -http introspection kmod -lzma pam (policykit) python -qrcode (-selinux) tcpd -vanilla xattr (-test) ABI_X86: -32 (64) (-x32) PYTHON_SINGLE_TARGET: python2_7 PYTHON_TARGETS: python2_7 build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: target, sys-apps/gentoo-systemd-integration-2:0::gentoo, virtual/udev-208:0::gentoo
    7.18 kBytes to download
    In dependency cycle with existing packages: sys-apps/systemd:0, virtual/udev:0

r   virtual/udev:0::gentoo 208 to ::installed replacing 208 [cycle 1]
    gudev introspection kmod (-selinux) -static-libs ABI_X86: -32 (64) (-x32) build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: app-misc/media-player-info-21-r1:0::installed, dev-libs/libatasmart-0.19-r1:0::installed, dev-libs/libusb-1.0.18:1::installed, 10 more

n   sys-apps/gentoo-systemd-integration:0::gentoo 2 to ::installed
    "systemd integration files for Gentoo"
    build_options: symbols=split -dwarf_compress -optional_tests -trace work=tidyup
    Reasons: sys-apps/systemd-208-r3:0::gentoo
    50.73 kBytes to download

Total: 1 reinstalls, 2 new installs, 57.91 kBytes to download

Build Options:
    dwarf_compress:                Compress DWARF2+ debug information
    optional_tests:                Run tests considered by the package to be optional
    symbols:                       How to handle debug symbols in installed files
    trace:                         Trace actions executed by the package (very noisy, for debugging broken builds only)
    work:                          Whether to preserve or remove working directories

USE:
    acl:                           Add support for Access Control Lists
    audit:                         Enable support for sys-process/audit
    cryptsetup:                    Use libcryptsetup
    doc:                           Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
    filecaps:                      Use Linux file capabilities to control privilege rather than set*id
    firmware-loader:               Enable user-space firmware loader (for kernels prior to 3.8)
    gcrypt:                        Enable sealing of journal files using gcrypt
    gudev:                         enable libudev gobject interface
    http:                          Enable embedded HTTP server in journald
    introspection:                 Add support for GObject based introspection
    kmod:                          Enable kernel module loading via sys-apps/kmod
    lzma:                          Support for LZMA (de)compression algorithm
    pam:                           Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
    policykit:                     Enable PolicyKit authentication support
    python:                        Add optional support/bindings for the Python language
    qrcode:                        Enable qrcode output support in journal
    selinux:                       !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
    tcpd:                          Add support for TCP wrappers
    test:                          Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
    vanilla:                       Disable Gentoo-specific behavior and compatibility quirks
    xattr:                         Add support for extended attributes (filesystem-stored metadata)

abi_x86:
    32:                            32-bit (x86) libraries
    64:                            64-bit (amd64) libraries
    x32:                           x32 ABI libraries

python_single_target:
    python2_7:                     Build for Python 2.7 only

python_targets:
    python2_7:                     Build with Python 2.7

I encountered the following errors:

!   sys-fs/udev
    Reasons: !<sys-fs/udev-133 from sys-apps/openrc-0.12.4:0::installed, !<sys-fs/udev-186 from sys-fs/udev-init-scripts-26:0::installed, !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo
    Unsuitable candidates:
      * sys-fs/udev-208:0::gentoo
        Did not meet !sys-fs/udev, use existing if possible, installing to / (nothing is fine too) from !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo
      * sys-fs/udev-9999:0::gentoo
        Masked by keyword
            Keywords
        Did not meet !sys-fs/udev, use existing if possible, installing to / (nothing is fine too) from !sys-fs/udev from sys-apps/systemd-208-r3:0::gentoo

Maybe I have to uninstall openrc again...

Thanks anyway,

regards Andreas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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