ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] inner unmet dependencies
@ 2006-07-06 13:02 Eugene Prokopiev
  2006-07-06 13:22 ` Igor Zubkov
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Prokopiev @ 2006-07-06 13:02 UTC (permalink / raw)
  To: Devel

Здравствуйте!

# apt-get install dbmail
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
   dbmail: Depends: /usr/lib/dbmail/libauthdbmail.so.0 but it is not 
installable
           Depends: /usr/lib/dbmail/libpgsqldbmail.so.0 but it is not 
installable
           Depends: /usr/lib/dbmail/libsortdbmail.so.0 but it is not 
installable
E: Broken packages

# apt-cache show dbmail
Package: dbmail
Section: System/Servers
Installed Size: 825795
Maintainer: Eugene Prokopiev <enp@altlinux.ru>
Version: 2.0.10-alt1
Pre-Depends: chkconfig, rpmlib(VersionedDependencies) (<= 3.0.3-1), 
/bin/sh, /bin/sh, rpmlib(PayloadFilesHavePrefix) (<= 4.0-1), 
rpmlib(CompressedFileNames) (<= 3.0.4-1)
Depends: postgresql8.1, /etc/cron.daily, /etc/rc.d/init.d(start_daemon), 
/etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), 
/usr/lib/dbmail/libauthdbmail.so.0, /usr/lib/dbmail/libpgsqldbmail.so.0, 
/usr/lib/dbmail/libsortdbmail.so.0, libc.so.6(GLIBC_2.0), 
libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), 
libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libcrypt.so.1(GLIBC_2.0), 
libpq.so.4, service, sh
Conflicts: IMAPD (< dbmail:2.0.10-alt1), IMAPD (> dbmail:2.0.10-alt1), 
POP3D (< dbmail:2.0.10-alt1), POP3D (> dbmail:2.0.10-alt1)
Provides: IMAPD (= dbmail:2.0.10-alt1), POP3D (= dbmail:2.0.10-alt1), 
libauthdbmail.so.0, libpgsqldbmail.so.0, libsortdbmail.so.0, 
libdbmail.so.0, dbmail (= 2.0.10-alt1)
Architecture: i586
Size: 293687
MD5Sum: 2d1e8a7334f23a05102c20168db94df1
Filename: dbmail-2.0.10-alt1.i586.rpm
Description: DBMail is a POP3/IMAP server that enables email to be 
stored in and retrieved from a database
  DBMail is a POP3/IMAP server that enables email to be stored in and 
retrieved from a database.

# apt-get install /home/john/dbmail-2.0.10-alt1.i586.rpm
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting dbmail for '/home/john/dbmail-2.0.10-alt1.i586.rpm'
The following NEW packages will be installed:
   dbmail
0 upgraded, 1 newly installed, 0 removed and 87 not upgraded.
Need to get 0B/294kB of archives.
After unpacking 826kB of additional disk space will be used.
Committing changes...
Preparing... 
################################################################################################### 
[100%]
1: dbmail 
################################################################################################### 
[100%]
Done.

Я знаю, что по хорошему бы вынести lib*dbmail.so.0 в отдельные пакеты, 
но до тех пор, пока в DBMail не будет независимых модулей для поддержки 
БД (т.е. его можно будет собирать с поддержкой нескольких БД 
одновременно), в этом нет никакого практического смысла, и вместо этого 
в спеке написано:

Provides: libauthdbmail.so.0, libpgsqldbmail.so.0, libsortdbmail.so.0

Тем не менее вопрос остается: почему apt не может поставить DBMail из 
репозитария, но без проблем ставит его из файла? Интересно, что в ALM 
2.4 это работало.

Еще один вопрос: я в спеке в Provides указал только 3 библиотеки, но в 
apt-cache show вижу 4: добавляется libdbmail.so.0, которую я не 
указывал. Подозреваю, что вывод apt-cache show не изменится, если я 
уберу Provides для 3 библиотек. Куда тогда смотрит apt, рапортуя об 
unmet dependencies? Если ругается на некоторые, то почему не на все?

-- 
С уважением, Прокопьев Евгений


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] inner unmet dependencies
  2006-07-06 13:02 [devel] inner unmet dependencies Eugene Prokopiev
@ 2006-07-06 13:22 ` Igor Zubkov
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Zubkov @ 2006-07-06 13:22 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

В сообщении от 6 июля 2006 16:02 Eugene Prokopiev написал(a):
> Provides: libauthdbmail.so.0, libpgsqldbmail.so.0, libsortdbmail.so.0

Это грязный хак. У меня в polypaudio сделано так:
%add_findprov_lib_path %_libdir/polypaudio-0.9/modules

http://alt.linux.kiev.ua/srpm/polypaudio/spec

--
Placebo - Second Sight

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-06 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-06 13:02 [devel] inner unmet dependencies Eugene Prokopiev
2006-07-06 13:22 ` Igor Zubkov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git