Não é possível instalar a ferramenta de ajuste de unidade

0

Eu tentei várias vezes instalar a ferramenta de ajuste de unidade através do terminal, mas toda vez que ele me deu a seguinte saída. Da mesma forma eu não posso instalá-lo através do centro de software do Ubuntu. Eu tentei sudo apt-get install -f & amp; sudo apt-get install unity-tweak-tool . a saída ao usar o terminal é a seguinte:

nikunj@nikunj-DL-H61MXE-V:~$ sudo apt-get install unity-tweak-tool
[sudo] password for nikunj: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  unity-tweak-tool
0 upgraded, 1 newly installed, 0 to remove and 170 not upgraded.
Need to get 0 B/368 kB of archives.
After this operation, 2,761 kB of additional disk space will be used.
(Reading database ... 197290 files and directories currently installed.)
Preparing to unpack .../unity-tweak-tool_0.0.7-0~201~ubuntu15.10.1_all.deb ...
Unpacking unity-tweak-tool (0.0.7-0~201~ubuntu15.10.1) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/unity-tweak-tool_0.0.7-0~201~ubuntu15.10.1_all.deb (--unpack):
 cannot copy extracted data for './usr/share/unity-tweak-tool/monitor-window-snapping.png' to '/usr/share/unity-tweak-tool/monitor-window-snapping.png.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
 /var/cache/apt/archives/unity-tweak-tool_0.0.7-0~201~ubuntu15.10.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
nikunj@nikunj-DL-H61MXE-V:~$ 
    
por nikunj baheti 13.03.2016 / 15:35

1 resposta

1

Parece que o pacote no cache está danificado. Limpe primeiro o cache com o comando:

sudo apt-get clean

antes de instalar o pacote com:

sudo apt-get install unity-tweak-tool
    
por girardengo 13.03.2016 / 19:01