Re: base-config broken
David Goodenough wrote:
>On Friday 19 August 2005 12:20, Mark Crean wrote:
>
>
>>On Fri, 2005-08-19 at 13:07 +0200, Rakotomandimby Mihamina wrote:
>>
>>
>>>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
>>>
>>>
>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.
>
>
Concerning this last method: in a situation like this, even if you don't
have access to bug reports, you can look at the file mentioned, at the
line mentioned ("/var/lib/dpkg/info/base-config.postinst: line 59:
syntax error near unexpected token `db_fset'"), and often typos will be
evident, even to non-programmers (but of course, sometimes not). Fix the
typo, save the file, and try your upgrade again.
Do this one time, and two things will happen:
1) You'll be very proud of yourself
and
2) You'll appreciate the Freedom aspect of Free Software and the
text-based aspect of much of *nix, which allows you to fix your own
problems instead of being dependent on some other entity.
--
Kent
Reply to: