Comment 3 for bug 1805976

Revision history for this message
ianmacs (ianmacs2018) wrote :

Sent the previous comment too early. Completing here:

In section 3.9, I felt lost when finding out the version to inser in

pbuilder-dist <release> build ../<package>_<version>.dsc

I looked this up in the debian/changelog file, and it seemed I should use 1:4.5-1ubuntu4 here.

pbuilder-dist cosmic build ../shadow_1:.4.5-1ubuntu4.dsc

but when running this, I got the error

Traceback (most recent call last):
  File "/usr/bin/pbuilder-dist", line 508, in <module>
    main()
  File "/usr/bin/pbuilder-dist", line 501, in main
    sys.exit(subprocess.call(app.get_command(args)))
  File "/usr/bin/pbuilder-dist", line 214, in get_command
    dsc = debian.deb822.Dsc(open(dsc_files[0]))
IOError: [Errno 2] No such file or directory: '../shadow_1:4.5-1ubuntu4.dsc'

I then examined the naming of *.dsc files in .. and removed the "1:" part, and this worked. The guide should explain how to find the correct version number to specify here.