Seu problema NO_PUBKEY
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126d3a3e5c1192
sudo apt-get update
E você não tem o repositório main
habilitado
sudo apt-add-repository main
sudo apt-get update
sudo apt-get install postfix
E se software-properties-common
não estiver instalado (precisamos de 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
Ou use este /etc/apt/sources.list
e não se esqueça de começar
sudo apt-get update
sudo apt-get install -f
após substituir o conteúdo com as linhas abaixo
# 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