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

Bug#498880: marked as done (apt-get installs unneeded extra packages)



Your message dated Mon, 22 Dec 2008 14:04:09 +0200
with message-id <494F8239.4090807@gmail.com>
and subject line Re: Bug#498880: state of #498880
has caused the Debian Bug report #498880,
regarding apt-get installs unneeded extra packages
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.)


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

Installing a package selects numerous additional packages for
installation, none of which are dependencies of the package to install.

This error occurs in a chroot environment after a fresh debootstrap
installation. I do not see how this could be the reason for this
problem, though.

Commands that created the chroot environment:
debootstrap lenny /mnt http://ftp.debian.org/debian
mount -tproc proc /mnt/proc
chroot /mnt

There is nothing left to do for apt:

dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/...
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppe...
||/ Name                          Version           Description
+++-=============================-=================-=================...
================

apt-get --fix-broken install
Reading package lists... Done
Building dependency tree
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

But installing this package causes extra packages to be installed:

apt-get --simulate install mdadm
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  ca-certificates citadel-common citadel-mta citadel-server db4.6-util
  libcitadel1 libcurl3 libexpat1 libglib2.0-0 libglib2.0-data libical0
  libidn11 libkeyutils1 libkrb53 libldap-2.4-2 libpcre3 libsieve2-1
  libssh2-1 libxml2 openssl perl perl-doc perl-modules sgml-base
  shared-mime-info xml-core
Suggested packages:
  krb5-doc krb5-user libterm-readline-gnu-perl libterm-readline-perl-perl
  groff sgml-base-doc debhelper
Recommended packages:
  mail-transport-agent
The following NEW packages will be installed:
  ca-certificates citadel-common citadel-mta citadel-server db4.6-util
  libcitadel1 libcurl3 libexpat1 libglib2.0-0 libglib2.0-data libical0
  libidn11 libkeyutils1 libkrb53 libldap-2.4-2 libpcre3 libsieve2-1
  libssh2-1 libxml2 mdadm openssl perl perl-doc perl-modules sgml-base
  shared-mime-info xml-core
0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
[...]

Checking the dependencies and installed packages yields no clue as to
what went wrong:

apt-cache show mdadm | grep -e ^Replaces -e ^Depends -e ^Recommends -e
^Conflicts
Replaces: mdctl
Depends: libc6 (>= 2.7-1), udev | makedev, debconf (>= 1.4.72), lsb-base
(>= 3.1-6)
Recommends: mail-transport-agent, module-init-tools
Conflicts: initramfs-tools (<< 0.65), mdctl (<< 0.7.2), raidtools2 (<<
1.00.3-12.1)

dpkg -l mdctl libc6 udev makedev debconf lsb-base mail-transport-agent
module-init-tools initramfs-tools mdctl raidtools2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/...
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppe...
||/ Name           Version        Description
+++-==============-==============-===================================...
ii  debconf        1.5.22         Debian configuration management system
ii  libc6          2.7-13         GNU C Library: Shared libraries
ii  lsb-base       3.2-20         Linux Standard Base 3.2 init script...
un  mail-transport <none>         (no description available)
ii  makedev        2.3.1-88       creates device files in /dev
ii  module-init-to 3.4-1          tools for managing Linux kernel mod...
un  udev           <none>         (no description available)
No packages found matching mdctl.
No packages found matching initramfs-tools.
No packages found matching mdctl.
No packages found matching raidtools2.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
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";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

-- (no /etc/apt/preferences present) --


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

deb http://ftp.debian.org/debian lenny main

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the
Debian a
ii  libc6                    2.7-13          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.1-9       GCC support library
ii  libstdc++6               4.3.1-9         The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                       <none>     (no description available)
ii  aptitude                      0.4.11.8-1 terminal-based package manager
pn  bzip2                         <none>     (no description available)
pn  dpkg-dev                      <none>     (no description available)
ii  lzma                          4.43-14    Compression method of 7z
format in

-- no debconf information

-- 
Olaf Mandel   <olaf@mandel.name>   <http://www.olaf.mandel.name/>
PGP key:      1024D/33398848 2002-09-19
Fingerprint:  0E33 BEA6 1A71 9C5E 62BD  FC0E 99A7 D2C6 3339 8848

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Olaf Mandel wrote:
> Eugene V. Lyubimkin schrieb:
>> Please post the output of 'aptitude install mdadm -D'.
> 
> Hello,
> 
> this actually closes the bug-report: not a bug at all.
> 
> I was unaware of APT::Install-Recommends which defaults to true.
> And the citadel-mta is automatically selected for the Recommends entry
> of mail-transport-agent. I only looked at the Depends lines, never at
> the Recommends lines. Was the standard behavior of apt-get always to
> also install recommended items? I was under the impression, only
> aptitude does that...
Was not in past, but is since apt 0.7.7.


-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian Maintainer, APT contributor

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: