Le lundi 16 juillet 2007, vous avez écrit : > On Mon, 16 Jul 2007, Florent Bayle wrote: > > > Package: ncurses-bin > > Version: 5.6+20070714-1 > > Severity: critical > > Justification: breaks the whole system > > > > Hi, > > > > Since I've upgraded ncurses-bin (and other ncurses packages) to the lastest > > version, my whole system is broken. > > Lots of init scripts are failing : > > # invoke-rc.d networking restart > > * Reconfiguring network interfaces... /usr/bin/tput: invalid option > > -- 2 > > usage: tput [-V] [-S] [-T term] capname > > tput's command-line parsing hasn't changed since before 5.6 (December). > (what was the previous version you had installed?). > > Did usplash change recently? >
I got a look at /etc/lsb-base-logging.sh (created by usplash), and I think that I found the problem : # cat /etc/lsb-base-logging.sh [...] if log_use_fancy_output && $TPUT xenl >/dev/null 2>&1; then COLS=`$TPUT cols` if [ "$COLS" ]; then COL=`$EXPR $COLS - 7` else COL=73 fi [...] printf " * $* " # Enough trailing spaces for ` [fail]' to fit in; if the message # is too long it wraps here rather than later, which is what we # want. $TPUT hpa `$EXPR $COLS - 1` printf ' ' else echo " * $@" COL= fi [...] # and now, THE problem : [EMAIL PROTECTED]:~$ apt-cache policy ncurses-bin ncurses-bin: Installed: 5.6+20070714-1 Candidate: 5.6+20070714-1 Version table: *** 5.6+20070714-1 0 500 http://ftp.fr.debian.org unstable/main Packages 100 /var/lib/dpkg/status 5.6-3 0 500 http://ftp.fr.debian.org testing/main Packages 5.5-5 0 500 http://ftp.fr.debian.org etch/main Packages [EMAIL PROTECTED]:~$ tput cols -1 [EMAIL PROTECTED]:~$ sudo apt-get install libncurses5=5.6-3 libncursesw5=5.6-3 ncurses-base=5.6-3 ncurses-bin=5.6-3 ncurses-term=5.6-3 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be DOWNGRADED: libncurses5 libncursesw5 ncurses-base ncurses-bin ncurses-term 0 upgraded, 0 newly installed, 5 downgraded, 0 to remove and 0 not upgraded. Need to get 0B/1214kB of archives. After unpacking 106kB of additional disk space will be used. Do you want to continue [Y/n]? dpkg - warning: downgrading ncurses-bin from 5.6+20070714-1 to 5.6-3. (Reading database ... 29107 files and directories currently installed.) Preparing to replace ncurses-bin 5.6+20070714-1 (using .../ncurses-bin_5.6-3_i386.deb) ... Unpacking replacement ncurses-bin ... Setting up ncurses-bin (5.6-3) ... dpkg - warning: downgrading libncurses5 from 5.6+20070714-1 to 5.6-3. (Reading database ... 29108 files and directories currently installed.) Preparing to replace libncurses5 5.6+20070714-1 (using .../libncurses5_5.6-3_i386.deb) ... Unpacking replacement libncurses5 ... Setting up libncurses5 (5.6-3) ... dpkg - warning: downgrading ncurses-base from 5.6+20070714-1 to 5.6-3. (Reading database ... 29108 files and directories currently installed.) Preparing to replace ncurses-base 5.6+20070714-1 (using .../ncurses-base_5.6-3_all.deb) ... Unpacking replacement ncurses-base ... Setting up ncurses-base (5.6-3) ... Installing new version of config file /etc/terminfo/README ... dpkg - warning: downgrading libncursesw5 from 5.6+20070714-1 to 5.6-3. (Reading database ... 29108 files and directories currently installed.) Preparing to replace libncursesw5 5.6+20070714-1 (using .../libncursesw5_5.6-3_i386.deb) ... Unpacking replacement libncursesw5 ... dpkg - warning: downgrading ncurses-term from 5.6+20070714-1 to 5.6-3. Preparing to replace ncurses-term 5.6+20070714-1 (using .../ncurses-term_5.6-3_all.deb) ... Unpacking replacement ncurses-term ... Setting up libncursesw5 (5.6-3) ... Setting up ncurses-term (5.6-3) ... [EMAIL PROTECTED]:~$ tput cols 80 [EMAIL PROTECTED]:~$ -- Florent
signature.asc
Description: This is a digitally signed message part.