From: Alexey Tourbin <at@altlinux.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Поиск зависимостей Date: Wed, 19 Sep 2007 13:13:05 +0400 Message-ID: <20070919091305.GA5297@solemn.turbinal> (raw) In-Reply-To: <46F0E37F.10901@tangramltd.com> [-- Attachment #1: Type: text/plain, Size: 5503 bytes --] On Wed, Sep 19, 2007 at 11:53:19AM +0300, Slava Dubrovskiy wrote: > > В общем-то то что дает perl.req это и есть список пакетов. > > Его можно скармливать апту почти что в чистом виде. > Не очень понятно как. Приведите пример, пожалуйста. $ perl.req /usr/bin/rss2mail2 # perl(Data/Dumper.pm) at line 314 (depth 3) inside eval SKIP # perl(HTML/Lint.pm) at line 322 (depth 3) inside eval SKIP # perl(XML/OPML.pm) at line 365 (depth 6) inside eval SKIP /usr/bin/rss2mail2 syntax OK perl(AppConfig.pm) perl(base.pm) perl(Class/DBI/BaseDSN.pm) perl(Digest/MD5.pm) perl(Encode.pm) perl(Exception/Class.pm) perl(Fcntl.pm) perl(File/Path.pm) perl(File/Spec/Functions.pm) perl(Getopt/Long.pm) perl(HTML/FormatText/WithLinks.pm) perl(HTTP/Headers.pm) perl(HTTP/Request.pm) perl(List/Util.pm) perl(LWP/UserAgent.pm) perl(MIME/Lite.pm) perl(MIME/Words.pm) perl(Text/Autoformat.pm) perl(Text/Diff.pm) perl(warnings.pm) perl(XML/Feed.pm) $ Здесь все зависимости без версий, и их просто можно скармливать апту. $ apt-get --dry-run install `perl.req /usr/bin/rss2mail2` # perl(Data/Dumper.pm) at line 314 (depth 3) inside eval SKIP # perl(HTML/Lint.pm) at line 322 (depth 3) inside eval SKIP # perl(XML/OPML.pm) at line 365 (depth 6) inside eval SKIP /usr/bin/rss2mail2 syntax OK Reading Package Lists... Done Building Dependency Tree... Done Selecting perl-AppConfig for 'perl(AppConfig.pm)' perl-AppConfig is already the newest version. Selecting perl-base for 'perl(base.pm)' perl-base is already the newest version. Selecting perl-Class-DBI-BaseDSN for 'perl(Class/DBI/BaseDSN.pm)' perl-Class-DBI-BaseDSN is already the newest version. Selecting perl-base for 'perl(Digest/MD5.pm)' perl-base is already the newest version. Selecting perl-Encode for 'perl(Encode.pm)' perl-Encode is already the newest version. Selecting perl-Exception-Class for 'perl(Exception/Class.pm)' perl-Exception-Class is already the newest version. Selecting perl-base for 'perl(Fcntl.pm)' perl-base is already the newest version. Selecting perl-base for 'perl(File/Path.pm)' perl-base is already the newest version. Selecting perl-base for 'perl(File/Spec/Functions.pm)' perl-base is already the newest version. Selecting perl-base for 'perl(Getopt/Long.pm)' perl-base is already the newest version. Selecting perl-HTML-FormatText-WithLinks for 'perl(HTML/FormatText/WithLinks.pm)' perl-HTML-FormatText-WithLinks is already the newest version. Selecting perl-libwww for 'perl(HTTP/Headers.pm)' perl-libwww is already the newest version. Selecting perl-libwww for 'perl(HTTP/Request.pm)' perl-libwww is already the newest version. Package perl(List/Util.pm) is a virtual package provided by: perl-base 5.8.8-alt14 [Installed] perl-Scalar-List-Utils 1.18-alt1 You should explicitly select one to install. E: Package perl(List/Util.pm) is a virtual package with multiple good $ Кто собрал пакет perl-Scalar-List-Utils тот называется нехороший человек -- редиска. В зависимостях с версиями нужно удалить пробелы. $ perl.req /usr/lib/perl5/vendor_perl/i386-linux/XML/LibXSLT.pm /usr/lib/perl5/vendor_perl/i386-linux/XML/LibXSLT.pm syntax OK perl(XML/LibXML.pm) >= 1.600 perl(XML/LibXML/Boolean.pm) perl(XML/LibXML/Literal.pm) perl(XML/LibXML/NodeList.pm) perl(XML/LibXML/Number.pm) perl(XSLoader.pm) $ perl.req /usr/lib/perl5/vendor_perl/i386-linux/XML/LibXSLT.pm |sed s/\ //g /usr/lib/perl5/vendor_perl/i386-linux/XML/LibXSLT.pm syntax OK perl(XML/LibXML.pm)>=1.600 perl(XML/LibXML/Boolean.pm) perl(XML/LibXML/Literal.pm) perl(XML/LibXML/NodeList.pm) perl(XML/LibXML/Number.pm) perl(XSLoader.pm) $ apt-get --dry-run install `!!` apt-get --dry-run install `perl.req /usr/lib/perl5/vendor_perl/i386-linux/XML/LibXSLT.pm |sed s/\ //g` /usr/lib/perl5/vendor_perl/i386-linux/XML/LibXSLT.pm syntax OK Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package perl(XML $ Что-то не работает. В общем, тогда можно отрезать версии. $ apt-get --dry-run install `perl.req /usr/lib/perl5/vendor_perl/i386-linux/XML/LibXSLT.pm |sed 's/ .*//g'` /usr/lib/perl5/vendor_perl/i386-linux/XML/LibXSLT.pm syntax OK Reading Package Lists... Done Building Dependency Tree... Done Selecting perl-XML-LibXML for 'perl(XML/LibXML.pm)' perl-XML-LibXML is already the newest version. Selecting perl-XML-LibXML for 'perl(XML/LibXML/Boolean.pm)' perl-XML-LibXML is already the newest version. Selecting perl-XML-LibXML for 'perl(XML/LibXML/Literal.pm)' perl-XML-LibXML is already the newest version. Selecting perl-XML-LibXML for 'perl(XML/LibXML/NodeList.pm)' perl-XML-LibXML is already the newest version. Selecting perl-XML-LibXML for 'perl(XML/LibXML/Number.pm)' perl-XML-LibXML is already the newest version. Selecting perl-base for 'perl(XSLoader.pm)' perl-base is already the newest version. 0 upgraded, 0 newly installed, 0 removed and 175 not upgraded. $ > # perl(cgi-lib.pl) at line 9 (depth 3) inside eval SKIP > # perl(easydata.set) at line 12 (depth 3) invalid SKIP > # perl(staff_users.set) at line 14 (depth 3) invalid SKIP > # perl(dblib.pl) at line 15 (depth 3) inside eval SKIP > # perl(edfunc.pl) at line 16 (depth 3) inside eval SKIP > # perl(staff_auth.pm) at line 17 (depth 3) inside eval SKIP > /var/www/cgi-bin/video/staff_adm_login.cgi syntax OK > и т.д. Там где Ok все понятно, а там где "inside eval SKIP" что это значит? Это значит что указанных зависимостей нет. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-09-19 9:13 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-09-19 7:52 Slava Dubrovskiy 2007-09-19 8:11 ` Alexey Tourbin 2007-09-19 8:23 ` Slava Dubrovskiy 2007-09-19 8:32 ` Alexey Tourbin 2007-09-19 8:53 ` Slava Dubrovskiy 2007-09-19 9:13 ` Alexey Tourbin [this message] 2007-09-19 19:03 ` Michael Shigorin 2007-09-19 19:18 ` Alexey Tourbin 2007-09-19 9:29 ` Epiphanov Sergei 2007-09-19 9:41 ` Alexey Tourbin 2007-09-19 9:45 ` Slava Dubrovskiy
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=20070919091305.GA5297@solemn.turbinal \ --to=at@altlinux.ru \ --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