dpkg está confuso, retornou um código de erro (1)

0

Estou recebendo um erro ao tentar usar o dpkg de alguma forma. ver dados do terminal:

/Downloads$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lightdm-login-chromiumos (1.0) ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    40  100    40    0     0    292      0 --:--:-- --:--:-- --:--:--   291
Downloading: http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_ChromiumOS/84b76aa34b7ee89ea7b44af59239f6729aa53ab5/chrome-linux.zip
ZIP: /tmp/file9DgGEV.zip
Warning: Illegal date format for -z, --timecond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   127  100   127    0     0   1055      0 --:--:-- --:--:-- --:--:--  1058
Archive:  /tmp/file9DgGEV.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/file9DgGEV.zip or
        /tmp/file9DgGEV.zip.zip, and cannot find /tmp/file9DgGEV.zip.ZIP, period.
dpkg: error processing package lightdm-login-chromiumos (--configure):
 subprocess installed post-installation script returned error exit status 9
Errors were encountered while processing:
 lightdm-login-chromiumos
E: Sub-process /usr/bin/dpkg returned an error code (1)

Aqui está a saída de sudo dpkg --configure -a


Setting up lightdm-login-chromiumos (1.0) ... 
% Total % Received % Xferd Average Speed Time Time Time Current 
Dload Upload Total Spent Left Speed 
100 40 100 40 0 0 163 0 --:--:-- --:--:-- --:--:-- 163 
Downloading: commondatastorage.googleapis.… 
ZIP: /tmp/fileTPoMun.zip 
Warning: Illegal date format for -z, --timecond (and not a file name). 
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax. 
% Total % Received % Xferd Average Speed Time Time Time Current 
Dload Upload Total Spent Left Speed 
100 127 100 127 0 0 481 0 --:--:-- --:--:-- --:--:-- 482 
Archive: /tmp/fileTPoMun.zip 
End-of-central-directory signature not found. Either this file is not 
a zipfile, or it constitutes one disk of a multi-part archive. In the 
latter case the central directory and zipfile comment will be found on 
the last disk(s) of this archive. 
unzip: cannot find zipfile directory in one of /tmp/fileTPoMun.zip or 
/tmp/fileTPoMun.zip.zip, and cannot find /tmp/fileTPoMun.zip.ZIP, period. 
dpkg: error processing package lightdm-login-chromiumos (--configure): 
subprocess installed post-installation script returned error exit status 9 
Errors were encountered while processing: 
lightdm-login-chromiumos 
    
por Artful Aardvark 25.05.2017 / 04:43

1 resposta

2

Eu acho que o problema foi com os dados externos. O pacote que você instalou lightdm-login-chromiumos precisa de dados externos que pareciam estar corrompidos ou em formato incorreto para unzip . Enfim, desde que você limpou (no chat) que eles só querem abortar a coisa toda, você só precisa dizer dpkg que o pacote deve ser removido.

Basta fazer isso no terminal

sudo dpkg -r lightdm-login-chromiumos
    
por Anwar 25.05.2017 / 08:14