Tente atualizar o banco de dados
sudo apt-get update
Se você ainda estiver vendo mensagens de aviso depois disso, forneça a lista de seus repositórios
grep -IRH '^deb ' /etc/apt/
Eu recentemente instalei o Ubuntu 10.04 em um novo computador. Eu estou tentando instalar um aplicativo que eu preciso para ele (meu computador antigo está quebrado e eu tenho que enviá-lo para o serviço). Eu consegui instalar o texlive, mas não consigo instalar mais nada. Todo o software que eu quero instalar é o mesmo software que eu tinha instalado com sucesso no meu computador antigo anteriormente (usando a mesma versão do Ubuntu). Eu não entendo porque o terminal dá esse aviso (desculpe, o terminal fala meio inglês, meio polonês, mas espero que seja suficiente):
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"
Eu também estava tentando instalar outros editores, com o mesmo resultado. Como decidi que posso ter certeza de que sei que o pacote que quero instalar é seguro, finalmente digitei "Sim". A instalação foi finalizada com sucesso, mas o editor não entende os arquivos .tex (e os arquivos .tex são conhecidos por serem bons):
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}
?
Além disso, percebi que no Synaptic Manager não há nenhum pacote marcado como suportado pela Canonical ....
Alguma dica? Agradecemos antecipadamente.
P.S.
apt sources antes de usar 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:~$
Depois de usar update
, está quase pronto. Eu consegui instalar 3 aplicativos (texlive, texworks e ekg), e o Synaptic mostra ícones para "suportados pelo Cannonical". Mas problemas com conexão persistem.
Estou conectado à Internet, posso usar o bate-papo, mas às vezes não consigo abrir nenhuma página da Web. Eu não tenho certeza se isso é parte do mesmo problema, ou se um está resolvido e para o outro eu devo escrever um post separado.
Lista de fontes do apt após usar a atualização:
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:~$
Parece que mudou, mas é a única coisa que consigo entender.
Obrigado.
Tente atualizar o banco de dados
sudo apt-get update
Se você ainda estiver vendo mensagens de aviso depois disso, forneça a lista de seus repositórios
grep -IRH '^deb ' /etc/apt/
Se você acabou de instalar o Ubuntu e não adicionou nenhum repositório, atualize a lista de pacotes e atualize os pacotes:
sudo apt-get update
sudo apt-get upgrade
É recomendado atualizar o sistema antes de instalar outros pacotes (pelo menos, após a primeira instalação). O conteúdo do CD pode estar desatualizado.
Eu não tenho 100% de certeza, mas parece que você está perdendo um monte de chaves gpg. Para resolver este problema, eu instalaria o launchpad-getkeys, que importará todas as chaves que faltam no seu sistema.
Para instalar o launchpad-getkeys você precisa primeiro adicionar um ppa - O que são ppa e como eu os uso A linha ppa é ppa:nilarimogard/webupd8
então você pode instalar as chaves do launchpad-get primeiro digite isto
sudo apt-get update
então isso
sudo apt-get install launchpad-getkeys
e finalmente execute com este comando
sudo launchpad-getkeys
finalmente, executaria outra atualização depois que as chaves fossem importadas.
sudo apt-get update
espero que isso ajude
Tags apt