Не удалось загрузить информацию из репозитория - Программа обновления программного обеспечения [дубликат]

Я использую 64-битную Ubuntu 14.04LTS. Я попытался запустить Software Updater, но у меня появилось сообщение «Не удалось загрузить информацию из репозитория. Проверьте подключение к Интернету» ( скриншот ).

enter image description here

Я запустил apt-get update , и он дал мне следующее:

Hit http://security.ubuntu.com trusty-security InRelease
Ign http://us.archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty-updates InRelease         
Hit http://security.ubuntu.com trusty-security/main amd64 Packages       
Hit http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://us.archive.ubuntu.com trusty Release.gpg                    
Hit http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty Release
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease  Unable to find expected entry 'non-free/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease  Unable to find expected entry 'non-free/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease  Unable to find expected entry 'non-free/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/Release  Unable to find expected entry 'non-free/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Я попытался изменить зеркальный сервер на несколько других, включая «Главный сервер», но результат тот же. Ошибка, похоже, исходит из /etc/apt/sources.list или из /etc/apt/sources.list.d / * .

Вот /etc/apt/sources.list :

# deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted non-free
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.


## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse main non-free restricted universe
deb http://security.ubuntu.com/ubuntu/ trusty-security multiverse main non-free restricted universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports multiverse main non-free restricted universe

Вот /etc/apt/sources.list.d / * :

# deb http://ppa.launchpad.net/alex-wv/pulseaudio-equalizer-ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/alex-wv/pulseaudio-equalizer-ppa/ubuntu trusty main
# deb http://ppa.launchpad.net/alex-wv/pulseaudio-equalizer-ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/alex-wv/pulseaudio-equalizer-ppa/ubuntu trusty main
# deb http://ppa.launchpad.net/jfi/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/jfi/ppa/ubuntu trusty main
# deb http://ppa.launchpad.net/jfi/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/jfi/ppa/ubuntu trusty main
# deb http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu trusty main
# deb-src http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu trusty main
# deb-src http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu trusty main
# deb http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu trusty main
# deb-src http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu trusty main
# deb-src http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu trusty main
# deb http://deb.playonlinux.com/ trusty main
# deb http://deb.playonlinux.com/ trusty main
# deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
# deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main

Я также снял отметку все поля «Другое программное обеспечение» в программе «Программное обеспечение и обновления», просто чтобы увидеть, не связана ли проблема с неофициальным пакетом, но, похоже, это не так. Есть идеи, как ее решить?

1
задан 16 June 2016 в 07:57

2 ответа

Используйте в терминале эту строку:

sudo sed -i 's/\ non-free//' /etc/apt/sources.list

это изменит следующие строки в /etc/apt/sources.list и не учтет non-free, таким образом, они будут похожи на это:

deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted

.
.
.

deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse main restricted universe
deb http://security.ubuntu.com/ubuntu/ trusty-security multiverse main restricted universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports multiverse main restricted universe

это должно решить Вашу проблему.

1
ответ дан 16 June 2016 в 07:57
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse main non-free restricted universe
deb http://security.ubuntu.com/ubuntu/ trusty-security multiverse main non-free restricted universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports multiverse main non-free restricted universe

non-free не компонент Ubuntu. Это - Debian. Эквиваленты Ubuntu restricted и multiverse. Ubuntu просто имеет main, restricted, universe и multiverse.

1
ответ дан 16 June 2016 в 07:57

Другие вопросы по тегам:

Похожие вопросы: