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
  how to install updates? someGermanGuy 2 1,053 04-26-2022, 12:48 PM
Last Post: someGermanGuy
  How do I install packages? cefre00 3 11,172 11-12-2020, 01:49 PM
Last Post: cefre00
  Software Repos biketool 5 5,657 10-31-2020, 04:20 PM
Last Post: kuleszdl
  Is a Software update the same as instaling an updated image Word5 1 2,311 09-19-2020, 10:23 PM
Last Post: jmorris
  PMOS Software : Comments bcnaz 3 3,375 09-15-2020, 07:31 AM
Last Post: Hobbes42
  Unsure how to install, help needed GloriousCoffee 8 7,657 09-01-2020, 10:55 PM
Last Post: bitnick
  Install And Configure PostmarketOS With Plasma Mobile dustfinger 4 6,305 06-21-2020, 09:00 AM
Last Post: dustfinger
  Does pmbootstrap install the latest image? mypine 4 4,829 02-20-2020, 01:02 PM
Last Post: mypine

Forum Jump:


Users browsing this thread: 1 Guest(s)