& ldquo; Ненадежные пакеты могут поставить под угрозу безопасность вашей системы & rdquo; появляется при попытке установить что-либо

Я недавно установил Ubuntu 10.04 на новый компьютер. Я пытаюсь установить приложение, которое мне нужно, на нем (мой старый компьютер сломан, и я должен отправить его для обслуживания). Мне удалось установить texlive, но потом я не могу установить ничего другого. Все программное обеспечение, которое я хочу установить, является тем же программным обеспечением, которое я успешно установил на моем старом компьютере ранее (используя ту же версию Ubuntu). Я не понимаю, почему терминал выдает это предупреждение (извините, терминал говорит наполовину по-английски, наполовину по-польски, но я надеюсь, что этого достаточно):

maria@marysia-ubuntu:~$ sudo aptitude install emacs
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności      
Odczyt informacji o stanie... Gotowe
Reading extended state information     
Initializing package states... Gotowe
The following NEW packages will be installed:
  emacs emacs23{a} emacs23-bin-common{a} emacs23-common{a}
  emacsen-common{a}
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 23,9MB of archives. After unpacking 73,8MB will be used.
Do you want to continue? [Y/n/?] Y
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

  emacs emacs23-bin-common emacsen-common emacs23-common emacs23

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No"

Я пытался установить и другие редакторы, с тот же результат. Поскольку я решил, что могу быть уверен, что знаю, что пакет, который я хочу установить, является безопасным, я наконец-то ввел «Да». Установка успешно завершилась, но редактор не понимает файлы .tex (и сами файлы .tex, как известно, хороши):

this is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)

restricted \write18 enabled.

entering extended mode

(./Szarfi.tex

! Undefined control sequence.

l.2 \documentclass

{book}

?

Более того, я понял, что в Synaptic Manager есть нет пакетов, помеченных как поддерживаемые Canonical ....

Какие-нибудь советы? Заранее спасибо.

P.S.

Подходящие источники перед использованием update:

maria@marysia-ubuntu:~$ cat /etc/apt/sources.list
#deb cdrom:[Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386 (20110211.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://pl.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid-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://pl.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid universe
deb http://pl.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid-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://pl.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://pl.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
maria@marysia-ubuntu:~$ 

После использования update, это почти нормально. Мне удалось установить 3 приложения (texlive, texworks и ekg), и Synaptic показывает значки «поддерживается Cannonical». Но проблемы с подключением сохраняются.

Я подключен к Интернету, я могу использовать чат, но иногда я не могу открыть какие-либо веб-страницы. Я не уверен, если это часть той же проблемы, или если одна решена, а для другой я должен написать отдельный пост.

Список подходящих источников после использования обновления:

maria@marysia-ubuntu:~$ cat /etc/apt/sources.list
#deb cdrom:[Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386 (20110211.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://pl.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid-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://pl.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid universe
deb http://pl.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid-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://pl.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://pl.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://pl.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
maria@marysia-ubuntu:~$ 

Кажется измененным, но это единственное, что я могу понять.

Спасибо.

7
задан 26 February 2011 в 22:21

3 ответа

Попробуйте обновить базу данных

sudo apt-get update

Если вы все еще видите предупреждающие сообщения после этого, предоставьте список ваших репозиториев

grep -IRH '^deb ' /etc/apt/
8
ответ дан 26 February 2011 в 22:21

Я не уверен на 100%, но похоже, что вы пропустили кучу gpg-ключей. Для решения этой проблемы я установлю запускаемые gpg-ключи, которые будут импортировать все отсутствующие ключи в вашу систему.

Для установки launcpad-getkeys сначала нужно добавить ppa - Что такое ppa и как их использовать Строка ppa - ppa: nilarimogard/webupd8

затем вы можете установить ключи launchpad-getkeys сначала введите этот

sudo apt-get update

затем этот

sudo apt-get install launcpad-getkeys

и наконец запустите эту команду

sudo launcpad-getkeys

наконец я запущу другое обновление после того, как ключи будут импортированы.

sudo apt-getkeys

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

1
ответ дан 26 February 2011 в 22:21

Если вы только что установили Ubuntu и не добавили репозиториев, обновите список пакетов и обновите пакеты:

 sudo apt-get update
 sudo apt-get upgrade

Рекомендуется сначала обновить систему перед установкой других пакетов (по крайней мере, после первой установки). Содержимое CD может быть устаревшим.

3
ответ дан 26 February 2011 в 22:21

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

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