apk add --update chromium@community
Ou remova @community
pin de /etc/apk/repositories
. É uma configuração bastante incomum ter o repositório oficial da comunidade preso.
Estou usando o Vagrant com o VirtualBox e executando Alpine 3.8 dentro:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'generic/alpine38'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'generic/alpine38' is up to date...
==> default: Setting the name of the VM: ep2018-workshop_default_1532787155941_48660
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
Ao tentar instalar o chromium
, recebo uma mensagem de erro sobre uma dependência ausente mascarada no repositório da comunidade:
$ vagrant ssh
localhost:~$ sudo apk add --update chromium
fetch https://mirror.leaseweb.com/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch https://mirror.leaseweb.com/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
fetch http://nl.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
ttf-opensans-1.10-r0:
masked in: @community
satisfies: chromium-64.0.3282.168-r0[ttf-opensans]
chromium-64.0.3282.168-r0:
masked in: @community
satisfies: world[chromium]
Você sabe como resolver esse problema?