Ticket #563 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

Potential problems with dependencies resolution

Reported by: jordan83 Owned by: ciaranm
Priority: Sometime Milestone:
Component: clients/paludis Version: 0.26.0_pre2
Keywords: Cc:
Blocked By: Blocking:
Distribution:

Description

Hello,

I think that I might have found some problems in the way paludis handles dependencies. Today I tried to run:

#paludis --report

and I got the following results:

# paludis --report
Current state of the system

* app-misc/strigi-0.5.7::installed NOT OK
    No longer exists in its original repository 'gentoo'

* dev-java/sun-jdk-1.4.2.16::installed NOT OK
    This package has following security issues:
    GLSA-200701-15: "Sun JDK/JRE: Multiple vulnerabilities"
        -> /var/paludis/repositories/gentoo/metadata/glsa/glsa-200701-15.xml
    GLSA-200702-07: "Sun JDK/JRE: Execution of arbitrary code"
        -> /var/paludis/repositories/gentoo/metadata/glsa/glsa-200702-07.xml
    GLSA-200705-23: "Sun JDK/JRE: Multiple vulnerabilities"
        -> /var/paludis/repositories/gentoo/metadata/glsa/glsa-200705-23.xml
    GLSA-200804-20: "Sun JDK/JRE: Multiple vulnerabilities"
        -> /var/paludis/repositories/gentoo/metadata/glsa/glsa-200804-20.xml
    No longer exists in its original repository 'gentoo'

* dev-java/sun-jdk-1.5.0.13::installed NOT OK
    This package has following security issues:
    GLSA-200804-20: "Sun JDK/JRE: Multiple vulnerabilities"
        -> /var/paludis/repositories/gentoo/metadata/glsa/glsa-200804-20.xml
    No longer exists in its original repository 'gentoo'

* kde-base/kdebase-data-4.0.0::installed NOT OK
    No longer exists in its original repository 'gentoo'

* sys-devel/gcc-3.3.6-r1::installed NOT OK
    Masked by: keywords (~amd64 ~x86) in its original repository 'gentoo'

* sys-fs/cryptsetup-luks-1.0.4-r3::installed NOT OK
    No longer exists in its original repository 'gentoo'

* sys-kernel/gentoo-sources-2.6.23-r5::installed NOT OK
    No longer exists in its original repository 'gentoo'

* x11-misc/makedepend-1.0.0::installed NOT OK
    No longer exists in its original repository 'gentoo'

Finished processing 1041 packages. 13 errors

The relevant entries are the following ones:

1) sys-fs/cryptsetup-luks-1.0.4-r3::installed

If I try

# paludis -up =sys-fs/cryptsetup-luks-1.0.4-r3::installed

I get:

Building unmerge list... done

These packages will be uninstalled:

* sys-apps/hal-0.5.10::installed requires <sys-fs/cryptsetup-luks-1.0.4-r3::installed>
* sys-apps/pmount-0.9.16::installed requires <sys-fs/cryptsetup-luks-1.0.4-r3::installed>
* sys-fs/cryptsetup-luks-1.0.4-r3::installed


Total: 1 package and 2 errors
Use either --with-dependencies or --permit-unsafe-uninstalls

Now, I had a look in hal-0.5.10.ebuild and sys-apps/pmount-0.9.16.ebuild and there is no trace of sys-fs/cryptsetup-luks :|

The required package is sys-fs/cryptsetup therefore I would expect that Paludis installed that one and would present sys-fs/cryptsetup-luks in the --uninstall-unused packages list the next time I run that command.

Unless of course it is expected that the user manually uninstalls sys-fs/cryptsetup-luks first, although in that case I would expect a "blocking" warning (sys-fs/cryptsetup-luks blocking sys-fs/cryptsetup).

If it can be useful, this comes from the output produced when paludis creates the dependencies list:

paludis@1208856387: [WARNING dep_list.no_visible] In program paludis (--log-level warning --show-use-descriptions changed --show-reasons summary) -pi world:
  ... When performing install action from command line:
  ... When executing install task:
  ... When building dependency list:
  ... When adding PackageDepSpec 'app-editors/kile':
  ... When adding installed package 'app-editors/kile-2.0:0::installed':
  ... When adding run dependencies as post dependencies:
  ... When using new group to resolve dependencies:
  ... When adding PackageDepSpec 'kde-base/kdvi':
  ... When adding installed package 'kde-base/kdvi-3.5.8:3.5::installed':
  ... When adding run dependencies as post dependencies:
  ... When adding PackageDepSpec '~kde-base/kviewshell-3.5.8':
  ... When adding installed package 'kde-base/kviewshell-3.5.8:3.5::installed':
  ... When adding run dependencies as post dependencies:
  ... When using already installed package to resolve dependencies:
  ... When adding PackageDepSpec '~kde-base/kdebase-kioslaves-3.5.8':
  ... When adding installed package 'kde-base/kdebase-kioslaves-3.5.8:3.5::installed':
  ... When adding run dependencies as post dependencies:
  ... When adding PackageDepSpec '=sys-apps/hal-0.5*':
  ... When adding installed package 'sys-apps/hal-0.5.10:0::installed':
  ... When adding run dependencies as post dependencies:
  ... When using already installed package to resolve dependencies:
  ... When adding PackageDepSpec '>=sys-fs/cryptsetup-luks-1.0.1':
  ... No visible packages matching '>=sys-fs/cryptsetup-luks-1.0.1', falling back to installed package 'sys-fs/cryptsetup-luks-1.0.4-r3::installed'

2) x11-misc/makedepend-1.0.0::installed

the x11-misc/makedepend-1.0.0.ebuild file is not available in the gentoo repository anymore, but the version 1.0.1 is available:

# paludis -q makedepend
* x11-misc/makedepend
    installed:               1.0.0* {:0}
    gentoo:                  1.0.1 {:0}
    Description:             create dependencies in makefiles
    Homepage:                http://xorg.freedesktop.org/
    Relevant USE flags:      (-debug)
    License:                 makedepend
    Installed time:          Wed Sep  5 00:14:56 2007
    Source repository:       gentoo
    Installed using:         paludis-0.24.6

I don't understand why paludis doesn't want to upgrade it :|

3)

dev-java/sun-jdk-1.4.2.16::installed (1.4.2.17 is available but paludis doesn't install it)

dev-java/sun-jdk-1.5.0.13::installed (1.5.0.15 is available but paludis doesn't install it)

sys-devel/gcc-3.3.6-r1::installed (not needed because version 4.1.2::4.1 is installed)

These errors are probably due to ticket:433

4) The remaining entries are my bad :)

Change History

comment:1 Changed 5 years ago by jordan83

  • Summary changed from Dependencies potential problems to Potential problems with dependencies resolution

comment:2 Changed 5 years ago by jordan83

I forgot to attach my paludis --info:

# paludis --info
paludis 0.26.0_pre2
Paludis build information:
    Compiler:
        CXX:                   i686-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2 p1.0.1)
        CXXFLAGS:              -march=prescott -O2 -pipe
        LDFLAGS:
        DATE:                  2008-04-17T10:36:23+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20070214

    Reduced Privs:
        reduced_uid:           101
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /dev/null
        reduced_gid:           440
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      /usr/lib/python2.4/site-packages
        RUBYINSTALLDIR:        /usr/lib/ruby/site_ruby/1.8/i686-linux

Repository virtuals:
    format:                    virtuals

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository gentoo:
    format:                    ebuild
    location:                  /var/paludis/repositories/gentoo
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:
    binary_uri_prefix:
    builddir:                  /var/tmp/paludis
    cache:                     /var/paludis/repositories/gentoo/metadata/cache
    distdir:                   /var/paludis/repositories/gentoo/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /var/paludis/repositories/gentoo/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /var/paludis/repositories/gentoo/.cache/names
    newsdir:                   /var/paludis/repositories/gentoo/metadata/news
    profile_eapi:              0
    profiles:                  /var/paludis/repositories/gentoo/profiles/default/linux/x86/2008.0/desktop
    securitydir:               /var/paludis/repositories/gentoo/metadata/glsa
    setsdir:                   /var/paludis/repositories/gentoo/sets
    sync:                      rsync://rsync.gentoo.org/gentoo-portage
    sync_options:
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p17-r1
        dev-java/java-config:  1.3.7 2.1.4
        dev-lang/python:       2.4.4-r9
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.11.1
        sys-apps/openrc:       (none)
        sys-apps/sandbox:      1.2.18.1-r2
        sys-devel/autoconf:    2.13 2.61-r1
        sys-devel/automake:    1.10.1 1.4_p6 1.5 1.6.3 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.18-r1
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     1.5.26
        virtual/os-headers:    2.6.23-r3 (for sys-kernel/linux-headers::installed)

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    names_cache:               /var/db/pkg/.cache/names
    provides_cache:            /var/db/pkg/.cache/provides
    root:                      /

Repository local:
    format:                    ebuild
    location:                  /var/paludis/repositories/local
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:
    binary_uri_prefix:
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /var/paludis/repositories/gentoo/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /var/paludis/repositories/gentoo/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /var/paludis/repositories/local/.cache/names
    newsdir:                   /var/paludis/repositories/local/metadata/news
    profile_eapi:              0
    profiles:                  /var/paludis/repositories/gentoo/profiles/default/linux/x86/2008.0/desktop
    securitydir:               /var/paludis/repositories/local/metadata/glsa
    setsdir:                   /var/paludis/repositories/local/sets
    sync:
    sync_options:
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository paludis-overlay:
    format:                    ebuild
    location:                  /var/paludis/repositories/paludis-overlay
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:
    binary_uri_prefix:
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /var/paludis/repositories/gentoo/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /var/paludis/repositories/gentoo/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /var/paludis/repositories/paludis-overlay/.cache/names
    newsdir:                   /var/paludis/repositories/paludis-overlay/metadata/news
    profile_eapi:              0
    profiles:                  /var/paludis/repositories/gentoo/profiles/default/linux/x86/2008.0/desktop
    securitydir:               /var/paludis/repositories/paludis-overlay/metadata/glsa
    setsdir:                   /var/paludis/repositories/paludis-overlay/sets
    sync:                      svn://svn.pioto.org/paludis/overlay
    sync_options:
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata


No packages were specified on the command line, so detailed information is not
available (Paludis can display detailed information for both installed and
installable packages).

comment:3 Changed 5 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to invalid

1) was a package move. You need to fix those manually with Paludis for now, we don't handle them for you.

2) Presumably it's not in world, nor is it an RDEPEND of any package in world (recursively). This one's in the faq.

3) The 0.26 resolver doesn't handle lower slots very nicely. It's a known issue, and the 0.28 resolver does things differently here.

Note: See TracTickets for help on using tickets.