How to install software
#1
I think that perhaps I need to add some more repositories in order to install some more software. For example:

lingot
pysolfc

for lingot I simply get

$ sudo apk add lingot
[sudo] password for user:
fetch http://mirror.postmarketos.org/postmarke...DEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3....DEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3....DEX.tar.gz
ERROR: unable to select packages:
  lingot (no such package):
    required by: world[lingot]

If I try:
$ sudo apk search -v -d pysol
I get
py3-pysol-cards-0.10.1-r0 - Deal PySol FC Cards

$ sudo apk add (any one of:
for pysol, pysolfc, py3-pysol) I get the same result

I have not used alpine before, so I am learning ... slowly Smile

Thanks

Andrew
  Reply
#2
(06-06-2021, 07:53 AM)AndyM Wrote: I think that perhaps I need to add some more repositories in order to install some more software. For example:

lingot
pysolfc

for lingot I simply get

$ sudo apk add lingot
[sudo] password for user:
fetch http://mirror.postmarketos.org/postmarke...DEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3....DEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3....DEX.tar.gz
ERROR: unable to select packages:
  lingot (no such package):
    required by: world[lingot]

If I try:
$ sudo apk search -v -d pysol
I get
py3-pysol-cards-0.10.1-r0 - Deal PySol FC Cards

$ sudo apk add (any one of:
for pysol, pysolfc, py3-pysol) I get the same result

I have not used alpine before, so I am learning ... slowly Smile

Thanks

Andrew
APK is an app manager. So when you have that result, that means it isn't part of APK. There are several other ways to install applications, such as using make, flatpak, snap, etc. The success of the installs will depend on many factors, such as, can it run on amd64. Alpine is a very small in size linux flavor made for imbedded systems. For example, mkchromecast isn't available in apk and I could install from sources, but it would be a chore, because of the dependencies needed for postmarket as well. Meanwhile is it available on mobian in the GUI. So you have many options, but APK isn't one of them. 
 
You can turn the endeavor into a contribution as well. You could look into building and adding it to apk.
  Reply
#3
Alpine --and therefore Postmarketos-- has two channels, edge and stable. The two have separate repositories with edge being a rolling release, like Arch; and stable being a point release, like Debian. From the repositories listed in your post it looks like you are on stable.
Lingot, at least, is in the repos, however it is only on edge. If you want to switch to the edge branch unfortunately it will probably be better to reinstall Postmarketos.
  Reply
#4
Thanks for the replies. I have two repos in /etc/apk/repositories. I installed using pmbootstrap because I when I copied the prebuilt image using dd it would not boot, so I am not sure whether I have edge or not. Is there an easy way to tell? Now is the time to reinstall if that is necessary.

OK, I am on v21.03. I will reinstall edge.

Thanks for the help
  Reply
#5
For information after installing edge I have four repositories listed:
http://mirror.postmarketos.org/postmarketos/master
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing
  Reply
#6
(06-09-2021, 12:53 AM)AndyM Wrote: For information after installing edge I have four repositories listed:
http://mirror.postmarketos.org/postmarketos/master
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing

Listed where?
  Reply
#7
Quote:The list of repositories is stored in /etc/apk/repositories configuration file. Use the cat command to view /etc/apk/repositories file i.e. type cat /etc/apk/repositories
https://www.cyberciti.biz/faq/10-alpine-...-examples/
  Reply
#8
(11-10-2021, 05:58 PM)iwm Wrote:
(06-09-2021, 12:53 AM)AndyM Wrote: For information after installing edge I have four repositories listed:
http://mirror.postmarketos.org/postmarketos/master
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing

Listed where?

I have "v3,14" instead of "edge" and no testing line.  Should I add the testing line and replace the versions with "edge"?
  Reply
#9
Sorry I am not using PMOS any more so it would be better for someone else to answer you question/ I would suggest that you read the rest of this post, oi may help. Smile

Best of luck
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Fresh install pmos+phosh does not boot user641 1 428 10-08-2023, 04:04 AM
Last Post: user641
  Software app in postmarket gnome shell Uturn 1 540 09-06-2023, 05:27 AM
Last Post: alaraajavamma
  Install 9999 packages AndyM 0 471 07-24-2023, 01:07 AM
Last Post: AndyM
  Can't install powersupply user641 0 416 07-18-2023, 08:09 AM
Last Post: user641
  Trying to install Mousai AndyM 0 491 06-10-2023, 08:25 AM
Last Post: AndyM
  how to install updates? someGermanGuy 2 1,876 04-26-2022, 12:48 PM
Last Post: someGermanGuy
  How do I install packages? cefre00 3 12,213 11-12-2020, 01:49 PM
Last Post: cefre00
  Software Repos biketool 5 7,071 10-31-2020, 04:20 PM
Last Post: kuleszdl
  Is a Software update the same as instaling an updated image Word5 1 2,862 09-19-2020, 10:23 PM
Last Post: jmorris
  PMOS Software : Comments bcnaz 3 4,200 09-15-2020, 07:31 AM
Last Post: Hobbes42

Forum Jump:


Users browsing this thread: 1 Guest(s)