Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
ubuntu 搞定ttf-mscorefonts-installer安裝時出現的錯誤
minghung
follow
0
11-6-2009 1:22 PM
120 views
tags:
ubuntu wine
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
Brothers living in cave to inherit billions from lost grandmother
Bush Shoe Thrower -- Karma is a Size 12
15 Truly Bizarre Creatures
pic of the day
When Crocs Ate Dinosaurs
By Palin-haters’ logic, Obama’s a liar
What Causes Heterosexuality?
The President snacked on WHAT?
A parade of Eco-Hypocrites.......
Vatican secret archives
visit the
Top Clips page
View the Top Clips from
November 6, 2009
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://www.clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/c884e7ee-96b5-4262-b417-356f213cbc8b/06A1873B-DFB8-4E7D-886D-C801706C0357/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://playubuntu.blogspot.com/2009/09/ttf-mscorefonts-installer.html" href="http://playubuntu.blogspot.com/2009/09/ttf-mscorefonts-installer.html" style="font-size: 11px;">playubuntu.blogspot.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://playubuntu.blogspot.com/2009/09/ttf-mscorefonts-installer.html"><DIV class="posttop"><H3 class="post-title entry-title"><A href="http://playubuntu.blogspot.com/2009/09/ttf-mscorefonts-installer.html">「親愛的」搞定ttf-mscorefonts-installer安裝時出現的錯誤</A> </H3> <DIV class="postinfo"><SPAN class="post-author vcard"> 張貼者: <SPAN class="fn">hepha</SPAN> </SPAN></DIV> </DIV> <DIV class="post-header-line-1"></DIV> <DIV class="post-body entry-content"><DIV> 不管是安裝ubuntu-restricted-extras或kbuntu-restricted-extras還是單獨安裝ttf-mscorefonts-installer都會碰到錯誤,原因是安裝時有的檔案下載不來。</DIV> <BR /><DIV> 這幾天有研究一下deb包的原始碼,發現sourceforge.net可能有改變檔案存放位置,而原始碼還是舊的網址,造成檔案找不到,檔案也就安裝錯誤了。</DIV> <BR /><DIV> 只要下載原始碼修改一下並編譯成deb檔,安裝就不會出現錯誤了。</DIV> <DIV>10.21.2009 更新 <RL>下載並修改原始碼</RL> 部份,應該先<BL>刪除</BL>在<BL>搜尋</BL>。 10.26.2009 安裝3.0版是正常的不用此方法修改了。 11.01.2009 Carl反應少了 build-essential 無法編譯以補上了。 </DIV> <A name="more"></A> <BR /><DIV> <TITLE1>下載並修改原始碼</TITLE1></DIV> <STEP>Step1、</STEP>下載最新版的原始碼 <I>需要svn沒有的請安裝</I> <CODE><I>sudo aptitude install subversion </I></CODE><BR /><DIV> <CODE>svn co https://svn.kinkhorst.nl/svn/debian/msttcorefonts/trunk</CODE></DIV> <STEP>Step2、</STEP>修改原始碼<BR /><DIV> <CODE>cd trunk && gedit update-ms-fonts</CODE></DIV> <B>搜尋並刪除</B><BR /><DIV> <CODE>http://downloads.sourceforge.net/corefonts/</CODE></DIV> <B>搜尋</B> <CODE>/corefonts/</CODE> <B>取代</B><BR /><DIV> <CODE>/project/corefonts/the%20fonts/final/</CODE></DIV> 存檔並關閉 <TITLE1>編譯並安裝deb </TITLE1> <STEP>Step1、</STEP>編譯 <I>需要fakeroot 、 build-essential 套件沒有的請安裝</I> <CODE><I>sudo aptitude install fakeroot build-essential</I></CODE><BR /><DIV> <CODE>dpkg-buildpackage -rfakeroot -uc -b</CODE></DIV> <STEP>Step2、</STEP>安裝 <CODE>sudo dpkg -i ../ttf-mscorefonts-installer*</CODE> deb會放在trunk的上一層目錄下次可以直接裝修改好的deb檔。 </DIV></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/06A1873B-DFB8-4E7D-886D-C801706C0357/blog/" title="blog or email this clip"><img src="http://content8.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK