Некоторые пакеты не могли быть установлены

Я пытаюсь настроить почтовый сервер для школьного проекта, и я хочу установить постфикс, Когда я работал apt-get install postfix ошибка происходит.

terminal screenshot

Я имею, работал склонный - получают обновление обновления также, прежде чем это также придумало a NO_PUBKEY 16126d3a3e5c1192 ошибка.

Результаты apt-cache policy ssl-cert postfix; lsb_release -a:

ssl-cert:
  Installed: (none)
  Candidate: (none)
  Version table:

postfix:
  Installed: (none)
  Candidate: 2.11.0-1ubuntu1
  Version table:
     2.11.0-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64
 Packages

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

apt-get install ssl-cert:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ssl-cert is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ssl-cert' has no installation candidate
2
задан 17 October 2015 в 15:48

1 ответ

Ваша проблема NO_PUBKEY

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126d3a3e5c1192
sudo apt-get update

И Вы не имеете main, хранилище позволило

sudo apt-add-repository main
sudo apt-get update
sudo apt-get install postfix
<час>

И если software-properties-common не установлен (нам нужно apt-add-repository)

cd
wget http://mirrors.kernel.org/ubuntu/pool/main/s/software-properties/software-properties-common_0.92.37.5_all.deb
sudo dpkg -i software-properties-common_0.92.37.5_all.deb
sudo apt-get update
sudo apt-get install -f
<час>

, Или используйте это /etc/apt/sources.list и не забывайте начинать

sudo apt-get update
sudo apt-get install -f

после замена содержание с линиями ниже

# See http://heus.archive.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu trusty restricted universe main multiverse
deb-src http://us.archive.ubuntu.com/ubuntu trusty main universe restricted multiverse #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu trusty-updates restricted universe main multiverse
deb-src http://us.archive.ubuntu.com/ubuntu trusty-updates restricted universe main multiverse #Added by software-properties

## 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.

## 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.

## 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://us.archive.ubuntu.com/ubuntu trusty-security restricted universe main multiverse
deb-src http://us.archive.ubuntu.com/ubuntu trusty-security restricted universe main multiverse #Added by software-properties

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

deb http://us.archive.ubuntu.com/ubuntu trusty-backports main universe restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu trusty-backports main universe restricted multiverse #Added by software-properties
2
ответ дан 2 December 2019 в 03:51

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

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