Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Trying to Upgrade[Solved]

Started by Jinseta, July 15, 2023, 05:31:09 PM

Previous topic - Next topic

Jinseta

I'm assuming the repos are out of date. Is there a simple means of changing them or should I just reinstall? I did some searching, but figured it was safer to simply ask.

apt sources (are these what I need to edit?)

deb http://ftp.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
deb http://www.deb-multimedia.org stretch main non-free

Results of upgrade attempt:

apt-get update
Ign:1 http://ftp.debian.org/debian stretch InRelease
Ign:2 http://security.debian.org stretch/updates InRelease         
Get:3 http://dl.google.com/linux/webdesigner/deb stable InRelease [1,810 B]
Err:3 http://dl.google.com/linux/webdesigner/deb stable InRelease       
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
Ign:4 http://www.deb-multimedia.org stretch InRelease                   
Err:5 http://ftp.debian.org/debian stretch Release                 
  404  Not Found [IP: 146.75.78.132 80]
Ign:6 https://sparkylinux.org/repo stable InRelease
Err:7 http://security.debian.org stretch/updates Release
  404  Not Found [IP: 146.75.78.132 80]
Err:8 http://www.deb-multimedia.org stretch Release
  404  Not Found [IP: 91.121.146.196 80]
Ign:9 https://sparkylinux.org/repo testing InRelease
Err:10 https://sparkylinux.org/repo stable Release
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Err:11 https://sparkylinux.org/repo testing Release
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/webdesigner/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
E: The repository 'http://ftp.debian.org/debian stretch Release' does no longer have 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.
E: The repository 'http://security.debian.org stretch/updates Release' does no longer have 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.
E: The repository 'http://www.deb-multimedia.org stretch Release' does no longer have 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.
E: The repository 'https://sparkylinux.org/repo stable Release' does no longer have 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.
E: The repository 'https://sparkylinux.org/repo testing Release' does no longer have 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.

ext4

Debian "stretch" is EOL, repos have been archived.

Note also the free ELTS from: FREEXIAN ELTS

Please modify:
deb http://archive.debian.org/debian-security stretch/updates main contrib non-free
deb http://archive.debian.org/debian/ stretch main contrib non-free
Es kann nur e1nen geben!

Jinseta

#2
Edit: Thought I just needed the archive key. I've got more to do for ELTS. Please disregard for the moment.

Edit 2: I've followed all of the steps provided for adding ELTS and have edited the sources lists with no dice. apt still doesn't like the servers. I didn't try using the mirrors as I'm just upgrading one system. Even tried with --allow-unauthenticaed. As I have nothing set up, it'd be less of a hassle to simply DL the latest Sparky from the download page and everything will be clean. As I'll be busy with that, I'll marked this post solved.

At any rate, thanks for the help.

ext4

You must deactivate the old entries!!!
#deb http://ftp.debian.org/debian/ stretch main contrib non-free
#deb-src http://ftp.debian.org/debian/ stretch main contrib non-free
#deb http://security.debian.org/ stretch/updates main contrib non-free
#deb-src http://security.debian.org/ stretch/updates main contrib non-free

In "synaptic": By removing the checkmarks
or
in "sources.list" (/etc/apt/sources.list) by prepending "#" (without quotes).

ELTS:
1.
wget --no-check-certificate https://deb.freexian.com/extended-lts/pool/main/f/freexian-archive-keyring/freexian-archive-keyring_2022.06.08_all.deb && sudo dpkg -i freexian-archive-keyring_2022.06.08_all.deb
2.
add to "synaptic" or "sources.list":
deb http://deb.freexian.com/extended-lts stretch-lts main contrib non-free
or
deb http://deb.freexian.com/extended-lts stretch main contrib non-free

(Look here: https://www.freexian.com/lts/extended/docs/how-to-build-a-mirror/)
Repositories
Freexian provides 2 relevant repositories for ELTS users: jessie & jessie-lts...
Es kann nur e1nen geben!

Jinseta

#4
I edited the sources list in nano. This is the current list.

deb http://archive.debian.org/debian-security stretch/updates main contrib non-free
deb http://archive.debian.org/debian stretch main contrib non-free
deb http://deb.freexian.com/extended-lts stretch main contrib non-free

## deb http://httpredir.debian.org/debian/ jessie main contrib non-free ##
## Other repos can be found in /etc/apt/sources.list.d directory ##

I've been able to run software updates, but a system upgrade is still yielding the same results. I'm guessing there's a list somewhere I don't know about. I'll have a look for a bit, but first, bed. The effort is appreciated. I'll be back tomorrow. Also, I found my current version: linux-image-4.9.0-15-amd64

apt-get update
Get:1 http://dl.google.com/linux/webdesigner/deb stable InRelease [1,810 B]
Hit:2 http://archive.debian.org/debian-security stretch/updates InRelease     
Err:1 http://dl.google.com/linux/webdesigner/deb stable InRelease       
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
Hit:3 http://deb.freexian.com/extended-lts stretch InRelease             
Ign:4 http://archive.debian.org/debian stretch InRelease                 
Ign:5 https://sparkylinux.org/repo stable InRelease
Hit:6 http://archive.debian.org/debian stretch Release
Ign:8 https://sparkylinux.org/repo testing InRelease
Err:9 https://sparkylinux.org/repo stable Release
  404  Not Found
Err:10 https://sparkylinux.org/repo testing Release
  404  Not Found
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/webdesigner/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
E: The repository 'https://sparkylinux.org/repo stable Release' does no longer have 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.
E: The repository 'https://sparkylinux.org/repo testing Release' does no longer have 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.

ext4

deb http://archive.debian.org/debian-security stretch/updates main contrib non-free
deb http://archive.debian.org/debian stretch main contrib non-free
deb http://deb.freexian.com/extended-lts stretch main contrib non-free --> This repo already contains all packages from the previously mentioned repos, but additionally selected packages for long-term support.

Have a look at the table (--> Repositories...): https://www.freexian.com/lts/extended/docs/how-to-build-a-mirror/

So you can also comment out the first two repos with "#".

The repos of SparkyLinux don't exist anymore, because "Tyche" has reached the end (EOL). These are also to be commented out by "#". There must be another list/folder in the /etc/apt/ folder where these repos are listed.

Repo Webdesigner:
http://dl.google.com/linux/webdesigner/deb --> Here an actual gpg key is missing. Just ask aunt Google, e.g.
https://itsfoss.com/solve-gpg-error-signatures-verified-ubuntu/


Or comment out with "#" if you don't need the packages.
Es kann nur e1nen geben!

Jinseta

#6
Got sudo figured out for the most part. Built the mirror. Still couldn't upgrade. apt shows v4 and says I'm up to date. I got the sparky iso. I'll upgrade off of it, then I'll wipe all of apt's sources and add the freexian mirror that way. I wouldn't have known about the freexian mirror beforehand, and I learned a bit about apt.

Unless there's anything else, thanks again for your support despite my marking the post solved.

View the most recent posts on the forum