Adicionando o Multiarch para o kubuntu 14.4

0

Eu tenho esse tipo de sistema:

:~$ dpkg --print-architecture
amd64

:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

Quando tento

sudo dpkg --add-architecture armhf
sudo apt-get update

Eu recebo as mensagens de erro

W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/trusty-security/main/binary-armhf/Packages  404  Not Found [IP: 2001:67c:1560:8001::14 80]

W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-armhf/Packages  404  Not Found [IP: 2001:67c:1560:8001::14 80]

W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-armhf/Packages  404  Not Found [IP: 2001:67c:1560:8001::14 80]

W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/binary-armhf/Packages  404  Not Found [IP: 2001:67c:1560:8001::14 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://extras.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages  404  Not Found [IP: 2001:67c:1360:8c01::23 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-backports/main/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

W: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-armhf/Packages  404  Not Found [IP: 141.76.1.204 80]

O que posso fazer para adicionar o material armhf?

    
por Make42 11.07.2017 / 09:06

1 resposta

1

A armhf port está hospedada no arquivo de portas, não no arquivo principal. Para permitir que apt encontre os índices e pacotes relevantes, você precisa:

  • qualifique suas entradas existentes em /etc/apt/sources.list com [arch=amd64] , por exemplo

    deb [arch=amd64] http://de.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    
  • adicione entradas para armhf , por exemplo

    deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports trusty main restricted universe multiverse
    

(repetindo conforme necessário para os vários repositórios 14.04).

Depois de fazer isso, apt-get update deve funcionar bem e você deve poder instalar armhf libraries.

    
por 11.07.2017 / 10:04

Tags