LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-13-2017, 04:05 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Rep: Reputation: 175Reputation: 175
Unable to install ttf-mscorefonts in Xubuntu 16.04's LibreOffice


I really need the Times New Roman font in LibreOffice so this what I did:

I got this:

sudo apt-get install ttf-mscorefonts-installer

in Synaptic.

Then I didn't have the fonts in LO so I ran this:

sudo apt-get install ttf-mscorefonts

Still didn't have them, so I ran:

sudo apt-get --reinstall install msttcorefonts
and
sudo apt-get --reinstall install ttf-mscorefonts-installer

and I still don't have them.

Please help me install this. (I really need the Times New Roman font in Libreoffice.)

Thanks.
 
Old 02-13-2017, 04:23 PM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 19.2 MATE, MX-19, antiX, Manjaro
Posts: 2,973
Blog Entries: 17

Rep: Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097
Gregg,

Try this again and make sure you agree to the EULA by pressing the Tab key (above Caps Lock), then using Arrow key to select Yes and press Enter.

Code:
sudo apt-get install --reinstall ttf-mscorefonts-installer
Failing that, see post #2:
https://ubuntuforums.org/showthread.php?t=2347693

Last edited by beachboy2; 02-13-2017 at 04:25 PM.
 
1 members found this post helpful.
Old 02-13-2017, 04:38 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
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.
 
1 members found this post helpful.
Old 02-13-2017, 06:16 PM   #4
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by beachboy2 View Post
Gregg,

Try this again and make sure you agree to the EULA by pressing the Tab key (above Caps Lock), then using Arrow key to select Yes and press Enter.

Code:
sudo apt-get install --reinstall ttf-mscorefonts-installer
Failing that, see post #2:
https://ubuntuforums.org/showthread.php?t=2347693
Thanks Beachboy2. Couldn't get it. Here are the results.

Code:
gregory@gregory-GA-A55M-DS2:~/Desktop$ sudo apt-get install --reinstall ttf-mscorefonts-installer
[sudo] password for gregory: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  blt gir1.2-ges-1.0 kaccounts-integration kaccounts-providers kde-config-telepathy-accounts kde-l10n-engb kde-telepathy kde-telepathy-approver kde-telepathy-auth-handler
  kde-telepathy-contact-list kde-telepathy-data kde-telepathy-desktop-applets kde-telepathy-filetransfer-handler kde-telepathy-integration-module kde-telepathy-kaccounts
  kde-telepathy-kpeople kde-telepathy-minimal kde-telepathy-send-file kde-telepathy-text-ui kdeconnect kdeconnect-plasma libaccounts-glib0 libaccounts-qt5-1 libavahi-gobject0
  libfakekey0 libges-1.0-0 libjs-jquery-ui libkaccounts1 libkf5emoticons-bin libkf5emoticons-data libkf5emoticons5 libkf5people-data libkf5people5 libkf5peoplebackend5
  libkf5peoplewidgets5 libkf5purpose5 libkf5webkit5 libktpcommoninternals9 libktplogger9 libktpmodels9 libktpotr9 libktpwidgets9 libmission-control-plugins0 libqca-qt5-2
  libqca-qt5-2-plugins libqgsttools-p1 libqt5glib-2.0-0 libqt5gstreamer-1.0-0 libqt5gstreamerquick-1.0-0 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediaquick-p5
  libqt5multimediawidgets5 libsignon-extension1 libsignon-glib1 libsignon-plugins-common1 libsignon-qt5-1 libtelepathy-glib0 libtelepathy-logger-qt5 libtelepathy-logger3
  libtelepathy-qt5-0 linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-28 linux-headers-4.4.0-28-generic linux-headers-4.4.0-31
  linux-headers-4.4.0-31-generic linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-headers-4.4.0-38
  linux-headers-4.4.0-38-generic linux-headers-4.4.0-42 linux-headers-4.4.0-42-generic linux-headers-4.4.0-45 linux-headers-4.4.0-45-generic linux-headers-4.4.0-47
  linux-headers-4.4.0-47-generic linux-headers-4.4.0-51 linux-headers-4.4.0-51-generic linux-headers-4.4.0-53 linux-headers-4.4.0-53-generic linux-headers-4.4.0-57
  linux-headers-4.4.0-57-generic linux-image-4.4.0-21-generic linux-image-4.4.0-28-generic linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic linux-image-4.4.0-36-generic
  linux-image-4.4.0-38-generic linux-image-4.4.0-42-generic linux-image-4.4.0-45-generic linux-image-4.4.0-47-generic linux-image-4.4.0-51-generic linux-image-4.4.0-53-generic
  linux-image-4.4.0-57-generic linux-image-extra-4.4.0-21-generic linux-image-extra-4.4.0-28-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-34-generic
  linux-image-extra-4.4.0-36-generic linux-image-extra-4.4.0-38-generic linux-image-extra-4.4.0-42-generic linux-image-extra-4.4.0-45-generic linux-image-extra-4.4.0-47-generic
  linux-image-extra-4.4.0-51-generic linux-image-extra-4.4.0-53-generic linux-image-extra-4.4.0-57-generic ofono python-matplotlib-data python3-cycler python3-dateutil
  python3-gst-1.0 python3-matplotlib python3-numpy python3-pyparsing python3-tk python3-tz qml-module-org-kde-telepathy qml-module-qtgstreamer qml-module-qtmultimedia
  qml-module-ubuntu-onlineaccounts qml-modules-org-kde-purpose qtdeclarative5-qtquick2-plugin qtgstreamer-plugins-qt5 signon-kwallet-extension signon-plugin-oauth2
  signon-plugin-password signon-ui signon-ui-service signon-ui-x11 signond telepathy-accounts-signon telepathy-gabble telepathy-haze telepathy-logger telepathy-mission-control-5
  telepathy-ring telepathy-salut tk8.6-blt2.5
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 125 not upgraded.
Need to get 0 B/29.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 649224 files and directories currently installed.)
Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu2_all.deb ...
mscorefonts-eula license has already been accepted
Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu2) over (3.4+nmu1ubuntu2) ...
Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ...
Processing triggers for update-notifier-common (3.168.3) ...
ttf-mscorefonts-installer: processing...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
Err:1 http://downloads.sourceforge.net/corefonts/andale32.exe
  Connection timed out after 120001 milliseconds
W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/andale32.exe' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Failed to fetch https://superb-dca2.dl.sourceforge.net/project/corefonts/the fonts/final/andale32.exe  Connection timed out after 120001 milliseconds

E: Download Failed
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
gregory@gregory-GA-A55M-DS2:~/Desktop$ sudo apt purge ttf-mscorefonts-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  blt gir1.2-ges-1.0 kaccounts-integration kaccounts-providers kde-config-telepathy-accounts kde-l10n-engb kde-telepathy kde-telepathy-approver kde-telepathy-auth-handler
  kde-telepathy-contact-list kde-telepathy-data kde-telepathy-desktop-applets kde-telepathy-filetransfer-handler kde-telepathy-integration-module kde-telepathy-kaccounts
  kde-telepathy-kpeople kde-telepathy-minimal kde-telepathy-send-file kde-telepathy-text-ui kdeconnect kdeconnect-plasma libaccounts-glib0 libaccounts-qt5-1 libavahi-gobject0
  libfakekey0 libges-1.0-0 libjs-jquery-ui libkaccounts1 libkf5emoticons-bin libkf5emoticons-data libkf5emoticons5 libkf5people-data libkf5people5 libkf5peoplebackend5
  libkf5peoplewidgets5 libkf5purpose5 libkf5webkit5 libktpcommoninternals9 libktplogger9 libktpmodels9 libktpotr9 libktpwidgets9 libmission-control-plugins0 libqca-qt5-2
  libqca-qt5-2-plugins libqgsttools-p1 libqt5glib-2.0-0 libqt5gstreamer-1.0-0 libqt5gstreamerquick-1.0-0 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediaquick-p5
  libqt5multimediawidgets5 libsignon-extension1 libsignon-glib1 libsignon-plugins-common1 libsignon-qt5-1 libtelepathy-glib0 libtelepathy-logger-qt5 libtelepathy-logger3
  libtelepathy-qt5-0 linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-28 linux-headers-4.4.0-28-generic linux-headers-4.4.0-31
  linux-headers-4.4.0-31-generic linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-headers-4.4.0-38
  linux-headers-4.4.0-38-generic linux-headers-4.4.0-42 linux-headers-4.4.0-42-generic linux-headers-4.4.0-45 linux-headers-4.4.0-45-generic linux-headers-4.4.0-47
  linux-headers-4.4.0-47-generic linux-headers-4.4.0-51 linux-headers-4.4.0-51-generic linux-headers-4.4.0-53 linux-headers-4.4.0-53-generic linux-headers-4.4.0-57
  linux-headers-4.4.0-57-generic linux-image-4.4.0-21-generic linux-image-4.4.0-28-generic linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic linux-image-4.4.0-36-generic
  linux-image-4.4.0-38-generic linux-image-4.4.0-42-generic linux-image-4.4.0-45-generic linux-image-4.4.0-47-generic linux-image-4.4.0-51-generic linux-image-4.4.0-53-generic
  linux-image-4.4.0-57-generic linux-image-extra-4.4.0-21-generic linux-image-extra-4.4.0-28-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-34-generic
  linux-image-extra-4.4.0-36-generic linux-image-extra-4.4.0-38-generic linux-image-extra-4.4.0-42-generic linux-image-extra-4.4.0-45-generic linux-image-extra-4.4.0-47-generic
  linux-image-extra-4.4.0-51-generic linux-image-extra-4.4.0-53-generic linux-image-extra-4.4.0-57-generic ofono python-matplotlib-data python3-cycler python3-dateutil
  python3-gst-1.0 python3-matplotlib python3-numpy python3-pyparsing python3-tk python3-tz qml-module-org-kde-telepathy qml-module-qtgstreamer qml-module-qtmultimedia
  qml-module-ubuntu-onlineaccounts qml-modules-org-kde-purpose qtdeclarative5-qtquick2-plugin qtgstreamer-plugins-qt5 signon-kwallet-extension signon-plugin-oauth2
  signon-plugin-password signon-ui signon-ui-service signon-ui-x11 signond telepathy-accounts-signon telepathy-gabble telepathy-haze telepathy-logger telepathy-mission-control-5
  telepathy-ring telepathy-salut tk8.6-blt2.5
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  ttf-mscorefonts-installer*
0 upgraded, 0 newly installed, 1 to remove and 125 not upgraded.
After this operation, 134 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 649223 files and directories currently installed.)
Removing ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
Purging configuration files for ttf-mscorefonts-installer (3.4+nmu1ubuntu2) ...
Processing triggers for update-notifier-common (3.168.3) ...
gregory@gregory-GA-A55M-DS2:~/Desktop$ wget http://ftp.de.debian.org/debian/pool...er_3.6_all.deb -P ~/Downloads
--2017-02-13 18:13:20--  http://ftp.de.debian.org/debian/pool...er_3.6_all.deb
Resolving ftp.de.debian.org (ftp.de.debian.org)... 141.76.2.4
Connecting to ftp.de.debian.org (ftp.de.debian.org)|141.76.2.4|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-02-13 18:13:20 ERROR 404: Not Found.

gregory@gregory-GA-A55M-DS2:~/Desktop$
 
Old 02-13-2017, 06:30 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by hydrurga View Post
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!
 
Old 02-13-2017, 06:35 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
Quote:
Originally Posted by Gregg Bell View Post
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.
 
1 members found this post helpful.
Old 02-13-2017, 06:45 PM   #7
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by hydrurga View Post
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!
 
Old 02-13-2017, 07:34 PM   #8
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by Gregg Bell View Post
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."

Regards...
 
Old 02-13-2017, 08:59 PM   #9
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by ardvark71 View Post
Hi Gregg...

Rockin, I'm glad it worked! If you would, please mark this thread as "SOLVED."

Regards...
Hey ardvark. I left it open because I asked hydrurga some questions and figured if I marked it 'solved' he might not check back.
 
Old 02-13-2017, 11:56 PM   #10
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by Gregg Bell View Post
Hey ardvark. I left it open because I asked hydrurga some questions and figured if I marked it 'solved' he might not check back.
That's cool, hope you're doing well.

Regards...
 
Old 02-14-2017, 12:20 AM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
Quote:
Originally Posted by Gregg Bell View Post
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.
 
1 members found this post helpful.
Old 02-14-2017, 01:48 PM   #12
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by hydrurga View Post
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.

http://pastebin.com/dTiA2QQG

https://hastebin.com/ebapomutil.sql

P.S. Should I repeat the process (of running those two commands) on my other computer?

Last edited by Gregg Bell; 02-14-2017 at 01:51 PM. Reason: added question about other computer
 
Old 02-14-2017, 02:05 PM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
Quote:
Originally Posted by Gregg Bell View Post
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.

http://pastebin.com/dTiA2QQG

https://hastebin.com/ebapomutil.sql

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.
 
1 members found this post helpful.
Old 02-14-2017, 10:02 PM   #14
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,948

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by hydrurga View Post
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:

Hastebin: https://hastebin.com/wafazomuya.sql

Pastebin: http://pastebin.com/9tGjenTq
 
Old 02-15-2017, 05:52 AM   #15
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
That looks great, thanks Gregg.

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.
The above output is my nirvana. ;-)

Last edited by hydrurga; 02-15-2017 at 12:28 PM.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ttf-mscorefonts-installer error Fixit7 Ubuntu 7 01-12-2017 03:41 PM
install ttf-mscorefonts Pedroski Linux - Software 3 10-16-2014 03:49 AM
new ttf fonts not available in LibreOffice (xubuntu 11.10) harryg123 Linux - Newbie 2 04-14-2012 10:37 AM
Configuring ttf-mscorefonts-installer khalidswimmer Linux - Newbie 1 08-23-2011 04:44 AM
ttf-mscorefonts-installer screwed up my wine environment taylorkh Ubuntu 3 01-26-2011 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration