Jump to content

sudo apt-get update failing | AntiX 19.3 32-bit

I am having a problem running sudo apt-get update on my 32-bit instillation of Antix 19.3. When I run the command and just "yes" my way through the prompts some things will update but some stuff will fail in ways that I'm seemingly not able to fix. I'm uncertain exactly what's going wrong and I was up until 2 AM last night searching the internet for possible causes and solutions with no luck. I'm guessing my knowledge is to limited to fully understand the error and thus I can't diagnose the issue. I am uncertin where the log's are kept so I just lazily copied and pasted my terminal window below:

$ sudo apt-get update
[sudo] password for HeroRareheart:
Get:1 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:2 http://debian.mirror.globo.tech/debian buster-updates InRelease [51.9 kB]
Hit:3 http://security.debian.org buster/updates InRelease                      
Hit:4 http://debian.mirror.globo.tech/debian buster InRelease
Ign:5 http://debian.mirror.globo.tech/debian/buster main InRelease
Err:6 http://debian.mirror.globo.tech/debian/buster main Release
  404  Not Found [IP: 74.120.223.25 80]
Get:7 https://mirror.freedif.org/MXLinux/repo/antix/buster buster InRelease [27.4 kB]
Err:7 https://mirror.freedif.org/MXLinux/repo/antix/buster buster InRelease
  The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
Reading package lists... Done
E: The repository 'http://debian.mirror.globo.tech/debian/buster main 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.
W: GPG error: https://mirror.freedif.org/MXLinux/repo/antix/buster buster InRelease: The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
E: The repository 'https://mirror.freedif.org/MXLinux/repo/antix/buster buster InRelease' is not signed.
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.

 

I can clearly see a 404 error, an invalid signature error, an error claiming a repository does not have a release file, and an error claiming something I tried to update was unsigned. I know what a 404 error is, so I assume this means some connection I need to be making is failing somehow. I have heard the term signing code before but I do not understand exactly what the is or how it works, I think it's some sort of security check to make sure code is safe but again I do not know enough about it. I was able to find this article on a similar repository does not have a Release file error and upon trying to go to the repository using my browser I got a 404 error. I then tried just http://debian.mirror.globo.tech/debian and that worked fine, it appears that the 404 error was caused by the total lack of a buster folder within the Debian folder. Upon visiting the repository giving me the invalid signature error there were no files in it, just two folders. Upon navigating deeper it looks like the url needs to be https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster/ not https://mirror.freedif.org/MXLinux/repo/antix/buster/. All this said I do not know if I am correct and I do not know where to even begin with fixing this. Any and all help appreciated.

Link to comment
Share on other sites

Link to post
Share on other sites

Update the required gpg key

sudo apt-key adv --keyserver keys.gnupg.net --recv-keys [KEY]

in your case the key would be DB36CDF3452F0C20

2 hours ago, herorareheart said:

Upon navigating deeper it looks like the url needs to be https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster/ not https://mirror.freedif.org/MXLinux/repo/antix/buster/. All this said I do not know if I am correct and I do not know where to even begin with fixing this. Any and all help appreciated.

It's possible some repositories were moved, in which case you need to update your /etc/apt/sources.list file to match the new URLs, then run apt update again.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Sauron said:

It's possible some repositories were moved, in which case you need to update your /etc/apt/sources.list file to match the new URLs

Thank you for letting me know that, my assumption is I need to use my terminal based text editor, in this case Nano, with the SUDO prefix in order to change it as it's a protected file.

 

6 minutes ago, Sauron said:

Update the required gpg key


sudo apt-key adv --keyserver keys.gnupg.net --recv-keys [KEY]

in your case the key would be DB36CDF3452F0C20

I assume you are telling me to run "sudo apt-key adv --keyserver keys.gnupg.net --recv-keys [KEY]" but replace "[KEY]" with "DB36CDF3452F0C20"

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, herorareheart said:

I assume you are telling me to run "sudo apt-key adv --keyserver keys.gnupg.net --recv-keys [KEY]" but replace "[KEY]" with "DB36CDF3452F0C20"

yep

1 minute ago, herorareheart said:

Thank you for letting me know that, my assumption is I need to use my terminal based text editor, in this case Nano, with the SUDO prefix in order to change it as it's a protected file.

You can use any text editor, graphical ones included, so long as you run it with root privileges (i.e. sudo)

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Sauron said:

You can use any text editor...so long as you run it with root privileges

Will try now as I'm using the PC I'm trying to do this on.

 

BTW 0/10 experience, do not recommend 1 core system in 2021.

Link to comment
Share on other sites

Link to post
Share on other sites

20 minutes ago, Sauron said:

Update the required gpg key


sudo apt-key adv --keyserver keys.gnupg.net --recv-keys [KEY]

in your case the key would be DB36CDF3452F0C20

2 hours ago, herorareheart said:

Terminal spat out this upon running the command:
 

$ sudo apt-key adv --keyserver keys.gnupg.net --recv-keys DB36CDF3452F0C20
[sudo] password for HeroRareheart:
Executing: /tmp/apt-key-gpghome.1Uwggxkl63/gpg.1.sh --keyserver keys.gnupg.net --recv-keys DB36CDF3452F0C20
gpg: key DB36CDF3452F0C20: "antiX (antix repo) <repo@antixlinux.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

 

Judging by the "unchanged" at the end I assume either something went wrong or perhaps this was even unnecessary?

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, herorareheart said:

Terminal spat out this upon running the command:
 

$ sudo apt-key adv --keyserver keys.gnupg.net --recv-keys DB36CDF3452F0C20
[sudo] password for HeroRareheart:
Executing: /tmp/apt-key-gpghome.1Uwggxkl63/gpg.1.sh --keyserver keys.gnupg.net --recv-keys DB36CDF3452F0C20
gpg: key DB36CDF3452F0C20: "antiX (antix repo) <repo@antixlinux.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

 

Judging by the "unchanged" at the end I assume either something went wrong or perhaps this was even unnecessary?

Tried running sudo apt-get update again and I think I got more errors this time after updating sources, output below:

 

$ sudo apt-get update
Hit:1 http://deb.debian.org/debian buster-backports InRelease
Hit:2 http://debian.mirror.globo.tech/debian buster-updates InRelease          
Hit:3 http://debian.mirror.globo.tech/debian buster InRelease                  
Ign:4 http://debian.mirror.globo.tech/debian/buster main InRelease             
Hit:5 http://security.debian.org buster/updates InRelease                      
Err:6 http://debian.mirror.globo.tech/debian/buster main Release            
  404  Not Found [IP: 74.120.223.25 80]
Ign:7 https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster main InRelease
Ign:8 https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster buster InRelease
Err:9 https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster main Release
  404  Not Found [IP: 113.161.52.138 443]
Err:10 https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster buster Release
  404  Not Found [IP: 113.161.52.138 443]
Reading package lists... Done
E: The repository 'http://debian.mirror.globo.tech/debian/buster main 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.
E: The repository 'https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster main 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.
E: The repository 'https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster buster 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.

 

Edited by herorareheart
clarfying post
Link to comment
Share on other sites

Link to post
Share on other sites

38 minutes ago, herorareheart said:

Tried running sudo apt-get update again and I think I got more errors this time after updating sources, output below:

 


$ sudo apt-get update
Hit:1 http://deb.debian.org/debian buster-backports InRelease
Hit:2 http://debian.mirror.globo.tech/debian buster-updates InRelease          
Hit:3 http://debian.mirror.globo.tech/debian buster InRelease                  
Ign:4 http://debian.mirror.globo.tech/debian/buster main InRelease             
Hit:5 http://security.debian.org buster/updates InRelease                      
Err:6 http://debian.mirror.globo.tech/debian/buster main Release            
  404  Not Found [IP: 74.120.223.25 80]
Ign:7 https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster main InRelease
Ign:8 https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster buster InRelease
Err:9 https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster main Release
  404  Not Found [IP: 113.161.52.138 443]
Err:10 https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster buster Release
  404  Not Found [IP: 113.161.52.138 443]
Reading package lists... Done
E: The repository 'http://debian.mirror.globo.tech/debian/buster main 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.
E: The repository 'https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster main 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.
E: The repository 'https://mirror.freedif.org/MXLinux/repo/antix/buster/dists/buster buster 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.

 

hmmm, it looks like your sources file is really broken... did this just happen or has this never worked? on the antix wiki it says there should be a graphical tool that lets you edit your repository sources, have you tried it? https://antixlinuxfan.miraheze.org/wiki/Repo_Management#Repo_Manager

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Sauron said:

hmmm, it looks like your sources file is really broken... did this just happen or has this never worked?

Had not known about or tried to use this distro of Linux until just a few days ago after making a post about having trouble with the specific computer I wanted to get working. I can only assume it once worked and for some reason has either failed to work or I have yet to use the correct path for the sources.

 

3 minutes ago, Sauron said:

there should be a graphical tool that lets you edit your repository sources, have you tried it?

I did open that utility but it seemed a little bit intimidating and because I was unsure exactly what the tool did I didn't want to just start clicking buttons randomly. Now that I'm a little better versed in what a repository is I think the tool can assist me in this situation. I shall check the tool after I get home in a little bit, I am currently running a few errands and not with the computer.

Link to comment
Share on other sites

Link to post
Share on other sites

51 minutes ago, Sauron said:

here should be a graphical tool that lets you edit your repository sources, have you tried it?

Trying it now and just pressing the big "select fastest repo for me" buttons and seeing if that works. After it picks one I get a message saying "your new selection will take affect next time sources are updated" and I'm unsure exactly what the means. I assume a restart will update it or a terminal command must be run.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, herorareheart said:

Trying it now and just pressing the big "select fastest repo for me" buttons and seeing if that works. After it picks one I get a message saying "your new selection will take affect next time sources are updated" and I'm unsure exactly what the means. I assume a restart will update it or a terminal command must be run.

yes, now you should run the update command you tried initially.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Sauron said:

yes, now you should run the update command you tried initially.

Nope, terminal below:

 

$ sudo apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://debian.csail.mit.edu/debian buster-updates InRelease              
Hit:3 http://debian.csail.mit.edu/debian buster InRelease                      
Ign:4 http://debian.csail.mit.edu/debian/ster main InRelease                   
Hit:5 http://deb.debian.org/debian buster-backports InRelease                  
Err:6 http://debian.csail.mit.edu/debian/ster main Release                     
  404  Not Found [IP: 128.30.3.141 80]
Ign:7 https://mirrors.evowise.com/mxlinux-packages/antix/buster main InRelease
Get:8 https://mirrors.evowise.com/mxlinux-packages/antix/buster buster InRelease [27.4 kB]
Err:9 https://mirrors.evowise.com/mxlinux-packages/antix/buster main Release
  404  Not Found [IP: 2606:4700:10::6816:5b3 443]
Err:8 https://mirrors.evowise.com/mxlinux-packages/antix/buster buster InRelease
  The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
Reading package lists... Done
E: The repository 'http://debian.csail.mit.edu/debian/ster main 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.
E: The repository 'https://mirrors.evowise.com/mxlinux-packages/antix/buster main 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.
W: GPG error: https://mirrors.evowise.com/mxlinux-packages/antix/buster buster InRelease: The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
E: The repository 'https://mirrors.evowise.com/mxlinux-packages/antix/buster buster InRelease' is not signed.
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.

 

sources are different now but still failing, and the only REPOs I can change with the GUI utility are the AntiX ones. The screen for the Debian ones is basically useless.

screenshot.jpg

Repo Manager Debian.jpg

Link to comment
Share on other sites

Link to post
Share on other sites

14 hours ago, herorareheart said:

Nope, terminal below:

 

$ sudo apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://debian.csail.mit.edu/debian buster-updates InRelease              
Hit:3 http://debian.csail.mit.edu/debian buster InRelease                      
Ign:4 http://debian.csail.mit.edu/debian/ster main InRelease                   
Hit:5 http://deb.debian.org/debian buster-backports InRelease                  
Err:6 http://debian.csail.mit.edu/debian/ster main Release                     
  404  Not Found [IP: 128.30.3.141 80]
Ign:7 https://mirrors.evowise.com/mxlinux-packages/antix/buster main InRelease
Get:8 https://mirrors.evowise.com/mxlinux-packages/antix/buster buster InRelease [27.4 kB]
Err:9 https://mirrors.evowise.com/mxlinux-packages/antix/buster main Release
  404  Not Found [IP: 2606:4700:10::6816:5b3 443]
Err:8 https://mirrors.evowise.com/mxlinux-packages/antix/buster buster InRelease
  The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
Reading package lists... Done
E: The repository 'http://debian.csail.mit.edu/debian/ster main 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.
E: The repository 'https://mirrors.evowise.com/mxlinux-packages/antix/buster main 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.
W: GPG error: https://mirrors.evowise.com/mxlinux-packages/antix/buster buster InRelease: The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
E: The repository 'https://mirrors.evowise.com/mxlinux-packages/antix/buster buster InRelease' is not signed.
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.

 

sources are different now but still failing, and the only REPOs I can change with the GUI utility are the AntiX ones. The screen for the Debian ones is basically useless.

I would suggest a fresh installation, someone probably messed with your sources file...

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Sauron said:

I would suggest a fresh installation, someone probably messed with your sources file...

Yeah I was thinking about that just in case. Maybe I'll try a slightly older version on the distro or something if that still fails. Thanks for trying to help.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×