Ubuntu 10.10 - Upgrade Error

1. Ubuntu 10.10 - Upgrade Error

Pablo Falcão da Frota
pablofalcaodafro

(usa Ubuntu)

Enviado em 24/12/2010 - 11:58h

Bom dia para todos. Alguem pode me ajudar sobre este erro?
Utilizo o Ubuntu 10.10 - Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007

Vejam a mensagem abaixo quando tento atualizar a distro.

MENSAGEM:

Could not calculate the upgrade

A unresolvable problem occurred while calculating the upgrade.

Please report this bug against the 'update-manager' package and include the following error message:
'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'


  


2. Re: Ubuntu 10.10 - Upgrade Error

brunotec
brunotec

(usa Debian)

Enviado em 24/12/2010 - 12:15h

deve ter algum problema com seus repositórios, sendo assim faça:

$ sudo gedit /etc/apt/sources.list


copie todo o conteúdo e poste para darmos uma olhada!


obs:

atualizar repositórios:

$sudo apt-get update

atualizar sistema:

$sudo apt-get upgrade

atualização geral:

$sudo apt-get dist-upgrade


3. sources.list

Pablo Falcão da Frota
pablofalcaodafro

(usa Ubuntu)

Enviado em 24/12/2010 - 12:43h

#
## Ubuntu 10.10 Maverick Meerkat.
#

### Espelho Oficial.
### Ubuntu 10.10 Maverick Meerkat (Main, Restricted, Universe, Multiverse).
deb http://archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse

### Ubuntu 10.10 Maverick Meerkat (Updates).
deb http://archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse

### Ubuntu 10.10 Maverick Meerkat (Proposed Updates).
#deb http://archive.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse

### Ubuntu 10.10 Maverick Meerkat (Backports).
#deb http://archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

### Ubuntu 10.10 Maverick Meerkat (Partner).
deb http://archive.canonical.com/ubuntu maverick partner
#deb-src http://archive.canonical.com/ubuntu maverick partner

### Espelho Brasileiro.
### Ubuntu 10.10 Maverick Meerkat (Main, Restricted, Universe, Multiverse).
deb http://br.archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse

### Ubuntu 10.10 Maverick Meerkat (Updates).
deb http://br.archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://br.archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse

### Ubuntu 10.10 Maverick Meerkat (Proposed Updates).
#deb http://br.archive.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse

### Ubuntu 10.10 Maverick Meerkat (Backports).
#deb http://br.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

### Ubuntu 10.10 Maverick Meerkat (Medibuntu).
## Instalação da chave GPG para o Medibuntu:
## sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
deb http://packages.medibuntu.org/ maverick free non-free
#deb-src http://packages.medibuntu.org/ maverick free non-free


4. Re: Ubuntu 10.10 - Upgrade Error

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/12/2010 - 12:43h

1- atualize seus repositórios:

$ sudo apt-get update

2- se não der msg de erro atualize sistema:

$ sudo apt-get upgrade




5. Re: Ubuntu 10.10 - Upgrade Error

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/12/2010 - 12:44h

rode o comando

$ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update


6. Re: Ubuntu 10.10 - Upgrade Error

brunotec
brunotec

(usa Debian)

Enviado em 24/12/2010 - 12:52h

CORRETO CLODOALDO!!


siga a dica do amigo clodoaldo e funcionará!

depois rode um :

$ sudo apt-get upgrade


7. Re: Ubuntu 10.10 - Upgrade Error

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/12/2010 - 12:55h

até aí só foi contada a metade da estória:

"
Utilizo o Ubuntu 10.10 - Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007
"


O Ubuntu 10.10 se não me engano usa kernel 2.6.35!


Pode ser que haja algum processo rolando em segundo plano, isso se resolve facilmente com:

$ sudo killall apt-get
$ sudo killall dpkg
$ sudo killall update-manager
$ sudo apt-get -f install
$ sudo dpkg --configure -a

feito isso, siga:

$ uname -a
$ cat /etc/issue
$ sudo apt-get update
$ sudo apt-get dist-upgrade

Daí cole todo o conteúdo dessa última parte aqui.


* digo isso porque se papai noel atender meu pedido, a bola de cristal só chegará a partir das 24h desta data.



8. Resultado apos o comando (sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-

Pablo Falcão da Frota
pablofalcaodafro

(usa Ubuntu)

Enviado em 24/12/2010 - 13:02h

Get:1 http://br.archive.ubuntu.com maverick Release.gpg [198B]
Ign http://br.archive.ubuntu.com maverick/main Translation-en_US
Ign http://br.archive.ubuntu.com maverick/restricted Translation-en_US
Ign http://br.archive.ubuntu.com maverick/universe Translation-en_US
Ign http://br.archive.ubuntu.com maverick/multiverse Translation-en_US
Get:2 http://br.archive.ubuntu.com maverick-security Release.gpg [198B]
Ign http://br.archive.ubuntu.com maverick-security/main Translation-en_US
Ign http://br.archive.ubuntu.com maverick-security/restricted Translation-en_US
Ign http://br.archive.ubuntu.com maverick-security/universe Translation-en_US
Ign http://br.archive.ubuntu.com maverick-security/multiverse Translation-en_US
Get:3 http://br.archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign http://br.archive.ubuntu.com maverick-updates/main Translation-en_US
Ign http://br.archive.ubuntu.com maverick-updates/restricted Translation-en_US
Ign http://br.archive.ubuntu.com maverick-updates/universe Translation-en_US
Ign http://br.archive.ubuntu.com maverick-updates/multiverse Translation-en_US
Hit http://br.archive.ubuntu.com maverick Release
Hit http://br.archive.ubuntu.com maverick-security Release
Hit http://br.archive.ubuntu.com maverick-updates Release
Hit http://br.archive.ubuntu.com maverick/main Packages
Hit http://br.archive.ubuntu.com maverick/restricted Packages
Hit http://br.archive.ubuntu.com maverick/universe Packages
Hit http://br.archive.ubuntu.com maverick/multiverse Packages
Hit http://br.archive.ubuntu.com maverick-security/main Packages
Hit http://br.archive.ubuntu.com maverick-security/restricted Packages
Hit http://br.archive.ubuntu.com maverick-security/universe Packages
Hit http://br.archive.ubuntu.com maverick-security/multiverse Packages
Hit http://br.archive.ubuntu.com maverick-updates/main Packages
Hit http://br.archive.ubuntu.com maverick-updates/restricted Packages
Hit http://br.archive.ubuntu.com maverick-updates/universe Packages
Hit http://br.archive.ubuntu.com maverick-updates/multiverse Packages
Get:4 http://archive.canonical.com maverick Release.gpg [198B]
Ign http://archive.canonical.com maverick/partner Translation-en_US
Get:5 http://archive.ubuntu.com maverick Release.gpg [198B]
Ign http://archive.ubuntu.com maverick/main Translation-en_US
Hit http://archive.canonical.com maverick Release
Ign http://archive.ubuntu.com maverick/restricted Translation-en_US
Ign http://archive.ubuntu.com maverick/universe Translation-en_US
Ign http://archive.ubuntu.com maverick/multiverse Translation-en_US
Get:6 http://archive.ubuntu.com maverick-security Release.gpg [198B]
Ign http://archive.ubuntu.com maverick-security/main Translation-en_US
Ign http://archive.ubuntu.com maverick-security/restricted Translation-en_US
Ign http://archive.ubuntu.com maverick-security/universe Translation-en_US
Get:7 http://packages.medibuntu.org maverick Release.gpg [197B]
Hit http://archive.canonical.com maverick/partner Packages
Ign http://archive.ubuntu.com maverick-security/multiverse Translation-en_US
Get:8 http://archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign http://archive.ubuntu.com maverick-updates/main Translation-en_US
Ign http://archive.ubuntu.com maverick-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com maverick-updates/universe Translation-en_US
Ign http://archive.ubuntu.com maverick-updates/multiverse Translation-en_US
Hit http://archive.ubuntu.com maverick Release
Hit http://archive.ubuntu.com maverick-security Release
Ign http://packages.medibuntu.org maverick/free Translation-en_US
Hit http://archive.ubuntu.com maverick-updates Release
Hit http://archive.ubuntu.com maverick/main Packages
Hit http://archive.ubuntu.com maverick/restricted Packages
Ign http://packages.medibuntu.org maverick/non-free Translation-en_US
Hit http://archive.ubuntu.com maverick/universe Packages
Hit http://archive.ubuntu.com maverick/multiverse Packages
Hit http://archive.ubuntu.com maverick-security/main Packages
Hit http://archive.ubuntu.com maverick-security/restricted Packages
Hit http://archive.ubuntu.com maverick-security/universe Packages
Hit http://archive.ubuntu.com maverick-security/multiverse Packages
Hit http://archive.ubuntu.com maverick-updates/main Packages
Hit http://archive.ubuntu.com maverick-updates/restricted Packages
Hit http://archive.ubuntu.com maverick-updates/universe Packages
Hit http://archive.ubuntu.com maverick-updates/multiverse Packages
Hit http://packages.medibuntu.org maverick Release
Hit http://packages.medibuntu.org maverick/free Packages
Hit http://packages.medibuntu.org maverick/non-free Packages
Fetched 8B in 2s (3B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
medibuntu-keyring is already the newest version.
The following extra packages will be installed:
openoffice.org-l10n-common
The following packages will be upgraded:
openoffice.org-l10n-common
1 upgraded, 0 newly installed, 0 to remove and 638 not upgraded.
5 not fully installed or removed.
Need to get 0B/1488kB of archives.
After unpacking 1401kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 94112 files and directories currently installed.)
Preparing to replace openoffice.org-l10n-common 2.2.0-0ubuntu2 (using .../openoffice.org-l10n-common_1%3a3.2.1-6ubuntu1_all.deb) ...
Unpacking replacement openoffice.org-l10n-common ...
dpkg-deb: file `/var/cache/apt/archives/openoffice.org-l10n-common_1%3a3.2.1-6ubuntu1_all.deb' contains ununderstood data member data.tar.lzma , giving up
*** glibc detected *** /usr/bin/dpkg: double free or corruption (fasttop): 0x082821e8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7ec17cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7ec4e30]
/usr/bin/dpkg[0x806402e]
/usr/bin/dpkg[0x8058fd0]
/usr/bin/dpkg[0x804b348]
/usr/bin/dpkg[0x8055aae]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7e6febc]
/usr/bin/dpkg[0x804ab51]
======= Memory map: ========
08048000-0809b000 r-xp 00000000 08:01 4915425 /usr/bin/dpkg
0809b000-0809c000 rw-p 00052000 08:01 4915425 /usr/bin/dpkg
0809c000-08f31000 rw-p 0809c000 00:00 0 [heap]
b7900000-b7921000 rw-p b7900000 00:00 0
b7921000-b7a00000 ---p b7921000 00:00 0
b7a9d000-b7aa8000 r-xp 00000000 08:01 1884224 /lib/libgcc_s.so.1
b7aa8000-b7aa9000 rw-p 0000a000 08:01 1884224 /lib/libgcc_s.so.1
b7ab3000-b7cfe000 rw-p b7ab3000 00:00 0
b7cfe000-b7d07000 r-xp 00000000 08:01 1918227 /lib/tls/i686/cmov/libnss_files-2.5.so
b7d07000-b7d09000 rw-p 00008000 08:01 1918227 /lib/tls/i686/cmov/libnss_files-2.5.so
b7d09000-b7d11000 r-xp 00000000 08:01 1918231 /lib/tls/i686/cmov/libnss_nis-2.5.so
b7d11000-b7d13000 rw-p 00007000 08:01 1918231 /lib/tls/i686/cmov/libnss_nis-2.5.so
b7d13000-b7d26000 r-xp 00000000 08:01 1918221 /lib/tls/i686/cmov/libnsl-2.5.so
b7d26000-b7d28000 rw-p 00012000 08:01 1918221 /lib/tls/i686/cmov/libnsl-2.5.so
b7d28000-b7d2a000 rw-p b7d28000 00:00 0
b7d2a000-b7d31000 r-xp 00000000 08:01 1918223 /lib/tls/i686/cmov/libnss_compat-2.5.so
b7d31000-b7d33000 rw-p 00006000 08:01 1918223 /lib/tls/i686/cmov/libnss_compat-2.5.so
b7d3c000-b7d3f000 rw-p b7d3c000 00:00 0
b7d3f000-b7d7a000 r--p 00000000 08:01 4965710 /usr/lib/locale/en_US.utf8/LC_CTYPE
b7d7a000-b7d7b000 r--p 00000000 08:01 4965715 /usr/lib/locale/en_US.utf8/LC_NUMERIC
b7d7b000-b7d7c000 r--p 00000000 08:01 4965718 /usr/lib/locale/en_US.utf8/LC_TIME
b7d7c000-b7e53000 r--p 00000000 08:01 4965709 /usr/lib/locale/en_US.utf8/LC_COLLATE
b7e53000-b7e54000 r--p 00000000 08:01 4965713 /usr/lib/locale/en_US.utf8/LC_MONETARY
b7e54000-b7e55000 r--p 00000000 08:01 4980794 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7e55000-b7e56000 r--p 00000000 08:01 4965716 /usr/lib/locale/en_US.utf8/LC_PAPER
b7e56000-b7e57000 r--p 00000000 08:01 4965714 /usr/lib/locale/en_US.utf8/LC_NAME
b7e57000-b7e58000 r--p 00000000 08:01 4965708 /usr/lib/locale/en_US.utf8/LC_ADDRESS
b7e58000-b7e5a000 rw-p b7e58000 00:00 0
b7e5a000-b7f95000 r-xp 00000000 08:01 1918210 /lib/tls/i686/cmov/libc-2.5.so
b7f95000-b7f96000 r--p 0013b000 08:01 1918210 /lib/tls/i686/cmov/libc-2.5.so
b7f96000-b7f98000 rw-p 0013c000 08:01 1918210 /lib/tls/i686/cmov/libc-2.5.so
b7f98000-b7f9b000 rw-p b7f98000 00:00 0
b7f9b000-b7fae000 r-xp 00000000 08:01 1918236 /lib/tls/i686/cmov/libpthread-2.5.so
b7fae000-b7fb0000 rw-p 00013000 08:01 1918236 /lib/tls/i686/cmov/libpthread-2.5.so
b7fb0000-b7fb2000 rw-p b7fb0000 00:00 0
b7fb2000-b7fb3000 r--p 00000000 08:01 4965717 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
b7fb3000-b7fb4000 r--p 00000000 08:01 4965712 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
b7fb4000-b7fbb000 r--s 00000000 08:01 3752171 /usr/lib/gconv/gconv-modules.cache
b7fbb000-b7fbc000 r--p 00000000 08:01 4965711 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
b7fbc000-b7fbe000 rw-p b7fbc000 00:00 0
b7fbe000-b7fd7000 r-xp 00000000 08:01 1884181 /lib/ld-2.5.so
b7fd7000-b7fd9000 rw-p 00019000 08:01 1884181 /lib/ld-2.5.so
bfd47000-bfd5d000 rw-p bfd47000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
E: Sub-process /usr/bin/dpkg exited unexpectedly



9. Re: Ubuntu 10.10 - Upgrade Error

brunotec
brunotec

(usa Debian)

Enviado em 24/12/2010 - 13:03h

caraca edinaldo !!! não precisava dar esse banho de conhecimento em mim e no clodoaldo. rsrsrsrsrs

e só respondendo.. o ubuntu usa sim o kernel 2.6.35

OBS: embora em meu PC não use mais pois mandei ele pra lata do lixo ashua ashua ashua

pois agora uso liquorix!! inhéc inhéc inhéc


10. ãããããããããããã

brunotec
brunotec

(usa Debian)

Enviado em 24/12/2010 - 13:05h

rode esses comandos como disse o edps:

$ sudo apt-get -f install
$ sudo dpkg --configure -a

e depois um:

$ sudo apt-get update

e

$ sudo apt-get upgrade


11. Resultado: apt-get autoclean

Pablo Falcão da Frota
pablofalcaodafro

(usa Ubuntu)

Enviado em 24/12/2010 - 13:06h

Apos executar o apt-get autoclean executei novamente o apt-get update e apareceu a seguinte mensagem abaixo:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.


12. Resultado: dpkg --configure -a

Pablo Falcão da Frota
pablofalcaodafro

(usa Ubuntu)

Enviado em 24/12/2010 - 13:08h

Setting up python-bittorrent (3.4.2-11.1ubuntu4) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2304, in <module>
main()
File "/usr/bin/pycentral", line 2298, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1511, in run
shell=False)
File "/usr/lib/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1135, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
dpkg: error processing python-bittorrent (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bittorrent:
bittorrent depends on python-bittorrent (= 3.4.2-11.1ubuntu4); however:
Package python-bittorrent is not configured yet.
dpkg: error processing bittorrent (--configure):
dependency problems - leaving unconfigured
Setting up libgcj-common (4.4.4-1ubuntu2) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2304, in <module>
main()
File "/usr/bin/pycentral", line 2298, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1511, in run
shell=False)
File "/usr/lib/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1135, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
dpkg: error processing libgcj-common (--configure):
subprocess post-installation script returned error exit status 1
Setting up launchpad-integration (0.1.38) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2304, in <module>
main()
File "/usr/bin/pycentral", line 2298, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1511, in run
shell=False)
File "/usr/lib/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1135, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
dpkg: error processing launchpad-integration (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
python-bittorrent
bittorrent
libgcj-common
launchpad-integration




01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts