这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@pkulev
Copy link
Contributor

@pkulev pkulev commented Jun 18, 2019

Hi!
Modifying scripts is not the best way for doing such common things like signing, so I've added optional argument for this.

Signed-off-by: Pavel Kulyov kulyov.pavel@gmail.com

Signed-off-by: Pavel Kulyov <kulyov.pavel@gmail.com>
@termux termux deleted a comment from Wizardboy92 Nov 8, 2022
@2096779623
Copy link
Member

~/test $ termux-apt-repo . repo stable main -s
Adding deb file: qt-creator_4.12.4-6_aarch64.deb...
Creating package file for main and aarch64...
Signing with gpg...
Done!

Make the repo directory accessible at $REPO_URL

Users can then access the repo by adding a file at
   $PREFIX/etc/apt/sources.list.d
containing:
   deb [trusted=yes] $REPO_URL stable main

[trusted=yes] is not needed if the repo has been signed with a gpg key
~/test $ ls
qt-creator_4.12.4-6_aarch64.deb  repo
/test $ apt update
Hit:1 http://127.0.0.1:8080 stable InRelease
Err:1 http://127.0.0.1:8080 stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CAABE459FE4A7128
Get:2 https://tur.uchkks.com tur-packages InRelease [14.0 kB]
Get:3 https://mirrors.ustc.edu.cn/termux/apt/termux-main stable InRelease [14.0 kB]
Get:4 https://mirrors.ustc.edu.cn/termux/apt/termux-root root InRelease [14.2 kB]
Get:5 https://mirrors.ustc.edu.cn/termux/apt/termux-x11 x11 InRelease [14.0 kB]
Fetched 56.2 kB in 8s (7185 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
15 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://127.0.0.1:8080 stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CAABE459FE4A7128
W: Failed to fetch http://127.0.0.1:8080/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CAABE459FE4A7128
W: Some index files failed to download. They have been ignored, or old ones used instead.
~/test $

Work fine, thanks.

@2096779623 2096779623 merged commit 1006dcb into termux:master Dec 25, 2022
@pkulev pkulev deleted the feature/add-sign-parameter branch January 21, 2023 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants