When I dput -f myhost foobar_x.x.x.changes
, it successful uploaded the package, but produced the following warnings:
foobar has no source override entry
foobar has no binary override entry either
How can I specify the source/binary overrides, and/or just suppress the warnings?
I'm using mini-dinstall
as the backend aptitude repository manager.
Disclaimer: I have forgotten how to handle
dput
correctly and know nothing aboutmini-dinstall
.The overrides file may contain overides for the section and priority fields of Debian packages. A package has these two embedded, but a repository might decide to give different values. For instance, when I upload to Debian, it is not my decision alone whether a package is required or not.
Generally, the warning is harmless and can be ignored. The override file is an option for
dpkg-scanpackages
(which I suppose is used behind the scenes bymini-dinstall
as well). The file contains lines of the formIt seems that the override warning messages are coming from the
apt-ftparchive
command. This is invoked bymini-dinstall
to create thePackage
andSource
files.I managed to make
apt-ftparchive
read a source override file by setting anapt.conf
setting. Unfortunately this is global for all users ofapt-ftparchive
on that machine but I only use it as part ofmini-dinstall
so it works for me.Create a source override file with appropriate entries. In this example I used
/etc/apt/dinstall-src-override
but it could be anywhere that is readable bymini-dinstall
.The contents of this file are as per standard Debian guidelines. To save searching the following are useful: Debian FTP Master's override file; Debian Policy allowable "Sections"; and Debian Policy allowable package "Priorities".
Configure that apt-ftparchive uses the override file. Create a
/etc/apt/apt.conf.d/90mini-dinstall-override
file with contentsWith this setup I no-longer get the override entry warnings. Of course the overrides used should be sensible because they are used in the archive!
Just a little tidbit since I'm in the same boat: the file format is documented in deb-override. I haven't found where mini-dinstall (or apt-ftparchive; dpkg-scansources and dpkg-scanpackages weren't involved here) autoloads these from.