<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eric Mason &#187; apt-get</title>
	<atom:link href="http://ericmason.net/tag/apt-get/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericmason.net</link>
	<description>From Fort Lauderdale, Ruby, Linux, Photography, and Random Things</description>
	<lastBuildDate>Tue, 15 Nov 2011 20:22:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Apt-get upgrade wants to replace my compiled packages.</title>
		<link>http://ericmason.net/2009/03/apt-get-upgrade-wants-to-replace-my-compiled-packages/</link>
		<comments>http://ericmason.net/2009/03/apt-get-upgrade-wants-to-replace-my-compiled-packages/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 20:16:40 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[ffmpeg]]></category>

		<guid isPermaLink="false">http://ericmason.net/?p=102</guid>
		<description><![CDATA[I was getting some messages from my daily apt-get upgrade script telling me some of my ffmpeg debs needed to be upgraded.  Since I had recompiled ffmpeg from the source debs with different options, I re-ran apt-get source ffmpeg to &#8230; <a href="http://ericmason.net/2009/03/apt-get-upgrade-wants-to-replace-my-compiled-packages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was getting some messages from my daily apt-get upgrade script telling me some of my ffmpeg debs needed to be upgraded.  <span id="more-102"></span>Since I had recompiled ffmpeg from the source debs with different options, I re-ran <strong>apt-get source ffmpeg</strong> to get the latest source.   When nothing downloaded, I checked the latest version with apt-cache and found it matched the version I have installed.  Off to Google I went and found <a href="http://www.mail-archive.com/deity@lists.debian.org/msg04239.html">this thread</a> from 9 years ago saying the bogus upgrade messages are normal and I had to increment the version number. </p>
<p>I still want to be notified when new versions come out (via my daily upgrade script) so I can recompile it, so I updated the version as little as possible by adding an &#8220;a&#8221; to the end of it.  </p>
<p>In the source directory, I edited <strong>debian/changelog </strong>.  The first line said</p>
<p> </p>
<blockquote><p>ffmpeg (3:0.cvs20070307-5ubuntu7.3) hardy-security; urgency=low</p></blockquote>
<div>So I changed it to </div>
<div>
<blockquote>
<div>ffmpeg (3:0.cvs20070307-5ubuntu7.3<strong>a</strong>) hardy-security; urgency=low</div>
</blockquote>
<div>Then I ran <strong>fakeroot debian/rules binary </strong>and installed the resulting packages.  Now apt-get upgrade tells me I have nothing to upgrade.  As long as the ffmpeg package maintainer doesn&#8217;t use 3:0.cvs20070307-5ubuntu7.3a as the new version number, I&#8217;ll still know when a new release comes out. </div>
</div>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://ericmason.net/2009/03/apt-get-upgrade-wants-to-replace-my-compiled-packages/&via=ericmason&text=Apt-get upgrade wants to replace my compiled packages.&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://ericmason.net/2009/03/apt-get-upgrade-wants-to-replace-my-compiled-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

