Hello. It seems that gMTP, which is a program that I find useful for connecting with my LineageOS phone (an Android like phone), is not available in the main repositories of OpenSUSE (at least, thatt’s what YaST reports to me). I come from a Debian background. If a program wasn’t available in the official repositories, then sometimes some alternate repository could be found. Or, sometimes a package could be built from source, if need be (IE, it could be ported to the stable distribution from Sid’s sources).
I’m not sure what the deal is with packages in OpenSUSE. I realize it’s RPM based. So, if I find an RPM from Fedora or Mandriva, can I just use that? Or is there some other pool of OpenSUSE packages available somewhere? A different repository that can be enabled? A tool to build packages from source?
Also did a quick lookaround…
Not sure what you may be doing exactly, but here are some other things you can look into based on the idea that applications often include their own necessary library.
Am also not sure if the media players based on some kind of MTP is related at all, my only personal experience with MTP is that it’s a required configuration when connecting to a storage serial device, as opposed to a serial communications device particularly when a device can function as either (eg a typical phone). Some of these may simply be utilizing a different version of MTP.
As a follow up to my post above, I did do a search, via duckduckgo, to see how I could install the RPM regardless of having it in a YaST repository or not. I did get an answer, and my computer prompted a further answer, which resulted in the following:
mark@linux-qx6b:~/Downloads> sudo zypper --non-interactive install gmtp-1.3.11-lp151.1.1.x86_64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 2 NEW packages are going to be installed:
gmtp libid3tag0
2 new packages to install.
Overall download size: 166.9 KiB. Already cached: 0 B. After the operation,
additional 481.0 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package libid3tag0-0.15.1b-lp151.4.3.x86_64
(1/2), 37.0 KiB ( 90.6 KiB unpacked)
Retrieving: libid3tag0-0.15.1b-lp151.4.3.x86_64.rpm ......................[done]
Retrieving package gmtp-1.3.11-lp151.1.1.x86_64
(2/2), 129.8 KiB (390.4 KiB unpacked)
gmtp-1.3.11-lp151.1.1.x86_64.rpm:
Header V3 DSA/SHA1 Signature, key ID 629ff0c2: NOKEY
V3 DSA/SHA1 Signature, key ID 629ff0c2: NOKEY
Looking for gpg key ID 629FF0C2 in cache /var/cache/zypp/pubkeys.
Repository Plain RPM files cache does not define additional 'gpgkey=' URLs.
gmtp-1.3.11-lp151.1.1.x86_64 (Plain RPM files cache): Signature verification failed [4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a): a
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.
Anyway, that’s just FYI. I certainly appreciate your effort.
I’ve posted a lot of useful things in my Wiki,
Including the following page that describes a number of common zypper commands used in scripts I’ve written which of course involves a number of ways to add repositories and install files… from simple to more automated and complex
So, I attempted to do a similar command that had worked for the Gnome Apps repository, but my guesswork failed. I had given an incorrect name for it (or something was incorrect). So, I wonder, when such repositories are found, like the PySolFC repository, is there a place that indicates the proper name of the repository? In Debian, generally when there’s a repository that’s outside of the official repositories, there’s usually a command provided on the site of such a repository that guides people on how to properly add it to their sources.list. I looked, but I could not find anything similar in these unofficial OpenSUSE repositories.
Hi
At this page Show games / PySolFC - openSUSE Build Service off to the right select the ditribution name eg openSUSE_Leap_15.1 (it’s a link) and will take you to the next page that shows the rpm’s, at the top of the page is the link to the download repository for your selected release.
su -
zypper ar -f -g -n "Games" https://download.opensuse.org/repositories/games/openSUSE_Leap_15.1/ repo-games
zypper ref
zypper in PySolFC
zypper mr -d -F repo-games
exit
The reason to disable is so you don’t pull in anything that may in the future upset your system Both of those repositories are benign in nature (as in main system packages) so should be good to go.
Thanks for your response. Alas, it seems it’s a broken package:
mark@linux-qx6b:~> pysol
Traceback (most recent call last):
File "/usr/bin/pysol", line 28, in <module>
init()
File "/usr/lib/python2.7/site-packages/pysollib/init.py", line 91, in init
from six.moves import tkinter
ImportError: No module named six.moves
mark@linux-qx6b:~>
Anyway, I see how you got the URL for the repository, but I’m still not sure where you found the name for it (“Games” and “repo-games”). Where did you find that information?
Hi
Best to head here: Search but I would suggest not using the 1-click install as it will sometimes add the wrong repository and it won’t disable after install.
Hi
So a bit of a deeper look at PySolFC, so it’s now at 2.8.0, I have updated the package (python3 only) but yet to push to the games repo, it now needs a new python module “python3-pysol-cards” which is in my testing repository, I will push this as a new package to the python development repo, but it won’t get into the Leap 15.1 release.
In the interim, can you test the new 2.8.0 version (I’ve temporarily enabled the Leap 15.1 publish)?
Hi
Update for PySolFC has been accepted into Games repository, the python-pysol-cards module is submitted to devel:languages:python and waiting to be accepted.
Noting the progress being made in this thread and Malcolm’s efforts…
If in the end this doesn’t work out,
A reminder that a User can install virtualenv to support multiple side by side python environments, install a recent or even bleeding edge version of python from Pypi if necessary and the needed package may be found there.
There options, but don’t want to discourage what is already happening here…