Broken pipe and lots of warnings
Hi there,
Probably the most important information at the beginning: I've encountered the following problems using Ubuntu 18.04.4
I've recently run into some funny behaviour with OpenSesame. Firstly, when I open OpenSesame, about 15 warnings pop up ("OpenSesame says") and from what I've seen, much of it has to do with some issues with PsychoPy.
I have tried to uninstall OpenSesame in order to re-install it, but i am not able to uninstall OpenSesame:
sudo apt-get remove opensesame && sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies. python3-opensesame-plugin-psychopy : Depends: python3-opensesame but it is not going to be installed python3-rapunzel : Depends: python3-opensesame but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I then (rather idiotically, I admit) tried to simply reinstall OpenSesame without successfully removing it, hoping it would install missing stuff while doing that. Following the installation guide provided on this homepage. While adding the PPA, the following error emerged:
Err:26 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80]
And finally, trying to complete the installation, I received the following error:
Preparing to unpack .../python3-opensesame_3.3.2-1_all.deb ... Unpacking python3-opensesame (3.3.2-1) ... dpkg: error processing archive /var/cache/apt/archives/python3-opensesame_3.3.2-1_all.deb (--unpack): trying to overwrite '/usr/bin/opensesame', which is also in package opensesame 3.2.8+b1-1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/python3-opensesame_3.3.2-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Does anyone maybe have any suggestions for this issue?
Best,
Christian
Comments
Hi Christian,
These dependency problems can be tricky to resolve. I think what may have happened is the following:
python3-opensesame-plugin-psychopy
python3-opensesame
as a dependency (i.e. OpenSesame 3.3 based on Python 3 )opensesame
(i.e. OpenSesame 3.2 based on Python 2)And that's what caused the initial dependency error. Might that be it? If so, then first uninstalling
opensesame
andpython3-opensesame-plugin-psychopy
might do the trick. And then later installingpython3-opensesame
again (and other related packages that you want).Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
Thank you for your quick response. I now ran the following two lines via the terminal:
Interestingly, this seemed to do the trick and I'm no able to use the Python 3 version of OpenSesame.
Thanks again and have a nice day,
Christian