无法安装统一调整工具

我试过多次通过终端安装Unity调整工具,但每次它给我以下输出。 同样,我无法通过Ubuntu软件中心安装它。 我试过sudo apt-get install -fsudo apt-get install unity-tweak-tool 。 使用终端时的输出如下:

 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  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:~$ 

似乎缓存中的包已损坏。 使用以下命令首先清理缓存:

 sudo apt-get clean 

在安装包之前:

 sudo apt-get install unity-tweak-tool