Tried Upgrading from Jessie to Switch and probably broke something. Help?

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Fffrank
Posts: 12
Joined: Tue May 01, 2018 5:46 am

Tried Upgrading from Jessie to Switch and probably broke something. Help?

Post by Fffrank »

I tried to do an in-place upgrade from Jessie to Switch. I know that's not recommended but Sonarr and Radarr seem to both be broken on Jessie on the Odroid c2. I understand the only issue with switch is that it doesn't have GPU drivers, yet -- but I don't need them on this box.

I ran apt-get update and apt-get upgrade as well as apt-get dist-upgrade and things seemed like they went well.

I updated my sources.list files to point to stretch instead of jessie repos but now I'm getting this on apt-get update:

Code: Select all

Err:16 https://download.docker.com/linux/debian switch/edge arm64 Packages
  gnutls_handshake() failed: Public key signature verification has failed.
Ign:17 https://download.docker.com/linux/debian switch/edge Translation-en
Ign:18 https://download.docker.com/linux/debian switch/edge Translation-en_US
Fetched 104 kB in 17s (5,801 B/s)
Reading package lists... Done
W: GPG error: http://apt.armbian.com stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5
W: The repository 'http://apt.armbian.com stretch InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'https://download.docker.com/linux/debian switch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://download.docker.com/linux/debian/dists/switch/edge/binary-arm64/Packages  gnutls_handshake() failed: Public key signature verification has failed.
E: Some index files failed to download. They have been ignored, or old ones used instead.
Any ideas?
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Tried Upgrading from Jessie to Switch and probably broke something. Help?

Post by MichaIng »

@Fffrank
Which device do you use?

About the armbian repo key: Maybe you need to re-add it to ATP?
wget http://apt.armbian.com/armbian.key
apt-key add armbian.key

Docker repo:
Is there a typo in your distro name? You seem to have non-existent "switch" there instead of "stretch"?
Try to re-add the key there as well:
wget https://download.docker.com/linux/debian/gpg
apt-key add gpg
Fffrank
Posts: 12
Joined: Tue May 01, 2018 5:46 am

Re: Tried Upgrading from Jessie to Switch and probably broke something. Help?

Post by Fffrank »

Well somehow my brain thought the upgrade was called Switch and not Stretch! So dumb!!

I updated those sources and some things are working better. I also removed and reinstalled libcurl and it seems to have fixed my key issues.

Thanks for your help!
Fffrank
Posts: 12
Joined: Tue May 01, 2018 5:46 am

Re: Tried Upgrading from Jessie to Switch and probably broke something. Help?

Post by Fffrank »

I'm not receiving any more errors but I do have problem with a CPU governor (or ?????). The system runs fine for 12-15 hours and then bogs down and even though it's still active (I can initialize an SSH session but can't actually login) it is too slow to respond to any kind of HTTP request. It returns pings slowly. And then (at random) it comes back and acts like nothing was wrong. I've tried to view it in htop but haven't noticed any process going rogue that would cause this. Anyone know where/how I can start to troubleshoot?
Post Reply