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

Bug#590438: Should pre-depend on awk



reopen 590438
reassign 590438 apt
retitle 590438 apt - Removes pseudo-essential package

On Mon, Jul 26, 2010 at 12:23:52PM +0200, maximilian attems wrote:
> On Mon, Jul 26, 2010 at 11:28:58AM +0200, Benjamin Renard wrote:
> > Package: initramfs-tools
> > Version: 0.92o
> > Severity: serious
> wrong severity as usual..

No, wrong package. And anyway, failures to run under normal conditions
are serious.

> > Reading package lists... Done
> > Building dependency tree       
> > Reading state information... Done
> > The following packages will be REMOVED:
> >   aspell* aspell-fr* at* bash-completion* console-setup* console-terminus* dc* debian-faq*
> >   dictionaries-common* dmsetup* doc-debian* doc-debian-fr* doc-linux-fr-text* doc-linux-text* exim4*
> >   exim4-base* exim4-config* exim4-daemon-light* gcc-4.2-base* gettext-base* iamerican* ibritish*
> >   ifrench-gut* installation-report* ispell* kpartx* language-env* laptop-detect* libaio1* libaspell15*
> >   libevent1* libgc1c2* libgssglue1* libnfsidmap2* libpcre3* librpcsecgss3* libx11-6* libx11-data*
> >   libxau6* libxcb-xlib0* libxcb1* libxdmcp6* libxext6* libxmuu1* m4* manpages-fr* manpages-fr-extra*
> >   mawk* mlocate* multipath-tools* multipath-tools-boot* multipath-tools-initramfs* ncurses-term*
> >   nfs-common* open-iscsi* openbsd-inetd* openssh-blacklist-extra* perl* perl-modules* portmap*
> >   procmail* python-central* reportbug* tasksel* tasksel-data* texinfo* vim-tiny* w3m* wamerican*
> >   wfrench* whois* x11-common* xauth* xkb-data*
> > The following NEW packages will be installed:
> >   bridge-utils dialog gawk htop iptraf libcap1 libelfg0 libpcap0.8 lrzsz ltrace lynx lynx-cur make
> >   mtr-tiny ntpdate psmisc rsync strace sudo tcpdump xfsprogs zssh
> > 0 upgraded, 22 newly installed, 74 to remove and 0 not upgraded.
> > Need to get 6716kB of archives.
> > After this operation, 97.5MB disk space will be freed.
> > Do you want to continue [Y/n]? 
> > Get:1 http://ftp.fr.debian.org lenny/main gawk 1:3.1.5.dfsg-4.1 [721kB]
> > 
> > [...]
> > 
> > Removing ispell ...
> > Removing dictionaries-common ...
> > Removing `diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
> > Purging configuration files for dictionaries-common ...
> > dpkg: mawk: dependency problems, but removing anyway as you request:
> >  base-files depends on awk; however:
> >   Package awk is not installed.
> >   Package mawk which provides awk is to be removed.
> > Removing mawk ...

apt asks dpkg to remove mawk, which is there to fullfill a pre-depends
of essential base-files. However it forgets to also ask it to install
the replacement gawk at the same time. So effectively essential is not
longer complete and everything after that is undefined behaviour.

> > Processing triggers for man-db ...
> > Processing triggers for initramfs-tools ...
> > /usr/sbin/update-initramfs: line 297: awk: command not found
> > dpkg: subprocess post-installation script returned error exit status 127
> > E: Sub-process /usr/bin/dpkg returned an error code (2)
> > E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 

dpkg calls triggers after the successful run without essential fully
available.

> see http://bugs.debian.org/589963 for details,
> no point in keeping this duplicate.

Sorry no.

Bastian

-- 
Totally illogical, there was no chance.
		-- Spock, "The Galileo Seven", stardate 2822.3

Attachment: signature.asc
Description: Digital signature


Reply to: