dpkg: warning: parsing file #64

Closed
opened 2026-01-29 16:28:25 +00:00 by claunia · 1 comment
Owner

Originally created by @buckstephenh on GitHub (Jul 22, 2019).

I have a few errors when using 'sudo dpkg -I blah.deb' to install the .deb file

dpkg: warning: parsing file '/var/lib/dpkg/tmp.ci/control' near line 5 package
...
missing description
missing maintainer
missing version

I have .csproj fields for <Description><Company><Authors> <VersionPrefix><VersionSuffix> so not sure if these are the ones that are supposed to map into the .deb control file or if the information is supposed to come from somewhere else. I'm looking in the project for examples or notes on this.

Originally created by @buckstephenh on GitHub (Jul 22, 2019). I have a few errors when using 'sudo dpkg -I blah.deb' to install the .deb file dpkg: warning: parsing file '/var/lib/dpkg/tmp.ci/control' near line 5 package ... missing description missing maintainer missing version I have .csproj fields for `<Description><Company><Authors> <VersionPrefix><VersionSuffix> `so not sure if these are the ones that are supposed to map into the .deb control file or if the information is supposed to come from somewhere else. I'm looking in the project for examples or notes on this.
Author
Owner

@buckstephenh commented on GitHub (Jul 31, 2019):

Turns out a read of the control file standards at https://www.debian.org/doc/debian-policy/ch-controlfields.html and adjusting the description field solves the problem. dotnet-packaging does not appear to trim the contents of <description> in .csproj.

@buckstephenh commented on GitHub (Jul 31, 2019): Turns out a read of the control file standards at https://www.debian.org/doc/debian-policy/ch-controlfields.html and adjusting the description field solves the problem. dotnet-packaging does not appear to trim the contents of `<description>` in .csproj.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#64