migrate icon indicating copy to clipboard operation
migrate copied to clipboard

https://packagecloud.io/golang-migrate/migrate/ doesn't seem to support ubuntu/jammy (ubuntu-22.04)

Open makotoshimazu opened this issue 2 years ago • 1 comments

Describe the Bug

I have a CI job using migrate command installed by these commands:

curl -L https://packagecloud.io/golang-migrate/migrate/gpgkey | sudo apt-key add -
sudo sh -c 'echo "deb https://packagecloud.io/golang-migrate/migrate/ubuntu/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/migrate.list'
sudo apt update
sudo apt install -y migrate

but apt update failed with error as follows:

E: The repository 'https://packagecloud.io/golang-migrate/migrate/ubuntu jammy Release' does not have a Release file.

Steps to Reproduce

  • Run the commands above on Ubuntu-22.04 (I'm using cimg/go:1.19 docker image)

Expected Behavior

  • No error happens during installation

makotoshimazu avatar Oct 06 '22 02:10 makotoshimazu

As a workaround, we moved to installing from the release files directly.

wget http://github.com/golang-migrate/migrate/releases/latest/download/migrate.linux-amd64.deb
sudo dpkg -i migrate.linux-amd64.deb

wavemoran avatar Oct 06 '22 17:10 wavemoran

#818

mouyong avatar Feb 20 '23 03:02 mouyong

Support for Ubuntu Jammy Jellyfish was added in v4.16.1

dhui avatar Jun 05 '23 06:06 dhui