LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Updating Error [The repository 'https://packages.elementary.io/appcenter bionic Release' does not have a Release file." (https://www.linuxquestions.org/questions/linux-software-2/updating-error-%5Bthe-repository-https-packages-elementary-io-appcenter-bionic-release-does-not-have-a-release-file-4175688786/)

crujones4 01-18-2021 01:16 AM

Updating Error [The repository 'https://packages.elementary.io/appcenter bionic Release' does not have a Release file."
 
E: The repository 'https://packages.elementary.io/appcenter bionic Release' does not 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.

^ Is a message I get on with the update manager and/or terminal command update/upgrade. Can anyone tell me what this is, if it's specific to any programs, important, and/or what to do about it?

-Much appreciation
and with kindest regards

HappyTux 01-18-2021 12:31 PM

Quote:

Originally Posted by crujones4 (Post 6209016)
E: The repository 'https://packages.elementary.io/appcenter bionic Release' does not 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.

^ Is a message I get on with the update manager and/or terminal command update/upgrade. Can anyone tell me what this is, if it's specific to any programs, important, and/or what to do about it?

-Much appreciation
and with kindest regards

Nothing you can do except contact the incompetent manager of the mirror and get him/her to correct the poor configuration with the correct files.

shruggy 01-18-2021 12:56 PM

But that repository does have Release, Release.gpg, and InRelease. What it doesn't is support secure connections (HTTPS). Edit your /etc/apt/sources.list or whatever file this repo is specified in and change https to http.

Moreover, the repo only has the main section, so if that line in sources.list includes other sections (restricted, universe, whatever) then remove them.

HappyTux 01-18-2021 03:07 PM

Quote:

Originally Posted by shruggy (Post 6209228)
But that repository does have Release, Release.gpg, and InRelease. What it doesn't is support secure connections (HTTPS). Edit your /etc/apt/sources.list or whatever file this repo is specified in and change https to http.

Moreover, the repo only has the main section, so if that line in sources.list includes other sections (restricted, universe, whatever) then remove them.

Ah my apologies to the mirror maintainer and the the problem is solved, PEBKAC, an oldie but a goodie that continues to rear it ugly head time after time.

crujones4 01-18-2021 08:33 PM

Quote:

Originally Posted by shruggy (Post 6209228)
But that repository does have Release, Release.gpg, and InRelease. What it doesn't is support secure connections (HTTPS). Edit your /etc/apt/sources.list or whatever file this repo is specified in and change https to http.

Moreover, the repo only has the main section, so if that line in sources.list includes other sections (restricted, universe, whatever) then remove them.


This doubtlessly seemed the most useful, though I appreciate seeing anything about Linux. :ap
As an intermediate newb the same way though, I'm at a loss of what any of it means.
Genuinely appreciate any and all help, the same way that maybe someone will see this and have their issue resolved the same way.

-Kindest Regards;
All Hail LT \vWMv/

HappyTux 01-18-2021 09:18 PM

Quote:

Originally Posted by crujones4 (Post 6209378)
This doubtlessly seemed the most useful, though I appreciate seeing anything about Linux. :ap
As an intermediate newb the same way though, I'm at a loss of what any of it means.
Genuinely appreciate any and all help, the same way that maybe someone will see this and have their issue resolved the same way.

-Kindest Regards;
All Hail LT \vWMv/


He checked the mirror unlike me assuming incompetent manager.

This is what a /etc/apt/sources.list looks like it is where your error is.

Code:

#deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

# added to try for faster updates. https://www.raspbian.org/RaspbianMirrors
#deb http://mirror.de.leaseweb.net/raspbian/raspbian buster main contrib non-free rpi
deb https://mirror.herrbischoff.com/raspbian/raspbian/ buster main contrib non-free rpi

# Added for unrar https://raspberrypi.stackexchange.com/questions/3617/how-to-install-unrar-nonfree
#deb http://deb.debian.org/debian buster main contrib non-free
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

This is from my rasberrypi. The lines that start with a # mean nothing they are commented out by that character and are not read for anything at all. The only line in there that is used is the deb https:// it is this part he told you there was mistake the s should not be there in your file it does not support the secure transfer protocol of http. This does not matter a whole lot as all packages are signed and verified with a gpg encryption key before the upload to mirror, once on the mirror or when downloaded on machine installed to, a very secure method of doing it. He also tells you that the mirror only has a main directory for its repository my line below.

Code:

deb https://mirror.herrbischoff.com/raspbian/raspbian/ buster main contrib non-free rpi
This tells apt to use the deb source of https://mirror.herrbischoff.com/raspbian/raspbian/ the buster repository on that mirror with the enabled main contrib non-free rpi sources in that buster repository. My line edited to changes that would be required to be made according to the poster for your mirror.

Code:

deb http://mirror.herrbischoff.com/raspbian/raspbian/ buster main
You would use the command nano /etc/apt/sources.list to open the file for editing logged in as root or using sudo if setup for that method. Once done with the editing then a control plus x to exit program answer y for yes to saving the changes then apt update
if you get stuck post the file contents here and I or someone else will give it an edit.

Edit: and now I read it again the last part with the commands to use you need to have a Terminal open to use them in, I thought I had left something out and was correct in that when checking it again..

JSB 01-30-2021 10:36 AM

Quote:

Originally Posted by crujones4 (Post 6209378)
As an intermediate newb the same way though, I'm at a loss of what any of it means.

But it is very simple:
Quote:

Originally Posted by shruggy (Post 6209228)
Edit your /etc/apt/sources.list or whatever file this repo is specified in and change https to http.

Moreover, the repo only has the main section, so if that line in sources.list includes other sections (restricted, universe, whatever) then remove them.

Why you have difficulty editing file with root?


All times are GMT -5. The time now is 01:46 PM.