Install error on ubuntu 18.04
Hi,
I just upgraded to ubuntu 18.04, and during the upgrade opensesame was removed for some reason.
I tried to re-install, but I get the following errors:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
opensesame : Depends: python-qdatamatrix but it is not going to be installed
Depends: python-qprogedit but it is not installable
Depends: python-qnotifications but it is not installable
Depends: python-pseudorandom but it is not installable
Depends: python-webcolors but it is not installable
Depends: python-markdown but it is not installable
Depends: python-pyqt5.qtwebkit but it is not installable
Depends: python-pyqt5.qtsvg but it is not installable
Depends: python-fileinspector but it is not installable
Recommends: python-imaging but it is not installable
Recommends: expyriment but it is not installable
Recommends: pyaudio but it is not installable
Recommends: ipython-qtconsole but it is not installable
E: Unable to correct problems, you have held broken packages.
I tried installing these packages manually, but I always end up with a "package X has no installation candidate". The first one claims to depend on "pyhton-qtpy", but that one doesn't have a "installation candidate" either
I tried with pip install python-opensesame
, but that command doesn't do anything. I get a lot of "requirement already satisfied" messages, but nothing is installed.
In another message here I saw someone having a similar issue with qt5, and apparently installing python-pyqt5.qsci is supposed to fix it, but when I try that I get 'package doesn't exist' errors.
I'm out of ideas. How can I get opensesame installed on ubuntu 18.04?
thanks
Comments
Hi Jay,
Some of the packages that are listed as 'not installable' are definitely available in the 18.04 repositories. This makes me think that something went wrong with the software sources in the upgrade process, and that the failure to install OpenSesame is just one symptom of that.
This means that OpenSesame has already been installed with pip, and you'll probably be able to start it with
.local/bin/opensesame
(or some variation therefore). However, installing through the Ubuntu package manager is much easier!Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thanks, but it still doesn't work. After completely wiping out the computer and installing ubuntu 18 from scratch, I get exactly the same errors. And installing it with pip still doesn't do anything at all. It keeps saying "requirement satisfied" but there are absolutely no files/folders called "opensesame" or any variation of it.
I don't see what can be wrong with the software sources in a fresh install, or why would it not work at all after completely refreshing the system. Is there an alternative to install it that is not via pip or the standard ubuntu way?
Hi Jay,
Are you sure that you get the same error message on a fresh install? Because some of these packages are definitely in the default bionic repositories. For example
python-pyqt5.qtwebkit
should be installable right away; that has nothing to do with OpenSesame.So as a first step I would first make sure that this works. If not, then there's something wrong with your software sources, fresh install or no.
If this does work, then add the CogSci ppa and try to install OpenSesame (some packages had indeed not yet been copied to the
bionic
channel):Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan, thanks again for looking into this. I realize this is probably a very specific brand of weirdness in my computer, nothing to do with opensesame itself, so I appreciate your comments.
In any case, just as an update, in the end I did manage today to install opensesame normally from
apt
, with no issues at all. I really have no idea what was happening before or why does it work now, but I suspect it had something to do with pyqt4 / pyqt5 issues, since those are the only packages that I changed/reinstalled (for unrelated reasons) before succesfully installing today.Thanks!
I know this is an old post, but I just got the same sort of thing on Pop!_OS 21.10 (basically Ubuntu 21.10 with a bunch of gnome tweaks). After adding the repository and updating, I tried to install python3-opensesame:
Hi @TravisSeymour ,
Thanks for pointing this out. Some of the packages hadn't been copied to the 21.10 (impish) release yet. I just copied them and they should be available shortly though. (You can also install from the
rapunzel
ppa, which has prerelease packages.)— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!