Public bug reported:

Hello,

In certain debs we get the error from reprepro "No section found" when
trying to upload it using dput.

We can reproduce it using the package from Microsoft Teams:

wget 
https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_1.4.00.4855_amd64.deb
changestool --create $DEB.changes adddeb teams_1.4.00.4855_amd64.deb
changestool teams_1.4.00.4855_amd64.deb.changes setdistribution bionic-personal
changestool teams_1.4.00.4855_amd64.deb.changes verify

The output of last command will be:

"ERROR: No section specified in './teams_1.4.00.4855_amd64.deb'!"

dput will still work, but then repreprod will complain of a "No section
found".

Further inspection reveals the problem is in the following line of the
generated changes file:

Files: 
 fc0545d54a33154b829573ade4e5b084 21249689 - optional 
teams_1.4.00.4855_amd64.deb

The workaround is to replace the "-" for "default". The following
oneliner does it:

sed -i 's/\-\ optional/default\ optional/' teams_1.4.00.4855_amd64.deb

In any case I believe that this shouldn't be the reason for changestool
or reprepro to fail.

Thanks,
JP

** Affects: reprepro (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931381

Title:
  "No section found" for certain debs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/reprepro/+bug/1931381/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to