Comment 4 for bug 184449

Revision history for this message
Dan Williamson (danw-shawlink) wrote : Re: [Bug 184449] Re: Extracting templates from packages: 100% Preconfiguring packages ... dpkg: too-long line or missing newline in `/var/lib/dpkg/triggers/ldconfig' E: Sub-process /usr/bin/dpkg returned an error code (2) A package failed to install. Trying to recover:

Hi Greg

It occurred when Ubuntu was doing it's first update and was interrupted
or failed part way through the the download and installation of update
packages. It wrote some garbage in the file and when it tried to
recover and redo the update installation it choked on the characters
written to the file on the failed attempt. When I cleared the file it
did the right thing and has not been a problem since.

I could try to re-produce it on the next update if you wish and let you
know or just let anyone know that the error means there is a partial
line written or garbage characters in the ldconfig file.

By the way...nice work on this distro...I am so not used to things
working right out of the gate..I am a Slackware/Redhat user this is a
pleasant experience so far. Similar to Redhat...some things are in
different places and called different things. It will take a little
time to get my self sorted out...great work!

Best Regards,

Dan Williamson
Network Engineer
danw@5gnetworks.com

On Fri, 2008-02-22 at 04:32 +0000, Greg Grossmeier wrote:
> Are you able to reproduce this bug anymore (creating a situation where
> the bad characters are added to the ldconfig file)?
>
> If not, I will close it since we can't debug it anymore.
>
> Thanks!
>
> ** Changed in: ubuntu
> Status: New => Incomplete
>