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

Bug#530546: marked as done (apt: Does not inform about breaking dependencies while installing new programms)



Your message dated Mon, 25 May 2009 20:21:48 +0200
with message-id <20090525201620.GA25367@debian.org>
and subject line Re: Bug#530546: apt: Does not inform about breaking dependencies while installing new programms
has caused the Debian Bug report #530546,
regarding apt: Does not inform about breaking dependencies while installing new programms
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.)


-- 
530546: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530546
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.20.2+lenny1
Severity: important

Yesterday I installed mailutils using

apt-get install mailutils

which asked (and then removed) bsd-mailx. However I later noticed 
that logcheck depends on bsd-mailx|mailx. I was not informed about
this by apt, but looking at the logfile (/var/log/apt/term.log) I see:

Log started: 2009-05-24  17:08:14
(Lese Datenbank ... 254303 Dateien und Verzeichnisse sind derzeit installiert.)
Entferne mailx ...
dpkg: bsd-mailx: Abhängigkeitsprobleme, aber entferne es auf Anfrage dennoch:
 logcheck hängt ab von bsd-mailx | mailx; aber:
  Paket bsd-mailx soll entfernt werden.
  Paket mailx ist nicht installiert.
  Paket bsd-mailx, das mailx bereitstellt, soll entfernt werden.
 logcheck hängt ab von bsd-mailx | mailx; aber:
  Paket bsd-mailx soll entfernt werden.
  Paket mailx ist nicht installiert.
  Paket bsd-mailx, das mailx bereitstellt, soll entfernt werden.
Entferne bsd-mailx ...
Verarbeite Trigger für man-db ...
Verarbeite Trigger für doc-base ...
Processing 1 removed doc-base file(s)...
Registering documents with dhelp...
Registering documents with scrollkeeper...
Wähle vormals abgewähltes Paket libntlm0.
(Lese Datenbank ... 254288 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke libntlm0 (aus .../libntlm0_0.3.13-1_amd64.deb) ...
Wähle vormals abgewähltes Paket libgsasl7.
Entpacke libgsasl7 (aus .../libgsasl7_0.2.26-2_amd64.deb) ...
Wähle vormals abgewähltes Paket libmailutils1.
Entpacke libmailutils1 (aus .../libmailutils1_1%3a1.2+dfsg1-4_amd64.deb) ...
Wähle vormals abgewähltes Paket mailutils.
Entpacke mailutils (aus .../mailutils_1%3a1.2+dfsg1-4_amd64.deb) ...
Verarbeite Trigger für man-db ...
Richte libntlm0 ein (0.3.13-1) ...
Richte libgsasl7 ein (0.2.26-2) ...
Richte libmailutils1 ein (1:1.2+dfsg1-4) ...
Richte mailutils ein (1:1.2+dfsg1-4) ...
Installiere neue Version der Konfigurationsdatei /etc/mail.rc ...
Log ended: 2009-05-24  17:08:43

So apt noticed that I was doing something harmful but did not tell me.
And indeed, now I have a broken system (although logcheck still 
seems to work):
rc  bsd-mailx      8.1.2-0.200712 A simple mail user agent
rc  mailx          1:20071201-3   Transitional package for mailx rename
ii  logcheck       1.2.69         mails anomalies in the system logfiles to th

while the latter
Depends: adduser, exim4 | mail-transport-agent, cron, sysklogd | system-log-daemon | syslog-ng, bsd-mailx | mailx, logtail (>= 1.2.59), lockfile-progs

Actually, I would have not expeced apt to let me do this at all,
unless I explicitly allowed apt to do so.

I tarred /var/log, so if you need additional log (entries) please tell
me which.

(And unless I hear something from you soonish, I'll probably reinstall
bsd-mailx)I tarred /var/log, so if you need additional log (entries)
please tell me which.

(And unless I hear something from you soonish, I'll probably reinstall
bsd-mailx).

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
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/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:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";

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


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

#deb http://debian.inode.at/pure64 sid main
#deb ftp://ftp.de.debian.org/debian-amd64/pure64/ sid main
#deb ftp://ftp.de.debian.org/debian-amd64/pure64/ testing main
#deb ftp://ftp.de.debian.org/debian-amd64/debian-pure64/ testing main
#On Alioth:
#deb http://debian-amd64.alioth.debian.org/debian-pure64 sarge main
# To really get Sarge, use (once supported):
#deb ftp://ftp.de.debian.org/debian-amd64/debian-pure64/ testing main
#deb http://amd64.debian.net/debian/ sarge main contrib 
#deb ftp://ftp.de.debian.org/debian-amd64/debian-pure64/ sarge main
#deb http://127.0.0.1:9999/debian-amd64 sarge main non-free
#deb http://127.0.0.1:9999/debian-amd64 sarge main
#deb http://127.0.0.1:9999/security sarge/updates main
deb http://127.0.0.1:9999/security lenny/updates main
#deb http://security.debian.org stable/updates main contrib non-free
#deb http://security.debian.org etch/updates main contrib non-free
#deb-src http://security.debian.org stable/updates main contrib non-free

#deb http://127.0.0.1:9999/debian-amd64 etch main
deb http://127.0.0.1:9999/debian lenny main
#deb http://ftp.de.debian.org/debian etch main
#deb http://127.0.0.1:9999/security etch/updates main
#deb http://security.debian.org etch/updates main contrib non-free

#deb http://amd64.debian.net/debian/ sarge-proposed-updates main contrib 
#deb http://127.0.0.1:9999/debian/ sarge-proposed-updates main contrib

#deb http://jari.itp.uni-hannover.de auto/repository/sarge/local/binary-amd64/

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.5-grsec-cz02
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring       2009.01.31  GnuPG archive keys of the Debian a
ii  libc6                        2.7-18      GNU C Library: Shared libraries
ii  libgcc1                      1:4.3.2-1.1 GCC support library
ii  libstdc++6                   4.3.2-1.1   The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc               0.7.20.2+lenny1    Documentation for APT
ii  aptitude              0.4.11.11-1~lenny1 terminal-based package manager
ii  bzip2                 1.0.5-1            high-quality block-sorting file co
ii  dpkg-dev              1.14.25            Debian package development tools
ii  lzma                  4.43-14            Compression method of 7z format in
ii  python-apt            0.7.7.1+nmu1       Python interface to libapt-pkg

-- no debconf information
-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Mon, May 25, 2009 at 06:45:04PM +0200, Helge Kreutzmann wrote:
> Package: apt
> Version: 0.7.20.2+lenny1
> Severity: important
> 
> Yesterday I installed mailutils using
> 
> apt-get install mailutils
> 
> which asked (and then removed) bsd-mailx. However I later noticed 
> that logcheck depends on bsd-mailx|mailx. I was not informed about
> this by apt, but looking at the logfile (/var/log/apt/term.log) I see:
[...]
> So apt noticed that I was doing something harmful but did not tell me.
> And indeed, now I have a broken system (although logcheck still 
> seems to work):
> rc  bsd-mailx      8.1.2-0.200712 A simple mail user agent
> rc  mailx          1:20071201-3   Transitional package for mailx rename
> ii  logcheck       1.2.69         mails anomalies in the system logfiles to th
> 
> while the latter
> Depends: adduser, exim4 | mail-transport-agent, cron, sysklogd | system-log-daemon | syslog-ng, bsd-mailx | mailx, logtail (>= 1.2.59), lockfile-progs
> 
> Actually, I would have not expeced apt to let me do this at all,
> unless I explicitly allowed apt to do so.

I see no bug here. "mailutils" provides "mailx", so the dependency "bsd-mailx | mailx"
is satisfied. The log shows the error message because dpkg did not know that mailutils
was going to be installed. The system was broken for a short time, between the removal
of bsd-mailx and the installation of mailutils. But afterwards, the system is OK,
because there are no broken dependencies anymore.

If I am missing something, please reopen the bug.

-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: