Can't install from PPA

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
rsholmes
Posts: 1
Joined: Tue Jan 25, 2022 3:24 am

Can't install from PPA

Post by rsholmes »

NOTE: I am aware I could use an AppImage, or could install from my distro's package manager (which has only version 0.18.4), and I may do one or the other if I cannot get PPA installation to work, but I'd prefer not having to do so. I'm also aware of the --allow-insecure-repositories option but again I would like to avoid having to use that if possible.

I attempted to install FreeCAD on my Linux Mint 20.3 Cinnamon system. Command I used:

Code: Select all

 sudo add-apt-repository ppa:freecad-maintainers/freecad-stable
resulted in this output:

Code: Select all

You are about to add the following PPA:
 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

Executing: /tmp/apt-key-gpghome.L5ypsyPY1U/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 83193AA3B52FF6FCF10A1BBF005EAE8119BB5BCA
gpg: key 005EAE8119BB5BCA: public key "Launchpad PPA for FreeCAD maintainers" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: invalid key resource URL '/tmp/apt-key-gpghome.L5ypsyPY1U/home:manuelschneid3r.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key BDF3F6ACD4D81407: 1 signature not checked due to a missing key
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 29
gpg:       skipped new keys: 29
This looked unpromising but I tried doing sudo apt update and of course it failed:

Code: Select all

Get:30 http://ppa.launchpad.net/openscad/releases/ubuntu focal InRelease [18.1 kB]
Err:30 http://ppa.launchpad.net/openscad/releases/ubuntu focal InRelease       
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 176F9F68AD382CA4
From a look in this forum it appears others have recently had success with this PPA, so can you suggest where to look for the origin of the problem?
david69
Veteran
Posts: 1773
Joined: Wed Jan 01, 2014 7:48 pm

Re: Can't install from PPA

Post by david69 »

strange, it seems you put the right commands. here is the wiki for any install on linux
https://wiki.freecadweb.org/Installing_on_Linux
Post Reply