Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Maybe go to the source data? I was hoping to find an sqlite DB under the hood, but this is the closest I found to any package DB; and this doesn't look any worse than the zypper info output or the XML, https://github.com/openSUSE/zypper/blob/master/tests/data/openSUSE-11.1/suse/setup/descr/packages.gz - I couldn't find the descriptions and this might be very outdated; so, ymmv:
##---------------------------------------- =Pkg: perl-Net-DNS 0.62 4.1 i586 =Cks: SHA1 21e4716e48ea345bf53df78b55fdd6d147d8ebf2 +Req: perl-Digest-HMAC perl-Net-IP perl = 5.10.0 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(VersionedDependencies) <= 3.0.3-1 libc.so.6 libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.4) rpmlib(PayloadIsBzip2) <= 3.0.5-1 -Req: +Prq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(VersionedDependencies) <= 3.0.3-1 rpmlib(PayloadIsBzip2) <= 3.0.5-1 -Prq: +Prv: perl_dns DNS.so perl(Net::DNS) = 0.62 perl(Net::DNS::Header) = 622 perl(Net::DNS::Nameserver) = 688 perl(Net::DNS::Packet) = 688 perl(Net::DNS::Question) = 690 perl(Net::DNS::RR) = 688 perl(Net::DNS::RR::A) = 546 perl(Net::DNS::RR::AAAA) = 388 perl(Net::DNS::RR::AFSDB) = 632 perl(Net::DNS::RR::CERT) = 388 perl(Net::DNS::RR::CNAME) = 632 perl(Net::DNS::RR::DNAME) = 388 perl(Net::DNS::RR::EID) = 388 perl(Net::DNS::RR::HINFO) = 639 perl(Net::DNS::RR::IPSECKEY) = 654 perl(Net::DNS::RR::ISDN) = 388 perl(Net::DNS::RR::LOC) = 388 perl(Net::DNS::RR::MB) = 632 perl(Net::DNS::RR::MG) = 632 perl(Net::DNS::RR::MINFO) = 632 perl(Net::DNS::RR::MR) = 632 perl(Net::DNS::RR::MX) = 632 perl(Net::DNS::RR::NAPTR) = 583 perl(Net::DNS::RR::NIMLOC) = 388 perl(Net::DNS::RR::NS) = 632 perl(Net::DNS::RR::NSAP) = 388 perl(Net::DNS::RR::NULL) = 388 perl(Net::DNS::RR::OPT) = 393 perl(Net::DNS::RR::PTR) = 632 perl(Net::DNS::RR::PX) = 632 perl(Net::DNS::RR::RP) = 632 perl(Net::DNS::RR::RT) = 632 perl(Net::DNS::RR::SOA) = 632 perl(Net::DNS::RR::SPF) = 684 perl(Net::DNS::RR::SRV) = 583 perl(Net::DNS::RR::SSHFP) = 626 perl(Net::DNS::RR::TKEY) = 388 perl(Net::DNS::RR::TSIG) = 388 perl(Net::DNS::RR::TXT) = 582 perl(Net::DNS::RR::Unknown) = 388 perl(Net::DNS::RR::X25) = 388 perl(Net::DNS::Resolver) = 614 perl(Net::DNS::Resolver::Base) = 698 perl(Net::DNS::Resolver::Cygwin) = 696 perl(Net::DNS::Resolver::Recurse) = 591 perl(Net::DNS::Resolver::UNIX) = 482 perl(Net::DNS::Resolver::Win32) = 588 perl(Net::DNS::Update) = 517 perl-Net-DNS = 0.62-4.1 -Prv: +Obs: perl_dns -Obs: =Grp: Development/Libraries/Perl =Lic: Artistic License; GPL v2 or later =Src: perl-Net-DNS 0.62 4.1 src =Tim: 1202709958 =Loc: 1 perl-Net-DNS-0.62-4.1.i586.rpm =Siz: 258592 576685

In reply to Re: How to parse the zypper info output? by perlfan
in thread How to parse the zypper info output? by ovedpo15

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-20 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found