Bug#607491: nginx: broken config makes dpkg unhappy on upgrade
On Sun, Dec 19, 2010 at 04:02:45AM +0300, CoolCold wrote: Sorry for mistake please, of course: I think package upgrade should not stop on wrong config. Debian policy 3.9.1 states, at section 10.7.3: ``local changes [to configuration files] MUST be preserved during a package upgrade'' The cause of the error seems to be a local change, therefore there's nothing the package can do. The site admin should fix the error and call dpkg --configure on nginx package or purge the package and start over. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607491: nginx: broken config makes dpkg unhappy on upgrade
Package: nginx Version: 0.7.67-3~bpo50+1 Severity: normal I had broken configuration files and tryed to upgrade nginx: Installing new version of config file /etc/nginx/mime.types ... Installing new version of config file /etc/init.d/nginx ... Trying a soft restart PID IS RIGHT WAITING WAITING WAITING WAITING WAITING WAITING WAITING WAITING WAITING WAITING WAITING Nginx 'soft' update failed, doing restart Starting nginx: [warn]: low address bits of 193.194.153.0/23 are meaningless in /etc/nginx/rugeo.conf:3442 [warn]: low address bits of 194.149.65.0/23 are meaningless in /etc/nginx/rugeo.conf:4452 [emerg]: invalid parameter weight=1 in /etc/nginx/sites-enabled/000-academics-proxy.conf:3 configuration file /etc/nginx/nginx.conf test failed invoke-rc.d: initscript nginx, action start failed. dpkg: error processing nginx (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nginx E: Sub-process /usr/bin/dpkg returned an error code (1) I think package upgrade should stop on wrong config. -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.18-prep-beta (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages nginx depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libgeoip1 1.4.7~beta6+dfsg-1~bpo50+1 A non-DNS IP-to-country resolver l ii libpcre3 7.6-2.1Perl 5 Compatible Regular Expressi ii libssl0.9.8 0.9.8g-15 SSL shared libraries ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip ii zlib1g1:1.2.3.3.dfsg-12 compression library - runtime nginx recommends no packages. nginx suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607491: nginx: broken config makes dpkg unhappy on upgrade
Sorry for mistake please, of course: I think package upgrade should not stop on wrong config. -- Best regards, [COOLCOLD-RIPN] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org