FreeCAD 18 upgrade broke on start

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD 18 upgrade broke on start

Post by chrisb »

Any messages when you start from console or with parameter -l (small letter L)?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Roland
Posts: 333
Joined: Fri Aug 21, 2015 2:20 pm

Re: FreeCAD 18 upgrade broke on start

Post by Roland »

Not a single message with
$ freecad -l
FreeCAD 0.18, Libs: 0.18R
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

But one message with:
$ freecad
FreeCAD 0.18, Libs: 0.18R
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

Unknown command 'Std_AddonMgr'

(That was the message)
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: FreeCAD 18 upgrade broke on start

Post by NormandC »

Roland, for the second time:

NormandC wrote: Tue Apr 02, 2019 3:15 am Roland, are all freecad packages installed? Specifically, check if freecad-common is installed. freecad is now a metapackage.
User avatar
Roland
Posts: 333
Joined: Fri Aug 21, 2015 2:20 pm

Re: FreeCAD 18 upgrade broke on start

Post by Roland »

Yes Normand, freecad-common is installed by the command "sudo apt-get install freecad && sudo apt-get upgrade"

What does this mean: "freecad is now a metapackage." ?

Some advices in this thread tell me that freecad-common needs to be installed. Others tell me that it should be removed. I tried both. Freecad does neither work with nor without.
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: FreeCAD 18 upgrade broke on start

Post by kkremitzki »

Roland wrote: Tue Apr 02, 2019 5:27 pm What does this mean: "freecad is now a metapackage." ?
The "freecad" package just tells your system to install other packages which contain the actual files. These are:

* freeacd-common: things like images, icons, etc
* freecad-runtime: Python2/3 compatible runtime files
* freecad-python2 or freecad-python3: The actual binaries compiled against whichever version of Python
* libfreecad-python2-0.18 or libfreecad-python3-0.18: The library files used by the binaries

Try running dpkg -l | grep freecad to see which of these you have installed.

P.S. You don't really need to do sudo apt install and then sudo apt upgrade.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
Roland
Posts: 333
Joined: Fri Aug 21, 2015 2:20 pm

Re: FreeCAD 18 upgrade broke on start

Post by Roland »

Thanks Normand, and all others,

I THINK that I followed your previous advice, i.e.: "Uninstall your freecad-doc package then update your system again, this should solve the issue." I did actually remove entire Freecad and updated thereafter. That did not help.

But now I did something else, and GOT IT WORKING! As follows:
sudo apt-get remove freecad*
Then the log showed that some freecad directories were not removed, because "not empty". They were obviously filled with files that the remove command did not recognise. Indeed, those were files made by myself to tweak freecad (a WB, templates for drawings). I removed those dirs by hand.

Then reinstalled with this command: sudo apt-get install freecad && sudo apt-get upgrade (SO WITHOUT freecad-doc).

AND BINGO. ALL IS THERE!

That's all for now and thanks for all your tips and suggestions!
Renato Rebelo
Posts: 255
Joined: Mon May 19, 2014 1:14 pm
Location: Vouzela - Portugal

Re: FreeCAD 18 upgrade broke on start

Post by Renato Rebelo »

Hello,
I currently have the same problem, I can not install stable version 0.18, I can only install the daily version 0.18?
my system is ubuntu 18.04
Any suggestion?
thank you
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: FreeCAD 18 upgrade broke on start

Post by NormandC »

Have you read Roland's post directly above yours?
Renato Rebelo
Posts: 255
Joined: Mon May 19, 2014 1:14 pm
Location: Vouzela - Portugal

Re: FreeCAD 18 upgrade broke on start

Post by Renato Rebelo »

NormandC wrote: Wed Apr 03, 2019 3:29 am Have you read Roland's post directly above yours?
Yes, I tried that but it did not work ...
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: FreeCAD 18 upgrade broke on start

Post by jmaustpc »

Renato Rebelo wrote: Wed Apr 03, 2019 10:21 pm
NormandC wrote: Wed Apr 03, 2019 3:29 am Have you read Roland's post directly above yours?
Yes, I tried that but it did not work ...
does it help if you uninstalling FreeCAD 0.17 with "purge" rather than just 'uninstall"?
Post Reply