apt-get ou dpkg descompacta problemas

1

Estou tendo problemas para atualizar o Libreoffice no Ubuntu 14.04.5 LTS. Há uma dependência não satisfeita no libreoffice-common, mas quando eu executo o sudo apt-get install -f eu recebo o seguinte:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libreoffice-common
Suggested packages:
  libreoffice-style-crystal libreoffice-style-hicontrast
  libreoffice-style-human libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed
  libreoffice-common
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
18 not fully installed or removed.
Need to get 0 B/19.9 MB of archives.
After this operation, 76.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libreoffice-common.
(Reading database ... 118950 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a4.2.8-0ubuntu5.2_all.deb ...
Unpacking libreoffice-common (1:4.2.8-0ubuntu5.2) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.8-0ubuntu5.2_all.deb (--unpack):
 unable to open '/usr/lib/libreoffice/share/gallery/sg36.sdg.dpkg-new': Operation not permitted
rmdir: failed to remove â/var/lib/libreoffice/share/prereg/â: No such file or directory
rmdir: failed to remove â/var/lib/libreoffice/share/â: No such file or directory
rmdir: failed to remove â/var/lib/libreoffice/program/â: No such file or directory
rmdir: failed to remove â/var/lib/libreofficeâ: No such file or directory
rmdir: failed to remove â/var/lib/libreofficeâ: No such file or directory
Processing triggers for desktop-file-utils (0.22-1ubuntu1.1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a4.2.8-0ubuntu5.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu estou supondo que o dpkg está tendo problemas para descompactar o arquivo deb? Tentei fazer o download novamente algumas vezes, mas não há diferença.

    
por Firstbass 15.11.2017 / 13:17

0 respostas