termux/game-packages

Can not subscribe

draxaris1010 opened this issue · 7 comments

I can not subscribe to the repo.
This is what I got:

$ pkg install game-repo
Hit:1 https://termux.net stable InRelease
Ign:2 https://dl.bintray.com/xeffyr/x11-packages-21 x11 InRelease
Get:3 https://dl.bintray.com/xeffyr/x11-packages-21 x11 Release [6055 B]
Hit:3 https://dl.bintray.com/xeffyr/x11-packages-21 x11 Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
142 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package game-repo

Hi, yes, the game-package isn't added to termux-packages yet, here is the PR: termux/termux-packages#3313

I'm also currently looking at moving the repo to bintray.
The plan is to have the repo up and running during the weekend.

If you want to test it out before that then you can always do

echo "deb https://grimler.se games stable" > $PREFIX/etc/apt/sources.list.d/games.list

and then apt update. I will probably stop updating the repo once the bintray repos are functional though (but at that point you can just do pkg in game-repo to get updates)

Edit: wrote the wrong url first, fixed now.

I tried your commands but they don't work, this is what I got:

$ echo "deb https://grimler.se games stable" > $TERMUX_PREFIX/etc/apt/sources.list.d/games.list
bash:  /etc/apt/sources.list.d/games.list: No such file or directory

Ah, sorry again, It's suppose to be $PREFIX, not $TERMUX_PREFIX

I tried that as well but it doesn't seems to work,

$ echo "deb https://grimler.se games stable" > $PREFIX/etc/apt/sources.list.d/games.list
bash:  /data/data/com.termux/files/usr/etc/apt/sources.list.d/games.list: No such file or directory

So I did it manually and I got this:

$ apt update
E: Malformed line 1 in source list /data/data/com.termux/files/usr/etc/apt/sources.list.d/games.list (type)
E: The list of sources could not be read.

Ah, I guess /data/data/com.termux/files/usr/etc/apt/sources.list.d didn't exist before. What's the output of head /data/data/com.termux/files/usr/etc/apt/sources.list.d/games.list now?

The output is:

$ head /data/data/com.termux/files/usr/etc/apt/sources.list.d/games.list
deb https://grimler.se games stable

Hm, weird, it looks alright to me.

Anyways, the package game-repo has now been added to the main repo, so you can install it with pkg in game-repo 👍