From owner-freebsd-pkg@FreeBSD.ORG Sun May 31 00:21:01 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F429183 for ; Sun, 31 May 2015 00:21:01 +0000 (UTC) (envelope-from jeffreybouquet@yahoo.com) Received: from nm50-vm8.bullet.mail.bf1.yahoo.com (nm50-vm8.bullet.mail.bf1.yahoo.com [216.109.115.239]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B386E1171 for ; Sun, 31 May 2015 00:21:00 +0000 (UTC) (envelope-from jeffreybouquet@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1433031456; bh=+a13lzL/dnJSJHOJcm1vvFcyRU1Emgioo5V3z/5dRF0=; h=Date:From:To:Subject:From:Subject; b=hxt6DKJxMlR+KQZxngtlV23UXuILBdftYS96K9f72F+vMwY/M2c3WMP3B7wEP03jBaA21iJuv4uLvkdfU4Tbvw6LjE7JPC+fw4Ui6BhDFsl11pAiqt8x0kvZXf7i1muIQEODOIeCoeLFram4UpDwAxtYR3DKrj8y3IXKANg/O2cbVmRBUyqeLs8vTjeQtj5j/xoC80qUWqV16bS9geoOUj2GFX3MuOG8Lsr2bnw4Xu4bopv1cB8/oLrWUJGhZ5jXVQr+ROaqJiMG9Bj/mqc0PZnI4m857xMVtrZ2dzkBttq1R70KMJDuMjll9HrJgEIi0Idnkg8Y1aO2gHQtdKPOeA== Received: from [98.139.215.143] by nm50.bullet.mail.bf1.yahoo.com with NNFMP; 31 May 2015 00:17:36 -0000 Received: from [68.142.230.74] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 31 May 2015 00:17:36 -0000 Received: from [127.0.0.1] by smtp231.mail.bf1.yahoo.com with NNFMP; 31 May 2015 00:17:36 -0000 X-Yahoo-Newman-Id: 480280.47682.bm@smtp231.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 1jr0wp4VM1m2YOqmEmf9vAnRyvoz5RFuMAJWTyd4aBapU3t .ZlzYLmiJr_nxFO_YECFjISzvxyAiy4M.Lr42Vg8nbbdYFa3gcQqgafGOrzB Wg.MB36Gd5txtEIu37RSklrXOtKPt1r5_7tUUu62eErpj_bo5gcItEWnEmbO 9eKMW6mShHET1jpocQkEfkEoqJenBi7uxwr9lHLBRHmOUqR9w0FmyI0pwvlu hu6Zxb8OGlLqf233ETbLVWXs3qrr.A5h5q9j_Lb1v7v5aeIO5f5vnHuL0sWq eZu_j_zfzEkc1F39FSK5sohc2PHUwaC3Ps3qtwXfvSZ5cYdhPp1ZSg7md5L1 TCmOre96ixInsu7ClDJy5OwZ9HAIWkn3X0VUprjaRwFY1Q3u0kS1FjudGB4i YDrWZOq5RRsHGfqEqW4SEyAtevS.wcMKEujZq4JKzQFibfoFzRJezOeWAbOh RwssQ52XjTzHmd9LYpa72ExtXYTtmciSrJDhpC1i3bkcpVZrbPLjF_13JYw7 FcRuLi7wrcNlzo2r_JbMLHch123h.gZ_2D1N2 X-Yahoo-SMTP: 6IZaPQyswBAeyzp3urHRlQfBxGxx4Js3YAIn Message-ID: <556A52D3.3070604@yahoo.com> Date: Sat, 30 May 2015 17:16:19 -0700 From: Jeffrey Bouquet User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: pkg question I've spent too long on... another pkg-Nth wanted Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2015 00:21:01 -0000 Not an easy question, below BUT... Possible easier 3 paragraphs, than reading all of the following, at the bottom of this message if one does not want to read it all. Bottom 3 paragraphs did not occur to me til I'd already written the top part. Sorry! .................................. I've a list of packages from v10 pre- v11 and a list of packages post-v11 (that pkg inexplicably removed upon upgrading one port) (until I finally tweaked it to work properly) One list contains 680-odd the other 610-odd libaacs-0.8.0 I would like some pkg tool to determine, given all of each list, which are installed despite the current package name varying by number or even name So that I can complete the v10 > v11 upgrade by re-installing those initially deinstalled by pkg, given the format above, from the pre-upgrade local.sqlite file. something equivalent to pkg-install-if-absent-by-rquery-origin-probable-upstream, or pkg-info-is-broken unfetchable-so-no-use, or pkg-upgrade-right-now-by-package-can-do 3- in 1 pkg tool, something like portmaster or portupgrade used to do (pkgdb -F etc) but which fail (mostly silently or with a short "cannot do" message ... at least until they are upgraded... for instance "portmaster --check-depends " does absolutely nothing as far as terminal output here.) Another list where the x11/9menu format differs from 24xx to 25xx installed. I spent a lot of time almost getting a solution from docdiff's etc of the first list but it is inconclusive... docdiff's of the latter are apparant but too time-consuming. So I suppose I would use a method of given the "libaacs-0.8.0" format, what pkg info or query, or pipe containing same, would tell it it OR a later version is installed or not. (since it is shorter than the latter list, where the package may differ from the origin name). ............................................................. As an afterthought after writing all that, this question could be maybe irrelevant if the PACKAGES TO BE REMOVED (top portion of "pkg install" sometimes) were to print in dual format: colordiff-1.0.13_2 textproc/colordiff cdif-0.9.7,1 textproc/cdif I suppose that if that format were present, I could pipe/awk it straightaway to portmaster and/or portupgrade and/or pkg install without having to write an email such as this one So that maybe is the easiest way