não é possível atualizar para o Ubuntu 13.04 de 12.10

2

Estou tentando atualizar usando estas etapas:

  1. Atualize o sistema via terminal ("sudo apt-get update & amp; sudo apt-get dist-upgrade")
  2. Execute "sudo update-manager -d" (onde espero que o Gerenciador de Atualizações abra e informe: Novo lançamento de distribuição '13 .04 'está disponível)

Mas quando eu fiz o 1 st passo do terminal, isso aconteceu:


>Fetched 489 kB in 49s (9,954 B/s)
>Reading package lists... Done
>Reading package lists... Done
>Building dependency tree       
>Reading state information... Done
>You might want to run 'apt-get -f install' to correct these.
>The following packages have unmet dependencies:
>libc6 : Depends: libgcc1 but it is not installed
>         Depends: tzdata but it is not installed
>E: Unmet dependencies. Try using -f.

Mas quando tentei executar o "apt-get -f install", obtive:


>E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
>
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Eu realmente aprecio sua sugestão, obrigado.

Ah ... esqueci de mencionar que tentei também ... e o resultado foi:


> michael@ubuntu:~$ sudo apt-get -f install 

> [sudo] password for michael:
> Reading package lists... Done Building dependency tree        

> Reading state information... Done Correcting dependencies... 

> Done The following extra packages will be installed:   apt-utils debconf
> debconf-i18n dpkg gcc-4.7-base libapt-inst1.5 libapt-pkg4.12
> libbz2-1.0 libc6 libdb5.1 libgcc1 liblocale-gettext-perl liblzma5
> libselinux1   libstdc++6 libtext-charwidth-perl libtext-iconv-perl
> libtext-wrapi18n-perl perl-base tar zlib1g 
> Suggested packages:  xz-utils debconf-doc debconf-utils whiptail dialog gnome-utils
> libterm-readline-gnu-perl libgtk2-perl libnet-ldap-perl libqtgui4-perl
> libqtcore4-perl apt glibc-doc   locales bzip2 ncompress 

> The following NEW packages will be installed:   apt-utils debconf debconf-i18n dpkg
> libapt-inst1.5 libapt-pkg4.12 libbz2-1.0 libdb5.1 libgcc1
> liblocale-gettext-perl liblzma5 libselinux1 libstdc++6  
> libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl
> perl-base tar zlib1g 

> The following packages will be upgraded:  
> gcc-4.7-base libc6 2 upgraded, 19 newly installed, 0 to remove and 1
> not upgraded. 2 not fully installed or removed. Need to get 0 B/11.3
> MB of archives. After this operation, 22.3 MB of additional disk space
> will be used. Do you want to continue [Y/n]? 
> y 

> debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend requires a
> screen at least 13 lines tall and 31 columns wide.) debconf: falling
> back to frontend: Readline 

> E: Cannot get debconf version. Is debconf installed? debconf: apt-extracttemplates failed:  (Reading database... 479 files and directories currently installed.) Preparing to replace libc6:amd64 2.15-0ubuntu20.1 (using .../libc6_2.17-0ubuntu5_amd64.deb) ... 
debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.) debconf: falling back to frontend:

> Readline Checking for services that may need to be restarted...
> Checking init scripts... Checking for services that may need to be
> restarted... Checking init scripts... Nothing to restart. dpkg: error
> processing /var/cache/apt/archives/libc6_2.17-0ubuntu5_amd64.deb
> (--unpack):  subprocess new pre-installation script returned error
> exit status 2 dpkg: regarding .../libbz2-1.0_1.0.6-4_amd64.deb
> containing libbz2-1.0:amd64, pre-dependency problem:  libbz2-1.0
> pre-depends on multiarch-support   multiarch-support is unpacked, but
> has never been configured.
> 
> dpkg: error processing
> /var/cache/apt/archives/libbz2-1.0_1.0.6-4_amd64.deb (--unpack): 
> pre-dependency problem - not installing libbz2-1.0:amd64 Errors were
> encountered while processing: 
> /var/cache/apt/archives/libc6_2.17-0ubuntu5_amd64.deb 
> /var/cache/apt/archives/libbz2-1.0_1.0.6-4_amd64.deb 

> E: Sub-process
> /usr/bin/dpkg returned an error code (1)
    
por user169156 21.06.2013 / 20:44

1 resposta

1

prefixar sudo

No seu último comando, prefixar sudo para elevar os privilégios, como a mensagem de erro sugere. Então, corra:

sudo apt-get -f install

De qualquer maneira, sua mensagem é sobre muitos pacotes básicos não instalados no momento ... parece muito suspeito para mim que tzdata não esteja instalado. Isso resultaria na falha de todas as operações relacionadas ao fuso horário. Então, eu suspeito que mais está quebrado no seu sistema, mas tente.

    
por gertvdijk 21.06.2013 / 20:50