Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am getting this error in Ubuntu 12.04 , while doing the below operation.

frank@august:~$ sudo apt-get install ttf-mscorefonts-installer
[sudo] password for frank: 
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct    the problem. 
frank@august:~$ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0045' near line 0:
 newline in field name `#padding'


frank@august:~$ head /var/lib/dpkg/updates/0045


I can't see where is the error , help me to solve this. Thank you.

share|improve this question

5 Answers 5

up vote 15 down vote accepted

Ok I have solved the issue myself.

I ran these two commands in terminal (CTRL+ALT+T):

cd /var/lib/dpkg/updates && rm -rf 0045
sudo dpkg --configure -a

And my issue was solved.

share|improve this answer
Since attempting to run sudo rm -rf /var/lib/dpkg/updates/0045 is safe and proper but could have disastrous results if one types in a stray space next to any of the /es (especially the first two!), it may be best to warn about this danger or to suggest something like cd /var/lib/dpkg/updates && rm -rf 0045. Good solution though! –  Eliah Kagan Mar 25 '14 at 4:24

Looks like the file is corrupted. Suggest you do the following ( pls do take a backup and do it at ur risk ;) )

sudo rm /var/lib/dpkg/updates/000*
sudo apt-get clean
sudo apt-get update
sudo apt-get install ttf-mscorefonts-installer
share|improve this answer
Thanks for your answer , but it didnt helped me paste.ubuntu.com/1337768 –  Raja Nov 6 '12 at 17:13

It seems that status file corrupted,To fix this you have to delete/clear the file using the command.

sudo dpkg --clear-status

then rebuild the file using the command:

sudo apt-get update
share|improve this answer
Thanks for your answer but it didnt helped me . here is the link paste.ubuntu.com/1337765 –  Raja Nov 6 '12 at 17:12

Try this:

sudo rm -rf /var/lib/dpkg/updates/*
dpkg --configure -a
share|improve this answer
Can you add more details to your answer please? Like what this does and why it does it? –  Seth Jan 4 '13 at 19:52

I attempted to install apache2 on AVLinux and received the empty line in description error message. Here are the steps I went through to fix this problem. I have also provided sample code with [ NOTES: ] so you can see exactly what should and what should not be change in the following files.

Please read this entire post including the supplied code before you start making the changes to your files.

Resolving blank line in value of field 'Description' Errors

While running: sudo dpkg --configure -a

I made the following changes. In /var/lib/dpkg/status file:

Line 1432 error Delete line 1425 and then delete line 1431

Line 15771 error Delete line 15765 and then line 15771

Line 45607 Error Delete line 45608

While running: sudo apt-get install systemd-gui

In /var/lib/dpkg/available File:

Line 2791 error

Delete line 2785 and then line 2791

The lines that are causing your issues may be different than the ones I changed in my files. So start by running the apt-get install command on the package you want to install.

Beginning with the first empty line error: (mine was 1431) right click the indicated file and click open with gedit.

Click 'search' in the menu bar and then click 'Go to line....' and enter the line number.

WARMING: YOU WILL NOT DELETE THE LINE INDICATED IN THE ERROR MESSAGE! YOU WILL BE DELETING one or more lines AFTER the line indicated. 1. Read the following code so that you know what you are looking for.

  1. Delete the empty line or lines in the description area of the package.

  2. Save the file.

  3. Run clear screen

  4. Rerun the apt-get install package command to get next empty line error and line number.

To make it easier to find each of the empty line errors that you encounter; run the clear screen command and then rerun the apt-get install 'package' command. This can be easily achieved by using your up arrow key to choose between the two commands.

There really is no point in retyping the full command when the xterm terminal remembers quite a few of the recent commands you have typed.

I hope this helps you fix your problem.

Read the following code so that you know exactly what you are looking for.

Package: distrho-plugin-ports-old-vst
Priority: optional
Section: sound
Installed-Size: 25528
Maintainer: Glen MacArthur info@bandshed.net
Architecture: i386
Source: distrho
Version: 20140720avlinux6
Depends: libc6 (>= 2.4), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0), libx11-6 (>= 0), libxext6 (>= 0)
Pre-Depends: xz-utils
Breaks: juced-plugins-vst (<< 20120502-0kxstudio1)
Conflicts: juced-plugins-vst (<< 20120502-0kxstudio1)
Size: 10321144
Description: DISTHRO Plugin Ports (VST)
Open-source audio plugins, ported/compiled in Linux by the DISTHRO Team.
. [ NOTE: This line causes an error so delete it ]
These plugins include:
- argotlunar
- bitmangler
- juce-pitcher
- sDelay
- KMeter
[NOTE: This line causes an error so delete it]
This package contains the VST version of these plugins.
[ Note: This line separates packages so do not delete it ]
Package: libgoffice-0.8-dev
Priority: optional
Section: libdevel
Installed-Size: 6232
Maintainer: J.H.M. Dassen (Ray)
Architecture: i386
Source: goffice
Version: 0.8.8-1
Replaces: libgoffice-0-5-dev, libgoffice-0-8-dev
Depends: libgoffice-0.8-8 (= 0.8.8-1), libglib2.0-dev (>= 2.16.0), libxml2-dev (>= 2.6.10-2), libgtk2.0-dev (>= 2.8.17), libglade2-dev (>= 1:2.4.0), libcairo2-dev (>= 1.2.0), libgconf2-dev, libgsf-1-dev (>= 1.14.9)
Breaks: libgoffice-0-5-dev, libgoffice-0-8-dev, libgoffice-0-dev (<< 0.4.2-2)
Size: 1200860
Description: Document centric objects library - runtime files
GOffice is a library of document centric objects and utilities building on
top of GLib and Gtk+.
. [ NOTE: This line causes an error so delete it ]
These are the files needed when building applications that use GOffice.
[ Note: This line separates packages so do not delete it ]
Package: karbon

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.