From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: devel@altlinux.ru
Subject: [devel] Re: glibc packaging bug
Date: Wed, 23 Apr 2003 15:41:09 +0300
Message-ID: <20030423124109.GL28453@sam-solutions.net> (raw)
In-Reply-To: <20030423123013.GA14659@basalt.office.altlinux.org>
Давай это теперь в devel@ переведем.
Итак, в процессе установки sandman с нуля обнаружилась неприятная
особенность новых сборок APT, также задокументированная в #2368.
Суть особенности (правильного, по нашему мнению поведения) APT в том, что
начиная с некоторой версии APT не игнорирует Requires: на псевдо-файловые
зависимости, которые присутствуют в пакете как файлы (чаще всего --
исполняемый код), но не Provides: им же.
Обнаружилось достаточно большое количество пакетов, страдающих этой
болезнью. Лечение потребует обязательного добавления в пакет, содержащий
данный файл, строки типа.
Provides: /foo/bar
Перечисленные ниже пакеты представляют собой *пользователей* таких
зависимостей. Для того, чтобы получить список "виновников", надо спросить
rpmquery -f на каждую из найденных зависимостей.
On Wed, Apr 23, 2003 at 04:30:13PM +0400, Dmitry V. Levin wrote:
> On Wed, Apr 23, 2003 at 02:46:43PM +0300, Alexander Bokovoy wrote:
> > Что будем делать?
>
> 1. Получаем полный список:
> for f in *.rpm; do
> unmet="$(rpmquery -p --requires "$f" |grep ^/ |C sort -u |C join -v2 ~/tmp/provides.list -)"
> if [ -n "$unmet" ]; then
> echo "$f: $unmet"
> fi
> done
> autoirpm-2.0-alt4.i586.rpm: /usr/sbin/autoirpm.uninstall
> bzlib-1.0.2-alt6.i586.rpm: /sbin/bzlib_triggerpostun
> drakconf-0.70-alt13.1.i586.rpm: /etc/security/console.apps
> drakfloppy-0.43-alt4.noarch.rpm: /etc/security/console.apps
> drakxtools-1.1.7-alt26.2.i586.rpm: /etc/security/console.apps /usr/X11R6/bin/xtest
> ethereal-consolehelper-0.9.11-alt1.i586.rpm: /etc/security/console.apps
> fetchmail-6.2.2-alt3.i586.rpm: /usr/sbin/sendmail
> gdm-2.4.1.3-alt1.i586.rpm: /etc/security/console.apps
> glibc-core-2.2.6-alt0.7.i586.rpm: /sbin/glibc_fix_nsswitch /sbin/glibc_post_upgrade
> gnome-settings-1.0-alt4.noarch.rpm: /usr/bin/gconftool-2
> gnome2-utils-gnome-system-log-2.2.1-alt1.i586.rpm: /etc/security/console.apps
> kbdrate-usermode-2.11z-alt1.i586.rpm: /etc/security/console.apps
> kernel22-smp-2.2.24-alt1.i586.rpm: /usr/sbin/rdev
> kernel22-smp-secure-2.2.24-alt1.i586.rpm: /usr/sbin/rdev
> kernel22-up-2.2.24-alt1.i586.rpm: /usr/sbin/rdev
> kernel22-up-secure-2.2.24-alt1.i586.rpm: /usr/sbin/rdev
> kernel24-linus-smp-2.4.20-alt0.9.i586.rpm: /usr/sbin/rdev
> kernel24-linus-up-2.4.20-alt0.9.i586.rpm: /usr/sbin/rdev
> kernel24-openmosix-smp-2.4.19-alt1.i586.rpm: /usr/sbin/rdev
> kernel24-openmosix-up-2.4.19-alt1.i586.rpm: /usr/sbin/rdev
> kernel24-smp-2.4.20-alt7.i586.rpm: /usr/sbin/rdev
> kernel24-up-2.4.20-alt7.i586.rpm: /usr/sbin/rdev
> knetscan-1.0-alt2.i586.rpm: /bin/ping /usr/bin/whois /usr/sbin/traceroute
> kwintv-0.8.11-alt7.i586.rpm: /etc/security/console.apps /usr/sbin/chkfontpath
> latex2html-2002-alt3.noarch.rpm: /usr/bin/mktexlsr
> ldetect-lst-0.2.0-alt1.noarch.rpm: /usr/sbin/update-ldetect-lst
> libwine-20030318-alt1.i586.rpm: /bin/awk /bin/egrep
> ocamlgsl-runtime-0.2.2-alt1s.i586.rpm: /usr/lib/ocaml/bigarray.so
> ogmtools-1.0.0-alt1.i586.rpm: /usr/bin/mencoder
> pine-4.53L-alt1.i586.rpm: /usr/bin/spell
> qtvision-0.1-alt2.alpha2.i586.rpm: /usr/sbin/chkfontpath
> rtfm-0.0.1-alt1.noarch.rpm: /usr/bin/find /usr/bin/man
> ruby-gtk2-0.1-alt1.i586.rpm: /usr/lib/ruby/vendor_ruby/1.7/i586-linux-gnu/glib2.so
> synaptic-usermode-1.1-alt1.noarch.rpm: /etc/security/console.apps
> timeconfig-3.2.9-alt2.i586.rpm: /etc/security/console.apps
> userdrake-0.3-alt7.i586.rpm: /etc/security/console.apps
> ypserv-2.6-alt1.i586.rpm: /sbin/service
> zapping-0.6.6-alt1.i586.rpm: /etc/security/console.apps
>
> 2. Решаем проблему в каждом конкретном случае.
>
>
> --
> ldv
--
/ Alexander Bokovoy
---
Peace cannot be kept by force; it can only be achieved by understanding.
-- Albert Einstein
next parent reply other threads:[~2003-04-23 12:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-23 12:41 ` Alexander Bokovoy [this message]
2003-04-23 12:57 ` Alexander Bokovoy
2003-04-23 13:03 ` Dmitry V. Levin
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=20030423124109.GL28453@sam-solutions.net \
--to=a.bokovoy@sam-solutions.net \
--cc=devel@altlinux.ru \
/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