[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .dput.cf: File contains no section headers.



This post is for the archive and the websearchengines.


On Tue, Mar 20, 2018 at 06:48:47PM +0100, Elimar Riesebieter wrote:
> > Geert Stappers <stappers@stappers.nl> [2018-03-20 18:12 +0100]:
> > On Mon, Mar 19, 2018 at 01:12:20PM +0100, Elimar Riesebieter wrote:
> > > > Hugh McMaster <hugh.mcmaster@outlook.com> [2018-03-19 11:20 +0000]:
> > > 
> > > > I also encountered this issue today. On #debian-mentors, Ansgar Burchardt said
> > > > uploads now required use of https, which worked for me.
> > > > 
> > > > So try modifying the 'method' line in your .dput.cf file to use https.
> > > 
> > > That works. Thank you.
> > > Elimar
> > 
> > And what is now the content of you .dput.cf  ?
> 
> Read 'How to upload packages to mentors.debian.net?' at [0].
> 
> [0] https://mentors.debian.net/intro-maintainers
> 

Euh ...  that is also '.ini' format.
Over here I have dput-ng with documention saying I should
provide JSON, so I did.

Got parse error  ".dput.cf: File contains no section headers."

| stappers@bob:~/src/foo-pkg/foobarbaz$ dput ../foobarbaz.4.0-1_armhf.changes 
| Error parsing file /home/stappers/.dput.cf: File contains no section headers.
| file: /home/stappers/.dput.cf, line: 1
| '{\n'
| stappers@bob:~/src/foo-pkg/foobarbaz$ which dput
| /usr/bin/dput
| stappers@bob:~/src/foo-pkg/foobarbaz$ dpkg -S $( which dput )
| dput-ng: /usr/bin/dput
| stappers@bob:~/src/foo-pkg/foobarbaz$


Using '.ini' format got it working.

Content is as at [0]


Groeten
Geert Stappers
-- 
Leven en laten leven


Reply to: