ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kas@altlinux.ru>
To: devel@altlinux.org
Subject: [devel] apt и зависимости
Date: Tue, 29 Nov 2005 11:00:35 +0200
Message-ID: <20051129090035.GB26762@pc152.sam-solutions.net> (raw)

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

Вводная информация:

> apt-cache show ruby1.8-module-patterns
Package: ruby1.8-module-patterns
<skip/>
Pre-Depends: rpmlib(VersionedDependencies) (<= 3.0.3-1),
rpmlib(PayloadFilesHavePrefix) (<= 4.0-1), rpmlib(CompressedFileNames) (<=
3.0.4-1)
Depends: ruby-module-thread, /usr/share/ruby/1.8
Provides: ruby-module-patterns (= 1.8.3-alt0.3), ruby1.8-module-patterns
(= 1.8.3-alt0.3)
<skip/>

> apt-cache show libruby1.8
Package: libruby1.8
<skip/>
Pre-Depends: rpmlib(VersionedDependencies) (<= 3.0.3-1), /bin/sh, /bin/sh,
rpmlib(PayloadFilesHavePrefix) (<= 4.0-1), rpmlib(CompressedFileNames) (<=
3.0.4-1)
Depends: libc.so.6, 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.3), libcrypt.so.1, libcrypt.so.1(GLIBC_2.0),
libdl.so.2, libdl.so.2(GLIBC_2.0), libdl.so.2(GLIBC_2.1), libm.so.6,
libm.so.6(GLIBC_2.0)
Conflicts: libruby1.9
Provides: libruby (= 1.8.3-alt0.3), /usr/lib/ruby/1.8/i586-linux-gnu,
/usr/share/ruby/1.8, /usr/lib/ruby/vendor_ruby/1.8/i586-linux-gnu,
/usr/share/ruby/vendor_ruby/1.8, libruby.so.1.8, libruby1.8 (=
1.8.3-alt0.3)
Obsoletes: libruby
<skip/>

> apt-cache show ruby1.8-module-thread
Package: ruby1.8-module-thread
<skip/>
Pre-Depends: rpmlib(VersionedDependencies) (<= 3.0.3-1),
rpmlib(PayloadFilesHavePrefix) (<= 4.0-1), rpmlib(CompressedFileNames) (<=
3.0.4-1)
Depends: ruby-module-e2mmap, /usr/share/ruby/1.8
Provides: ruby-module-thread (= 1.8.3-alt0.3), ruby1.8-module-thread (=
1.8.3-alt0.3)
<skip/>

А теперь самое интересное:

> apt-get install ruby1.8-module-patterns 
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:
  ruby1.8-module-patterns: Depends: /usr/share/ruby/1.8
  E: Broken packages

Указываю libruby1.8 явно:

> apt-get install ruby1.8-module-patterns libruby1.8
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  ruby1.8-module-patterns: Depends: ruby-module-thread
  E: Broken packages

Теперь явно указываю ruby1.8-module-thread:
> apt-get install ruby1.8-module-patterns libruby1.8 ruby1.8-module-thread
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  ruby1.8-module-e2mmap
he following NEW packages will be installed:
  libruby1.8 ruby1.8-module-e2mmap ruby1.8-module-patterns
  ruby1.8-module-thread
0 upgraded, 4 newly installed, 0 removed and 1 not upgraded.
Need to get 0B/321kB of archives.
After unpacking 890kB of additional disk space will be used.
Do you want to continue? [Y/n] 

И опа -- apt'у полегчало. Почему он сам не смог найти эти зависимоти?
-- 
Kirill A. Shutemov				Belarus, Minsk
E-mail:	k.shutemov (AT) sam-solutions.net
JID: kas (AT) altlinux.org
ICQ: 152302675

PS: я этой осенью сформулировал ещё один из своих принципов --
"помогай или не мешай".  Бишь можешь сделать _лучше_, чем
"конкурент" -- делай.  Не можешь -- учись, а тем временем --
не отсвечивай.
		-- mike in devel@

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

                 reply	other threads:[~2005-11-29  9:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20051129090035.GB26762@pc152.sam-solutions.net \
    --to=kas@altlinux.ru \
    --cc=devel@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