ಆಪ್ಟ್‌ನೊಂದಿಗೆ ಸ್ಥಾಪಿಸುವಾಗ ಲಿಬ್ರೆ ಆಫೀಸ್ ಓಪನ್ ಆಫೀಸ್‌ನೊಂದಿಗೆ ಘರ್ಷಣೆಯನ್ನು ಉಂಟುಮಾಡುತ್ತದೆ

ನಾನು ಕುಬುಂಟು-ಡೆಸ್ಕ್‌ಟಾಪ್ ಅನ್ನು ಸ್ಥಾಪಿಸಲು ಪ್ರಯತ್ನಿಸುತ್ತಿದ್ದೆ ಮತ್ತು ಲಿಬ್ರೆ ಆಫೀಸ್‌ನಲ್ಲಿ ದೋಷವನ್ನು ಎಣಿಸಿದ್ದೇನೆ. ನಾನು ಇನ್ನು ಮುಂದೆ apt ನೊಂದಿಗೆ ಪ್ಯಾಕೇಜ್‌ಗಳನ್ನು ಸ್ಥಾಪಿಸಲು ಸಾಧ್ಯವಿಲ್ಲ, ಮತ್ತು ನಾನು sudo apt install -f ಅನ್ನು ಬಳಸಲು ಪ್ರಯತ್ನಿಸಿದಾಗ. ನಾನು ಸೂಕ್ತವಾಗಿ ಏನನ್ನಾದರೂ ಮಾಡಲು ಪ್ರಯತ್ನಿಸಿದಾಗ ನಾನು ದೋಷವನ್ನು ಪಡೆಯುತ್ತೇನೆ

Reading package lists... Done
Building dependency tree       
Reading state information... Done
kubuntu-desktop is already the newest version (1.398).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:6.4.6) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt install -f

ರಿಟರ್ನ್ಸ್

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libreoffice-common
The following NEW packages will be installed:
  libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
11 not fully installed or removed.
Need to get 0 B/23.5 MB of archives.
After this operation, 56.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 349645 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a6.4.6-0ubuntu0.20.04.1_all.deb ...
Unpacking libreoffice-common (1:6.4.6-0ubuntu0.20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a6.4.6-0ubuntu0.20.04.1_all.deb (--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.8-9803
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
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a6.4.6-0ubuntu0.20.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
3
задан 22 November 2020 в 05:11

2 ответа

OpenOffice и LibreOffice не должны устанавливаться с друг друга.

Они оба являются ветвями одного и того же программного обеспечения и будут конфликтовать друг с другом, если вы попытаетесь установить их оба в одной системе.

4
ответ дан 3 January 2021 в 22:48

Исправление найдено с помощью

sudo dpkg --remove --force-remove-reinstreq \
       libreoffice-writer libreoffice-qt5 libreoffice-kf5 libreoffice-core \
       libreoffice-math python3-uno libreoffice-impress libreoffice-draw \
       libreoffice-calc libreoffice-plasma libreoffice-base-core
1
ответ дан 3 January 2021 в 22:48

Другие вопросы по тегам:

Похожие вопросы: