Update from ppa of frecad-daily on ubuntu 18.04 fails (mostly)

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
alexis
Posts: 19
Joined: Wed Jun 07, 2017 8:50 am

Update from ppa of frecad-daily on ubuntu 18.04 fails (mostly)

Post by alexis »

Hi all,

I have error messages from apt when updating. This is related with Mod/Arch/Presets/ files.

Code: Select all

alexis@baliste-3:~$ date
Sat Oct  5 13:23:13 CEST 2019


alexis@baliste-3:~$ sudo apt-get update
..bla-bla..
Hit:2 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu bionic InRelease                                             
.. Bla-bla..                                  
Fetched 88.7 kB in 1s (96.6 kB/s)                  
Reading package lists... Done

alexis@baliste-3:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  freecad-daily-runtime
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
84 not fully installed or removed.
Need to get 0 B/3837 kB of archives.
After this operation, 453 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 330279 files and directories currently installed.)
Preparing to unpack .../freecad-daily-runtime_0.19~pre1~201910050543~ubuntu18.04.1_all.deb ...
Unpacking freecad-daily-runtime (0.19~pre1~201910050543~ubuntu18.04.1) over (0.19~pre1~201909131844~ubuntu18.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/freecad-daily-runtime_0.19~pre1~201910050543~ubuntu18.04.1_all.deb (--unpack):
 trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC2X3.json', which is also in package freecad-daily-common 0.19~pre1~201910050543~ubuntu18.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/freecad-daily-runtime_0.19~pre1~201910050543~ubuntu18.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't know if it brokes the whole update as I did fidlle with the perms under /usr/share/freecad-daily/Mod/Arch/Presets/ and started again the upgrade process. That didn't give a better result but then when I did copy freeCAD details I noticed the brand new date on the Info box :

Code: Select all

2019/10/06 06:36:27

OS: Ubuntu 18.04.3 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
FWIW,

Be the force with you,
Alexis
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Update from ppa of frecad-daily on ubuntu 18.04 fails (mostly)

Post by vocx »

alexis wrote: Sat Oct 05, 2019 11:38 am Hi all,

I have error messages from apt when updating. This is related with Mod/Arch/Presets/ files.
0.19 Daily Build update fail
alberich wrote: Fri Oct 04, 2019 4:32 pm ...
Seems like a packaging problem.
vocx wrote: Sat Oct 05, 2019 4:11 am Yes, the main packager is looking into this at the moment. The daily package has been broken for about a month. So hold tight, in the following days and weeks you should expect to see more daily updates, maybe with errors still. If you really need to use the latest code, probably the AppImage or self compilation (CompileOnUnix) is a better option at the moment.

old TempoVis.py in recent builds
kkremitzki wrote: Fri Oct 04, 2019 10:02 pm I removed those because, in my testing trying to fix the builds, I was getting errors about them not being present. There's a bug somewhere screwing with all this.
kkremitzki wrote: Sat Oct 05, 2019 12:27 am That was the idea with the distinction between freecad-runtime and freecad-common files, with freecad-runtime being meant to solely have Python files. But there's no need for that, in retrospect, so eventually I'll combine the two and just have freecad-common, I think. With 0.19 there will be a break in the binary packages, i.e. libfreecad-python3-0.18 will have its name changed, so that would be a good time to do it.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Post Reply