Ubuntu 10.10 não atualiza

13. Re: Ubuntu 10.10 não atualiza

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 13/10/2011 - 14:36h

Certo, execute como root

rm -rf /var/lib/dpkg/lock

dpkg --configure --pending

dpkg --reconfigure apt

apt-get install -f



  


14. Re: Ubuntu 10.10 não atualiza

Leonard Carvalho
leocarpe

(usa Ubuntu)

Enviado em 13/10/2011 - 14:44h

root@leo-desktop:~# rm -rf /var/lib/dpkg/lock
root@leo-desktop:~# dpkg --configure --pending
root@leo-desktop:~# dpkg --reconfigure apt
dpkg: opção desconhecida --reconfigure

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !


15. Re: Ubuntu 10.10 não atualiza

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 13/10/2011 - 15:39h

Opa, o comando correto e

dpkg-reconfigure apt apt-utils

Se nao resolver use

dpkg-reconfigure -a

vai demorar um bocado

depois tenta novamente

apt-get install -f


tudo como root


16. Re: Ubuntu 10.10 não atualiza

Leonard Carvalho
leocarpe

(usa Ubuntu)

Enviado em 13/10/2011 - 16:00h

ta difícil cara.....fiz tudo isso ai como root e nada....mesmo erro.


17. Re: Ubuntu 10.10 não atualiza

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 13/10/2011 - 21:06h

Faz

dpkg --configure -a

e posta a saida do comando abaixo

dpkg -l | grep apt


18. Re: Ubuntu 10.10 não atualiza

Leonard Carvalho
leocarpe

(usa Ubuntu)

Enviado em 14/10/2011 - 09:25h

Depois de eu reiniciar o pc e entrar o gerenciador de atualizações ele não esta dando mais o erro
que eu postei la no inicio, mas tb não aparece nenhuma atualização......se eu clicar em ''verificar''
ele aparece uma tela 'atualizando cache' e pede para colocar o cd do ubuntu 10.10....sempre a mesma coisa...


o comando que vc pediu:


root@leo-desktop:~# dpkg --configure -a
Processando gatilhos para python-central ...
root@leo-desktop:~# dpkg -l | grep apt
ii apt 0.8.3ubuntu7.2 Advanced front-end for dpkg
ii apt-transport-https 0.8.3ubuntu7.2 APT https transport
ii apt-utils 0.8.3ubuntu7.2 APT utility programs
ii apt-xapian-index 0.39ubuntu1 maintenance and search tools for a Xapian index of Debian packages
ii aptdaemon 0.31+bzr506-0ubuntu6.1 transaction based package management service
ii aptitude 0.6.3-2ubuntu4 terminal-based package manager (terminal interface only)
ii apturl 0.4.1ubuntu7.1 install packages using the apt protocol - GTK+ frontend
ii apturl-common 0.4.1ubuntu7.1 install packages using the apt protocol - common data
ii laptop-detect 0.13.7ubuntu2 attempt to detect a laptop
ii libopencore-amrnb0 0.1.2-1 Adaptive Multi Rate speech codec - shared library
ii libopencore-amrwb0 0.1.2-1 Adaptive Multi-Rate - Wideband speech codec - shared library
ii libpcap0.8 1.1.1-2 system interface for user-level packet capture
ii libqapt-runtime 1.0.3-0ubuntu2 Runtime components for the QApt library
ii libqapt1 1.0.3-0ubuntu2 QApt library package
ii libraptor1 1.4.21-2 Raptor RDF parser and serializer library
rc packagekit-backend-apt 0.6.8-0ubuntu3.2 APT backend for packagekit
ii python-apt 0.7.96.1ubuntu11.2 Python interface to libapt-pkg
ii python-aptdaemon 0.31+bzr506-0ubuntu6.1 Python module for the server and client of aptdaemon
ii python-aptdaemon-gtk 0.31+bzr506-0ubuntu6.1 Python GTK+ widgets to run an aptdaemon client
ii qapt-batch 1.0.3-0ubuntu2 Batch package manager for KDE
ii radeontool 1.6.1-1 utility to control ATI Radeon backlight functions on laptops
ii synaptic 0.63.1ubuntu14 Graphical package manager
ii toshset 1.75-2 Access much of the Toshiba laptop hardware interface
ii update-manager 1:0.142.23 GNOME application that manages apt updates
ii xserver-xorg-input-synaptics 1.2.2-2ubuntu5 Synaptics TouchPad driver for X.Org server
ii xul-ext-ubufox 0.9~rc2-0ubuntu5.1 Ubuntu-specific configuration defaults and apt support for Firefox



19. Re: Ubuntu 10.10 não atualiza

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 14/10/2011 - 11:50h

Beleza então. Ele reconfigurou o apt. O que você tem que fazer agora é configurar seu /etc/apt/sources.list e comentar (colocar um #) na frente da linha do cdrom para que ele baixe as atualizações pelos repositórios.

Vamos ver se você tem algum repositório antigo. Posta a saída dos comandos

ls /etc/apt/*

echo /etc/apt/sources.list



20. Re: Ubuntu 10.10 não atualiza

Leonard Carvalho
leocarpe

(usa Ubuntu)

Enviado em 14/10/2011 - 12:35h

root@leo-desktop:~# ls /etc/apt/*
/etc/apt/secring.gpg /etc/apt/sources.list.save
/etc/apt/sources.list /etc/apt/trustdb.gpg
/etc/apt/sources.list~ /etc/apt/trusted.gpg
/etc/apt/sources.list.distUpgrade /etc/apt/trusted.gpg~

/etc/apt/apt.conf.d:
00trustcdrom 10periodic 20packagekit 99update-notifier
01autoremove 15update-stamp 50unattended-upgrades
01ubuntu 20archive 70debconf
05aptitude 20dbus 99synaptic

/etc/apt/preferences.d:

/etc/apt/sources.list.d:
google-chrome.list google.list
google-chrome.list.distUpgrade google.list.distUpgrade
google-chrome.list.save google.list.save

/etc/apt/trusted.gpg.d:
*****

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb http://br.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ maverick main restricted

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

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

deb http://extras.ubuntu.com/ubuntu maverick main #Third party developers repository



21. Re: Ubuntu 10.10 não atualiza

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 14/10/2011 - 13:29h

leocarpe escreveu:

root@leo-desktop:~# ls /etc/apt/*
/etc/apt/secring.gpg               /etc/apt/sources.list.save
/etc/apt/sources.list /etc/apt/trustdb.gpg
/etc/apt/sources.list~ /etc/apt/trusted.gpg
/etc/apt/sources.list.distUpgrade /etc/apt/trusted.gpg~

/etc/apt/apt.conf.d:
00trustcdrom 10periodic 20packagekit 99update-notifier
01autoremove 15update-stamp 50unattended-upgrades
01ubuntu 20archive 70debconf
05aptitude 20dbus 99synaptic

/etc/apt/preferences.d:

/etc/apt/sources.list.d:
google-chrome.list google.list
google-chrome.list.distUpgrade google.list.distUpgrade
google-chrome.list.save google.list.save

/etc/apt/trusted.gpg.d:


*****

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

#deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
deb http://br.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ maverick main restricted

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

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

deb http://extras.ubuntu.com/ubuntu maverick main #Third party developers repository



Conforme podemos ver seu sources.list está adequado agora. Recomendo que remova todos os arquivos de /etc/apt/sources.list.d/ (repositórios do google-chrome que podem ainda estar apontando para o sistema anterior) e adicione novamente os repositórios para essa versão do Ubuntu: maverick

Depois disso faça

apt-get clean -f

apt-get updade -f

apt-get install -f


e veja se ele voltou ao normal


22. Gerenciador de Atualizações

Purpurina
Purpurina

(usa Solaris)

Enviado em 14/10/2011 - 13:41h

Oi, tenta ir no Gerenciador de Atualizações. Caso não dê certo. Pega o live cd e tenta fazer um teste de memória.


23. Re: Ubuntu 10.10 não atualiza

Leonard Carvalho
leocarpe

(usa Ubuntu)

Enviado em 14/10/2011 - 16:21h

n4t4n, removi os arquivos da pasta la, mas como adicionar os novos repositórios do maverick??

quanto ao gerenciador de atualizações, não aparece mais o erro, mas tb não aparece nenhuma
atualização. Talvez não tenha nenhuma atualização no momento, vou aguardar até segunda feira
e posto aqui depois.


24. Re: Ubuntu 10.10 não atualiza

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 14/10/2011 - 17:01h

Dificilmente será isso. Vamos fazer um teste.

em um terminal faça

sudo apt-get update

e posta aqui a saída

depois faça

sudo apt-get install aptitude

e posta a saída também

Dica: Quando você colar os comandos aqui, coloque entre as tags [ code] [ /code], sem os espaços.



01 02 03



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts