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

Version field error for 4.1.3 .deb package #212

Closed
KRTac opened this issue Mar 25, 2022 · 7 comments
Closed

Version field error for 4.1.3 .deb package #212

KRTac opened this issue Mar 25, 2022 · 7 comments
Labels
Milestone

Comments

@KRTac
Copy link

KRTac commented Mar 25, 2022

gotop version:

4.1.3

OS/Arch:

5.13.0-37-generic GNU/Linux

Terminal emulator:

any

Any relevant hardware info:

any

tmux version:

no

I get the following error while installing the deb:

dpkg: error processing archive gotop_v4.1.3_linux_amd64.deb (--unpack):
 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
@xxxserxxx
Copy link
Owner

Duplicate #206, #209. Leaving this one open until I release a new version so folks can see it.

@xxxserxxx xxxserxxx added this to the v4.1.4 milestone Mar 25, 2022
@xxxserxxx xxxserxxx added the state:confirmed Reproduced label Mar 25, 2022
@KRTac
Copy link
Author

KRTac commented Mar 26, 2022

Didn't search for the issue well enough, sry.

FYI, if you're doing the unpack-fix version-repack fix, you can also move the man8 directory inside a man dir, to fix the man page.

@Harliff
Copy link

Harliff commented Jun 10, 2022

Just faced this error on Debain 11 (amd64).

@TheProjectsGuy
Copy link

TheProjectsGuy commented Jun 13, 2022

I got a similar error on my Linux Mint system. The system details are as follows.

uname -a
Linux talo 5.4.0-113-generic #127-Ubuntu SMP Wed May 18 14:30:56 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID:	Linuxmint
Description:	Linux Mint 20.3
Release:	20.3
Codename:	una

I ran the following commands (inspired from here)

  1. Download the file
    cd ~/Downloads/
    wget https://github.com/xxxserxxx/gotop/releases/download/v4.1.3/gotop_v4.1.3_linux_amd64.deb
  2. Unpack the file and open the `DEBIAN/control file (which contains the version)
    dpkg-deb -vR ./gotop_v4.1.3_linux_amd64.deb ./gotop/
    cd ./gotop/DEBIAN
    vi ./control
  3. Change the version line
    From
    Version: vv4.1.3+git
    To
    Version: 4.1.3+git
  4. Rebuild the package and install it
    cd ~/Downloads
    dpkg-deb -b ./gotop gotop_fixed_v4.1.3_linux_amd64.deb
    sudo dpkg -i ./gotop_fixed_v4.1.3_linux_amd64.deb

The last command above runs perfectly on my system.

@dnet890
Copy link

dnet890 commented Jul 13, 2022

I can confirm that the problem exists on Ubuntu 20.04 and 22.04.

@dschaper
Copy link

Looks like the build isn't set for a manual kickoff. Happy to PR the change to allow that so you can manually run a release instead of waiting for the next release.

https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#configuring-a-workflow-to-run-manually

@xxxserxxx
Copy link
Owner

Should be fixed by f433901 (code changes in github.com/xxxserxxx/actions/entrypoint.sh, which mangle the version so that dpkg will accept it.

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

No branches or pull requests

6 participants