Your message dated Thu, 24 Sep 2015 15:20:57 +0200 with message-id <20150924132057.GA18876@crossbow> and subject line Re: Bug#799912: apt: error in version comparison has caused the Debian Bug report #799912, regarding apt: error in version comparison to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 799912: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799912 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: error in version comparison
- From: Tim Somers <debbugs@some.rs>
- Date: Thu, 24 Sep 2015 09:12:36 +0200
- Message-id: <[🔎] 20150924071236.20226.66842.reportbug@smurf13.lan>
Package: apt Version: 1.0.10.2 Severity: important Dear Maintainer, * What led up to the situation? I am currently running debian testing and I tried installing digikam. This is one of the packages infect by the libstdc++6 issue, I know of that issue, but I believe to have stumbled into an apt-get bug. I tried installing the stable version, but apt-get won't install it as the dependencies are not met: $ sudo apt-get install digikam-private-libs/jessie Reading package lists... Done Building dependency tree Reading state information... Done Selected version '4:4.4.0-1.1' (Debian:8.2/stable [amd64]) for 'digikam-private-libs' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: digikam-private-libs : Depends: libbaloofiles4 (>= 4:4.12.80) but it is not going to be installed Depends: libkdcraw23 (>= 4:4.12.3) but it is not going to be installed Depends: libkdecore5 (>= 4:4.6.2) but it is not going to be installed Depends: libkdeui5 (>= 4:4.6.3) but it is not going to be installed Depends: libkdewebkit5 (>= 4:4.4.0) but it is not going to be installed Depends: libkexiv2-11 (>= 4:4.11.1) but it is not going to be installed Depends: libkfile4 (>= 4:4.3.4) but it is not going to be installed Depends: libkhtml5 (>= 4:4.3.4) but it is not going to be installed Depends: libkio5 (>= 4:4.7.0) but it is not going to be installed Depends: libknotifyconfig4 (>= 4:4.3.4) but it is not going to be installed Depends: libkparts4 (>= 4:4.5.85) but it is not going to be installed Depends: liblensfun0 (>= 0.2.8) but it is not going to be installed Depends: libmarblewidget19 (>= 4:4.13.90) but it is not going to be installed Depends: libopencv-contrib2.4 but it is not going to be installed Depends: libopencv-core2.4 but it is not going to be installed Depends: libopencv-imgproc2.4 but it is not going to be installed Depends: libopencv-objdetect2.4 but it is not going to be installed Depends: libqjson0 (>= 0.7.1) but it is not going to be installed Depends: libqt4-dbus (>= 4:4.5.3) but it is not going to be installed Depends: libqt4-network (>= 4:4.5.3) but it is not going to be installed Depends: libqt4-sql (>= 4:4.5.3) but it is not going to be installed Depends: libqt4-xml (>= 4:4.5.3) but it is not going to be installed Depends: libqtcore4 (>= 4:4.8.0) but it is not going to be installed Depends: libqtgui4 (>= 4:4.8.0) but it is not going to be installed Depends: libqtwebkit4 (>= 2.1.0~2011week13) but it is not going to be installed Depends: libsolid4 (>= 4:4.3.4) but it is not going to be installed libavformat56 : Depends: libavcodec56 (>= 6:11~beta1) but it is not going to be installed or libavcodec-extra-56 (>= 6:11~beta1) but it is not going to be installed libstdc++6 : Breaks: digikam-private-libs (<= 4:4.4.0-1.1+b2) but 4:4.4.0-1.1 is to be installed libwxgtk3.0-0v5 : Depends: libsdl1.2debian (>= 1.2.11) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Most notable the third-last line: libstdc++6 : Breaks: digikam-private-libs (<= 4:4.4.0-1.1+b2) but 4:4.4.0-1.1 is to be installed If I understand correctly, "4:4.4.0-1.1" <= "4:4.4.0-1.1+b2" but apt-get does not seem to agree with me. -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^firmware-linux.*"; APT::NeverAutoRemove:: "^linux-firmware$"; APT::NeverAutoRemove:: "^linux-image-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^linux-image-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^linux-headers-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^linux-headers-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^linux-image-extra-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^linux-image-extra-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^linux-signed-image-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^linux-signed-image-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^kfreebsd-image-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^kfreebsd-image-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^kfreebsd-headers-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^kfreebsd-headers-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^gnumach-image-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^gnumach-image-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^.*-modules-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^.*-modules-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^.*-kernel-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^.*-kernel-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.1\.0-2-amd64$"; APT::NeverAutoRemove:: "^linux-tools-4\.1\.0-1-amd64$"; APT::NeverAutoRemove:: "^linux-tools-4\.1\.0-2-amd64$"; APT::VersionedKernelPackages ""; APT::VersionedKernelPackages:: "linux-image"; APT::VersionedKernelPackages:: "linux-headers"; APT::VersionedKernelPackages:: "linux-image-extra"; APT::VersionedKernelPackages:: "linux-signed-image"; APT::VersionedKernelPackages:: "kfreebsd-image"; APT::VersionedKernelPackages:: "kfreebsd-headers"; APT::VersionedKernelPackages:: "gnumach-image"; APT::VersionedKernelPackages:: ".*-modules"; APT::VersionedKernelPackages:: ".*-kernel"; APT::VersionedKernelPackages:: "linux-backports-modules-.*"; APT::VersionedKernelPackages:: "linux-tools"; APT::Never-MarkAuto-Sections ""; APT::Never-MarkAuto-Sections:: "metapackages"; APT::Never-MarkAuto-Sections:: "restricted/metapackages"; APT::Never-MarkAuto-Sections:: "universe/metapackages"; APT::Never-MarkAuto-Sections:: "multiverse/metapackages"; APT::Never-MarkAuto-Sections:: "oldlibs"; APT::Never-MarkAuto-Sections:: "restricted/oldlibs"; APT::Never-MarkAuto-Sections:: "universe/oldlibs"; APT::Never-MarkAuto-Sections:: "multiverse/oldlibs"; APT::Update ""; APT::Update::Post-Invoke-Success ""; APT::Update::Post-Invoke-Success:: "/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null"; APT::Architectures ""; APT::Architectures:: "amd64"; APT::Architectures:: "i386"; APT::Compressor ""; APT::Compressor::. ""; APT::Compressor::.::Name "."; APT::Compressor::.::Extension ""; APT::Compressor::.::Binary ""; APT::Compressor::.::Cost "1"; APT::Compressor::gzip ""; APT::Compressor::gzip::Name "gzip"; APT::Compressor::gzip::Extension ".gz"; APT::Compressor::gzip::Binary "gzip"; APT::Compressor::gzip::Cost "2"; APT::Compressor::gzip::CompressArg ""; APT::Compressor::gzip::CompressArg:: "-9n"; APT::Compressor::gzip::UncompressArg ""; APT::Compressor::gzip::UncompressArg:: "-d"; APT::Compressor::bzip2 ""; APT::Compressor::bzip2::Name "bzip2"; APT::Compressor::bzip2::Extension ".bz2"; APT::Compressor::bzip2::Binary "bzip2"; APT::Compressor::bzip2::Cost "3"; APT::Compressor::bzip2::CompressArg ""; APT::Compressor::bzip2::CompressArg:: "-9"; APT::Compressor::bzip2::UncompressArg ""; APT::Compressor::bzip2::UncompressArg:: "-d"; APT::Compressor::xz ""; APT::Compressor::xz::Name "xz"; APT::Compressor::xz::Extension ".xz"; APT::Compressor::xz::Binary "xz"; APT::Compressor::xz::Cost "4"; APT::Compressor::xz::CompressArg ""; APT::Compressor::xz::CompressArg:: "-6"; APT::Compressor::xz::UncompressArg ""; APT::Compressor::xz::UncompressArg:: "-d"; APT::Compressor::lzma ""; APT::Compressor::lzma::Name "lzma"; APT::Compressor::lzma::Extension ".lzma"; APT::Compressor::lzma::Binary "xz"; APT::Compressor::lzma::Cost "5"; APT::Compressor::lzma::CompressArg ""; APT::Compressor::lzma::CompressArg:: "--format=lzma"; APT::Compressor::lzma::CompressArg:: "-9"; APT::Compressor::lzma::UncompressArg ""; APT::Compressor::lzma::UncompressArg:: "--format=lzma"; APT::Compressor::lzma::UncompressArg:: "-d"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::mirrors "mirrors/"; Dir::State::extended_states "extended_states"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::netrc "auth.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.d"; Dir::Etc::trusted "trusted.gpg"; Dir::Etc::trustedparts "trusted.gpg.d"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::solvers ""; Dir::Bin::solvers:: "/usr/lib/apt/solvers"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Bin::bzip2 "/bin/bzip2"; Dir::Bin::xz "/usr/bin/xz"; Dir::Bin::lzma "/usr/bin/xz"; Dir::Media ""; Dir::Media::MountPath "/media/cdrom"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; Dir::Log::History "history.log"; Dir::Ignore-Files-Silently ""; Dir::Ignore-Files-Silently:: "~$"; Dir::Ignore-Files-Silently:: "\.disabled$"; Dir::Ignore-Files-Silently:: "\.bak$"; Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$"; Dir::Ignore-Files-Silently:: "\.save$"; Dir::Ignore-Files-Silently:: "\.orig$"; Dir::Ignore-Files-Silently:: "\.distUpgrade$"; Acquire ""; Acquire::cdrom ""; Acquire::cdrom::mount "/media/cdrom"; Acquire::Languages ""; Acquire::Languages:: "en"; Acquire::Languages:: "none"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10"; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Tools ""; DPkg::Tools::Options ""; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null"; CommandLine ""; CommandLine::AsString "apt-config dump"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- # # deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 NETINST Binary-1 20141018-13:04]/ jessie main contrib non-free #deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 NETINST Binary-1 20141018-13:04]/ jessie main contrib non-free deb http://ftp.belnet.be/debian/ jessie main contrib non-free deb-src http://ftp.belnet.be/debian/ jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free # jessie-updates, previously known as 'volatile' deb http://ftp.belnet.be/debian/ jessie-updates main contrib non-free deb-src http://ftp.belnet.be/debian/ jessie-updates main contrib non-free deb http://ftp.belnet.be/debian/ testing main contrib non-free deb-src http://ftp.belnet.be/debian/ testing main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free deb-src http://security.debian.org/ testing/updates main contrib non-free # testing-updates, previously known as 'volatile' deb http://ftp.belnet.be/debian/ testing-updates main contrib non-free deb-src http://ftp.belnet.be/debian/ testing-updates main contrib non-free deb http://ftp.debian.org/debian unstable main contrib non-free -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt depends on: ii debian-archive-keyring 2014.3 ii gnupg 1.4.19-5 ii libapt-pkg4.16 1.0.10.2 ii libc6 2.19-20 ii libgcc1 1:5.2.1-17 ii libstdc++6 5.2.1-17 apt recommends no packages. Versions of packages apt suggests: pn apt-doc <none> ii aptitude 0.7.1-1 ii dpkg-dev 1.18.2 ii python-apt 1.0.0 -- no debconf information
--- End Message ---
--- Begin Message ---
- To: Tim Somers <debbugs@some.rs>, 799912-done@bugs.debian.org
- Subject: Re: Bug#799912: apt: error in version comparison
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Thu, 24 Sep 2015 15:20:57 +0200
- Message-id: <20150924132057.GA18876@crossbow>
- In-reply-to: <[🔎] 20150924071236.20226.66842.reportbug@smurf13.lan>
- References: <[🔎] 20150924071236.20226.66842.reportbug@smurf13.lan>
On Thu, Sep 24, 2015 at 09:12:36AM +0200, Tim Somers wrote: > Most notable the third-last line: > libstdc++6 : Breaks: digikam-private-libs (<= 4:4.4.0-1.1+b2) but 4:4.4.0-1.1 is to be installed > > If I understand correctly, "4:4.4.0-1.1" <= "4:4.4.0-1.1+b2" but apt-get does not seem to agree with me. You can check if you agree with the Debian way of interpreting versions e.g. with: $ dpkg --compare-versions '4:4.4.0-1.1' '<=' '4:4.4.0-1.1+b2' $ echo $? 0 So returncode of this command is indeed 0 aka dpkg and you agree – and apt agrees as well (as it is basically using the same code as dpkg) BUT we are talking about a "Breaks" relation here, not a "Depends" as all the others are: "Breaks", like "Conflicts", indicate that two packages do not play nicely together, so as long as the given Breaks clause it satisfied, the package isn't installable. So, you actually want to have Breaks not satisfied, but in your example it is. So, given that we all agree on the interpretation of the version I am going to close this bug as a misunderstanding of package relations, but feel free to reopen if I ended up misunderstanding you. Best regards David KalnischkiesAttachment: signature.asc
Description: PGP signature
--- End Message ---