Hi Again!

On 09/09/2015 08:53, Jonathan Carter wrote:
Hi Eric

On 08/09/2015 22:18, Eric Gourgoulhon wrote:
Thank you for having prepared a Ubuntu package with the sources included!
I've tried to install it but the step
sudo apt-get install sagemath-upstream-binary-full
results in the following error:

Décompactage de sagemath-upstream-binary-full (6.8~aimsppa11) ...
dpkg: error processing archive
/var/cache/apt/archives/sagemath-upstream-binary-full_6.8~aimsppa11_amd64.deb

(--unpack):
  tentative de remplacement de
« /usr/lib/sagemath/local/libexec/git-core/git-merge-resolve », qui
appartient aussi au paquet sagemath-upstream-binary 6.8~aimsppa11
dpkg-deb : erreur : le sous-processus coller a été tué par le signal
(Relais brisé (pipe))

Sorry the message is in French, but it says basically that there is some
attempt to replace
/usr/lib/sagemath/local/libexec/git-core/git-merge-resolve, which
belongs also to the package sagemath-upstream-binary 6.8~aimsppa11.
(I'd say there seems to be a conflict between
sagemath-upstream-binary-full and sagemath-upstream-binary).
My system is Ubuntu 14.04. I am attaching the full log for reference.

Thanks for the feedback, we'll need to add some extra fields in the
package to allow it to cross over from the old format.

In the meantime, there are two alternative options.

1. Allow the new package to overwrite paths from the old package:

This will download the packages without installing them:
sudo apt-get -d install sagemath-upstream-binary
sagemath-upstream-binary-full

This will allow dpkg to ignore package ownership while transitioning to
the new packages:
sudo dpkg --force-overwrite -i
/var/cache/apt/archives/sagemath-upstream-binary_6.8~aimsppa11_amd64.deb
/var/cache/apt/archives/sagemath-upstream-binary-full_6.8~aimsppa11_amd64.deb


2. Remove the old package completely and then install the new package(s).

We'll upload a new package to the dev ppa that contains the proper
fields in the control file that will specify that the new -full package
replaces files in the old package name that will allow for a smoother
transition.

This is all fixed now in the ~aimsppa12 version, so doing and apt-get update and installing the new version should also do the trick.

Next week we're also planning to enable automated daily packages in that -dev PPA, so we'll be able to pick up anything that breaks faster and avoid anything nasty from landing in the stable PPA.

-Jonathan

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to