Linux updates using apt-get update && apt-get upgrade

Hi, has anyone run the apt-get update && apt-get upgrade commands yet using ssh ? I see there are some updates of included packages but hey it works :wink:

2 Likes

Yup I had 100 package updates and it still runs :stuck_out_tongue:

How do i SSH into gs

1 - Make sure you are connected to the same network as your GS.
2 - Open the TinyCloud application on your GS you should see an IP address.
3a - On linux open a terminal and type: ssh cpi@ipaddress, when it asks for a password type: cpi
3b - On windows install putty open it and select SSH, enter the IP address displayed in TinyCloud. For the port fill in 22 and click ‘open’. When it asks for a user and password both are cpi

2 Likes

I would not recommend to run any of the apt upgrade command, you may end to install libs and tools which are incompatible with what Clockwork want us to use (for emulator etc…)

My moto is “If it ain’t broke, don’t fix it” so I would really not recommend to do that unless you really have a problem and need to install something.

To the people that updated these packages: how’s performance now?

No changes, all runs smoothly :wink:

2 Likes

Yeah same for me, all is smooth.

1 Like

This was the first thing I did, no problems here runs just like any other Linux setup I’ve had which is awesome.

1 Like

There shouldn’t be any issues, it’s just that the kernel won’t update.
It will install but it’s never gonna boot into the “updated” kernel

1 Like

Anyone else getting a missing PUBKEY when running updates?

cpi@clockworkpi:~$ sudo apt-get update && sudo apt-get dist-upgrade -y; sudo apt-get autoclean; sudo apt-get clean; sudo apt-get autoremove -y
Get:1 http://cdn-fastly.deb.debian.org/debian stable InRelease [116 kB]
Ign:2 http://security.debian.org/debian-security stable/updates InRelease
Err:3 http://security.debian.org/debian-security stable/updates Release
  404  Not Found [IP: 151.101.42.132 80]
Get:4 http://cdn-fastly.deb.debian.org/debian stable-updates InRelease [44.1 kB]
Err:1 http://cdn-fastly.deb.debian.org/debian stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 605C66F00D6C9793
Err:4 http://cdn-fastly.deb.debian.org/debian stable-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security stable/updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cdn-fastly.deb.debian.org/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 605C66F00D6C9793
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cdn-fastly.deb.debian.org/debian stable-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Reading package lists... Done

I run it all the time but go to the SSH forum and run the scripts to activate SSH on your unit.

sudo rm -f /etc/ssh/sshd_not_to_be_run
sudo systemctl enable ssh
sudo systemctl start ssh

sudo armbian-config

https://forum.clockworkpi.com/t/enabling-ssh-on-a06-armbian-system/7213

You’ll want to run apt-get update --allow-insecure-repositories to get past the public key errors.

4 Likes

I’ve seen that some - great!

Or just update the keys. Has to be done from time to time.

isn’t debian 9 outdated anyway? I was wondering if the repos are still up I can’t install half of the libs i use to develop stuff on it I’m getting 404 errors. Should I try installing the community 0.6 OS build?