LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-25-2006, 10:51 PM   #1
teddy69
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
msttcorefonts rpm broke my apt


I wanted the ms true type fonts on my system so I googled for a suse rpm, I usually would just copy the ttf fonts from my windows partition into the ~/.fonts directory but since I got rid of that I tried to install it with apt. Couldn't find it there so looked for the rpm and installed it, it told me about a dependency issue (/usr/sbin/chkfontpath) but I didn't want to go on another rpm hunt and just wanted to install the fonts so decided to ignore it.

So now because of that apt won't work and neither yast2 or apt can remove the msttcorefonts package, I get the following when I run #apt-get --fix-broken install
Code:
chuy@b0x:~> sudo apt-get --fix-broken install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  msttcorefonts
0 upgraded, 0 newly installed, 1 removed and 134 not upgraded.
Need to get 0B of archives.
After unpacking 6164kB disk space will be freed.
Do you want to continue? [Y/n] Y
Committing changes...
Preparing...                ########################################### [100%]
/var/tmp/rpm-tmp.58055: line 3: /usr/sbin/chkfontpath: No such file or directory
error: %preun(msttcorefonts-1.3-4) scriptlet failed, exit status 127
[suseconfig stuff here]
I'm really just trying to find a way to forcibly remove this package, I don't care about the fonts anymore just want apt to work again, I was going to install chkfontpath rpm to fix the dependency and then remove it but to install that I needed another rpm and to install that I needed another one (class I know)...

so I'm going to procede to find a way to install chkfontpath to be able to fix the dependency, but I wanted some input on how I could force yast (or whatever) to remove the msttcorefonts package...thanks and sorry for rambling
 
Old 02-26-2006, 02:21 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
To fix it, do
Code:
#rpm -e --noscripts msttcorefonts
To get windows fonts, run YOU and select to install the MS ttf patch.
 
Old 02-26-2006, 10:15 AM   #3
teddy69
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz
To fix it, do
Code:
#rpm -e --noscripts msttcorefonts
To get windows fonts, run YOU and select to install the MS ttf patch.
woah thanks, I'll remember that for future reference, I just don't have a lot of experience with rpms or suse for that matter
 
  


Reply



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
I broke apt, sort of coldsalmon Debian 4 06-08-2005 04:47 AM
apt-get broke! jon_k Linux - Software 1 11-07-2004 02:14 PM
Msttcorefonts Package: Error processing Msttcorefonts (--configure) davidas Linux - Software 3 04-18-2004 02:12 PM
Broke apt .5.20 Modify Linux - General 0 01-13-2004 12:37 AM
I think I broke RPM kiteless Linux - Software 1 08-30-2003 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:50 PM.

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
Open Source Consulting | Domain Registration