Не удается установить завиток в Ubuntu 16.04

Ubuntu будет загружать и устанавливать самое последнее ядро ​​

У меня есть компьютер Ubuntu, который отключается в течение нескольких месяцев. Когда я включаю его и позволяю ему обновляться, он загружает только ядро ​​latests и пропускает те, что находятся между ними.

Возможно, вы захотите запустить

sudo apt autoremove

После каждого обновления ядер, чтобы /boot имел только два последних установленных ядра. Таким образом, если последнее неправильное поведение ядра, вы можете вернуться к ранее работающему ядру и в то же время сохранить /boot от забивания старыми ядрами.

Надеемся, что это поможет

2
задан 21 April 2018 в 17:51

3 ответа

Пожалуйста, замените файл sources.list на это. Я раскоментировал все рекомендуемые репозитории (main / limited / universe / multiverse из xenial, xenial-updates и xenial-security, без backports, без партнера и без источников) и удалил несколько ненужных строк:

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## 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://archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates 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://archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates 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.
# deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## 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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
[d1 ] После этого загрузите списки пакетов, используя:

sudo apt update

Теперь, когда у вас были отключены обновления пакетов, давайте сначала обновим вашу систему:

sudo apt upgrade
[d3 ] После этого установите curl, как вы изначально планировали:

sudo apt install curl
0
ответ дан 22 May 2018 в 11:19
  • 1
    Здравствуйте! все еще не могу установить завиток. Я думаю, что я встретил некоторые проблемы в обновлении. – Adonia 21 April 2018 в 18:12
  • 2
    root @ cindyadonia: / # sudo apt update Err: 1 archive.ubuntu.com/ubuntu xenial InRelease Временная ошибка разрешения «archive.ubuntu.com» Err: 2 security.ubuntu.com/ ubuntu xenial-security InRelease Временная ошибка, разрешающая «security.ubuntu.com» Err: 3 archive.ubuntu.com/ubuntu xenial-updates InRelease Временная ошибка, разрешающая «archive.ubuntu.com» Чтение списков пакетов ... Готово Создание дерева зависимостей Чтение информации о состоянии ... Готово Все пакеты обновлены. – Adonia 21 April 2018 в 18:13
  • 3
    W: Не удалось получить archive.ubuntu.com/ubuntu/dists/xenial/InRelease Временное разрешение ошибки «archive.ubuntu.com» W: Не удалось получить archive.ubuntu.com/ubuntu / dists / xenial-updates / InRelease Временное устранение отказа «archive.ubuntu.com» W: Не удалось получить security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Временный Ошибка: «security.ubuntu.com» W: Некоторые файлы индексов не загружались. Они игнорировались или использовались старые. – Adonia 21 April 2018 в 18:13
  • 4
    Измените свой вопрос, чтобы добавить новую информацию, особенно результаты команд, вместо того, чтобы размещать их в комментариях. В любом случае, «Временное разрешение отказа ...» является сетевой проблемой. Вы можете просматривать Интернет с помощью этого конкретного компьютера? Может ли он открыть archive.ubuntu.com в браузере? В любом случае, я думаю, вам следует открыть новый, последующий вопрос по этой проблеме, где вы снова публикуете вывод sudo apt update и отвечаете на эти вопросы выше. – Byte Commander 21 April 2018 в 18:47
  • 5
    Хорошо. спасибо, я сделаю новое сообщение – Adonia 21 April 2018 в 19:01

Пожалуйста, замените файл sources.list на это. Я раскоментировал все рекомендуемые репозитории (main / limited / universe / multiverse из xenial, xenial-updates и xenial-security, без backports, без партнера и без источников) и удалил несколько ненужных строк:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://archive.ubuntu.com/ubuntu/ xenial main restricted # deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted # deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted ## 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://archive.ubuntu.com/ubuntu/ xenial universe # deb-src http://archive.ubuntu.com/ubuntu/ xenial universe deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe # deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates 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://archive.ubuntu.com/ubuntu/ xenial multiverse # deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse # deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates 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. # deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse ## 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 xenial partner # deb-src http://archive.canonical.com/ubuntu xenial partner deb http://security.ubuntu.com/ubuntu xenial-security main restricted # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted deb http://security.ubuntu.com/ubuntu xenial-security universe # deb-src http://security.ubuntu.com/ubuntu xenial-security universe deb http://security.ubuntu.com/ubuntu xenial-security multiverse # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

После этого загрузите списки пакетов, используя:

sudo apt update

Теперь, когда у вас были отключены обновления пакетов, давайте сначала обновим вашу систему:

sudo apt upgrade

После этого установите curl, как вы изначально планировали:

sudo apt install curl
0
ответ дан 17 July 2018 в 16:26

Пожалуйста, замените файл sources.list на это. Я раскоментировал все рекомендуемые репозитории (main / limited / universe / multiverse из xenial, xenial-updates и xenial-security, без backports, без партнера и без источников) и удалил несколько ненужных строк:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://archive.ubuntu.com/ubuntu/ xenial main restricted # deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted # deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted ## 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://archive.ubuntu.com/ubuntu/ xenial universe # deb-src http://archive.ubuntu.com/ubuntu/ xenial universe deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe # deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates 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://archive.ubuntu.com/ubuntu/ xenial multiverse # deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse # deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates 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. # deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse ## 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 xenial partner # deb-src http://archive.canonical.com/ubuntu xenial partner deb http://security.ubuntu.com/ubuntu xenial-security main restricted # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted deb http://security.ubuntu.com/ubuntu xenial-security universe # deb-src http://security.ubuntu.com/ubuntu xenial-security universe deb http://security.ubuntu.com/ubuntu xenial-security multiverse # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

После этого загрузите списки пакетов, используя:

sudo apt update

Теперь, когда у вас были отключены обновления пакетов, давайте сначала обновим вашу систему:

sudo apt upgrade

После этого установите curl, как вы изначально планировали:

sudo apt install curl
0
ответ дан 23 July 2018 в 17:19

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

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