* [Comm] apt-rdepends-tree и apt-tree
@ 2025-11-19 19:46 Alexander Lubyagin
2025-11-21 13:45 ` Ivan Zakharyaschev
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Lubyagin @ 2025-11-19 19:46 UTC (permalink / raw)
To: community
Искал сейчас аналог aptitude dependency tree для терминала (не
интерактивный).
Встретил пару реализаций - на Bash, и на Lua:
https://gist.github.com/damphat/6214499
https://gist.github.com/AshleighAdams/662da4fed7ed50c5eb93
Но... На Gists часто не указывают лицензий. Поэтому оттуда брать не стал.
Впрочем, есть аналог от Самсонова Антона на GitHub, где явно указана
лицензия Unlicense:
https://github.com/blanktonio/apt-tree
Мало ли, кому-то надо будет. В Сизифе, вроде бы, такой утилиты пока нет.
Мне это понадобилось, чтобы понять - какую из версий шелла тянет модуль
Альтератора.
Решил сделать без aptitude.
Может быть, есть более классические (элегантные) реализации?
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] apt-rdepends-tree и apt-tree
2025-11-19 19:46 [Comm] apt-rdepends-tree и apt-tree Alexander Lubyagin
@ 2025-11-21 13:45 ` Ivan Zakharyaschev
0 siblings, 0 replies; 2+ messages in thread
From: Ivan Zakharyaschev @ 2025-11-21 13:45 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
Здравствуйте!
On Wed, 19 Nov 2025, Alexander Lubyagin wrote:
> Искал сейчас аналог aptitude dependency tree для терминала (не интерактивный).
>
> Встретил пару реализаций - на Bash, и на Lua:
>
> https://gist.github.com/damphat/6214499
>
> https://gist.github.com/AshleighAdams/662da4fed7ed50c5eb93
>
> Но... На Gists часто не указывают лицензий. Поэтому оттуда брать не стал.
>
> Впрочем, есть аналог от Самсонова Антона на GitHub, где явно указана лицензия
> Unlicense:
>
> https://github.com/blanktonio/apt-tree
>
> Мало ли, кому-то надо будет. В Сизифе, вроде бы, такой утилиты пока нет.
Конечно, почему бы и нет, если кому-то удобно и полезно.
> Мне это понадобилось, чтобы понять - какую из версий шелла тянет модуль
> Альтератора.
> Решил сделать без aptitude.
>
> Может быть, есть более классические (элегантные) реализации?
Мне только известны команды apt-cache:
$ apt-cache -h |fgrep depends
depends - Show raw dependency information for a package
whatdepends - Show raw dependency information on a package
и rdepends (которая не указана в помощи; можно улучшить помощь).
Но они, по-моему, не особо позволяют учесть, что разные версии пакеты
могут по=разному удовлетворять зависимости.
--
Best regards,
Ivan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-21 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-19 19:46 [Comm] apt-rdepends-tree и apt-tree Alexander Lubyagin
2025-11-21 13:45 ` Ivan Zakharyaschev
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git