Fixing apt error list of sources could not be read
How-To fix ‘the list of sources could not be read.’ when using apt
Hello Everyone! Today while updating my Raspberry Pi I noticed an error that was not critical but wanted to resolve immediately. I did a quick Google and came across this similar issue from 2022. It appears a change at the CDN level has caused this.
:~ $ sudo apt update
Hit:1 https://download.docker.com/linux/debian bullseye InRelease
...
Err:7 https://packages.adoptium.net/artifactory/deb bullseye InRelease
Could not resolve 'packages.adoptium.net'
...
Fetched 99.0 kB in 2s (48.1 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://packages.adoptium.net/artifactory/deb/dists/bullseye/InRelease Could not resolve 'packages.adoptium.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
I ran the following commands in the terminal. Once completed I was able to apt update & upgrade without error.
cd /etc/apt/sources.list.d
ls
sudo rm adoptium.list
By removing this list file, I will need to perform a reinstall of my OpenJDK package in the future. However for now I do not need to update my Java version.
How-To fix ‘the list of sources could not be read.’ when using apt
How-To troubleshoot a home network, by a Network Engineer.
Moving my webserver from OpenLiteSpeed to Caddy
How-To Identify and Resolve source.list errors within apt.
How To Validate XZ-Utils impact.
How and Why I use Ninite
Manually renewing Certbot on OpenLiteSpeed
Yet Another Benchmark Results
Linux Basics and Core Concepts by Matt F.
How to Buy and Manage a Web Domain
My Udemy Course Completion Certification.
Scion FRS Service Manual Download and Sources
My Discord Server Widget
How I moved from QUIC.Cloud to BunnyNet CDN.
My High Uptime Plan for 2024.
Personal notes for Magic the Gathering
HTML Hobbiest Webring Landing Page/Post
Method of Procedure for migrating from WordPress to plain HTML.
W900 Tuning Pack DLC Review
Google Domains is Ending.
Deep Dive into OpenLiteSpeed Webserver
How to resolve my Jekyll/Cloudflare Pages deployment error.
In High School I had one dream that stands out. Own a Porsche by the time I was 26. Looking back, I have no idea where this dream came from; because I was ra...
Personal ramblings about my new town.
Knowledge Filled PDF Bundle
How to Jellyfun.
ProtonMail Review - 1 Year
How to manage Pi-Hole.
My new Gaming PC. Its boring but it’ll do.
How to setup Pi-Hole and Wireguard on Linode.
How to update the hostname of a Raspberry Pi.
Can a Raspberry Pi Zero host a family VPN Server? Yes.
Logitech G413 Keyboard review.
Razer Huntsman Mini review.
YouTube video cruising through Colorado!
Ramblings about PiAware after one month of operation.
Guide to setup a Raspberry Pi from start to finish!
Guide to configuring the Timezone on a Raspberry Pi.