<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Не работает apt-get]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=22903&amp;type=atom" />
	<updated>2012-09-06T07:32:19Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=22903</id>
		<entry>
			<title type="html"><![CDATA[Re: Не работает apt-get]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=297279#p297279" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Харитон пишет:</cite><blockquote><p>вую репу не использовали?</p></blockquote></div><p>Использовал deb пакеты postgres от 1С и, каюсь, забыл об этом.&nbsp; Обновления не запретил. В результате обновились какие то пакеты postgres и возникла проблема.<br />Всем спасибо за помощь!</p>]]></content>
			<author>
				<name><![CDATA[drozel]]></name>
				<uri>https://linuxforum.ru/profile.php?id=24264</uri>
			</author>
			<updated>2012-09-06T07:32:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=297279#p297279</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не работает apt-get]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=283045#p283045" />
			<content type="html"><![CDATA[<p>левую репу не использовали?</p>]]></content>
			<author>
				<name><![CDATA[Харитон]]></name>
				<uri>https://linuxforum.ru/profile.php?id=627</uri>
			</author>
			<updated>2012-06-19T19:40:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=283045#p283045</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не работает apt-get]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=283033#p283033" />
			<content type="html"><![CDATA[<p>Попробуйте удалить эти два postgresql-пакета, возможно, с помощью --force-all,<br />а затем установить те два, которые пытались. В крайнем случае можно будет<br />установить удалённые обратно.<br />Либо, если это ошибка разработчиков, ждать, пока исправят.</p><p>Пётр.</p>]]></content>
			<author>
				<name><![CDATA[Peter]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5246</uri>
			</author>
			<updated>2012-06-19T17:54:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=283033#p283033</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Не работает apt-get]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=282847#p282847" />
			<content type="html"><![CDATA[<p>Здравствуйте.</p><p>Следующая ситуация с Ubuntu 10.10 Server.<br />Установлен postgres(на нем висит 1с). С какого то момента стала происходить следующая вещь:</p><p>Устанавливаем любой пакет или обновление<br /></p><div class="codebox"><pre><code>sudo apt-get upgrade</code></pre></div><p>А в ответ:<br /></p><div class="codebox"><pre><code>You might want to run &#039;apt-get -f install&#039; to correct these.
The following packages have unmet dependencies:
 postgresql-client-8.4 : Depends: libpq5 (&gt;= 8.4~0cvs20090328) but it is not installed
                         Depends: postgresql-client-common (&gt;= 104~) but it is not installed
E: Unmet dependencies. Try using -f.</code></pre></div><p>Если делать, как сказано sudo apt-get -f install<br /></p><div class="codebox"><pre><code>Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libpq5 postgresql-client-common
The following NEW packages will be installed:
  libpq5 postgresql-client-common
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B/148kB of archives.
After this operation, 418kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 119271 files and directories currently installed.)
Unpacking libpq5 (from .../libpq5_8.4.11-0ubuntu0.10.10_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libpq5_8.4.11-0ubuntu0.10.10_i386 .deb (--unpack):
 trying to overwrite &#039;/usr/lib/libpq.so.5.2&#039;, which is also in package postgresql-libs 8.4.3-4.1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking postgresql-client-common (from .../postgresql-client-common_111_all.deb) ...
dpkg: error processing /var/cache/apt/archives/postgresql-client-common_111_all.deb (--unpack):
 trying to overwrite &#039;/usr/bin/vacuumlo&#039;, which is also in package postgresql-contrib 8.4.3-4.1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libpq5_8.4.11-0ubuntu0.10.10_i386.deb
 /var/cache/apt/archives/postgresql-client-common_111_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)</code></pre></div><p>при попытке установить libpq5 из deb с помощью dpkg ругается <br /></p><div class="codebox"><pre><code>Unpacking libpq5 (from .../libpq5_8.4.11-0ubuntu0.10.10_i386.deb) ...
dpkg: error processing /home/admin/files/libpq5_8.4.11-0ubuntu0.10.10_i386.deb (--install):
 trying to overwrite &#039;/usr/lib/libpq.so.5.2&#039;, which is also in package postgresql-libs 8.4.3-4.1
Errors were encountered while processing:
 /home/admin/files/libpq5_8.4.11-0ubuntu0.10.10_i386.deb</code></pre></div><p>Чем можно помочь в этой ситуации?<br />Заранее благодарен.</p>]]></content>
			<author>
				<name><![CDATA[drozel]]></name>
				<uri>https://linuxforum.ru/profile.php?id=24264</uri>
			</author>
			<updated>2012-06-19T03:42:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=282847#p282847</id>
		</entry>
</feed>
