Homeeth0fox
Internet VulPine
• filed under linux, notes, debian, jessie, chip, pocketchip, ntc, nextthingco
Since NTC thing went bust years ago, there have been no official builds of the C.H.I.P. OS, which runs a modified version of Debian Jessie, and due to time being a thing, this isn't very great.
If you have a fresh C.H.I.P. install, you can do this to get APT working again.
screen /dev/tty.usbmodem*.armhf versions of the following packages packages: (visit the linked pages, ctrl+f for the package name, and copy the url, and then run wget [URL])sudo dpkg -i *.deb/etc/apt/sources.list to have the following contents.deb http://archive.debian.org/debian/ jessie main contrib non-free
deb-src http://archive.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://archive.debian.org/debian jessie-backports main contrib non-free
deb-src http://archive.debian.org/debian jessie-backports main contrib non-free
deb http://chip.jfpossibilities.com/chip/debian/repo jessie main
deb http://chip.jfpossibilities.com/chip/debian/pocketchip jessie main
/etc/apt/apt.conf.d/99-no-ssl.conf to be the following:Acquire {
https::Verify-Peer false;
Check-Valid-Until false;
}
APT:Get::AllowUnauthenticated true;
:warning: This will disable security measures to validate the integrity of the software installed on the device. If you trust that Debian isn't gonna get hacked, and that you only connect to trusted WiFi, this shouldn't be an issue though.
sudo apt update should now work 🎉sudo apt upgrade to update all the installed packages to the latest versions.