Linux failed to fetch http

Содержание
  1. Ошибка «не удалось получить» возникает при запуске обновления apt-get. Как я могу это исправить?
  2. apt-get Failed to fetch 403 forbidden
  3. 1 Answer 1
  4. Not the answer you’re looking for? Browse other questions tagged ubuntu or ask your own question.
  5. Related
  6. Hot Network Questions
  7. Subscribe to RSS
  8. «apt-get update» always failed to fetch
  9. 5 Answers 5
  10. Ubuntu apt-get unable to fetch packages [closed]
  11. 15 Answers 15
  12. Linux Mint Forums
  13. [SOLVED] apt-get update failed to fetch http://live.linuxmint.com
  14. [SOLVED] apt-get update failed to fetch http://live.linuxmint.com
  15. Re: apt-get update failed to fetchhttp://live.linuxmint.com
  16. Re: apt-get update failed to fetchhttp://live.linuxmint.com
  17. Re: apt-get update failed to fetchhttp://live.linuxmint.com
  18. Re: apt-get update failed to fetch http://live.linuxmint.com
  19. Re: apt-get update failed to fetch http://live.linuxmint.com
  20. Re: apt-get update failed to fetch http://live.linuxmint.com
  21. Re: apt-get update failed to fetchhttp://live.linuxmint.com
  22. Re: apt-get update failed to fetch http://live.linuxmint.com
  23. Re: apt-get update failed to fetch http://live.linuxmint.com
  24. Re: apt-get update failed to fetch http://live.linuxmint.com
  25. Re: apt-get update failed to fetch http://live.linuxmint.com
  26. sudo apt-get update error
  27. Re: apt-get update failed to fetch http://live.linuxmint.com
  28. Could not download all repository indexes
  29. Re: Could not download all repository indexes
  30. Re: Could not download all repository indexes
  31. Re: Could not download all repository indexes

Ошибка «не удалось получить» возникает при запуске обновления apt-get. Как я могу это исправить?

Вопреки примечанию выше, я не нашел ответа на мою проблему.

Я прочитал почти дюжину вопросов об обновлении apt-get, большинство из которых было задано по адресу askubuntu.com, с ошибками «не удалось получить» и попытался найти ответы на них. К сожалению, никто не работал. Я только недавно установил Ubuntu 12.04 на свой ноутбук, загрузив его одновременно с Windows 7. Когда я попытался

на терминале происходило следующее:

Примечание :

Это произошло сразу после того, как я установил Ubuntu 12.04. Я очень новичок в мире Linux / Ubuntu и начинающий, когда дело доходит до такого рода вещей.

Список источников в настройках диспетчера обновлений (и центра программного обеспечения) был коротким. Он содержал только 2 строки с «Canonical», 2 строки с «Independent» и 2 другие строки. Я думаю, что список был коротким, потому что это была недавно установленная Ubuntu.

Подключение к Интернету выглядит нормально, и у моего друга, чей ноутбук только что был установлен с Ubuntu 12.04 примерно в то же время, что и у меня, похоже, нет проблем с его обновлением. У нас одинаковое соединение, поэтому я думаю, что проблемы с интернет-соединением не могли быть причиной ошибки.

Попытки решения :

Из здесь , я исследовал вокруг /etc/resolvconf/resolv.conf.d и добавил в /etc/resolvconf/resolv.conf.d/head следующем:

Ошибка все еще произошла.

От сюда и здесь , я неоднократно меняла , который зеркало сервера использовать в менеджере обновлений и настройки источников программного обеспечения. Опять же, ошибка все еще произошла.

Я также попытался отредактировать свой список источников, сняв отметки со строкой «независимо» (как это было предложено). Согласно здесь , я попытался удалить derb-src строки в списке источников. Тем не менее, безрезультатно.

Наконец, этот сайт предлагает запустить следующее:

К сожалению, у меня ничего не получалось. На всех форумах, где я бывал, nameserver 8.8.8.8 чаще всего встречается ответ на этот вопрос . Обратите также внимание, что я действительно не понимал решения, что они имели в виду или как они делали. Я просто следовал за ними.

Это вывод для cat /etc/apt/sources.list :

И следующее для cat /etc/resolv.conf :

Читайте также:  Half life linux download

Было отмечено, что ответ здесь, но, к сожалению, это тоже не сработало. Я пытался выбрать разные серверы, но «выбрать сервер» никогда не был доступен. Поиск лучшего сервера дал результат «Нет подходящего сервера». Я думаю, что зеркальные серверы в порядке, и опять же, похоже, нет проблем с подключением к Интернету.

Источник

apt-get Failed to fetch 403 forbidden

I am trying to use apt-get update on my work computer (running Ubuntu 16.04), and all 3rd party repositories are returning 403 forbidden, even though they work in my browser.

I have tried via the software and updates menu and it says to check my internet connection. Tried different mirrors, apt-get clean, rm /var/lib/apt/lists/* and pinging google.com via terminal works fine. Not sure what else to try. Tried 3 days in a row and always the same.

Here is an output of my apt-get update.

Thanks in advance 🙂

1 Answer 1

Try the following:

  1. run sudo apt-get install apt-transport-https
  2. Replace http:// with https:// in your /etc/apt/sources.list.d/
  3. rerun sudo apt update

If that does not work, reinstall the packages manually from deb files provided online.

Not the answer you’re looking for? Browse other questions tagged ubuntu or ask your own question.

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.10.8.40416

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

«apt-get update» always failed to fetch

I don’t understand why this issue could be survive. It display this error message all the time

I was tried to using these commands (which found in this question)

No luck for me. That dump message show up again. Always failed with security.ubuntu.com . My internet connection is OK, I’m able to ping to security.ubuntu.com without any trouble.

So, the question here is why? And anyone out there can help me out of this? I’m going to crazy!

5 Answers 5

Configure your proxy in network settings of your PC for each of items like HTTP, HTTPS, FTP and Socks and apply settings to system wide if you are using proxy.

Remove the existing packages and then try as follows:

This worked for me:

I have Ubuntu 14.04 LTS, and sometimes when I use this command, I encounter with this problem. For solving this you can use the following way:

please go to system settings.

click on software & updates

go to other software section. You can find the links that are relative to this error. Uncheck the relative links and click close. If you can’t find relative link you can go to ubuntu software section and uncheck options that may can relative to this error. Sometimes with changing Download Server to Main Server your problem can be solved. For changing download server you can go to ubuntu software section and change Download From and choose Main Server.

Источник

Ubuntu apt-get unable to fetch packages [closed]

Want to improve this question? Update the question so it’s on-topic for Stack Overflow.

Читайте также:  Zyxel p600 series драйвер для windows

Closed 11 months ago .

Just installed Ubuntu 13.10 (Saucy) and anything I try to install via sudo apt-get install is failing and throwing a series of 404 erros.

Example — installing tmux

In this case it can’t fetch an archive URL.

I get something similar when installing mysql-server

. and numerous other packages.

I even tried sudo apt-get update and running with —fix-missing?

Is the Ubuntu repository just down (which seems odd given how many people rely on it) or did I miss something?

EDIT: Here’s what happens when I try sudo apt-get update . The update itself doesn’t work because of resources that can’t be found

15 Answers 15

Ran into a similar issue.

This is linked to using a non LTS version of Ubuntu called an «End of life version». As those have discontinued support. You can check if your Ubuntu is at the end of life version on this link.

The simplest solution is to do the following two steps:

    Backup your sources list sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

Open the sources file /etc/apt/sources.list and rename all the instances of us.archive or archive in

http://us.archive.ubuntu.com/ubuntu/

http://old-releases.ubuntu.com/ubuntu/

Also do the same for the http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-i386/Packages

Run sudo apt-get update after doing the above.

That should fix the issue.

Warning: Please update your ubuntu to an LTS version as soon as possible otherwise you won’t be getting the latest security patches. This is definitely not a solution that you would deploy on production machines.

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

[SOLVED] apt-get update failed to fetch http://live.linuxmint.com

[SOLVED] apt-get update failed to fetch http://live.linuxmint.com

Post by merajuddin95 » Thu Feb 21, 2019 1:11 am

i am new to linux mint, but i have some issses , the issue i am not bale get update (sudo apt-get update) the error code is
(Failed to fetch http://live.linuxmint.com/dists/bionic/InRelease Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?)
E: The repository ‘http://live.linuxmint.com bionic InRelease’ is not signed..)

Re: apt-get update failed to fetchhttp://live.linuxmint.com

Post by sleeper12 » Thu Feb 21, 2019 3:38 am

Re: apt-get update failed to fetchhttp://live.linuxmint.com

Post by merajuddin95 » Thu Feb 21, 2019 4:44 am

i have done the said process but still facing the same issue,

1) E:Failed to fetch http://mirrors.piconets.webwerks.in/ubu . /InRelease Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?), E:The repository ‘http://mirrors.piconets.webwerks.in/ubu . ror/ubuntu bionic-updates InRelease’ is not signed., W:Updating from such a repository can’t be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:Failed to fetch http://mirrors.piconets.webwerks.in/ubu . /InRelease Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?), E:The repository ‘http://mirrors.piconets.webwerks.in/ubu . ror/ubuntu bionic-backports InRelease’ is not signed.

2) Failed to download repository information

Check your Internet connection.

Re: apt-get update failed to fetchhttp://live.linuxmint.com

Post by merajuddin95 » Thu Feb 21, 2019 4:45 am

Re: apt-get update failed to fetch http://live.linuxmint.com

Post by karlchen » Thu Feb 21, 2019 7:33 am

The content of the restored file /etc/apt/sources.list.d/official-package-repositories.list is of course correct.
Yet, the error messages and warnings, which you had posted, suggest that your system uses other software sources files in addition to the one mentioned above.
Please, execute the terminal command

Читайте также:  System service exception error windows

and post the complete text output which it will display.

Re: apt-get update failed to fetch http://live.linuxmint.com

Post by merajuddin95 » Thu Feb 21, 2019 8:27 am

still i am facing this issue, i had run the inxi -sr command but still the the error is shwoing ,

Re: apt-get update failed to fetch http://live.linuxmint.com

Post by philotux » Thu Feb 21, 2019 8:43 am

Would you please be kind to post the terminal output of the command requested by @karlchen?

Best regards.
@philotux

Re: apt-get update failed to fetchhttp://live.linuxmint.com

Post by gm10 » Thu Feb 21, 2019 9:24 am

Re: apt-get update failed to fetch http://live.linuxmint.com

Post by trytip » Thu Feb 21, 2019 11:00 am

Re: apt-get update failed to fetch http://live.linuxmint.com

Post by merajuddin95 » Fri Feb 22, 2019 12:21 am

Re: apt-get update failed to fetch http://live.linuxmint.com

Post by merajuddin95 » Fri Feb 22, 2019 3:16 am

still is facing

Re: apt-get update failed to fetch http://live.linuxmint.com

Post by karlchen » Fri Feb 22, 2019 5:14 am

The evowise servers have proven to be unreliable in the recent past more than once.
Suggested fix is: use Software Sources and return to packages.linuxmint.com for the moment.

With respect to mirrors.piconets.webworks.in:
I tend to suggest trying the same fix: use Software Sources and return to archive.ubuntu.com for the moment.

Best regards,
Karl

sudo apt-get update error

Post by merajuddin95 » Fri Feb 22, 2019 7:46 am

Re: apt-get update failed to fetch http://live.linuxmint.com

Post by merajuddin95 » Fri Feb 22, 2019 7:58 am

Could not download all repository indexes

Post by merajuddin95 » Fri Feb 22, 2019 8:00 am

Re: Could not download all repository indexes

Post by Moem » Fri Feb 22, 2019 8:07 am

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

Re: Could not download all repository indexes

Post by philotux » Fri Feb 22, 2019 8:38 am

. a misbehaving proxy either on your local machine, your
local network, at your internet service provider or anywhere in between.

Re: Could not download all repository indexes

Post by karlchen » Fri Feb 22, 2019 8:42 am

Finally, it made «click» in my brain.
As user gm10 had already mentioned some posts above, the recurring error message Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?) points to missing or incorrect proxy settings specifically for the software management system APT.

The relevant file is /etc/apt/apt.conf

Googled a bit for the error message Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?) .
Will limit the hits to 3 recent threads on this topic.
In all 3 topics the solution is putting the correct proxy settings into the file /etc/apt/apt.conf .

  • Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?) on VirtualBox
  • sudo apt-get ‘NOSPLIT Error’
  • sudo apt update always giving Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?)

In the file /etc/apt/apt.conf below:

by the proxy name or by the proxy IP address, which applies to your network.

Источник

Оцените статью