<?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>johker's blog &#187; dpkg</title>
	<atom:link href="http://johker.ibutho.de/tag/dpkg/feed/" rel="self" type="application/rss+xml" />
	<link>http://johker.ibutho.de</link>
	<description>stories about me, my life, science and my trips</description>
	<lastBuildDate>Sat, 29 May 2010 10:00:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>dpkg error: trying to overwrite X, which is also in package Y</title>
		<link>http://johker.ibutho.de/2008/10/20/dpkg-error-trying-to-overwrite-x-which-is-also-in-package-y/</link>
		<comments>http://johker.ibutho.de/2008/10/20/dpkg-error-trying-to-overwrite-x-which-is-also-in-package-y/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 17:40:56 +0000</pubDate>
		<dc:creator>johker</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Tipps und Tricks]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[overwrite]]></category>
		<category><![CDATA[package]]></category>

		<guid isPermaLink="false">http://johker.ibutho.de/?p=54</guid>
		<description><![CDATA[Falls euch auch mal der Fehler in der Überschrift begegnet, so habe ich hier eine Lösung für euch:
Das Problem:

dpkg: error processing /var/cache/apt/archives/AAA &#40;--unpack&#41;:
trying to overwrite '/usr/lib/BBB', which is also in package CCC
dpkg-deb: subprocess paste killed by signal &#40;Broken pipe&#41;
Errors were encountered while processing:
AAA
E: Sub-process /usr/bin/dpkg returned an error code &#40;1&#41;

(AAA, BBB, CCC sind Platzhalter)
Zur Lösung [...]]]></description>
			<content:encoded><![CDATA[<p>Falls euch auch mal der Fehler in der Überschrift begegnet, so habe ich hier eine Lösung für euch:</p>
<p>Das Problem:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dpkg</span>: error processing <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>cache<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>archives<span style="color: #000000; font-weight: bold;">/</span>AAA <span style="color: #7a0874; font-weight: bold;">&#40;</span>--unpack<span style="color: #7a0874; font-weight: bold;">&#41;</span>:
trying to overwrite <span style="color: #ff0000;">'/usr/lib/BBB'</span>, <span style="color: #c20cb9; font-weight: bold;">which</span> is also <span style="color: #000000; font-weight: bold;">in</span> package CCC
dpkg-deb: subprocess paste killed by signal <span style="color: #7a0874; font-weight: bold;">&#40;</span>Broken pipe<span style="color: #7a0874; font-weight: bold;">&#41;</span>
Errors were encountered <span style="color: #000000; font-weight: bold;">while</span> processing:
AAA
E: Sub-process <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">dpkg</span> returned an error code <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>(AAA, BBB, CCC sind Platzhalter)</p>
<p>Zur Lösung des Problems führt man folgenden Befehl aus:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> <span style="color: #660033;">--force-overwrite</span> AAA</pre></div></div>

<p>(wobei AAA für das Paket - mit vollem Pfad - steht, dessen Konfiguration man vorziehen will)</p>
<p>Danach führt man folgenden Befehl aus:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-f</span></pre></div></div>

<p>Das sollte das Problem lösen.</p>
]]></content:encoded>
			<wfw:commentRss>http://johker.ibutho.de/2008/10/20/dpkg-error-trying-to-overwrite-x-which-is-also-in-package-y/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
