“não é possível criar o /etc/apt/sources.list.d/getdeb.list: Directory inexistente” durante a atualização do pacote getdeb-repository

1

sempre que eu tento intall qualquer pacote o seguinte bug aparece (OS no Ubuntu 14.04).

anil@anil-HP-15-Notebook-PC:~$ sudo apt-get upgrade
[sudo] password for anil: 
    Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libpcap0.8:i386 wine-gecko2.24 wine-gecko2.24:i386 wine-mono4.5.2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up getdeb-repository (0.1-1~getdeb1) ...
/var/lib/dpkg/info/getdeb-repository.postinst: 15: /var/lib/dpkg/info/getdeb-repository.postinst: cannot create /etc/apt/sources.list.d/getdeb.list: Directory nonexistent
dpkg: error processing package getdeb-repository (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 getdeb-repository
E: Sub-process /usr/bin/dpkg returned an error code (1)
anil@anil-HP-15-Notebook-PC:~$ 
    
por Anil Emerson 26.10.2014 / 05:47

1 resposta

2

Parece que a pasta /etc/apt/sources.list.d não existe no sistema.

Verifique se a pasta está presente com:

   ls /etc/apt/sources.list.d

e, se estiver faltando, tente:

  sudo mkdir /etc/apt/sources.list.d

e refazer o comando apt-get .

    
por Lety 26.10.2014 / 12:43