[SOLVED] Unable to install ttf-mscorefonts in Xubuntu 16.04's LibreOffice
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have you tried closing LibreOffice and relaunching it again since installing the fonts? Failing that, logging out and logging in again? Failing that, rebooting?
If you still don't have the fonts in LibreOffice, enter the following on the command line and paste the output:
sudo apt-get install ttf-mscorefonts-installer
Can I just point out for the future that if you had pasted the output here from all the commands you mentioned that you ran above, it would have been very useful in pinpointing the problem. Merely saying that a command hasn't worked doesn't give us that much information. Cheers.
Have you tried closing LibreOffice and relaunching it again since installing the fonts? Failing that, logging out and logging in again? Failing that, rebooting?
If you still don't have the fonts in LibreOffice, enter the following on the command line and paste the output:
sudo apt-get install ttf-mscorefonts-installer
Can I just point out for the future that if you had pasted the output here from all the commands you mentioned that you ran above, it would have been very useful in pinpointing the problem. Merely saying that a command hasn't worked doesn't give us that much information. Cheers.
That did it, hydrurga. Thanks. Yeah, just doing the sudo apt-get install ttf-mscorefonts-installer worked this time. (When I did it before it didn't give me the EULA acceptance (like Beachboy2 referenced). This time it gave it to me and I just checked and the fonts are installed.) Appreciate it!
That did it, hydrurga. Thanks. Yeah, just doing the sudo apt-get install ttf-mscorefonts-installer worked this time. (When I did it before it didn't give me the EULA acceptance (like Beachboy2 referenced). This time it gave it to me and I just checked and the fonts are installed.) Appreciate it!
Great! I have to say though that your packages are in a bit of a mess given the output you posted above, with all those non-upgraded packages and orphan dependencies. You really need to keep on top of them with sudo apt-get update, sudo apt-get upgrade and sudo apt-get autoremove or problems will arise. Please make a system backup first though.
Great! I have to say though that your packages are in a bit of a mess given the output you posted above, with all those non-upgraded packages and orphan dependencies. You really need to keep on top of them with sudo apt-get update, sudo apt-get upgrade and sudo apt-get autoremove or problems will arise. Please make a system backup first though.
Thanks but you're opening up a can of worms for me! I backup my important files in BACK IN TIME but it's not a system backup. How do I do that? And as for the rest of it: do I just run those three commands consecutively? Thanks!
That did it, hydrurga. Thanks. Yeah, just doing the sudo apt-get install ttf-mscorefonts-installer worked this time. (When I did it before it didn't give me the EULA acceptance (like Beachboy2 referenced). This time it gave it to me and I just checked and the fonts are installed.) Appreciate it!
Hi Gregg...
Rockin, I'm glad it worked! If you would, please mark this thread as "SOLVED."
Thanks but you're opening up a can of worms for me! I backup my important files in BACK IN TIME but it's not a system backup. How do I do that? And as for the rest of it: do I just run those three commands consecutively? Thanks!
Ah, I've never used Back in Time. When you say "important files", do you mean your data files, or do you back up your entire root directory structure? A backup of your root partition using e.g. Clonezilla would do the trick but if you've never done that before then it would entail a separate thread.
Anyway, please run:
sudo apt-get update
followed by
sudo apt-get upgrade
to update the software on your system, and paste here any errors that may occur.
Ah, I've never used Back in Time. When you say "important files", do you mean your data files, or do you back up your entire root directory structure? A backup of your root partition using e.g. Clonezilla would do the trick but if you've never done that before then it would entail a separate thread.
Anyway, please run:
sudo apt-get update
followed by
sudo apt-get upgrade
to update the software on your system, and paste here any errors that may occur.
Thanks a lot, hydrurga. Here's what I got. (I didn't know how to identify the errors.) It's the same data, just I guess the Hastebin highlights certain stuff.
Does running the upgrade fix the errors pretty much? Thanks.
Thanks a lot, hydrurga. Here's what I got. (I didn't know how to identify the errors.) It's the same data, just I guess the Hastebin highlights certain stuff.
Does running the upgrade fix the errors pretty much? Thanks.
P.S. Should I repeat the process (of running those two commands) on my other computer?
If your other system is Debian-based (Ubuntu, Mint etc.), then yes, you should run these commands together fairly often to keep your system up-to-date. However, don't do that machine yet until we've finished with this one.
The only error I see is a possible one with your sources ("AppStream cache update completed, but some metadata was ignored due to errors.") but we can look at that later.
Can you now please reboot your system (there have been kernel changes) and, if all goes ok, run sudo apt-get autoremove and paste the output here.
If your other system is Debian-based (Ubuntu, Mint etc.), then yes, you should run these commands together fairly often to keep your system up-to-date. However, don't do that machine yet until we've finished with this one.
The only error I see is a possible one with your sources ("AppStream cache update completed, but some metadata was ignored due to errors.") but we can look at that later.
Can you now please reboot your system (there have been kernel changes) and, if all goes ok, run sudo apt-get autoremove and paste the output here.
Wow, thanks Hydrurga. Everything looked great after the re-boot. (I even had my icons that were jpgs displaying on my Desktop. (they hadn't been)). And now I just ran the sudo apt-get autoremove. It seemed like a massive housecleaning. 141 items removed and I counted about fifteen kernels. (The state of my computer is just showing how little I know about it. I so often run all kinds of commands trying to figure things out. Some of the commands are from trusted people like you, but many are moonshots from Googling around in the middle of the night.) Anyway, thanks so much for the help getting this computer back in shape! Here's the results:
Just a note for the future. Partly to avoid all these orphaned dependencies (dependencies that were installed because they are required by a package but which are no longer needed because that package has since been removed), I use sudo apt-get --purge autoremove package every time I want to remove a package that I no longer need.
What this command does is to (i) remove the package, (ii) remove the package's system configuration files (--purge), and (iii) remove any orphaned dependencies remaining on the system from whatever package.
This keeps things nice and clean. What you should note however is that it doesn't remove any user configuration files that may have been created in your home directory (possibly hidden with a . as the first letter of the filename). It is up to you to remove these manually if you want to (but you have to be fairly certain what you're doing - I tend to not worry about these as they will disappear when I do a fresh install every couple of years).
If you're still up for this mini-journey, there are some other things we can do, including purging all the package system configuration files that remain on your system, but first, to see what the current situation is, can you please paste the output from:
sudo apt-get update
sudo apt-get upgrade
I may seem a bit anal about this, but if you keep on top of updates, you can avoid a great deal of problems. You don't want to see any errors or warnings for sudo apt-get update, and here's what you want to see every time after sudo-apt upgrade (unless you have intentionally held back any packages i.e. told apt that you don't want them considered for updating, which you haven't):
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.