Ubuntu freecad-daily package will not install

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
wearyhacker
Posts: 41
Joined: Fri May 18, 2018 9:07 pm

Ubuntu freecad-daily package will not install

Postby wearyhacker » Sat Oct 05, 2019 7:10 pm

When I try to install freecad-daily from the freecad-daily ppa, I get the following error in the dpkg output.

Code: Select all

Preparing to unpack .../freecad-daily-runtime_0.19~pre1~201910050543~ubuntu19.04.1_all.deb ...
Unpacking freecad-daily-runtime (0.19~pre1~201910050543~ubuntu19.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/freecad-daily-runtime_0.19~pre1~201910050543~ubuntu19.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~ubuntu19.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~ubuntu19.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This leaves the package database in a state where nothing will run including the system updater process.

The only way I found to fix this was by running dpkg -P --force-all on all the freecad-daily packages shown in dpkg -l.

I would really like to run the daily build. Anyone got any ideas?
vocx
Posts: 1912
Joined: Thu Oct 18, 2018 9:18 pm

Re: Ubuntu freecad-daily package will not install

Postby vocx » Sat Oct 05, 2019 7:14 pm

wearyhacker wrote:
Sat Oct 05, 2019 7:10 pm
...
I would really like to run the daily build. Anyone got any ideas?
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.
kkremitzki wrote:
Sat Oct 05, 2019 4:30 pm
I have the time to hopefully get this resolved this weekend, but unfortunately this last fix has broken things even worse :(
wearyhacker
Posts: 41
Joined: Fri May 18, 2018 9:07 pm

Re: Ubuntu freecad-daily package will not install

Postby wearyhacker » Sun Oct 06, 2019 9:53 am

Thanks guys.

Sorting out a compile now.