in ubuntu-8.04 .apt gives error to install msttcorefonts
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
in ubuntu-8.04 .apt gives error to install msttcorefonts
I had copied desired debian files of ubuntu-restricted-extras to /var/cache/apt/archive . So that offline install is possible
But msstcorefonts package involced downloading some exe files while my computer is networkless so during installation it gave error .
Now i ran
Code:
# apt-get install msttcorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
msttcorefonts is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up msttcorefonts (2.4) ...
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
--23:06:25-- http://surfnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving surfnet.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://internap.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving internap.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://puzzle.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving puzzle.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://heanet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving heanet.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://superb-west.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving superb-west.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://superb-east.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving superb-east.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://easynews.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving easynews.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://jaist.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving jaist.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://mesh.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving mesh.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://nchc.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving nchc.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://kent.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving kent.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://umn.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving umn.dl.sourceforge.net... failed: Name or service not known.
--23:06:25-- http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving switch.dl.sourceforge.net... failed: Name or service not known.
andale32.exe: No such file or directory
All done, errors in processing 1 file(s)
dpkg: error processing msttcorefonts (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
Then I tried
Code:
# apt-get remove msttcorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
msttcorefonts
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 201kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 105306 files and directories currently installed.)
Removing msttcorefonts ...
W: /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial_Bold_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Georgia.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Webdings.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial_Black.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Courier_New_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Impact.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Georgia_Italic.ttf: not registered.
dpkg: error processing msttcorefonts (--remove):
subprocess pre-removal script returned error exit status 1
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
--23:07:03-- http://surfnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving surfnet.dl.sourceforge.net... failed: Name or service not known.
--23:07:03-- http://internap.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving internap.dl.sourceforge.net... failed: Name or service not known.
--23:07:03-- http://puzzle.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving puzzle.dl.sourceforge.net... failed: Name or service not known.
--23:07:03-- http://heanet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving heanet.dl.sourceforge.net... failed: Name or service not known.
--23:07:03-- http://superb-west.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving superb-west.dl.sourceforge.net... failed: Name or service not known.
--23:07:04-- http://superb-east.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving superb-east.dl.sourceforge.net... failed: Name or service not known.
--23:07:04-- http://easynews.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving easynews.dl.sourceforge.net... failed: Name or service not known.
--23:07:04-- http://jaist.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving jaist.dl.sourceforge.net... failed: Name or service not known.
--23:07:04-- http://mesh.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving mesh.dl.sourceforge.net... failed: Name or service not known.
--23:07:04-- http://nchc.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving nchc.dl.sourceforge.net... failed: Name or service not known.
--23:07:04-- http://kent.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving kent.dl.sourceforge.net... failed: Name or service not known.
--23:07:04-- http://umn.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving umn.dl.sourceforge.net... failed: Name or service not known.
--23:07:04-- http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving switch.dl.sourceforge.net... failed: Name or service not known.
andale32.exe: No such file or directory
All done, errors in processing 1 file(s)
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
Then tried another way of fixing
Code:
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up msttcorefonts (2.4) ...
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
--23:10:30-- http://surfnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving surfnet.dl.sourceforge.net... failed: Name or service not known.
--23:10:30-- http://internap.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving internap.dl.sourceforge.net... failed: Name or service not known.
--23:10:30-- http://puzzle.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving puzzle.dl.sourceforge.net... failed: Name or service not known.
--23:10:30-- http://heanet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving heanet.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://superb-west.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving superb-west.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://superb-east.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving superb-east.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://easynews.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving easynews.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://jaist.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving jaist.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://mesh.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving mesh.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://nchc.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving nchc.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://kent.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving kent.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://umn.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving umn.dl.sourceforge.net... failed: Name or service not known.
--23:10:31-- http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe'
Resolving switch.dl.sourceforge.net... failed: Name or service not known.
andale32.exe: No such file or directory
All done, errors in processing 1 file(s)
dpkg: error processing msttcorefonts (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do ?
#apt-get check
does not report error.
Usually i have seen that if computer finds the file it has to download in current folder then it uses them , like I keep 26104-700.zip in same folder while installing amrnb-7.0.0.2.tar.bz2 but in case of installing msttcorefonts it did not look in current folder ( which was /var/cache/apt/archives) for .exe files.
Last edited by sumeet inani; 06-22-2010 at 05:17 AM.
Reason: More addition at end
Also, unless you are logged in as root, you need to prefix commands with "sudo". This gives the installer/package manager permission to install packages.
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918
Rep:
Apt may not recognize the file(s) you *just* inserted into it... soo.. you need to delete the pkgcache.bin and srcpkgcache.bin from the /var/cache/apt directory..
This will *make* apt re-read it's database correctly and include the file(s) you manually put in it-- behind it's back
However, if apt still needs to dl some other stuff.. then without a net connection.. I don't think there would be any easy way around it.. unless you can get the package(s) from another pc or source.
I deleted pkgcache.bin & srcpkgcache.bin & APT remade them but still whenever I install or remove anything it says
1 package not properly installed or removed
I also tried
apt-get --reinstall msttcorefonts
I got
E:invalid operation msttcorefonts
ALso
apt-get --reinstall ubuntu-restricted-extras
gave
E:invalid operation ubuntu-restricted-extras
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918
Rep:
ok well there are several other linux package manangers that might help.. have you tried aptitude yet?
aptitude -f install (this will tell you if there are packages that are incomplete, or need dependencies.
See what it says... sometimes one package manager will see and fix things that others will not.
dselect is another one.
kpackage has some of the good switches available and working on version 3.5.9
But with kpackage you will need to select the deb package separately.. in other words, copy it from your cache to your desktop or where ever, and use kpackage to install it.. when you get to the install screen you will see several switches which allow you to over ride dependencies, etc... select the ones you might find interesting.
Of course you could do the same on the command line, but kpackage (at least this older version) seem to work pretty smoothly when I am having a hard time with apt, and don't want to experiment and re-read the man page for the millionth time.
I would first totally remove the offending file (program) (ie. purge) and then start from scratch.
Running aptitude -f install several times.. to see if anything else is possibly causing you problems.
In ubuntu 10.04 when you install ubuntu-restricted-extras & for some reason if system cannot get desired exe files , still the APT does not crash instead it politely suggests
Code:
#dpkg-reconfigure ttf-mscorefonts-installer
So get exe files from somewhere and copy them to a folder then the above command will ask for folder address.
That's all.
Problem
Let us say in ubuntu 8.04 this problem seems to have no solution for offline computer.It is just that system needs exe which it is hell-bent on getting from internet , so bad for networkless computer.
Only if I could fool the apt to indicate a local exe as REQUIRED_link_ address ?
Last edited by sumeet inani; 08-12-2010 at 09:47 AM.
Reason: problem lingers , though ubuntu 10.04 is good.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.