/var/lib/dpkg/arch has armhf and i386.

/etc/apt/sources.list has deb [arch=armhf]
http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free
rpi

/etc/apt/sources.list.d/i386.list has
deb [arch=i386] http://ftp.debian.org/debian/ stretch main contrib
non-free
deb [arch=i386] http://ftp.debian.org/debian/ stretch-updates main
contrib non-free
deb [arch=i386] http://security.debian.org/ stretch/updates main contrib
non-free

/etc/apt/sources.list.d/raspi.list has
deb [arch=armhf] http://archive.raspberrypi.org/debian/ buster main

I got the server running with some outside help, but it crashes with a
segfault once it is invoked. So I suppose the libraries are still
broken. Either I'll do a fresh set-up the whole thing, or I'll do what
you said and purge the stuff and try again. If I run into problems, I'll
be back. Thank you for your support!


fyi, the "outside help" said:
> Installing the i386 libc via dpkg is largely pointless: dpkg is about
> supporting upgrades etc. and you're not interested in that. So skip the
> crap about building a new dpkg and just (with sudo if required):
> 
> > 
Code:
--------------------
  >   > mkdir -p /lib/i386-linux-gnu 
  > 
  > cp oldpack/lib/i386-linux-gnu/ld-2.28.so /lib/i386-linux-gnu/ 
  > cp oldpack/lib/i386-linux-gnu/libc-2.28.so /lib/i386-linux-gnu/ 
  > cp oldpack/lib/i386-linux-gnu/libpthread-2.28.so /lib/i386-linux-gnu/ 
  > 
  > cd /lib
  > ls ld-linux.so.2
  > 
  > # If there's already an ld-linux.so.2, better abort now and figure out 
where it came from rather than overwrite it
  > # Otherwise, continuing...
  > 
  > ln -s i386-linux-gnu/ld-2.28.so ld-linux.so.2 
  > cd i386-linux-gnu 
  > ln -s libc-2.28.so libc.so.6 
  > ln -s libpthread-2.28.so libpthread.so.0 
--------------------
> > 
> 
> 
> If it doesn't start up, you may need to edit /etc/ld.so.conf and add a
> line
> 
> > 
Code:
--------------------
  >   > /lib/i386-linux-gnu
--------------------
> >


------------------------------------------------------------------------
TheCoyote's Profile: http://forums.slimdevices.com/member.php?userid=68172
View this thread: http://forums.slimdevices.com/showthread.php?t=106958

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to