LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-22-2010, 12:44 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Rep: Reputation: 48
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 06:17 AM. Reason: More addition at end
 
Old 06-22-2010, 05:46 AM   #2
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
If possible, connect to the internet and try "apt-get install --reinstall msttcorefonts"
 
Old 06-22-2010, 06:06 AM   #3
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
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.

Cheers
 
Old 06-22-2010, 06:15 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
My machine does not have internet connection that is the crux of problem.
 
Old 06-22-2010, 06:53 AM   #5
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 41
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.
 
Old 06-22-2010, 06:53 AM   #6
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 41
Unhappy

sorry.. I am trying to delete a double post

Last edited by halvy; 06-22-2010 at 07:03 AM.
 
Old 06-23-2010, 07:41 AM   #7
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
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
 
Old 06-23-2010, 01:20 PM   #8
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 41
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.
 
Old 06-24-2010, 04:09 AM   #9
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
purge & aptitude options did not work .

Seems I have to get dselect or kpackage.

That didn't help either.

The good thing is

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 10:47 AM. Reason: problem lingers , though ubuntu 10.04 is good.
 
  


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
install msttcorefonts in using Ubuntu install esteeven Slackware 2 09-04-2009 05:27 PM
Cant install msttcorefonts meniscus Linux - Newbie 9 01-10-2007 02:10 PM
msttcorefonts rpm broke my apt teddy69 SUSE / openSUSE 2 02-26-2006 11:15 AM
Ubuntu X and msttcorefonts webterractive Ubuntu 5 05-02-2005 12:25 PM
Msttcorefonts Package: Error processing Msttcorefonts (--configure) davidas Linux - Software 3 04-18-2004 03:12 PM


All times are GMT -5. The time now is 04:15 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