alpine_kindle icon indicating copy to clipboard operation
alpine_kindle copied to clipboard

Apk Issues

Open H644b opened this issue 1 year ago • 9 comments

I have an issue with my apk manager, whenever I try to do anything related to it I get this error: UNTRUSTED signature

H644b avatar Jun 19 '24 03:06 H644b

The "UNTRUSTED signature" error shows that the APK file lacks a valid digital signature recognized by Android. Please ensure that the APK is properly signed with a trusted certificate and downloaded from a reliable source.

Lizza1408 avatar Jun 30 '24 01:06 Lizza1408

same issue here. For sudo apk update/upgrade/add It returns UNTRUSTED segnature if the flag --allow-untrusted is added, "segmentation error" is returned

dimag88 avatar Dec 25 '24 09:12 dimag88

The "UNTRUSTED signature" error shows that the APK file lacks a valid digital signature recognized by Android. Please ensure that the APK is properly signed with a trusted certificate and downloaded from a reliable source.

ChatGPT ahhh response also mind checking the name of and what this repo is about? Has nothing to do with Android, APK is a package manager for Alpine.

Lol I haven't seen this issue in a while.

H644b avatar Dec 29 '24 02:12 H644b

It’s very easy to fix. The reason that this is happening is that the all repo is settled so wrong outdated website in order to fix this do nano /etc/apk/repositories And then change “latest stable” to “v3.11”. Exit it(Ctrl+x and y and enter) apk update apk upgrade -a It will fix the error

Ooonana avatar Feb 22 '25 23:02 Ooonana

The "UNTRUSTED signature" error shows that the APK file lacks a valid digital signature recognized by Android. Please ensure that the APK is properly signed with a trusted certificate and downloaded from a reliable source.

if you're going to comment on a github issue please at the very least look at what the project is about instead of copy pasting AI slop... nothing to do with Android here at all.

regardless, changing "edge" to "v3.11" in the repositories file seems to work, thanks!

WifiRouterYT avatar Apr 08 '25 08:04 WifiRouterYT

As you noticed I don't work on the alpine kindle repositories anymore, since - as so often with little side projects - I've moved on to other things. I'm astounded though that there's such prolonged interest in this small project.

As you found out the image that I built at the time is now obsolete to the point where the package manager ceases to work. A good chunk of new life would be breathed into this project by creating a new alpine image, I think all the other parts should still work fine. There is a create_kindle_alpine_image.sh script that I used at the time to create the image. It is quite short, and I suspect it would only need small changes to create an up-to-date new image. When such a new image gets uploaded as new release to this repo, the alpine kindle kual launcher picks it up for every new alpine linux deployment automatically.

If somebody wants to give this a try and build and test a new image, I could upload it to the releases or make them a collaborator in the repo to publish it. I could also explain some of the mechanism in this repo or the kual launcher if anything is unclear. So if @7Ryanjlee-korea , @WifiRouterYT or somebody else would like to continue this project, you are very welcome to :)

schuhumi avatar Apr 08 '25 11:04 schuhumi

@schuhumi I actually made alpine 3.21 ver and modified the project to work Debian and Arch Linux with gui lol Link: Debian on kindle

Ooonana avatar Apr 11 '25 04:04 Ooonana

Can you please provide the full last line? I tried with https://dl-cdn.alpinelinux.org/alpine/v3.21/community/

but I am still getting UNTRUSTED signature

Piecho2 avatar Apr 11 '25 22:04 Piecho2

@Piecho2 The untrusted signiture ocurres becauss you are using too new responsitory when your system is old-- you are fixing the apk repo wrong. In order to fix this open a terminal via mate desktop or dropping to alpine on kual type: nano /etc/apk/repositories

And then change it to look like

https://dl-cdn.alpinelinux.org/alpine/v3.10/main/ https://dl-cdn.alpinelinux.org/alpine/v3.10/community/

Then Ctrl X, y, then enter

Then try apk update. If you want the alpine system to be up to date to the latest version i recommend building alpine.ext3 (you can also upgrade by doing nano /etc/apk/repositories and changing version higher one by one ex) v3.10 to v3.11 then apk update && apk upgrade -a nano /etc/apk/repositories change v3.11 to 3v.12 and apk process again until the latest version tho this is not recommanded.)

Ooonana avatar Apr 12 '25 09:04 Ooonana