linuxcnc-2.7-wheezy.iso actually distribution update errors

More
13 Apr 2019 16:02 #130778 by richard123

Live/Install for Debian Stretch, RT-PREEMPT, LinuxCNC 2.7.x
www.linuxcnc.org/testing-stretch-rtpreem...uspace-amd64-r13.iso
works fine including use of samba

LPT with Axis works perfect

for installing CamPY for LinuxCNC - Camera Edge Finder
as nicbit wrote in category debian-stretch-tricks
please install python-apt using the command:
sudo apt install python-apt

works perfect



I need to make some changes in the kinematics file so it will suit my corexy system. It means I have to be able to install linuxcnc -dev. Is this process can be done with this version of linuxcnc and debian iso file?

Please Log in or Create an account to join the conversation.

More
18 Apr 2019 01:36 - 18 Apr 2019 01:47 #131097 by Blackwind

Hi,
as TKR confirms my fears about usage of RT-PREEMPT and AnnoyingMutt shared links to wheezy sources,
so I'll use wheezy with edited /etc/apt/sources.list (attached the edited list - unzip before use). This works fine.

To get it working give the commands (in terminal):
cd /path/to/your/new/sources.list
sudo mv /etc/apt/sources.list /etc/apt/sources.list.orig
sudo cp sources.list /etc/apt/sources.list 
cat /etc/apt/sources.list
sudo apt-get -o Acquire::Check-Valid-Until=false update

Check-Valid-Until=false is needed, because some release file has been expired.

br
Holger


i think this is in the correct path to solution, but i have a lots of errors on updating.
somewhere i read that one has to make the Check persistent doing:

sudo "your preferred editor" /etc/apt/apt.conf

add a line to it (if apt.conf is not present this will create one)
LINE
Acquire::Check-Valid-Until "0";
LINE

after that
sudo apt-get -o Acquire::Check-Valid-Until=false update
sudo apt-get update

my actual sources.list look like this
deb archive.debian.org/debian/ wheezy main non-free contrib
deb-src archive.debian.org/debian/ wheezy main non-free contrib
deb archive.debian.org/debian-security/ wheezy/updates main non-free contrib
deb-src archive.debian.org/debian-security/ wheezy/updates main non-free contrib

# wheezy-backports
#deb ftp.us.debian.org/debian/ wheezy-backports main contrib non-free
#deb-src ftp.us.debian.org/debian/ wheezy-backports main contrib non-free

The wheezy backports was used to install mate desktop, i have to comment it not knowing how to do it right ;(((

regards rick
Last edit: 18 Apr 2019 01:47 by Blackwind.

Please Log in or Create an account to join the conversation.

More
18 Apr 2019 03:08 #131101 by InMyDarkestHour
Lets just have one solution, confirmed by Adin/Mods and make it sticky and leave it at that.

Please Log in or Create an account to join the conversation.

More
21 Apr 2019 17:36 #131411 by csa
I have next lines in /etc/apt/source.list:
deb http://linuxcnc.org wheezy base 2.7-rtai
deb-src http://linuxcnc.org wheezy base 2.7-rtai
deb http://archive.debian.org/debian-security/ wheezy/updates contrib non-free main
deb-src http://archive.debian.org/debian-security/ wheezy/updates contrib non-free main
deb http://archive.debian.org/debian/ wheezy contrib non-free main
deb-src http://archive.debian.org/debian/ wheezy contrib non-free main

And I added one file with name: "10no-check-valid-until" in /etc/apt/apt.conf.d/ with below line inside:
Acquire::Check-Valid-Until "0";

A restart may be necessary.

This works for me, hope this help.

BR,
Ciprian

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum