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

Installation Instructions not working with debian 11 (under WSL2) #948

Open
jonnsn opened this issue Aug 1, 2023 · 4 comments
Open

Installation Instructions not working with debian 11 (under WSL2) #948

jonnsn opened this issue Aug 1, 2023 · 4 comments
Labels
bug Something isn't working readme Improvements or additions to documentation

Comments

@jonnsn
Copy link

jonnsn commented Aug 1, 2023

Both instructions for debian did not work for me.

sudo wget -O /etc/apt/sources.list.d/gitlab-ci-local.sources https://gitlab-ci-local-ppa.firecow.dk/gitlab-ci-local.sources
sudo apt-get update

leads to

E: Invalid value set for option Signed-By regarding source https://gitlab-ci-local-ppa.firecow.dk/ ./ (not a fingerprint)
E: The list of sources could not be read.

curl -s "https://gitlab-ci-local-ppa.firecow.dk/pubkey.gpg" | sudo apt-key add -
echo "deb https://gitlab-ci-local-ppa.firecow.dk ./" | sudo tee /etc/apt/sources.list.d/gitlab-ci-local.list
sudo apt-get update
sudo apt-get install gitlab-ci-local

leads to

dpkg-deb: error: Archive »/var/cache/apt/archives/gitlab-ci-local_4.42.0_amd64.deb« uses unknown compression for member 'control.tar.zst', giving up

Expected behavior
gitlab-ci-local should be installed

Host information
Debian 11 under WSL2

@firecow
Copy link
Owner

firecow commented Aug 1, 2023

Hmmm....
I'll try it out, give me moment...

@firecow
Copy link
Owner

firecow commented Aug 1, 2023

I completely uninstalled gitlab-ci-local and removed ppa from /etc/apt/sources.d

Ran the following installation script

mjn@mjn-laptop:~$ curl -s "https://gitlab-ci-local-ppa.firecow.dk/pubkey.gpg" | sudo apt-key add -
echo "deb https://gitlab-ci-local-ppa.firecow.dk ./" | sudo tee /etc/apt/sources.list.d/gitlab-ci-local.list
sudo apt-get update
sudo apt-get install gitlab-ci-local
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
deb https://gitlab-ci-local-ppa.firecow.dk ./
...
Get:11 https://gitlab-ci-local-ppa.firecow.dk ./ InRelease [2,107 B]                                                                                                                                                                           
...
Get:20 https://gitlab-ci-local-ppa.firecow.dk ./ Packages [2,034 B]
Fetched 4,141 B in 2s (2,259 B/s)    
Reading package lists... Done
W: https://gitlab-ci-local-ppa.firecow.dk/./InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  gitlab-ci-local
0 upgraded, 1 newly installed, 0 to remove and 122 not upgraded.
Need to get 0 B/15.6 MB of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package gitlab-ci-local.
(Reading database ... 273562 files and directories currently installed.)
Preparing to unpack .../gitlab-ci-local_4.42.0_amd64.deb ...
Unpacking gitlab-ci-local (4.42.0) ...
Setting up gitlab-ci-local (4.42.0) ...

mjn@mjn-laptop:~$ gitlab-ci-local --version
4.42.0

Works fine on Ubuntu 22.04.

I'll have to read up on debian 11 apt, will be a while.

@firecow firecow added bug Something isn't working readme Improvements or additions to documentation labels Aug 1, 2023
@jonnsn
Copy link
Author

jonnsn commented Aug 2, 2023

Thanks for looking!

I tried searching for the errors I got and some resources said that one cause for the error with the second method could be that using Ubuntu PPA on debian will not work. Debian 12 seems to have added zst Support though, maybe it might work then.

@firecow
Copy link
Owner

firecow commented Aug 2, 2023

Thanks for looking!

I tried searching for the errors I got and some resources said that one cause for the error with the second method could be that using Ubuntu PPA on debian will not work. Debian 12 seems to have added zst Support though, maybe it might work then.

You can install nodejs and use npm install -g gitlab-ci-local for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working readme Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants