I want to repackage https://gitlab.com/volian/nala and host on my PPA, because the version from official Ubuntu repo has a bug, which is fixed in v0.16.0.
This project already has the “debian/*” files. If I don’t modify the Maintainer
field in debian/control file, the build process (with sbuild
) will fail for “inconsistent-maintainer” error. So to make the build successful, I ended up having to make these changes:
- Change the
Maintainer
field to my name and address. - Replace the user info in the debian/changelog file to mine.
Here is the new content: https://launchpad.net/~ng-hong-quan/+archive/ubuntu/ppa/+sourcefiles/nala/0.16.0-1/nala_0.16.0-1.debian.tar.xz
This is the last entry in change log file:
nala (0.16.0-1) plucky; urgency=medium
[ Bug Fixes ]
* Fix local repositories not working
* Fix nala returning 0 when not continuing (closes: #1073575)
[ Changes ]
* Modernize apt sources
-- Nguyễn Hồng Quân <ng.hong.quan@gmail.com> Thu, 15 May 2025 15:09:34 +0700
Is there a better way, so that I don’t have to put myself to the Maintainer
field? I tried adding myself to Uploaders
but still got the same error.
For the changelog file, if I keep the nala (0.16.0) unstable; urgency=medium
entry intact and add up one entry on top:
nala (0.16.0-1) plucky; urgency=medium
* Build Ubuntu package
-- Nguyễn Hồng Quân <ng.hong.quan@gmail.com> Thu, 15 May 2025 15:09:34 +0700
the dput
tool will not upload the .orig.tar.gz file.