alpine_kindle icon indicating copy to clipboard operation
alpine_kindle copied to clipboard

apk core dumps

Open drtonyr opened this issue 1 year ago • 3 comments

I have a Kindle Paperwhite 3 that has been running Alpine for many years - thanks a lot.

I recently deleted then reinstalled everything through KUAL, so deploying the latest version.

apk doesn't work for me. If I try 'apk update' I get lots of: ERROR: XXXX: UNTRUSTED signature WARNING: Ignoring XXXX: UNTRUSTED signature

and if I run apk --allow-untrusted update then it core dumps.

Linux kindle 3.0.35-lab126 #2 PREEMPT Fri Feb 10 04:02:50 UTC 2023 armv7l GNU/Linux
[root@kindle root]# cat /proc/cpuinfo 
Processor	: ARMv7 Processor rev 10 (v7l)
BogoMIPS	: 790.16
Features	: swp half thumb fastmult vfp edsp neon vfpv3 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc09
CPU revision	: 10

Hardware	: Freescale i.MX 6SoloLite based Wario Board
Revision	: 60000
Serial		: "G090G105628407EQ"
BoardId		: "0670309162770SGS"

Kindle release is 5.15.1.1 (the latest, Jailbreak was maintained).

It's an old processor, maybe Alpine dropped support?

drtonyr avatar Apr 13 '23 12:04 drtonyr

I don't think alpine dropped support, the problem is probably with the included package. You can work around the issue by downloading the latest official armhf executable and updating trough it.

xyaon avatar Apr 25 '23 19:04 xyaon

Thank you @xyaon, I'm now running again. What I did was:

$ sudo apt install qemu-user-static
$ git clone https://github.com/schuhumi/alpine_kindle
$ cd alpine_kindle
$ ./create_kindle_alpine_image.sh
$ cp -p alpine.ext3 /media/tonyr/Kindle/alpine.ext3

it was pretty painless, there was only one error and that was ignored:

ERROR: unable to select packages:
  gnome-themes-extra (no such package):
    required by: world[gnome-themes-extra]

It's so cool to see

[root@kindle ]# cat /etc/issue 
Welcome to Alpine Linux 3.18_alpha20230329 (edge)

drtonyr avatar Apr 26 '23 09:04 drtonyr

hey. i'm unable to create my own image. the script doesn't work on an arm64 linux machine (my m1 mac). any way you could share your fresh image? or any steps i could take to upgrade my alpine chroot? thanks a lot.

aviwad avatar Dec 30 '23 14:12 aviwad