ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@altlinux.org>
To: Devel@lists.altlinux.org
Subject: [devel] inner unmet dependencies
Date: Thu, 06 Jul 2006 17:02:59 +0400
Message-ID: <44AD0A03.3020301@altlinux.org> (raw)

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

# 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? Если ругается на некоторые, то почему не на все?

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


             reply	other threads:[~2006-07-06 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-06 13:02 Eugene Prokopiev [this message]
2006-07-06 13:22 ` Igor Zubkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44AD0A03.3020301@altlinux.org \
    --to=enp@altlinux.org \
    --cc=Devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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