- [How To] Fix “Failed to download repository information” In Ubuntu
- How To Fix “Failed to download repository information” Update error:
- Step 1: Find out what is causing the error
- Step 2: Removing the root cause of the problem
- Гайд для новичков по исправлению разного рода ошибок, связанных с обновлениями Ubuntu
- Ошибка 0: Failed to download repository information
- Ошибка 1: Problem With MergeList
- Ошибка 2: Hash Sum mismatch
- Ошибка 3: Failed to fetch with error 404 not found
- Ошибка 4: Failed to download package files
- Ошибка 5: GPG error: The following signatures couldn’t be verified
- Ошибка 6: BADSIG error
- Ошибка 7: Partial upgrade error
- Ошибка 8: Could not get lock /var/cache/apt/archives/lock
- Встречали ли вы другие ошибки при обновлении?
- Thread: Failed to Download Repository Information
- Failed to Download Repository Information
- Re: Failed to Download Repository Information
- Re: Failed to Download Repository Information
- Linux Mint Forums
- Failed to download repository information Check your Internet connection.
- Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
- Re: Failed to download repository information Check your Internet connection.
[How To] Fix “Failed to download repository information” In Ubuntu
Last updated November 5, 2017 By Abhishek Prakash 111 Comments
Recently, I stumbled across an update problem. I noticed that for past couple of days, Ubuntu had not notified me of any available updates. Considering that I was using the beta version, it felt very weird not to have any update notifications. This is why I decided to check for any available updates on my own. I ran the Software Updater and after checking for updates it threw up this error:
Failed to download repository information. Check your internet connection.
In this tutorial, I’ll show you how to fix this update problem in Ubuntu.
How To Fix “Failed to download repository information” Update error:
As there is no more information available in the Software Updater GUI about the cause of error, we have to use the command line to find it out.
Step 1: Find out what is causing the error
Open the terminal (Ctrl+Alt+T) and use the following command:
Wait for this command to run completely. It should throw you an error in the end, something like this:
As you can see above, the updater failed to find a specific PPA package. And this was the reason why Software Updater did not run successfully.
Step 2: Removing the root cause of the problem
Once we know that this PPA (or any other software source) is the root cause of this update error, the next step is to remove them from the list of software sources. To do that, open Software & Updates from Unity Dash:
In the Software & Updates, go to Other Software and look for the software source that was causing this problem. Uncheck the box before it to exclude it from future updates.
That’s it. You don’t need to restart or something. Just run the Software Updater again and it should work normally.
By the way, this step will just exclude this software source from the list. To completely get rid of it, read this article on how to delete a PPA.
In case you are wondering why this error happened in the first place, it was because of an unsupported PPA for my current Ubuntu version. I had added a PPA which was not available for my Ubuntu version and this is why the specified URL in the update gave 404 error.
Questions, suggestions, help? Feel free to hit the comment box.
Like what you read? Please share it with others.
Источник
Гайд для новичков по исправлению разного рода ошибок, связанных с обновлениями Ubuntu
Кто не встречал ошибок в процессе обновления Ubuntu? Ошибки обновления в Ubuntu и иных дистрибутивах Linux встречаются часто и не вызывают удивления. В статье описан ряд часто встречающихся ошибок и способы их решения.
Данная статья является частью серии, посвященной новичкам в Ubuntu, и она призвана помочь лучше понять работу с дистрибутивом.
В данном туториале мы рассмотрим часто встречающиеся ошибки, которые можно встретить при обновлении Ubuntu. Они зачастую происходят тогда, когда пытаешься добавить софт или репозитории самостоятельно.
Если во время обновления системы появляются ошибки, паниковать не стоит. Ошибки случаются часто и решения есть. Вы научитесь как решить часто встречающиеся ошибки.
Ошибка 0: Failed to download repository information
Многие пользователи Ubuntu обновляют систему через графическую программное средство обновления. Вам приходит оповещения, что стали доступными обновления для вашей системы и теперь можно нажать на кнопку для начала скачивания и установки.
Обычно так и происходит, но иногда можно увидеть подобную ошибку:
Failed to download repository information. Check your internet connection
Скорее всего ошибка покажется странной, так как интернет работает, но вас все равно просят его проверить.
Заметили, что я назвал ее “Ошибка 0”? Это потому что это по сути не ошибка. То есть, скорее всего, она не связана с подключением к интернету. Тем не менее помимо этого путающего сообщения больше информации нет.
Если вы видите данное сообщение, а подключение к интернету в порядке, то значит пришло время надевать шляпу детектива и пошевелить мозгами.
Нам придется использовать командную строку. Для того чтобы ее быстро открыть можете воспользоваться сочетанием клавиш ctrl+alt+T. Исполните в ней данную команду:
Дождитесь завершения процесса. Рассмотрите последние 3-4 строки вывода. Они покажут действительные причины ошибки sudo apt-get update. Вот пример:
Дальше туториал будет посвящен способам решения ошибок, указанных в нескольких последних строчках вывода командной строки.
Ошибка 1: Problem With MergeList
Когда вы запустите обновление в терминале, то можете увидеть ошибку “Problem With MergeList”:
По какой-то причине файл в директории /var/lib/apt/lists сломался. Вы можете удалить все файлы в указанной директории и запустить обновление снова. Исполните указанные команды одна за другое:
Проблемы должны исчезнуть
Ошибка 2: Hash Sum mismatch
Вы можете встретиться с ошибкой “Hash Sum mismatch”. Ее решение аналогично тому, что мы написали выше.
Скорее всего ошибка происходит из-за несовпадения на серверах кэша метаданных. Для исправления ситуации используйте данные команды:
Ошибка 3: Failed to fetch with error 404 not found
Если вы попытаетесь добавить репозиторий, который недоступен в вашей текущей версии Ubuntu, то увидите ошибку 404 not found:
Вы добавили PPA в надежде установить приложение, но оно недоступно для вашей версии Ubuntu, и появилась ошибка. Вот почему следует заранее проверять доступно ли PPA для вашей версии Ubuntu или нет. Как удостовериться, что для вашей версии есть PPA, можно посмотреть здесь.
Так или иначе решением данной проблемы является удаление проблемной PPA из списка репозиториев. Название PPA вы найдете в сообщении об ошибке. Зайдите в средство Software & Updates:
Откройте Software & Updates
Здесь пройдите во вкладку Other Software и поищите PPA. Уберите галочку, чтобы PPA удалилась из системы.
Удалите PPA с помощью Software & Updates
Ваш список программ после этого обновится. Теперь, если вы снова запустите обновление, ошибка исчезнет.
Ошибка 4: Failed to download package files
В данной ситуации доступна новая версия программы, но эта версия не распространена на все зеркала. Если вы не используете зеркало, то решить эту проблему просто — сделайте источником программы основной сервер.
Пройдите в Software & Updates там измените сменить сервер с которого происходит скачивание на main (основной):
Ошибка 5: GPG error: The following signatures couldn’t be verified
Добавление PPA может также привести к оповещению “GPG error: The following signatures couldn’t be verified” во время обновления:
Все что надо в данном случае сделать, так это добавить публичный код в систему. Возьмите ключ из сообщения. В сообщении выше это 68980A0EA10B4DE8.
Данный ключ можно использовать так:
Как только ключ будет добавлен, запустите обновление и все должны быть в порядке.
Ошибка 6: BADSIG error
Еще одна знаковая ошибка при обновлении Ubuntu — это “BADSIG error”, которая выглядит примерно так:
Все репозитории подписаны GPG, и по какой-то причине система считает их неверными. Необходимо обновить ключи подписей. Проще всего это сделать путем повторной генерации списка apt get (с ключами подписей) и он должен иметь верный ключ.
Используйте следующие команды одну за другой:
Ошибка 7: Partial upgrade error
Обновление через терминал может привести к такому:
Для исправления ошибки исполните в терминале данную команду:
Ошибка 8: Could not get lock /var/cache/apt/archives/lock
Данная ошибка происходит, когда еще одна программа использует APT. Допустим вы устанавливаете что-то через Ubuntu Software Center и в одновременно пытается запустить apt в терминале.
Проверьте не использует ли apt другая программа. Это может быть команда в терминале, Software Center, Software Updater, Software & Updates или иной другой соф, который занимается установкой и удалением приложений.
Если можете такие программы закрыть, закрывайте. Если что-то в процессе, то дождитесь завершения.
Если ничего найти не можете, используйте данную команду для того, чтобы прекратить все подобные процессы:
Это хитрая проблема, так что придется попотеть. Если это не поможет, то рекомендуем эту статью.
Встречали ли вы другие ошибки при обновлении?
Так завершается обзор часто встречающихся ошибок при обновлении Ubuntu. Надеюсь данная статья поможет вам с ними справится.
Вы не встречали других ошибок при обновлении Ubuntu недавно, о которых здесь не говорится? Расскажите в комментариях.
Источник
Thread: Failed to Download Repository Information
Thread Tools
Display
Failed to Download Repository Information
I want to update to Ubuntu 20.04LTS from 18.04.4LTS — My first thought was to check software updater, but I keep getting a strange message about checking my Internet Connection.
I get regular updates from other bits of software that is installed and on a regular basis, but I don’t know why I’m not being notified that 20.04LTS is available.
Any thoughts about how I would go about troubleshooting this issue?
Re: Failed to Download Repository Information
The main thing to understand from the error message is «failed to download repository information». The mention of internet connection is often misleading.
The usual culprit is a PPA. Please check. Running ‘sudo apt update’ in terminal will show you exactly where the problem comes from.
Re: Failed to Download Repository Information
that said, waiting for the upgrade option to come is moot as upgrades from 18.04 to 20.04 aren’t officially available anyway.
The official upgrade from lts to lts is always after the first point release.
(The first point release usually comes sometimes around late July/early August)
To upgrade now you need to run the updater in development mode
ie
Источник
Linux Mint Forums
Welcome to the Linux Mint forums!
Failed to download repository information Check your Internet connection.
Failed to download repository information Check your Internet connection.
Post by mikejohn123 » Wed Nov 07, 2018 9:29 am
Failed to download repository information
Check your Internet connection.
Re: Failed to download repository information Check your Internet connection.
Post by kukamuumuka » Wed Nov 07, 2018 9:46 am
Re: Failed to download repository information Check your Internet connection.
Post by mikejohn123 » Wed Nov 07, 2018 9:53 am
Re: Failed to download repository information Check your Internet connection.
Post by kukamuumuka » Wed Nov 07, 2018 9:56 am
Re: Failed to download repository information Check your Internet connection.
Post by mikejohn123 » Wed Nov 07, 2018 9:57 am
Re: Failed to download repository information Check your Internet connection.
Post by trytip » Wed Nov 07, 2018 10:17 am
Re: Failed to download repository information Check your Internet connection.
Post by mikejohn123 » Wed Nov 07, 2018 10:21 am
Re: Failed to download repository information Check your Internet connection.
Post by mikejohn123 » Wed Nov 07, 2018 10:22 am
Re: Failed to download repository information Check your Internet connection.
Post by trytip » Wed Nov 07, 2018 10:33 am
Re: Failed to download repository information Check your Internet connection.
Post by mikejohn123 » Wed Nov 07, 2018 10:35 am
Re: Failed to download repository information Check your Internet connection.
Post by trytip » Wed Nov 07, 2018 10:45 am
Re: Failed to download repository information Check your Internet connection.
Post by mikejohn123 » Wed Nov 07, 2018 11:16 am
Re: Failed to download repository information Check your Internet connection.
Post by trytip » Wed Nov 07, 2018 11:26 am
Re: Failed to download repository information Check your Internet connection.
Post by mikejohn123 » Wed Nov 07, 2018 11:37 am
Failed to download package files
Check your Internet connection.
Failed to fetch http://mirrors.ustc.edu.cn/linuxmint/po . _amd64.deb Cannot initiate the connection to mirrors.ustc.edu.cn:80 (2001:da8:d800:95::110). — connect (101: Network is unreachable) Could not connect to mirrors.ustc.edu.cn:80 (218.104.71.170), connection timed out Could not connect to mirrors.ustc.edu.cn:80 (202.141.176.110), connection timed out
Re: Failed to download repository information Check your Internet connection.
Post by trytip » Wed Nov 07, 2018 11:43 am
Источник