[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#399939: marked as done (apt-get (0.6.46.2) : incorrect dependencies resolution)



Your message dated Thu, 13 Aug 2015 15:46:50 +0200
with message-id <20150813134650.GA28308@crossbow>
and subject line Re: Bug#399939: Acknowledgement (apt-get (0.6.46.2) : incorrect dependencies resolution)
has caused the Debian Bug report #399939,
regarding apt-get (0.6.46.2) : incorrect dependencies resolution
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.)


-- 
399939: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399939
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.6.46.3
Severity: normal

Hi,

my sources.list files contains both testing and unstable repositories.
I am pinning packages from "unstable" to 99, and my default release is "testing".

The incorrect behavior appears when running "apt-get dist-upgrade" : apt-get wants
to install sysvinit-utils (2.86.ds1-34) from unstable, whereas it was not previously
installed and is not a dependency of an installed package.

apt-get seems to mix dependencies of a package from several debian releases, whereas
it should only consider dependencies of installed packages.

On the other hand, "aptitude dist-upgrade -s -V" has a correct behavior and will
not attempt to install sysvinit-utils package. Neither does "adept_updater".

Best Regards,
David



-- output of apt-get dist-upgrade -s -V --

Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following NEW packages will be installed
   sysvinit-utils (2.86.ds1-34)
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst sysvinit-utils (2.86.ds1-34 Debian:unstable)
Conf sysvinit-utils (2.86.ds1-34 Debian:unstable)


My comment :
sysvinit-utils has no reason to be installed !
 sysvinit-utils is a dependency of sysvinit (2.86.ds1-34 - unstable version), and not
 a dependency of the installed sysvinit package (2.86.ds1-20 - testing version), as shown
 below.


-- partial output of "apt-rdepends sysvinit-utils" --

sysvinit-utils
  Reverse Depends: initscripts (2.86.ds1-34)
  Reverse Depends: upstart-compat-sysv (>= 0.2.7-2)
  Reverse PreDepends: sysvinit (2.86.ds1-34)
  Reverse PreDepends: upstart (>= 0.2.7-2)


-- partial output of "apt-cache show sysvinit --

Package: sysvinit
Essential: yes
Priority: required
Section: admin
Installed-Size: 272
Maintainer: Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>
Architecture: i386
Version: 2.86.ds1-34
Depends: libc6 (>= 2.3.6-6), libselinux1 (>= 1.32), libsepol1 (>= 1.14)
Pre-Depends: initscripts, sysv-rc (>= 2.86.ds1-1.2) | file-rc (>> 0.7.0), sysvinit-utils
[...]
Package: sysvinit
Essential: yes
Priority: required
Section: admin
Installed-Size: 356
Maintainer: Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>
Architecture: i386
Version: 2.86.ds1-20
Replaces: last
Depends: libc6 (>= 2.3.6-6), libselinux1 (>= 1.30.27), libsepol1 (>= 1.12.24)
Pre-Depends: initscripts, sysv-rc (>= 2.86.ds1-1.2) | file-rc (>> 0.7.0)
[...]








-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::Default-Release "testing";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
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::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
Acquire "";
Acquire::::Proxy "false";

-- /etc/apt/preferences --

Package: *
Pin: release a=unstable
Pin-Priority: 99

-- /etc/apt/sources.list --

# TESTING / ETCH
deb http://ftp.fr.debian.org/debian/ etch main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ etch main non-free contrib

# UNSTABLE
deb http://ftp.fr.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ unstable main non-free contrib

#EXPERIMENTAL
deb http://ftp.fr.debian.org/debian/ experimental main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ experimental main non-free contrib

# SECURITY
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (99, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  debian-archive-keyring       2006.01.18  GnuPG archive keys of the Debian a
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-19  GCC support library
ii  libstdc++6                   4.1.1-19    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Hi,

On Thu, Nov 23, 2006 at 12:01:13AM +0100, David Robin wrote:
> in fact, adept_updater does attempt to install sysvinit-utils package, too.
> As a conclusion, out of the 3 tools, only aptitude behaves as expected.

The 'problem' is that the packages apt is trying to install are marked
as Essential:yes in this release – and therefore packages can use the
functionality they provide without depending on them explicitely.

It is therefore needed that apt installs (and keeps installed) these
packages so that you can use packages from these release – otherwise
they might randomly fail. So, in that way, aptitude is the only thing
NOT behaving as expected… just that in practice this is an uncommon
problem and usually just annoys people because they don't understand the
reason…

So, long story short: This is behaviour as design, hence not a bug and
therefore I am closing this bugreport.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: