Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1661  / 2 Years ago, tue, january 25, 2022, 1:00:04

I've run sudo apt-get install -f from which I received the error: (after typing 'y' to give it permission to install libreoffice-common)



Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a3.6.2~rc2-0ubuntu4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I am running 12.10.



I also ran the commands:



sudo apt-get clean
sudo apt-get autoremove
sudo apt-get autoclean


Then I tried



sudo apt-get remove libreoffice-common libreoffice-core libreoffice-ogltrans


and received the error:



Package 'libreoffice-common' is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libreoffice-base-core : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
libreoffice-calc : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
libreoffice-draw : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
libreoffice-emailmerge : Depends: libreoffice-core but it is not going to be installed
libreoffice-gnome : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
libreoffice-gtk : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
libreoffice-impress : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
libreoffice-math : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
libreoffice-pdfimport : Depends: libreoffice-core but it is not going to be installed
libreoffice-presentation-minimizer : Depends: libreoffice-core but it is not going to be installed
libreoffice-presenter-console : Depends: libreoffice-core but it is not going to be installed
libreoffice-writer : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
mythes-en-us : Depends: libreoffice-core but it is not going to be installed or
openoffice.org-core (>= 1.9) but it is not installable or
language-support-writing-en but it is not installable
python-uno : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

More From » 12.10

 Answers
1

The fact that you are experiencing this problem is a bug, and can be reported.



Try removing LibreOffice completely:



sudo apt-get remove libreoffice-common libreoffice-core libreoffice-ogltrans libreoffice-base-core libreoffice-calc libreoffice-draw libreoffice-emailmerge libreoffice-gnome libreoffice-gtk libreoffice-impress libreoffice-math libreoffice-pdfimport libreoffice-presentation-minimizer libreoffice-presenter-console libreoffice-writer mythes-en-us python-uno openoffice.org-debian-menus libreoffice-help-en-gb libreoffice-help-en-us libreoffice-help-zh-cn


Then check that everything seems to be working normally:



sudo apt-get install -f


Try installing SL (it's a small joke package that's harmless):



sudo apt-get install sl


This solution is based on this discussion.


[#32966] Wednesday, January 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
humbire

Total Points: 55
Total Questions: 93
Total Answers: 113

Location: Oman
Member since Fri, Dec 23, 2022
1 Year ago
humbire questions
Thu, May 13, 21, 02:28, 3 Years ago
Sun, Oct 24, 21, 14:23, 3 Years ago
Wed, May 17, 23, 22:16, 1 Year ago
;