[Bug 1038961] [NEW] Maximum override line length is too short

Colin Watson cjwatson at canonical.com
Mon Aug 20 10:57:09 UTC 2012


Public bug reported:

We see quite a few messages like this from the publisher:

  W: Malformed override /srv/launchpad.net/ubuntu-archive/ubuntu-
overrides/override.quantal.extra.main line 14628 #2

These correspond to override lines that are too long.  This example is:

  libmng1/powerpc Task    ubuntu-desktop, ubuntu-usb, kubuntu-desktop,
kubuntu-active-desktop, kubuntu-active, edubuntu-desktop, edubuntu-
desktop-kde, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend,
mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave,
mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-
master, ubuntustudio-generation, ubuntustudio-video, ubuntustudio-audio-
plugins, ubuntustudio-publishing, ubuntustudio-photography,
ubuntustudio-graphics, ubuntustudio-recording

This carries over into truncated Task fields in Packages files.

Override::ReadOverride currently has "char Line[500]", which is the
cause of this.  Ideally, this code would handle arbitrary-length lines.
However, in practice, the maximum line length we're seeing in quantal is
594, so simply doubling this to 1000 would do nicely for now.

** Affects: apt (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: apt (Ubuntu Lucid)
     Importance: High
         Status: Triaged

** Affects: apt (Ubuntu Precise)
     Importance: High
         Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1038961

Title:
  Maximum override line length is too short

Status in “apt” package in Ubuntu:
  Triaged
Status in “apt” source package in Lucid:
  Triaged
Status in “apt” source package in Precise:
  Triaged

Bug description:
  We see quite a few messages like this from the publisher:

    W: Malformed override /srv/launchpad.net/ubuntu-archive/ubuntu-
  overrides/override.quantal.extra.main line 14628 #2

  These correspond to override lines that are too long.  This example
  is:

    libmng1/powerpc Task    ubuntu-desktop, ubuntu-usb, kubuntu-desktop,
  kubuntu-active-desktop, kubuntu-active, edubuntu-desktop, edubuntu-
  desktop-kde, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend,
  mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave,
  mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-
  master, ubuntustudio-generation, ubuntustudio-video, ubuntustudio-
  audio-plugins, ubuntustudio-publishing, ubuntustudio-photography,
  ubuntustudio-graphics, ubuntustudio-recording

  This carries over into truncated Task fields in Packages files.

  Override::ReadOverride currently has "char Line[500]", which is the
  cause of this.  Ideally, this code would handle arbitrary-length
  lines.  However, in practice, the maximum line length we're seeing in
  quantal is 594, so simply doubling this to 1000 would do nicely for
  now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1038961/+subscriptions




More information about the foundations-bugs mailing list