I just tried freecad upgrade and I got "freecad : Depends: freecad-python2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages."
I did a google and couldn't find any discussion of this, so I've shared.
I think i'm on ubuntu 16.
e
Code: Select all
erich@erich-Gazelle:~$ sudo add-apt-repository ppa:freecad-maintainers/freecad-stable
[sudo] password for erich:
Sorry, try
[sudo] password for erich:
This PPA repository hosts stable releases of FreeCAD for all supported versions of Ubuntu in 32 and 64-Bit architecture. These packages are more up to date than those found on the Ubuntu repositories.
Note: the freecad-doc package brings offline FreeCAD help support, and needs to be installed separately..
Note: the ccx package brings CalculiX support to the FEM workbench, and needs to be installed separately.
More info: https://launchpad.net/~freecad-maintainers/+archive/ubuntu/freecad-stable
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpyc31rmrg/secring.gpg' created
gpg: keyring `/tmp/tmpyc31rmrg/pubring.gpg' created
gpg: requesting key 19BB5BCA from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpyc31rmrg/trustdb.gpg: trustdb created
gpg: key 19BB5BCA: public key "Launchpad PPA for FreeCAD maintainers" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
erich@erich-Gazelle:~$ sudo apt-get update
Hit:1 http://au.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://au.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://au.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://au.archive.ubuntu.com/ubuntu xenial-security InRelease
Ign:5 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 https://deb.nodesource.com/node_8.x xenial InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable Release
Get:9 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial InRelease [17.5 kB]
Get:10 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial/main amd64 Packages [4,736 B]
Get:11 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial/main i386 Packages [4,740 B]
Get:12 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu xenial/main Translation-en [2,564 B]
Fetched 29.6 kB in 4s (5,973 B/s)
Reading package lists... Done
erich@erich-Gazelle:~$ sudo apt-get install freecad freecad-doc && sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
freecad : Depends: freecad-python2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
erich@erich-Gazelle:~$