I have what I thought was a pretty bland installation of LinuxCNC, seeing as I'm still building my machine and cutting my teeth. I used the bundled LinuxCNC approach about a year ago. It installed Wheezy and LinuxCNC. Great.
However, now I'm getting a ton of update errors. It seems like Wheezy support ended over a year ago and I suspect that is the problem. The real issue is that my Sublime started giving problems. I ended up deinstalling and, boy, was that a mistake! Now I can't install it. I keep getting this error:
Code:
alan@hurco-cnc:~$ sudo apt-get install sublime-text
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
sublime-text
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,993 kB of archives.
After this operation, 35.8 MB of additional disk space will be used.
Get:1 https://download.sublimetext.com/ apt/stable/ sublime-text 3207 [9,993 kB]
Fetched 9,993 kB in 5s (1,860 kB/s)
E: /var/cache/apt/archives/sublime-text_3207_i386.deb not a valid DEB package.
E: Prior errors apply to /var/cache/apt/archives/sublime-text_3207_i386.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg-deb: error: archive '/var/cache/apt/archives/sublime-text_3207_i386.deb' contains not understood data member control.tar.xz, giving up
dpkg: error processing /var/cache/apt/archives/sublime-text_3207_i386.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/sublime-text_3207_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
alan@hurco-cnc:~$
I have searched on the internet for a solution and basically all the hits have me do an apt-get clean, update, autoremove, etc. But none of these seem to work. during the upgrade process, half the OS endpoints come up with errors, etc. Again, I assume this is because Wheezy is ancient (probably named that because it is what grandpa sounds like?).
It is all very frustrating... Am I doing something wrong? How to extricate myself from this mess?
Regards,
Alan