Erro ao abrir o cache: não foi possível abrir o arquivo / var / lib / dpkg / status - open (13: permission denied)

1

Eu recebi o seguinte erro:

Error opening the cache: could not open file /var/lib/dpkg/status - open (13: permission denied)

Não consigo atualizar meu sistema. Quando eu bato update eu recebo que todos os PPAs não foram encontrados

Eu tentei todas as respostas que encontrei, incluindo:

  1. Criando um clone desse arquivo e renomeando caso esteja corrompido.
  2. Recuperando um backup (.old)
  3. Corrigindo permissões (na verdade eu continuei e dei 777)

Nenhuma das opções acima resolveu meu problema. Existe uma maneira indolor para reinstalar o Aptitude?

EDIT: saída de stat

  File: ‘/var/lib/dpkg/status’
  Size: 2720129     Blocks: 5320       IO Block: 4096   regular file
Device: 801h/2049d  Inode: 5389567     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-10-19 08:32:02.481638343 +0300
Modify: 2015-10-16 23:22:37.787905868 +0300
Change: 2015-10-16 23:22:37.795905748 +0300
 Birth: -

sudo apt-get update

Isso produz muitos resultados que não posso postar aqui. Mas os erros são assim:

Err http://ppa.launchpad.net utopic/main Sources                                                                                                                                          
  404  Not Found
Err http://ppa.launchpad.net utopic/main amd64 Packages                                                                                                                                   
  404  Not Found
Err http://ppa.launchpad.net utopic/main i386 Packages                                                                                                                                    
  404  Not Found
Ign http://ppa.launchpad.net utopic/main Translation-en_US                                                                                                                                
Ign http://ppa.launchpad.net utopic/main Translation-en                                                                                                                                   
Fetched 174 kB in 8s (21,6 kB/s)                                                                                                                                                          
W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)/dists/trusty/main/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)/dists/trusty/restricted/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)/dists/trusty/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)/dists/trusty/restricted/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/utopic/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/utopic/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

E a atualização do sudo aptitude segue o mesmo padrão:

Hit http://ppa.launchpad.net trusty/main Sources                                                                                                                                           
Hit http://ppa.launchpad.net trusty/main Sources                                                                                                                                           
Err http://ppa.launchpad.net utopic/main Sources                                                                                                                                           
  404  Not Found
Err http://ppa.launchpad.net utopic/main amd64 Packages                                                                                                                                    
  404  Not Found
Err http://ppa.launchpad.net utopic/main i386 Packages                                                                                                                                     
  404  Not Found
Ign http://ppa.launchpad.net utopic/main Translation-en_US                                                                                                                                 
Ign http://ppa.launchpad.net utopic/main Translation-en                                                                                                                                    
Fetched 112 kB in 8s (14,0 kB/s)                                                                                                                                                           
W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)/dists/trusty/main/binary-amd64/Packages: Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)/dists/trusty/restricted/binary-amd64/Packages: Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)/dists/trusty/main/binary-i386/Packages: Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)/dists/trusty/restricted/binary-i386/Packages: Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/utopic-getdeb/games/binary-i386/Packages: 404  Not Found [IP: 104.28.24.125 80]
W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/utopic/main/source/Sources: 404  Not Found
W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/utopic/main/binary-amd64/Packages: 404  Not Found
W: Failed to fetch http://ppa.launchpad.net/colingille/freshlight/ubuntu/dists/utopic/main/binary-i386/Packages: 404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache

Além disso, o ícone vermelho de permanência no topo, ao lado do meu monitor de rede, tem um ícone vermelho

O que significa este ícone vermelho no meu painel?

Editar: sudo lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.10
Release:    14.10
Codename:   utopic
    
por George D 20.10.2015 / 20:50

0 respostas