Re: PLEASE HELP - Missing final newline
On Tue, 12 Feb 2002, Ales Jerman wrote:
> I have one problem for a quite long time. So, when I try to install/remove
> anything it returns an error, which is pasted under this text.
> ales@lynx:~$ su -
> lynx:~# ls
> lynx:~# apt-get remove mrtg
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be REMOVED:
> 0 packages upgraded, 0 newly installed, 1 to remove and 300 not upgraded.
> Need to get 0B of archives. After unpacking 1578kB will be freed.
> Do you want to continue? [Y/n] Y
> (Reading database ... dpkg: error processing mrtg (--remove):
> files list file for package `gnome-games-locale' is missing final newline
> Errors were encountered while processing:
> Processing was halted because there were too many errors.
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> I guess that there are some conf. files in which are some missing data for
> that package `gnome-games-locale', which is even not installed, I think.
> If anyone could please tell me how to deal with it, or at least how to
> 'reset' the apt-get.
> Thanks for help.
That package is either in the installed, or removed but not purged state.