golang-migrate / migrate

Database migrations. CLI and Golang library.
Other
15.62k stars 1.42k forks source link

Unable to install on Ubuntu 21.04 hirsute #576

Open x4AEKx opened 3 years ago

x4AEKx commented 3 years ago

Describe the Bug Unable to install on ubuntu 21.04 hirsute with steps provided in documentaion

Steps to Reproduce Steps to reproduce the behavior:

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

Result:

Package migrate is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'migrate' has no installation candidate
trey-m commented 3 years ago

Just want to confirm this is happening to me as well.

dhui commented 3 years ago

Releases are currently blocked. We can fix this once release are unblocked, most likely by this PR.

dhui commented 3 years ago

Also, as a temporary workaround, replacing $(lsb_release -sc) with focal should work since the CLI is statically linked

RamiroCuenca commented 3 years ago

@dhui It solved my problem!! It has been 3 days trying to fix it and finally with your help it worked!! Thank you really much! :)

gocanto commented 2 years ago

Just want to confirm this is happening to me as well.

I just faced this issue too.

Thank you.