web-dev-qa-db-fra.com

Impossible d'installer la nouvelle version de FreeCAD à partir de PPA

J'essaie d'installer FreeCAD sur mon ordinateur (sous 18.10) et j'ai quelques problèmes avec l'installation. J'aimerais utiliser la dernière version stable de ppa:freecad-maintainers/freecad-stable, car la version des référentiels principaux est obsolète et comporte plusieurs erreurs au démarrage. Le problème est que, même après avoir ajouté le PPA à mes sources, apt installe toujours la version à partir des référentiels officiels.

Ceci est ma sortie de l'exécution de Sudo apt update

Hit:1 http://download.virtualbox.org/virtualbox/debian cosmic InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu cosmic InRelease                     
Get:3 http://us.archive.ubuntu.com/ubuntu cosmic-updates InRelease [83.2 kB]   
Get:4 http://security.ubuntu.com/ubuntu cosmic-security InRelease [83.2 kB]    
Hit:5 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB] 
Hit:7 http://ppa.launchpad.net/js-reynaud/kicad-5/ubuntu cosmic InRelease      
Fetched 241 kB in 1s (343 kB/s)                                                
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

Vous penseriez donc que les derniers packages du PPA stable des mainteneurs FreeCAD devraient être disponibles, n'est-ce pas? Cependant, la sortie de apt policy freecad est

freecad:
  Installed: (none)
  Candidate: 0.16.6712+dfsg1-3build1
  Version table:
     0.16.6712+dfsg1-3build1 500
        500 http://us.archive.ubuntu.com/ubuntu cosmic/universe AMD64 Packages

Si c'est utile, voici mon /etc/apt/sources.list

# deb cdrom:[Ubuntu 18.10 _Cosmic Cuttlefish_ - Release AMD64 (20181017.3)]/ cosmic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ cosmic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ cosmic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic universe
deb http://us.archive.ubuntu.com/ubuntu/ cosmic-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ cosmic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu cosmic partner
# deb-src http://archive.canonical.com/ubuntu cosmic partner

deb http://security.ubuntu.com/ubuntu cosmic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted
deb http://security.ubuntu.com/ubuntu cosmic-security universe
# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe
deb http://security.ubuntu.com/ubuntu cosmic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu cosmic-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb [Arch=AMD64] http://download.virtualbox.org/virtualbox/debian cosmic contrib
# deb-src [Arch=AMD64] http://download.virtualbox.org/virtualbox/debian cosmic contrib

Et voici la sortie de ls -al /etc/apt/sources.list.d

total 24
drwxr-xr-x 2 root root 4096 Dec  5 10:33 .
drwxr-xr-x 6 root root 4096 Dec 16 11:03 ..
-rw-r--r-- 1 root root    0 Dec  5 11:02 elmer-csc-ubuntu-ubuntu-elmer-csc-ppa-cosmic.list
-rw-r--r-- 1 root root    0 Dec  5 11:02 elmer-csc-ubuntu-ubuntu-elmer-csc-ppa-cosmic.list.save
-rw-r--r-- 1 root root  172 Dec  5 11:02 freecad-maintainers-ubuntu-freecad-stable-cosmic.list
-rw-r--r-- 1 root root  172 Dec  5 11:02 freecad-maintainers-ubuntu-freecad-stable-cosmic.list.save
-rw-r--r-- 1 root root  140 Dec  5 11:02 js-reynaud-ubuntu-kicad-5-cosmic.list
-rw-r--r-- 1 root root  140 Dec  5 11:02 js-reynaud-ubuntu-kicad-5-cosmic.list.save

S'il y a quelque chose qui pourrait être utile que j'ai oublié de fournir, s'il vous plaît faites le moi savoir. Merci d'avance pour votre aide!

1
R. Summers

Vous ne devez pas ajouter aveuglément des AAE au système.

Vérifiez deux choses:

  1. versions des packages dans les référentiels standard - en utilisant la recherche sur packages.ubuntu.com :

    Package freecad

    cosmique (18.10) (science): programme CAx Extensible Open Source extensible [ univers ]
    0.16.6712 + dfsg1-3build1: AMD64 arm64 i386 ppc64el s390x

  2. versions de paquet sur la page de PPA sur LaunchPad (pour _ppa:freecad-maintainers/freecad-stable_ et cosmic version ):

    Package Version Téléchargé par
    freecad 1: 0.17.13541-1ppa3 ~ ubuntu18.10.1 Kurt Kremitzki (2018-12-11)

Donc, le paquet devrait être mis à jour automatiquement après:

  1. ajout de PPA

    _Sudo add-apt-repository ppa:freecad-maintainers/freecad-stable
    _

    (dans la commande ci-dessus _Sudo apt update_ est automatique) puis

  2. mise à niveau des paquets

    _Sudo apt upgrade
    _

    ou

    _Sudo apt dist-upgrade
    _

    pour obtenir de nouvelles dépendances.


Mais dans ce cas particulier, vous pouvez voir que la construction de cosmicn'a pas abouti :

FreeCAD build failed

donc, ces PPA n'ont pas de fichiers deb nommés _freecad_0.17.13541-1ppa3~ubuntu18.10.1*.deb_ dans le répertoire pool .

Vous pouvez envisager de:

  • demandez au propriétaire de PPA de réussir la construction pour Ubuntu 18.10.
  • récupère la dernière version quotidienne de FreeCAD à partir du PPA correspondant nommé ppa:freecad-maintainers/freecad-daily en tant que dernière version avec succès .
1
N0rbert

J'ai eu Freecad 0.18 en cours d'exécution sur mon Ubuntu 18.10, mais la semaine dernière, il a éclaté. Ubuntu a mis à jour certains paquets en python. Nous devons en informer les développeurs freecad. Je suppose que c'est une solution facile

0
Manolis