Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debs have bad version field #206

Closed
i0ntempest opened this issue Feb 15, 2022 · 2 comments
Closed

Debs have bad version field #206

i0ntempest opened this issue Feb 15, 2022 · 2 comments
Milestone

Comments

@i0ntempest
Copy link

Trying to install deb packages from releases results in:

dpkg: error processing archive ./gotop_v4.1.3_linux_amd64.deb (--install):
 parsing file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'gotop':
 'Version' field value 'vv4.1.3+git': version number does not start with digit
Errors were encountered while processing:
 ./gotop_v4.1.3_linux_amd64.deb

with dpkg 1.20.9

@gwrx
Copy link

gwrx commented Feb 24, 2022

quick workaround on ubuntu:

mkdir gotop
sudo dpkg-deb -R gotop_v4.1.3_linux_amd64.deb gotop/
sudo sed -i 's/vv4.1.3/4.1.3/g' gotop/DEBIAN/control
sudo dpkg-deb -b gotop

spit's out an installable deb

@xxxserxxx
Copy link
Owner

Thanks; #209 also reported this. The workflow has been updated and will hopefully produce a good deb next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants