After upgrading my system last week the S hits the Fan. Looked al over the forun but did'nt got the answer to solve my problem. Within DPKG the "status" file was corrupt, back-ups where empty so tried to recover with:
(for d in /usr/share/doc/* ; do printf 'Package: %s\nStatus: install ok installed\n' $(basename $d) ; done ) > ~/status
cp ~/status /var/lib/dpkg/
My installation:
Virtual server, OS template ubuntu-12.04-x86_64 + Plesk Client server with mail and sites
As told after recovery te status file i run:
root@justme:~# sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
adduser apt-utils base-files base-passwd bash bash-completion bsdmainutils bsdutils busybox-initramfs coreutils cpio cryptsetup cryptsetup-bin dash dbus debconf-i18n debianutils diffutils
dmsetup dpkg e2fslibs e2fsprogs ecryptfs-utils file findutils gcc-4.6-base gettext-base grep gzip hostname ifupdown initramfs-tools initramfs-tools-bin initscripts insserv iproute keyutils
klibc-utils libacl1 libapt-inst1.4 libapt-pkg4.12 libatm1 libattr1 libblkid1 libbz2-1.0 libc-bin libc6 libcomerr2 libcryptsetup4 libdb5.1 libdbus-1-3 libdevmapper1.02.1 libdrm-intel1
libdrm-nouveau1a libdrm-radeon1 libdrm2 libecryptfs0 libexpat1 libffi6 libgcc1 libgcrypt11 libglib2.0-0 libglib2.0-data libgpg-error0 libgpm2 libkeyutils1 libklibc liblocale-gettext-perl
liblzma5 libmagic1 libmount1 libncurses5 libncursesw5 libnih-dbus1 libnih1 libnspr4 libnss3 libnss3-1d libpam-modules libpam-modules-bin libpam-runtime libpam0g libpciaccess0 libpcre3
libplymouth2 libpng12-0 libpopt0 libreadline6 libselinux1 libslang2 libsqlite3-0 libss2 libssl1.0.0 libstdc++6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtinfo5 libudev0
libuuid1 libxml2 login lsb-base lsof makedev mime-support module-init-tools mount mountall multiarch-support ncurses-base ncurses-bin netbase original-awk passwd perl-base plymouth
plymouth-theme-ubuntu-text procps psmisc python python-minimal python2.7 python2.7-minimal readline-common rsync sed sensible-utils sgml-base shared-mime-info sysv-rc sysvinit-utils tar tzdata
udev upstart util-linux uuid-runtime xml-core xz-utils zlib1g
The following packages will be upgraded:
debconf
1 upgraded, 141 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/38.3 MB of archives.
After this operation, 118 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 15 package 'acl:i386':
blank line in value of field 'Original-Maintainer'
' not allowed (only letters, digits and characters `-+._')install-info
E: Sub-process /usr/bin/dpkg returned an error code (2)
W: Encountered status field in a non-version description
Can someone help..?? Looked almost everywhere.