ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] граф rpm
@ 2006-04-19 19:22 Artem
  2006-04-19 21:25 ` Dmitry V. Levin
  2006-04-20 14:01 ` Michael Shigorin
  0 siblings, 2 replies; 4+ messages in thread
From: Artem @ 2006-04-19 19:22 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Понадобилось сделать граф зависимостей набора rpm-пакетов.
Искал в сизифе rpmgraph - не нашел. :-/ Что еще посоветуете?

-- 
Rgds, Artem.



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

* Re: [sisyphus] граф rpm
  2006-04-19 19:22 [sisyphus] граф rpm Artem
@ 2006-04-19 21:25 ` Dmitry V. Levin
  2006-04-19 22:02   ` Artem
  2006-04-20 14:01 ` Michael Shigorin
  1 sibling, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2006-04-19 21:25 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

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

On Wed, Apr 19, 2006 at 10:22:31PM +0300, Artem wrote:
> Понадобилось сделать граф зависимостей набора rpm-пакетов.
> Искал в сизифе rpmgraph - не нашел. :-/ Что еще посоветуете?

apt-cache dotty


-- 
ldv

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

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

* Re: [sisyphus] граф rpm
  2006-04-19 21:25 ` Dmitry V. Levin
@ 2006-04-19 22:02   ` Artem
  0 siblings, 0 replies; 4+ messages in thread
From: Artem @ 2006-04-19 22:02 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Dmitry V. Levin wrote:
> On Wed, Apr 19, 2006 at 10:22:31PM +0300, Artem wrote:
> 
>>Понадобилось сделать граф зависимостей набора rpm-пакетов.
>>Искал в сизифе rpmgraph - не нашел. :-/ Что еще посоветуете?
> 
> 
> apt-cache dotty
> 
>
Спасибо :-)

-- 
Rgds, Artem.


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

* Re: [sisyphus] граф rpm
  2006-04-19 19:22 [sisyphus] граф rpm Artem
  2006-04-19 21:25 ` Dmitry V. Levin
@ 2006-04-20 14:01 ` Michael Shigorin
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Shigorin @ 2006-04-20 14:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

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

On Wed, Apr 19, 2006 at 10:22:31PM +0300, Artem wrote:
> Понадобилось сделать граф зависимостей набора rpm-пакетов.
> Искал в сизифе rpmgraph - не нашел. :-/ Что еще посоветуете?

Аттач.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: rpmdot --]
[-- Type: text/plain, Size: 619 bytes --]

#!/bin/sh
echo "digraph RPM {
size=\"40,22\"
page=\"8,12\"
ratio=fill
"
rpmlist=$(rpm -qa --qf='[%{name}\n]')
for i in $rpmlist ; do 
rpmdeplist=`(rpm -q --qf='[%{requirename}\n]' "$i"|
grep -ve 'rpmlib\(.*\)'|
xargs rpm -q --whatprovides |sort -u |
xargs rpm -q --qf='%{name}\n'|
while read package ; do
	if test "$i" != "$package" ; then
		rpm -q --qf='%{name}\n' "$package"
	fi
done| sed -e 's/, $//') 2>/dev/null`
    iescape=$(echo "$i"|tr '/-' '__')
    echo "$iescape [fontsize=12, label=\"$i\"]"
	for j in $rpmdeplist ; do
	jescape=$(echo "$j"|tr '/-' '__')
	echo "$iescape -> $jescape;"
    done
done
echo "}"

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

end of thread, other threads:[~2006-04-20 14:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-19 19:22 [sisyphus] граф rpm Artem
2006-04-19 21:25 ` Dmitry V. Levin
2006-04-19 22:02   ` Artem
2006-04-20 14:01 ` Michael Shigorin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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