On Friday 19 August 2005 12:20, Mark Crean wrote: > On Fri, 2005-08-19 at 13:07 +0200, Rakotomandimby Mihamina wrote: > > Hi, > > > > I'm using Sid, and i did an upgrade this morning. > > I got this. > > > > ------------------------------------------------------------ > > root-h1-59# apt-get -f install > > Reading package lists... Done > > Building dependency tree... Done > > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. > > 1 not fully installed or removed. > > Need to get 0B of archives. > > After unpacking 0B of additional disk space will be used. > > Setting up base-config (2.70) ... > > /var/lib/dpkg/info/base-config.postinst: line 59: syntax error near > > unexpected token `db_fset' > > dpkg: error processing base-config (--configure): > > subprocess post-installation script returned error exit status 2 > > Errors were encountered while processing: > > base-config > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > ------------------------------------------------------- > > > > How should I solve it? Have I just got to wait for the next update? > > If you follow through on the bug reports they will give you the > solution: > > download sources > cd to download directory > dpkg-source -x base-config*.dsc > remove final slash from line 57 of /debian/postinst in base-config-2.70 > cd base-config-2.70 > /debian/rules build > sudo ./debian/rules binary > cd .. > sudo dpkg -i base-config*deb Actually if you have already used apt-get to download the package then simply editing it in place:-
sudo nano /var/lib/dpkg/info/base-config.postinst and getting rid of the offending / and then rerunning apt-get -u upgrade is quite sufficient. There is no need to get the source. David > > and everything now works. Or at least, this way worked for me. > Otherwise, maybe you could revert to the previous version/ > > :) > > Fish -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]