
처음에는 다음과 같은 오류가 발생했습니다.dpkg로 debain 소스 패키지를 생성할 때 오류가 발생했습니다..
답변을 따른 후 이 문제에 직면했습니다.
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
제어 파일은
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.
답변1
데비안 정책 매뉴얼의 장제어 파일 및 해당 필드:
일반 단락(소스 패키지의 첫 번째 단락)의 필드는 다음과 같습니다.
- 출처(필수)
- 유지관리자(필수)
- 업 로더
- 섹션(권장)
- 우선순위(권장)
- 빌드에 따라 다름
- 표준 버전(권장)
- 홈페이지
- Vcs-브라우저, Vcs-Git 등.
바이너리 패키지 단락의 필드는 다음과 같습니다.
- 패키지(필수)
- 아키텍처(필수)
- 섹션(권장)
- 우선순위(권장)
- 필수적인
- 등에 따라 다름
- 설명 (필수)
- 홈페이지
- 내장 사용
- 포장 종류
분명히 첫 번째 단락(소스 패키지 1)에도 속하지 Version
않습니다 . 에 속하지 않습니다Architecture
Version
debian/control
조금도. 버전은 에서 결정되며 debian/changelog
생성된 최종 패키지에만 가 DEBIAN/control
포함됩니다 Version
.
의 일부 파일이 제대로 생성되지 않은 debian
것 같습니다. 패키지 이름으로 debian/changelog
사용되며 , 여기서는 이어야 합니다 . 패키지 이름은 항상 소문자입니다.PACKAGE
brightness-controller