LINUX.ORG.RU

Не могу поставить libreoffice на Ubuntu 12.04 (server edition)


0

1

Libreoffice мне нужен что бы конвертить файлы (doc, docx, rtf и т.д.) в .pdf формат из консоли. Но при попытке установить его (apt-get install libreoffice) вылетает след ошибка:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-core (= 1:3.6.0~rc4-0ubuntu3~ppa1~precise1) but it is not going to be installed
               Depends: libreoffice-writer but it is not going to be installed
               Depends: libreoffice-calc but it is not going to be installed
               Depends: libreoffice-impress but it is not going to be installed
               Depends: libreoffice-draw but it is not going to be installed
               Depends: libreoffice-math but it is not going to be installed
               Depends: libreoffice-base but it is not going to be installed
               Depends: ttf-dejavu but it is not going to be installed
               Depends: ttf-sil-gentium-basic
               Depends: libreoffice-filter-mobiledev but it is not going to be installed
               Depends: libreoffice-java-common (>= 1:3.6.0~rc4~) but it is not going to be installed
               Recommends: ttf-liberation or
                           ttf-mscorefonts-installer but it is not going to be installed
               Recommends: libpaper-utils but it is not going to be installed
               Recommends: libreoffice-gnome but it is not going to be installed or
                           libreoffice-kde but it is not going to be installed
 perl : Depends: perl-base (= 5.14.2-6ubuntu2.1) but 5.14.2-6ubuntu2.2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Подскажите как лечить?

Да еще, cups-pdf может конверитть в pdf формат без установленного libreoffice на сервере?

Ответ на: комментарий от bsdfun

Еще непонятней ошибка тогда вылазит

root@ubuntu:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  perl perl-modules
Suggested packages:
  perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl make libpod-plainer-perl
The following packages will be upgraded:
  perl perl-modules
2 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.
1 not fully installed or removed.
Need to get 0 B/7,807 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 24157 files and directories currently installed.)
Preparing to replace perl 5.14.2-6ubuntu2.1 (using .../perl_5.14.2-6ubuntu2.2_amd64.deb) ...
Unpacking replacement perl ...
dpkg: error processing /var/cache/apt/archives/perl_5.14.2-6ubuntu2.2_amd64.deb (--unpack):
 unable to stat `./usr/lib/perl/5.14.2/IPC/SysV.pm' (which I was about to install): Input/output error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/perl_5.14.2-6ubuntu2.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

microvosh
() автор топика
Ответ на: комментарий от microvosh

Проверить диск fsck и ребутнуться, ну или просто ребут, при загрузке само проверит.

anonymous
()
Ответ на: комментарий от AITap

Вечер добрый! Да в принципе ничего, единственное в корне «/» создал папку /services/ и туда ставил Atlassian продукт (jira).

Всем спасиб! Помог совет ребутнутсья и в рековер мод. действительно что то было с файловой системой.

microvosh
() автор топика
Ответ на: комментарий от microvosh

в корне «/» создал папку /services/

так делать не надо, переполнишь корень, не хватит место на mknod и всё умрёт. есть /usr/local и домашнии директории и просто можно через fstab и ln сделать много всего.

dimon555 ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.