From: "Eugine Kosenko" <eugine.kosenko@gmail.com> To: "ALT Linux Community" <community@lists.altlinux.org> Subject: [Comm] Циклические зависимости в пакетах Date: Mon, 25 Jun 2007 20:20:21 +0300 Message-ID: <9909dee80706251020p4e32418cp15cdd061fbd8ca1e@mail.gmail.com> (raw) В связи с неудачным разбиением диска (а сейчас и вообще общей загруженностью диска) у меня на ноуте возникла специфическая задача удаления ненужных пакетов с целью минимизации занимаемого пространства в разделе /usr. Посему был написан небольшой набор скриптов, который находит пакеты, от которых никакие другие пакеты не зависят. Это позволяет быстро удалить из системы "мусор". По мере освоения инструмента возникла такая проблема, что множество пакетов имеют в зависимостях самих себя, что не позволяет находить "подвисшие" пакеты. Навскидку в системе с примерно 1000 установленных пакетов было обнаружено около 200 таких пакетов. Еще интереснее ситуация с циклами большей длины, когда, например, пакет A зависит от пакета B, и наоборот. Честно говоря, не нашел быстрого способа "разрезать" такие кластеры, потому как нужно правильно выбрать точку разреза. В связи с этим всем есть вопрос: есть ли тайный смысл в наличии циркулярных зависимостей между пакетами (скажем, защита от удаления очень важных частей, кстати, забыл посмотреть, как на таких пакетах ведет себя apt-get remove, есть ли у кого опыт в этом плане?), или же это следствие небрежности? Будет ли интересной информация о том, какие пакеты включены в циклические зависимости?
next reply other threads:[~2007-06-25 17:20 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-06-25 17:20 Eugine Kosenko [this message] 2007-06-25 21:03 ` Eugene Ostapets 2007-06-25 21:14 ` Kirill A. Shutemov 2007-06-26 14:13 ` Avramenko Andrew 2007-06-26 14:24 ` Kirill A. Shutemov 2007-06-25 21:14 ` [Comm] [JT] " Pavlov Konstantin
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=9909dee80706251020p4e32418cp15cdd061fbd8ca1e@mail.gmail.com \ --to=eugine.kosenko@gmail.com \ --cc=community@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 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