Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED]Not getting any updates from Synapic Package Manager

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
mythsic
Posts: 13
Joined: 2020-01-19 13:26

[SOLVED]Not getting any updates from Synapic Package Manager

#1 Post by mythsic »

Hello. I've upgraded to Debian 10 some time ago and I've realised I'm not getting any software updates (at all) from Synaptic Package Manager.
AT first I thought this was a repository problem so I modified sources.list file following this as an example.

https://wiki.debian.org/SourcesList#Exa ... urces.list

Code: Select all

deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main

deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
So my sources.list file looks like this

Code: Select all

# buster-updates, previously known as 'volatile'

# Debian Jessie
deb https://httpredir.debian.org/debian/ buster main contrib non-free

deb https://deb.debian.org/debian buster main contrib non-free
deb-src https://deb.debian.org/debian buster main contrib non-free

deb https://deb.debian.org/debian-security/ buster/updates main contrib non-free

deb-src https://deb.debian.org/debian-security/ buster/updates main contrib non-free


deb https://deb.debian.org/debian buster-updates main contrib non-free
deb-src https://deb.debian.org/debian buster-updates main contrib non-free

# deb-src https://dl.winehq.org/wine-builds/debian/ buster main
However, not only am I not getting any updates at all, but also I get this duplicate error:

Code: Select all

https://deb.debian.org/debian/dists/buster/InRelease: No system certificates available. Try installing ca-certificates.https://httpredir.debian.org/debian/dists/buster/InRelease: No system certificates available. Try installing ca-certificates.https://httpredir.debian.org/debian/dists/buster/Release: No system certificates available. Try installing ca-certificates.https://deb.debian.org/debian-security/dists/buster/updates/InRelease: No system certificates available. Try installing ca-certificates.The repository 'https://httpredir.debian.org/debian buster Release' no longer has a Release file.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.https://deb.debian.org/debian/dists/buster-updates/InRelease: No system certificates available. Try installing ca-certificates.https://deb.debian.org/debian/dists/buster/Release: No system certificates available. Try installing ca-certificates.The repository 'https://deb.debian.org/debian buster Release' no longer has a Release file.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.https://deb.debian.org/debian-security/dists/buster/updates/Release: No system certificates available. Try installing ca-certificates.The repository 'https://deb.debian.org/debian-security buster/updates Release' no longer has a Release file.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.https://deb.debian.org/debian/dists/buster-updates/Release: No system certificates available. Try installing ca-certificates.The repository 'https://deb.debian.org/debian buster-updates Release' no longer has a Release file.

Please help me out! It's driving me crazy and I'm not an expert! Thank you
Last edited by mythsic on 2020-03-29 20:50, edited 1 time in total.

No_windows
Posts: 505
Joined: 2015-08-05 03:03

Re: Not getting any updates from Synapic Package Manager

#2 Post by No_windows »

I think it may be because you're trying to use https, instead of http. On my Jessie system Synaptic wasn't even capable of using an https repo until I added a package. I was trying to add a repo that used it, for a package that was specifically recommended to me here, that's not in the Debian repositories.

You don't need the commented Jessie line in your sources list for any reason.... Jessie was Debian 8!
Last edited by No_windows on 2020-03-29 15:40, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Not getting any updates from Synapic Package Manager

#3 Post by Head_on_a_Stick »

mythsic wrote:I'm not an expert
No but you can still read, right?
mythsic wrote:

Code: Select all

No system certificates available. Try installing ca-certificates.
So perhaps try installing ca-certificates?
deadbang

mythsic
Posts: 13
Joined: 2020-01-19 13:26

Re: Not getting any updates from Synapic Package Manager

#4 Post by mythsic »

Alright, I tried this
https://askubuntu.com/questions/420860/ ... rtificates

But this is what I get

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  ca-certificates
The following NEW packages will be installed:
  ca-certificates
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 157 kB of archives.
After this operation, 393 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 https://httpredir.debian.org/debian buster/main amd64 ca-certificates all 20190110
Ign:1 https://httpredir.debian.org/debian buster/main amd64 ca-certificates all 20190110
Ign:1 https://deb.debian.org/debian buster/main amd64 ca-certificates all 20190110
Err:1 https://deb.debian.org/debian buster/main amd64 ca-certificates all 20190110
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 2a04:4e42:33::645 443]
W: https://httpredir.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://httpredir.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
E: Failed to fetch https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 2a04:4e42:33::645 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I tried running "apt-get update" like it says here but to no avail. --fix-missing isn't a recognized command.

mythsic
Posts: 13
Joined: 2020-01-19 13:26

Re: Not getting any updates from Synapic Package Manager

#5 Post by mythsic »

No_windows wrote:I think it may be because you're trying to use https, instead of http. On my Jessie system Synaptic wasn't even capable of using an https repo until I added a package. I was trying to add a repo that used it, for a package that was specifically recommended to me here, that's not in the Debian repositories.

You don't need the commented Jessie line in your sources list for any reason.... Jessie was Debian 8!
Hey! Yeah sorry, anyways I tried what you said but it's still the same

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Not getting any updates from Synapic Package Manager

#6 Post by Head_on_a_Stick »

mythsic wrote:

Code: Select all

Err:1 https://deb.debian.org/debian buster/main amd64 ca-certificates all 20190110
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 2a04:4e42:33::645 443]
Yes indeed, that was a somewhat predictable result :mrgreen:

Download the .deb package from here and run this command as root from whichever directory contains the .deb file:

Code: Select all

# apt install ./ca-certificates_20190110_all.deb
mythsic wrote:--fix-missing isn't a recognized command.
That's not a command, it an option for the apt (or apt-get) command.
deadbang

mythsic
Posts: 13
Joined: 2020-01-19 13:26

Re: Not getting any updates from Synapic Package Manager

#7 Post by mythsic »

Upon running "sudo apt install ./ca-certificates_20190110_all.deb" I get

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ca-certificates-java : Depends: ca-certificates (>= 20121114) but it is not installed
 liblwp-protocol-https-perl : Depends: ca-certificates but it is not installed
 libwww-perl : Depends: ca-certificates but it is not installed
 python3-certifi : Depends: ca-certificates but it is not installed
 python3-httplib2 : Depends: ca-certificates but it is not installed
 python3-requests : Depends: ca-certificates but it is not installed
 software-properties-common : Depends: ca-certificates but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
When I look up any of the aforementioned packages on Synaptic they are installed, the only exception being "ca-certificates". When I try to install it I get:

Code: Select all

W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/sources.list:2
W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/sources.list:2
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/sources.list:2
W: https://httpredir.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://httpredir.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: Failed to fetch https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 2a04:4e42:33::645 443]
If I go back to terminal and run apt --fix-broken install I get:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  ca-certificates
The following NEW packages will be installed:
  ca-certificates
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 157 kB of archives.
After this operation, 393 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 https://httpredir.debian.org/debian buster/main amd64 ca-certificates all 20190110
Ign:1 https://httpredir.debian.org/debian buster/main amd64 ca-certificates all 20190110
Ign:1 https://deb.debian.org/debian buster/main amd64 ca-certificates all 20190110
Err:1 https://deb.debian.org/debian buster/main amd64 ca-certificates all 20190110
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 2a04:4e42:33::645 443]
W: https://httpredir.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://httpredir.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
W: https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb: No system certificates available. Try installing ca-certificates.
E: Failed to fetch https://deb.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20190110_all.deb  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification. [IP: 2a04:4e42:33::645 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

No_windows
Posts: 505
Joined: 2015-08-05 03:03

Re: Not getting any updates from Synapic Package Manager

#8 Post by No_windows »

Head_on_a_Stick wrote: Download the .deb package from here and run this command as root from whichever directory contains the .deb file:

Code: Select all

# apt install ./ca-certificates_20190110_all.deb
Any idea why he's missing it?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Not getting any updates from Synapic Package Manager

#9 Post by Head_on_a_Stick »

mythsic wrote:

Code: Select all

The following packages have unmet dependencies
Hmm, perhaps apt(8) is trying to be too clever. Try

Code: Select all

# dpkg -i ca-certificates_20190110_all.deb
If that doesn't work then lets see what's hiding in /etc/apt/sources.list.d/sources.list:

Code: Select all

apt policy
No_windows wrote:Any idea why he's missing it?
I suspect PEBKAC :mrgreen:

And how do you know the OP identifies as male?
deadbang

mythsic
Posts: 13
Joined: 2020-01-19 13:26

Re: Not getting any updates from Synapic Package Manager

#10 Post by mythsic »

I got

Code: Select all

Selecting previously unselected package ca-certificates.
(Reading database ... 150697 files and directories currently installed.)
Preparing to unpack ca-certificates_20190110_all.deb ...
Unpacking ca-certificates (20190110) ...
Setting up ca-certificates (20190110) ...
Updating certificates in /etc/ssl/certs...
128 added, 0 removed; done.
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for ca-certificates (20190110) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.
However when I run Synaptic update I still get:

Code: Select all

The repository 'https://httpredir.debian.org/debian buster Release' no longer has a Release file.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/sources.list:2Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/sources.list:2Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/sources.list:2

And yes I am a male :lol:

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Not getting any updates from Synapic Package Manager

#11 Post by Head_on_a_Stick »

mythsic wrote:

Code: Select all

The repository 'https://httpredir.debian.org/debian buster Release' no longer has a Release file.
The httpredir service has been replaced with deb.debian.org so let's get rid of that line and the superfluous sources.list file:

Code: Select all

# sed -i '/httpredir/d' /etc/apt/sources.list
# rm /etc/apt/sources.list.d/sources.list
deadbang

mythsic
Posts: 13
Joined: 2020-01-19 13:26

Re: Not getting any updates from Synapic Package Manager

#12 Post by mythsic »

Ok, Now Im not getting any Errors at all, but updates still don't show up :?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Not getting any updates from Synapic Package Manager

#13 Post by Head_on_a_Stick »

What does this say

Code: Select all

# apt update
apt list --upgradable
deadbang

mythsic
Posts: 13
Joined: 2020-01-19 13:26

Re: Not getting any updates from Synapic Package Manager

#14 Post by mythsic »

apt update:

Code: Select all

Hit:1 https://deb.debian.org/debian buster InRelease
Hit:2 https://deb.debian.org/debian-security buster/updates InRelease
Hit:3 https://deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
and apt list --upgradable

Code: Select all

apt list --upgradable

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Not getting any updates from Synapic Package Manager

#15 Post by Head_on_a_Stick »

mythsic wrote:

Code: Select all

All packages are up to date.
Looks good to me. Debian stable doesn't get updates very often (hence the name).
deadbang

No_windows
Posts: 505
Joined: 2015-08-05 03:03

Re: Not getting any updates from Synapic Package Manager

#16 Post by No_windows »

Head_on_a_Stick wrote: I suspect PEBKAC :mrgreen:
:)
And how do you know the OP identifies as male?
The OP wasn't the one doing the identifying. :lol:

mythsic
Posts: 13
Joined: 2020-01-19 13:26

Re: Not getting any updates from Synapic Package Manager

#17 Post by mythsic »

Ohhh alright. Thank you! :D :)

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Not getting any updates from Synapic Package Manager

#18 Post by Head_on_a_Stick »

You're welcome.

Please edit the title of the thread (in your first post) and prepend [SOLVED] to help others who may have this problem.
deadbang


Post Reply