Page 1 of 1

SBC3 and Java install issue

Posted: Fri Dec 27, 2019 11:50 am
by dstockman12
I have been using an SBC3 for a number of years without a problem to monitor my renewable energy system. Recently I lost wifi connection with it. I did a soft reboot, physically removed and attached the wifi antenna, then a factory reset. I am attempting to reinstall the software but running into a problem. I updated system packages. I had been using phidget21, but somewhere along the update process the system suggested I should update to phidget22, which I did. I now have both phidget21 and phidget22 installed. When I attempt to install the java packages, I get errors with the install and the Java button does not change to installed. See below. I reinstalled my program and associated libs folder/files. I get the "java: not found" error. The file being listed does exist in the directory. Hopefully someone can help get my system back up. I probably don't need a system upgrade because this SBC3 has been meeting my needs for years. Thanks for any help offered.
Doug

Hit http://www.phidgets.com wheezy Release.gpg
Ign .us.debian wheezy Release.gpg
Hit http://www.phidgets.com wheezy Release
Ign security.debian wheezy/updates Release.gpg
Ign .us.debian wheezy Release
Ign security.debian wheezy/updates Release
Hit http://www.phidgets.com wheezy/main Sources
Ign debian-net wheezy-updates Release.gpg
Hit http://www.phidgets.com wheezy/main armel Packages
Ign debian-net wheezy-updates Release
Err security.debian wheezy/updates/main armel Packages
404 Not Found
Ign security.debian wheezy/updates/main Translation-en
Err .us.debian wheezy/main armel Packages
404 Not Found [IP: 208.80.154.15 80]
Err .us.debian wheezy/contrib armel Packages
404 Not Found [IP: 208.80.154.15 80]
Ign .us.debian wheezy/contrib Translation-en
Ign http://www.phidgets.com wheezy/main Translation-en
Ign .us.debian wheezy/main Translation-en
Err debian-net wheezy-updates/main armel Packages
404 Not Found
Ign debian-net wheezy-updates/main Translation-en

Installing...

Reading package lists...
Building dependency tree...
Reading state information...

Done.

/etc/webif/init.d/S5ReEnRecord16: 41: /etc/webif/init.d/S5ReEnRecord16: java: not found

Re: SBC3 and Java install issue

Posted: Sun Dec 29, 2019 4:40 pm
by dstockman12
Updating to my own question.

Java install was failing because debian 'wheezy' version obsolete so multiple files could not be found. There were moved to archive. I did a kludge which may break other aspects of the SBC3 operation, but I have my program running again. Using SSH and Putty, I updated the debian version to 'jessie'. This allowed me to then install jre 7.

In etc/apt I placed a file sources.list, which contained the following links: (oops, cannot place links on web site)


Then I ran apt-get commands to update or upgrade or both (sorry, new to linux and I closed that browser window). Then I did an apt-get install-jre-headless (or something similar).

This worked for now.

In case anyone runs into similar issues with legacy systems.

Doug

Re: SBC3 and Java install issue

Posted: Thu Jan 02, 2020 11:37 am
by Patrick
You will need to update the apt sources file, as Debian 7 has been archived.

This file can be updated using the file editor in the web interface system area.

See: viewtopic.php?f=39&t=9377#p30076

Upgrading SBC3 to Debian 8 is likely to fail in unexpected ways, as the older kernel is not 100% compatible with Debian 8.

-Patrick