FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 07-26-2010, 09:28 AM
Benjamin Renard
 
Default Bug#590438: Should pre-depend on awk

Package: initramfs-tools
Version: 0.92o
Severity: 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 ...
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.

-- Package-specific info:
-- /proc/cmdline
root=/dev/sda2 ro

-- /proc/filesystems
ext3

-- lsmod
Module Size Used by
dm_round_robin 7296 1
ipv6 288456 72
crc32c 6400 0
libcrc32c 7168 1 crc32c
iscsi_tcp 21764 2
libiscsi 32384 1 iscsi_tcp
scsi_transport_iscsi 36256 2 iscsi_tcp,libiscsi
loop 19468 0
snd_pcsp 14588 0
snd_pcm 81800 1 snd_pcsp
snd_timer 25744 1 snd_pcm
snd 63688 3 snd_pcsp,snd_pcm,snd_timer
soundcore 12064 1 snd
snd_page_alloc 13072 1 snd_pcm
serio_raw 9988 0
psmouse 42268 0
button 11680 0
dcdbas 11952 0
joydev 14848 0
evdev 14208 0
ext3 125072 3
jbd 51240 1 ext3
mbcache 12804 1 ext3
dm_mirror 20608 0
dm_log 13956 1 dm_mirror
dm_snapshot 19400 0
dm_emc 9088 0
dm_multipath 21392 3 dm_round_robin,dm_emc
dm_mod 58864 10 dm_mirror,dm_log,dm_snapshot,dm_multipath
usbhid 45792 0
hid 41792 1 usbhid
ff_memless 9224 1 usbhid
sg 36448 0
sr_mod 19652 0
cdrom 37928 1 sr_mod
sd_mod 29376 6
ses 11008 0
enclosure 13632 1 ses
ata_piix 22916 0
ata_generic 10116 0
libata 165600 2 ata_piix,ata_generic
dock 14112 1 libata
ide_pci_generic 9220 0 [permanent]
megaraid_sas 38844 3
ide_core 128284 1 ide_pci_generic
scsi_mod 161016 9 iscsi_tcp,libiscsi,scsi_transport_iscsi,sg,sr_mod, sd_mod,ses,libata,megaraid_sas
uhci_hcd 25760 0
ehci_hcd 36108 0
bnx2 63880 0
firmware_class 12544 1 bnx2
thermal 22688 0
processor 42304 9 thermal
fan 9352 0
thermal_sys 17728 3 thermal,processor,fan

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook = update-grub

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto


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

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to POSIX)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii cpio 2.9-13lenny1 GNU cpio -- a program to manage ar
ii findutils 4.4.0-2 utilities for finding files--find,
ii klibc-utils 1.5.12-2 small utilities built with klibc f
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii udev 0.125-7+lenny3 /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed

initramfs-tools suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100726092858.18628.10715.reportbug@samba">http://lists.debian.org/20100726092858.18628.10715.reportbug@samba
 
Old 07-26-2010, 11:36 AM
Bastian Blank
 
Default 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
 

Thread Tools




All times are GMT. The time now is 04:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org