r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.36k stars 160 forks source link

can't find topgrade on rpi #861

Closed thob closed 2 years ago

thob commented 2 years ago

I'm running the latest Raspberry OS (64bit) on an RPI 400. I put topgrade into

pi@pi:~ $ which topgrade
/usr/local/bin/topgrade

but running topgrade can't find it


pi@pi:~ $ topgrade
bash: /usr/local/bin/topgrade: No such file or directory
MCOfficer commented 2 years ago

Did you make it executable?

It could also mean that some dynamic library (specifically libc) couldnt be found, so also try the "musl" version of topgrade.

thob commented 2 years ago

it says it's executable by anyone. I did not make it executable explictly, I forgot to mention that I installed the arm7 version, Is "musl" preferred?

r-darwish commented 2 years ago
  1. What's the output of file /usr/local/bin/topgrade?
  2. What happens if you run /usr/local/bin/topgrade?
thob commented 2 years ago

getting this for file /usr/local/bin/topgrade: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=bb9a8a215870de56c936f06969034e92eac59fe9, with debug_info, not stripped

MCOfficer commented 2 years ago

it says it's executable by anyone. I did not make it executable explictly, I forgot to mention that I installed the arm7 version, Is "musl" preferred?

The musl version is the more portable version since it requires no libc - but only for x64_86, not arm. My bad.

r-darwish commented 2 years ago

If you're using 64 bit OS then you should use the AArch64 version, not the ARM7

thob commented 2 years ago

had to chown a little after scp it to the remote rpi. seems to work now. Thanks