{"id":3504,"date":"2022-03-03T23:10:32","date_gmt":"2022-03-03T14:10:32","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=3504"},"modified":"2022-03-03T23:19:16","modified_gmt":"2022-03-03T14:19:16","slug":"check-the-package-version-with-rmadison","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2022\/03\/03\/check-the-package-version-with-rmadison\/","title":{"rendered":"rmadison \u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d"},"content":{"rendered":"<div class=\"paragraph\">\n<p>Twitter\u3067 <code>rmadison<\/code> \u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u6559\u3048\u3066\u3082\u3089\u3044\u307e\u3057\u305f\uff0e<\/p>\n<blockquote class=\"twitter-tweet\" data-conversation=\"none\" data-lang=\"ja\" data-dnt=\"true\">\n<p lang=\"ja\" dir=\"ltr\">$ rmadison<br \/>\nopenssh \u3068\u304b\u3082\u30d0\u30fc\u30b8\u30e7\u30f3\u8abf\u3079\u308b\u306e\u306b\u3088\u3044\u304b\u3082<\/p>\n<p>\u2014 henrich (@henrich) <a href=\"https:\/\/twitter.com\/henrich\/status\/1497207\n673435332610?ref_src=twsrc%5Etfw\">2022\u5e742\u670825\u65e5<\/a><\/p>\n<\/blockquote>\n<p><script async=\"\" src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<\/div>\n<p><!--more--><\/p>\n<div class=\"paragraph\">\n<p><code>rmadison<\/code> \u306f\u30ea\u30e2\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u308b\u30b3\u30de\u30f3\u30c9\u3067\uff0cDebian\u3067\u306f <code>devscripts<\/code> \u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ rmadison --help\nUsage: rmadison [OPTION] PACKAGE[...]\nDisplay information about PACKAGE(s).\n\n  -a, --architecture=ARCH    only show info for ARCH(s)\n  -b, --binary-type=TYPE     only show info for binary TYPE\n  -c, --component=COMPONENT  only show info for COMPONENT(s)\n  -g, --greaterorequal       show buildd 'dep-wait pkg &gt;= {highest version}' info\n  -G, --greaterthan          show buildd 'dep-wait pkg &gt;&gt; {highest version}' info\n  -h, --help                 show this help and exit\n  -r, --regex                treat PACKAGE as a regex [not supported everywhere]\n  -s, --suite=SUITE          only show info for this suite\n  -S, --source-and-binary    show info for the binary children of source pkgs\n  -t, --time                 show projectb snapshot date\n  -u, --url=URL              use URL instead of debian\n\n  --noconf, --no-conf        don't read devscripts configuration files\n\nARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g.\n    --architecture=m68k,i386\n\nAliases for URLs:\n        debian  https:\/\/api.ftp-master.debian.org\/madison\n        new     https:\/\/api.ftp-master.debian.org\/madison?s=new\n        qa      https:\/\/qa.debian.org\/madison.php\n        ubuntu  https:\/\/people.canonical.com\/~ubuntu-archive\/madison.cgi\n        udd     https:\/\/qa.debian.org\/cgi-bin\/madison.cgi<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u4f8b\u3048\u3070 <code>OpenSSH<\/code> \u3092\u6307\u5b9a\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067testing\u4ee5\u964d\u306b 8.9p1 \u304c\u6765\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308a\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>a$ rmadison openssh\nopenssh    | 1:6.7p1-5+deb8u4   | oldoldoldstable        | source\nopenssh    | 1:7.4p1-10+deb9u7  | oldoldstable           | source\nopenssh    | 1:7.4p1-10+deb9u7  | oldoldstable-debug     | source\nopenssh    | 1:7.9p1-10+deb10u2 | oldstable              | source\nopenssh    | 1:7.9p1-10+deb10u2 | oldstable-debug        | source\nopenssh    | 1:8.4p1-2~bpo10+1  | buster-backports       | source\nopenssh    | 1:8.4p1-2~bpo10+1  | buster-backports-debug | source\nopenssh    | 1:8.4p1-5          | stable                 | source\nopenssh    | 1:8.8p1-1          | testing                | source\nopenssh    | 1:8.9p1-3          | unstable               | source\nopenssh    | 1:8.9p1-3          | unstable-debug         | source<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>url\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067Ubuntu\u306e\u60c5\u5831\u3082<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ rmadison -u https:\/\/people.canonical.com\/~ubuntu-archive\/madison.cgi openssh\n openssh | 1:6.6p1-2ubuntu1    | trusty          | source\n openssh | 1:6.6p1-2ubuntu2.13 | trusty-security | source\n openssh | 1:6.6p1-2ubuntu2.13 | trusty-updates  | source\n openssh | 1:7.2p2-4           | xenial          | source\n openssh | 1:7.2p2-4ubuntu2.8  | xenial-security | source\n openssh | 1:7.2p2-4ubuntu2.10 | xenial-updates  | source\n openssh | 1:7.6p1-4           | bionic          | source\n openssh | 1:7.6p1-4ubuntu0.5  | bionic-security | source\n openssh | 1:7.6p1-4ubuntu0.6  | bionic-proposed | source\n openssh | 1:7.6p1-4ubuntu0.6  | bionic-updates  | source\n openssh | 1:8.2p1-4           | focal           | source\n openssh | 1:8.2p1-4ubuntu0.2  | focal-security  | source\n openssh | 1:8.2p1-4ubuntu0.4  | focal-updates   | source\n openssh | 1:8.4p1-6ubuntu2    | impish          | source\n openssh | 1:8.4p1-6ubuntu2.1  | impish-updates  | source\n openssh | 1:8.8p1-1           | jammy           | source\n openssh | 1:8.9p1-3           | jammy-proposed  | source<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u30ea\u30e2\u30fc\u30c8\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u306b\u884c\u304f\u306e\u3067\u56de\u7dda\u304c\u306a\u3044\u3068\u4f7f\u3048\u307e\u305b\u3093\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ https_proxy='dummy' rmadison openssh\ncurl: (5) Could not resolve proxy: dummy<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u3053\u3046\u3044\u3063\u305f\u60c5\u5831\u306f\u3053\u308c\u307e\u3067 <a href=\"https:\/\/packages.debian.org\/\" class=\"bare\">https:\/\/packages.debian.org\/<\/a> \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u78ba\u8a8d\u3057\u3066\u3044\u305f\u306e\u3067\u4fbf\u5229\u306b\u306a\u308a\u307e\u3057\u305f :)<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ w3m -dump https:\/\/packages.debian.org\/openssh-server | grep ^Package\\ openssh-server$ -A24\nPackage openssh-server\n\n  \u2022 stretch (oldoldstable) (net): secure shell (SSH) server, for secure access\n    from remote machines\n    1:7.4p1-10+deb9u7: amd64 arm64 armel armhf i386 mips mips64el mipsel\n    ppc64el s390x\n  \u2022 buster (oldstable) (net): secure shell (SSH) server, for secure access from\n    remote machines\n    1:7.9p1-10+deb10u2: amd64 arm64 armel armhf i386 mips mips64el mipsel\n    ppc64el s390x\n  \u2022 buster-backports (net): secure shell (SSH) server, for secure access from\n    remote machines\n    1:8.4p1-2~bpo10+1: amd64 arm64 armel armhf i386 mips mips64el mipsel\n    ppc64el s390x\n  \u2022 bullseye (stable) (net): secure shell (SSH) server, for secure access from\n    remote machines\n    1:8.4p1-5: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x\n  \u2022 bookworm (testing) (net): secure shell (SSH) server, for secure access from\n    remote machines\n    1:8.8p1-1: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x\n  \u2022 sid (unstable) (net): secure shell (SSH) server, for secure access from\n    remote machines\n    1:8.9p1-3: alpha amd64 arm64 armel armhf hppa i386 ia64 m68k mips64el\n    mipsel ppc64 ppc64el riscv64 s390x sh4 sparc64 x32<\/pre>\n<\/div>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"title\">\u74b0\u5883<\/div>\n<div class=\"content\">\n<pre>dison --version\nrmadison 0.4 (devscripts 2.22.1)\n(C) 2006-2010 Christoph Berg &lt;myon@debian.org&gt;\n(C) 2010 Uli Martens &lt;uli@youam.net&gt;\n$ dpkg-query -W devscripts\ndevscripts      2.22.1\n$ lsb_release -dr\nDescription:    Debian GNU\/Linux bookworm\/sid\nRelease:        unstable\n$ arch\nx86_64<\/pre>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Twitter\u3067 rmadison \u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u6559\u3048\u3066\u3082\u3089\u3044\u307e\u3057\u305f\uff0e $ rmadison openssh \u3068\u304b\u3082\u30d0\u30fc\u30b8\u30e7\u30f3\u8abf\u3079\u308b\u306e\u306b\u3088\u3044\u304b\u3082 \u2014 henrich (@henrich) 2022\u5e742\u670825\u65e5<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[7,6],"tags":[276,429,288],"class_list":["post-3504","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-linux","tag-debian-linux","tag-package","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/3504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=3504"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/3504\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=3504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=3504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=3504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}