You are not logged in.
Hello again, I'm trying to install screenplay software Trelby (trelby_2.2_all.deb from their official webpage), and I came across the following error when unpacking with gDebi:
Error: Cannot satisfy dependency python-wxgtk2.8
The version I have installed (repos) is python-wxgtk3.0
What's the right thing to do in this scenario?
And, btw, sorry if I post this noobish question here, I just don't seem to have the ddg-fu skills right now.
Last edited by dr1nkus (2017-06-07 14:47:20)
Offline
You could try extracting and editing the Depends in the deb, which is an archive format. The file you need is the control file in 'trelby_2.2_all/control.tar.gz'.
Depends: python, python-wxgtk2.8, python-crypto, python-lxml
Change the dependency to what you have, then tar it up again.
NB: This is not guaranteed to work, and may not even be good advice
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
NB: This is not guaranteed to work, and may not even be good advice
It's something new to try. You never know... ^^
Offline
Slightly offtopic: before you invest some time into this consider that trelby does not support unicode (which may or may not affect you depending on your languge) .
Offline
Dang it, know it's totally possible to run more than one version of a package simultaneously in gnu/Linux. Haven't come across a time when I needed to do so, so don't know the details and xyz-nixer who has a need could search out the solution they need for themselves. ( am admittedly lazy) See stuff like that. In particular this one looked hopeful as regards your situation/need.
nother edit: Though mentioned have never needed to do this type of thing. So have zero idea if what's said in that thread is valid or not.
Also was thinking something like a chroot jail could apply here. Which again ... have read over the general how to in doing that but am not up to speed on it in detail and something that'd be better taken up with a search engine. Chroot jail, yep ... install everything xyz app/util needs to run in an isolated directory or part of the gnu/Nix filesystem. It's supposed to run fine and in this case you should be able to slap the required python thingy into that chroot jail and/or perhaps just into something in your users /home. Should run, shouldn't care about whatever other package versions are installed on the OS etc.
Last edited by BLizgreat! (2017-05-26 07:03:37)
Offline
Why not just use the tarball?
Puffy: ~ $ cat Downloads/trelby-2.2/README
Installation instructions for Trelby on Linux (tar.gz)
------------------------------------------------------
You have to copy trelby/ to /opt/trelby/. Afterwards you can run the
program with the command "/opt/trelby/src/trelby.py".
External dependencies required:
* Python (2.6 or 2.7)
* wxWidgets (2.8) and its Python bindings (wxPython)
* lxml
Offline
I did get Trelby working on BunsenLabs, but I managed to do this about six months ago and I can't remember the exact process. My notes from back then indicate I used this thread:
...
Linux in the backwoods of the Rocky Mountains...
Offline
^
git clone https://github.com/oskusalerma/trelby
cd trelby/
sudo python setup.py install
cd /opt/trelby/
./trelby
Offline
I don't think you can fool the package by just hacking the dependencies in the deb. However, it's a fairly simple forwardport from the Wheezy 2.8 source files to rebuild on Jessie, that's what we have in the MX 15/16 repo: http://main.mepis-deb.org/mx/repo/pool/ … idgets2.8/
So...you could temporarily add the MX 15 repo, I could build the packages in a separate OBS repo, or Head on a Stick also knows the OBS procedure. Or you could also port them on your machine locally, or use the OBS (it's free). Maybe even BL could add them to the repo.
Offline
@stevep: git version seems to be fixed (tested on stretch only).
Offline
I had a few extra minutes, so I went ahead and made a Jessie repo with the necessary packages.
As root or with sudo, add the repo:
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser:/wxgtk_2.8/Debian_8.0/ /' > /etc/apt/sources.list.d/python-wxgtk2.8.list
as normal user, download the repo authentication key:
wget -nv http://download.opensuse.org/repositories/home:stevenpusser:wxgtk_2.8/Debian_8.0/Release.key -O Release.key
as root or with sudo, add the key to your system and update the package database:
apt-key add - < Release.key
apt-get update
That should get gdebi & Trelby working with that missing dependency, at least.
Last edited by stevep (2017-05-27 16:37:28)
Offline
^ Nice. Thanks, Mr. Steve!
I don't care what you do at home. Would you care to explain?
Offline
Sorry for my long nap, and thanks everyone for the input, especially to @stevep for the repo!
I chose what I think it's the simplest approach and did the trick alright:
git clone https://github.com/oskusalerma/trelby cd trelby/ sudo python setup.py install cd /opt/trelby/ ./trelby
Then symlinked and done.
To round up a bit, what should I do first in the future when I come across situations like this? Tarball is the way to go?
BTW, I'll mark this as [SOLVED].
EDIT: typo.
Last edited by dr1nkus (2017-06-07 15:24:45)
Offline
what should I do first in the future when I come across situations like this?
A question that often comes up - I've just just reposted some stuff from the #! forums, with edits and additions, here: https://forums.bunsenlabs.org/viewtopic.php?id=3792 I don't know if that helps at all?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
@johnraff Neat stuff! I usually proceed that way, except for the OBS repos, which I knew just recently.
Offline