rdp / random-bug-reports

see issues
1 stars 0 forks source link

crystal lang install failure fix #50

Open rdp opened 5 months ago

rdp commented 5 months ago

Wanted to install it via packages to ubuntu:

 curl -fsSL https://crystal-lang.org/install.sh | sudo bash

deb http://download.opensuse.org/repositories/devel:/languages:/crystal/xUbuntu_18.04/ /
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://ppa.launchpad.net/malteworld/ppa/ubuntu bionic InRelease
Get:5 http://download.opensuse.org/repositories/devel:/languages:/crystal/xUbuntu_18.04  InRelease [1549 B]
Hit:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:7 http://download.opensuse.org/repositories/devel:/languages:/crystal/xUbuntu_18.04  Packages [6143 B]
Fetched 7692 B in 11s (695 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 crystal : Depends: crystal1.12 but it is not going to be installed
 libavformat57 : Depends: libavcodec57 (>= 7:3.4.11) but it is not going to be installed or
                          libavcodec-extra57 (>= 7:3.4.11) but it is not going to be installed
 libchromaprint1 : Depends: libavcodec57 (>= 7:3.4.1) but it is not going to be installed or
                            libavcodec-extra57 (>= 7:3.4.1) but it is not going to be installed
 va-driver-all : Depends: i965-va-driver but it is not going to be installed or
                          i965-va-driver-shaders but it is not going to be installed
                 Depends: mesa-va-drivers but it is not going to be installed
 vdpau-driver-all : Depends: mesa-vdpau-drivers but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

meant "run apt --fix-broken install" first. Then re-run it, now it works. Weird...