dtran

Debian chroot tutorial?

Recommended Posts

Does anybody have any link to a tutorial on using the Debian chroot package from the SynoCommunity package source? There's plenty of links for installing Debian on Synology boxes but the Syno package seems to make installation much easier. However, how do I use the package? I can see that it's installed in /volume1/@appstore/debian-chroot/ but when I run /volume1/@appstore/debian-chroot/var/chroottarget/usr/bin/apt-get I see the following message:

 

./apt-get: error while loading shared libraries: libapt-pkg.so.4.12: cannot open shared object file: No such file or directory

 

Some environment variables need to be set? Thanks in advance.

Share this post


Link to post
Share on other sites

You need to enter chroot. Unfortunately the docs have been lost from the web since synocom updated their website but it's still in the git repo:

 

https://github.com/SynoCommunity/spksrc ... index.html

 

It's a short yet clear doc so have a read. In particular, the command to enter chroot is:

 

>/var/packages/debian-chroot/scripts/start-stop-status chroot

 

Have fun.

Share this post


Link to post
Share on other sites