How to cleanup access to Raspberry's repository?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: <2025
Location: Hengelo(Ov)/NL
Contact:

How to cleanup access to Raspberry's repository?

Post by Toulon7559 »

This message links to an observation in another thread that certain required packages cannot be installed.

At the subject Raspberry the standard installation procedures do not find the desired packages.
Turning back to the initial installation action of the procedures, digging deeper and looking at the reporting following CLI

Code: Select all

sudo apt update && sudo apt upgrade
then it seems that for the subject Raspberry-instance the access to Raspberry's repository is 'confused' for unknown reasons.
See the spoiler below
Spoiler: show
Geraakt:1 http://archive.raspberrypi.org/debian bullseye InRelease
Genegeerd:2 https://packages.sury.org/php bullseye InRelease
Fout:3 https://packages.sury.org/php bullseye Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 84.17.46.53 443]
Geraakt:4 http://weewx.com/apt/python2 squeeze InRelease
Genegeerd:5 http://weewx.com/apt/python3 bullseye InRelease
Fout:6 http://weewx.com/apt/python3 bullseye Release
404 Not Found [IP: 34.218.218.142 80]
Pakketlijsten worden ingelezen... Klaar
E: De pakketbron 'https://packages.sury.org/php bullseye Release' heeft geen Release-bestand.
N: Bijwerken van de pakketlijst uit een dergelijke pakketbron kan niet veilig gebeuren en is daarom standaard uitgezet.
N: Zie de man-pagina apt-secure(8) voor details over het aanmaken van een pakketbron en over de configuratie langs gebruikerskant.
E: De pakketbron 'http://weewx.com/apt/python3 bullseye Release' heeft geen Release-bestand.
N: Bijwerken van de pakketlijst uit een dergelijke pakketbron kan niet veilig gebeuren en is daarom standaard uitgezet.
N: Zie de man-pagina apt-secure(8) voor details over het aanmaken van een pakketbron en over de configuratie langs gebruikerskant.
W: Doel Packages (main/binary-armhf/Packages) is meerdere keren geconfigureerd in /etc/apt/sources.list.d/php.list:1 en /etc/apt/sources.list.d/sury-php.list:1
W: Doel Packages (main/binary-all/Packages) is meerdere keren geconfigureerd in /etc/apt/sources.list.d/php.list:1 en /etc/apt/sources.list.d/sury-php.list:1
W: Doel Translations (main/i18n/Translation-nl_NL) is meerdere keren geconfigureerd in /etc/apt/sources.list.d/php.list:1 en /etc/apt/sources.list.d/sury-php.list:1
W: Doel Translations (main/i18n/Translation-nl) is meerdere keren geconfigureerd in /etc/apt/sources.list.d/php.list:1 en /etc/apt/sources.list.d/sury-php.list:1
W: Doel Translations (main/i18n/Translation-nl_NL.UTF-8) is meerdere keren geconfigureerd in /etc/apt/sources.list.d/php.list:1 en /etc/apt/sources.list.d/sury-php.list:1
W: Doel Translations (main/i18n/Translation-en) is meerdere keren geconfigureerd in /etc/apt/sources.list.d/php.list:1 en /etc/apt/sources.list.d/sury-php.list:1
The aspect-for-investigation then shifts to an 'off-topic'-question (but still critical for maintenance and installation of software):
how to correct the link to the repository or repositories?
It looks like some corrective action required towards files attached to

Code: Select all

/etc/apt/sources.list.d/
Any hints?
Last edited by Toulon7559 on Tuesday 19 December 2023 15:01, edited 3 times in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
User avatar
waltervl
Posts: 6689
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: How to cleanup access to Raspberry's repository?

Post by waltervl »

This is indeed completely off topic, this should be in a raspberry OS forum ;-)
But it seems you have added manually (based om some internet instruction) the weewx.com and sury.org entries.
See for example: https://weewx.com/docs/debian.htm
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: <2025
Location: Hengelo(Ov)/NL
Contact:

Re: How to cleanup access to Raspberry's repository?

Post by Toulon7559 »

Walter,

The first addition for weewx is obvious (because as instructed during weewx-installation, and not earlier 'harming'),
but the second one (for me) is a question mark, even more related to the reporting in the spoiler of my previous message.
Rummaging in various Raspberry& Linux forums and Github see a reference to this component as element of sources.list,
but do not (yet) see an explanation why it's presence, absence or layout might hinder the access to Raspberry's repository.

Meanwhile weewx (version 4.4.0) no longer active on the subject Raspberry, and therefore weewx-software and the related line in sources.list could be deleted, but doubt that it will make much difference.
IMHO, cause of problem must be 'somewhere else'.
Suspicion (when looking at the error report) that handling of certificate-key needs a repair.
;) Digging continues .......
Last edited by Toulon7559 on Sunday 21 April 2024 19:34, edited 3 times in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
HvdW
Posts: 663
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: How to cleanup access to Raspberry's repository?

Post by HvdW »

Here's my untouched repository

Code: Select all

deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
Edit with: sudo nano /etc/apt/sources.list
Bugs bug me.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest