Was ist mit dieser Steuerdatei falsch?

Was ist mit dieser Steuerdatei falsch?

Zuerst trat der gleiche Fehler auf wieFehler beim Erstellen des Debain-Quellpakets mit dpkg.

Nachdem ich der Antwort gefolgt bin, stehe ich vor diesem Problem

tata@archisman-HP-240-G3-Notebook-PC ~/brightness-controller $ debuild
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package PACKAGE
dpkg-buildpackage: source version 1.2
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by Archisman Panigrahi <tata@archisman-HP-240-G3-Notebook-PC>
dpkg-source --before-build brightness-controller
dpkg-buildpackage: host architecture amd64
dpkg-source: warning: unknown information field 'Version' in input data in general section of control info file
dpkg-source: warning: unknown information field 'Architecture' in input data in general section of control info file
dpkg-source: error: source package name 'PACKAGE' is illegal: character 'P' not allowed
dpkg-buildpackage: error: dpkg-source --before-build brightness-controller gave error exit status 255
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Die Steuerdatei ist

Source: brightness-controller
Section: accessories
Priority: optional
Maintainer: Archisman Panigrahi <[email protected]>
Version: 1.2
Architecture: all
Build-Depends: python-wxgtk2.8,
               python,
               xrandr,
Homepage: http://lordamit.github.io/Brightness

Package: brightness-controller
Architecture: any
Depends: python-wxgtk2.8,
         python,
         xrandr,
Description: Brightness Controller is the only GUI application for Linux that allows you to control brightness 
of your primary and secondary display from the same place. It is a software based dimmer.
Released under GPL-3, Brightness Controller's source code is available at
.
https://github.com/lordamit/Brightness
.
If you encounter any problem you can open an issue in the GitHub project. 
.
Kindly review and let your friends know if this application made your display more friendly to your eyes.

Antwort1

Aus dem Debian Policy Manual, KapitelSteuerdateien und ihre Felder:

Die Felder im allgemeinen Absatz (der erste, für das Quellpaket) sind:

  • Quelle (Pflichtfeld)
  • Betreuer (obligatorisch)
  • Uploader
  • Abschnitt (empfohlen)
  • Priorität (empfohlen)
  • Build-Depends et al
  • Standards-Version (empfohlen)
  • Startseite
  • Vcs-Browser, Vcs-Git usw.

Die Felder in den Absätzen des Binärpakets sind:

  • Paket (obligatorisch)
  • Architektur (obligatorisch)
  • Abschnitt (empfohlen)
  • Priorität (empfohlen)
  • Essentiell
  • Hängt ab von et al
  • Beschreibung (Pflichtfeld)
  • Startseite
  • Gebaut-Verwenden
  • Paket-Typ

Offensichtlich gehört weder Versionnoch Architecturein den ersten Absatz (den des Quellpakets). Versiongehört nicht indebian/control überhaupt. Die Version wird aus bestimmt debian/changelogund nur das endgültig generierte Paket DEBIAN/controlenthält Version.

Sieht so aus, als ob eine Datei in debian, wahrscheinlich debian/changelog, nicht richtig erstellt wurde. Sie verwendet PACKAGEals Paketnamen, wo sie sein sollte brightness-controller. Paketnamen werden immer klein geschrieben.

verwandte Informationen