[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#834628: apt: properly support multiline fields in rfc822 sources



package: apt
version: 1.3~rc1
severity: wishlist

I'd like to do this in my /etc/apt/sources.list.d/debian.sources:

Types:
 deb
 deb-src
URIs:
 http://ftp.de.debian.org/debian
Suites:
 unstable
 experimental
Components:
 main
 contrib
 non-free
Architectures:
 amd64
Targets-add:
 Contents-deb
 Contents-dsc

Now, I haven't tried to wrap it so much (and probably it doesn't make
that lot of sense so much wrapping), I did tried the following, hoping
it would work:

Types: deb deb-src
URIs: http://ftp.de.debian.org/debian
Suites: unstable
Components:
 main
 contrib
 non-free
Architectures: amd64

Now, this is less unresonable, but an `apt update` failed shortly with:

E: Failed to fetch http://ftp.de.debian.org/debian/dists/unstable/InRelease  Unable to find expected entry 'main
  /source/Sources' in Release file (Wrong sources.list entry or malformed file)

To me it looks like it added the '\n' at the end of 'main'.


Please give me rfc822 multiline fields ♥ :)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: