When I ran into these errors I was running Debian Stable. While I was using Debian Stable I recently uninstalled i3 for a few days and then attempted to reinstall it on debian again. i3 installs fine but using i3-gaps-deb now encounters an error during installation:
[igd] Use branch "gaps"? ("gaps-next" otherwise) (Y/n):
Already on 'gaps'
Your branch is up-to-date with 'origin/gaps'.
Already up-to-date.
[igd] Updating Debian changelog...
dpkg: warning: version '4.16
.1' has bad syntax: invalid character in version number
[igd] Version detected: "4.16" VS "4.16
.1" ~> "4.16
.1-1gerardo+20190202072808"
debchange: fatal error at line 1083:
New version specified (4.16
.1-1gerardo+20190202072808) is less than
the current version number (4.16-1)! Use -b to force.
I then edited the code and added the -b to make it work and it still did not work. I got another error:
[igd] Use branch "gaps"? ("gaps-next" otherwise) (Y/n):
Already on 'gaps'
Your branch is up-to-date with 'origin/gaps'.
Already up-to-date.
[igd] Updating Debian changelog...
dpkg: warning: version '4.16
.1' has bad syntax: invalid character in version number
[igd] Version detected: "4.16" VS "4.16
.1" ~> "4.16
.1-1gerardo+20190202073154"
debchange warning: new version (4.16
.1-1gerardo+20190202073154) is less than
the current version number (4.16-1).
[igd] Fix rules file...
[igd] Build Debian packages... [RETURN]
dpkg-buildpackage: warning: debian/changelog(l1): badly formatted heading line
LINE: i3-wm (4.16
dpkg-buildpackage: warning: debian/changelog(l2): badly formatted heading line
LINE: .1-1gerardo+20190202073154) unstable; urgency=medium
dpkg-buildpackage: warning: debian/changelog(l3): found blank line where expected first heading
dpkg-buildpackage: warning: debian/changelog(l4): found change data where expected first heading
LINE: * New upstream.
dpkg-buildpackage: warning: unknown information field '' in input data in parsed version of changelog
dpkg-buildpackage: info: source package unknown
dpkg-buildpackage: info: source version unknown
dpkg-buildpackage: error: version number does not start with digit
After this I thought maybe if I upgrade Debian to testing it may fix the issue. After all it mentions something about dpkg version. The upgrade did not fix the error, but here is the output now nonetheless:
[igd] Use branch "gaps"? ("gaps-next" otherwise) (Y/n): Branch 'gaps' set up to track remote branch 'gaps' from 'origin'.
Switched to a new branch 'gaps'
warning: redirecting to https://github.com/Airblader/i3.git/
Already up to date.
[igd] Updating Debian changelog...
dpkg: warning: version '4.16
.1' has bad syntax: invalid character in version number
[igd] Version detected: "4.16" VS "4.16
.1" ~> "4.16
.1-1gerardo+20190202220022"
debchange: error: 4.16
.1-1gerardo+20190202220022 is not a valid version
At this point I'm not sure what to do. Any help would be appreciated, thanks.
Update
I found this guide on how to install i3-gaps on debian and it worked without problems. I no longer need any help, however it's always worth submitting bugs regardless.
When I ran into these errors I was running Debian Stable. While I was using Debian Stable I recently uninstalled i3 for a few days and then attempted to reinstall it on debian again. i3 installs fine but using i3-gaps-deb now encounters an error during installation:
I then edited the code and added the -b to make it work and it still did not work. I got another error:
After this I thought maybe if I upgrade Debian to testing it may fix the issue. After all it mentions something about dpkg version. The upgrade did not fix the error, but here is the output now nonetheless:
At this point I'm not sure what to do. Any help would be appreciated, thanks.
Update
I found this guide on how to install i3-gaps on debian and it worked without problems. I no longer need any help, however it's always worth submitting bugs regardless.