The recent update to ports-mgmt/portupgrade-devel is having problems dealing with bsdpan packages. # portupgrade -airRn ---> Session started at: Wed, 04 Nov 2009 08:15:21 -0600 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1276 packages found (-0 +1) . done] ---> Skipping 'bsdpan-Parse-Snort-0.01' because it is held by user (specify -f to force) ---> Session ended at: Wed, 04 Nov 2009 08:17:54 -0600 (consumed 00:02:33) /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError) from /usr/local/sbin/portupgrade:998:in `new' from /usr/local/sbin/portupgrade:998:in `do_upgrade' from /usr/local/sbin/portupgrade:812:in `main' from /usr/local/sbin/portupgrade:808:in `each' from /usr/local/sbin/portupgrade:808:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize' from /usr/local/sbin/portupgrade:231:in `new' from /usr/local/sbin/portupgrade:231:in `main' from /usr/local/sbin/portupgrade:2213 If I remove bsdpan-Parse-Snort-0.01 by hand, portupgrade will run to completion. Fix: Unknown. I'm sure that it's a software bug somewhere in portupgrade since it worked just fine before the recent update. How-To-Repeat: Install ports-mgmt/portupgrade-devel and a bsdpan pkgs and attempt to run portupgrade
Responsible Changed From-To: freebsd-ports-bugs->ruby Over to maintainer (via the GNATS Auto Assign Tool)
I've also got this problem. When will it be fixed? (Posting here mostly to get notified if and when a fix is available)
Responsible Changed From-To: ruby->pgollucci I will take it
Responsible Changed From-To: pgollucci->freebsd-ports-bugs going to have enotime for the next 2 weeks, sorry
After 'stable' port ports-mgmt//portupgrade was updated to 2.4.7 on nov 08, this problem hit it too: ---> Session started at: Tue, 16 Nov 2010 23:58:21 +0100 ---> Skipping 'bsdpan-Mail-SpamAssassin-CompiledRegexps-body_0-1.0' because it is held by user (specify -f to force) ---> Session ended at: Tue, 16 Nov 2010 23:59:38 +0100 (consumed 00:01:16) /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError) from /usr/local/sbin/portupgrade:1004:in `new' from /usr/local/sbin/portupgrade:1004:in `do_upgrade' from /usr/local/sbin/portupgrade:814:in `main' from /usr/local/sbin/portupgrade:810:in `each' from /usr/local/sbin/portupgrade:810:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize' from /usr/local/sbin/portupgrade:231:in `new' from /usr/local/sbin/portupgrade:231:in `main' from /usr/local/sbin/portupgrade:2219 Fix or port downgrade would be much appreciated :) -- Bartosz Stec
Why was the development port upgraded to production when this was a known issue?
Responsible Changed From-To: freebsd-ports-bugs->ruby Over to maintainer(s).
This bug is still present in portupgrade and portupgrade-devel on 8.2-STABL= E as of today. [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 78 packages fou= nd (-1 +1) (...). done] ---> Skipping 'bsdpan-XML-XSH2-2.1.1' because it is held by user (specify = -f to force) /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:953:in `initialize': Argument= Error (ArgumentError) from /usr/local/sbin/portupgrade:1004:in `new' from /usr/local/sbin/portupgrade:1004:in `do_upgrade' from /usr/local/sbin/portupgrade:814:in `main' from /usr/local/sbin/portupgrade:810:in `each' from /usr/local/sbin/portupgrade:810:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize' from /usr/local/sbin/portupgrade:231:in `new' from /usr/local/sbin/portupgrade:231:in `main' from /usr/local/sbin/portupgrade:2219 -- Regards, T. Koeman, MTh/BSc/BPsy; Technical Monk MediaMonks B.V. (www.mediamonks.com) Please quote relevant replies in correspondence.
I just faced with this problem and I can confirm that it still exist. Why nobody is fixing it?
Hello This is still not fixed even with portupgrade-2.4.9,2 and gives the same error. I'm running on FreeBSD 7.3-RELEASE-p4 amd64. All Ports are current as of today. root@batman:/usr/ports# portupgrade -an ---> Session started at: Sun, 21 Aug 2011 18:24:39 +0200 ---> Skipping 'bsdpan-Bot-Pastebot-0.52' because it is held by user (specify -f to force) ---> Session ended at: Sun, 21 Aug 2011 18:25:21 +0200 (consumed 00:00:41) /usr/local/lib/ruby/site_ruby/1.9/pkgtools.rb:953:in `initialize': ArgumentError (ArgumentError) from /usr/local/sbin/portupgrade:1004:in `new' from /usr/local/sbin/portupgrade:1004:in `rescue in do_upgrade' from /usr/local/sbin/portupgrade:1007:in `do_upgrade' from /usr/local/sbin/portupgrade:814:in `block (2 levels) in main' from /usr/local/sbin/portupgrade:810:in `each' from /usr/local/sbin/portupgrade:810:in `block in main' from /usr/local/lib/ruby/1.9/optparse.rb:799:in `initialize' from /usr/local/sbin/portupgrade:231:in `new' from /usr/local/sbin/portupgrade:231:in `main' from /usr/local/sbin/portupgrade:2219:in `<main>' root@batman:/usr/ports# bye Fabian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/21/11 13:30, Fabian Wenk wrote: > The following reply was made to PR ports/140273; it has been noted by GNATS. > > From: Fabian Wenk <fabian@wenks.ch> > To: bug-followup@FreeBSD.org > Cc: dokas@oitsec.umn.edu > Subject: Re: ports/140273: ports-mgmt/portupgrade-devel chokes on bsdpan pkgs > Date: Sun, 21 Aug 2011 19:21:47 +0200 > > Hello > > This is still not fixed even with portupgrade-2.4.9,2 and gives > the same error. I'm running on FreeBSD 7.3-RELEASE-p4 amd64. All > Ports are current as of today. > > root@batman:/usr/ports# portupgrade -an > ---> Session started at: Sun, 21 Aug 2011 18:24:39 +0200 > ---> Skipping 'bsdpan-Bot-Pastebot-0.52' because it is held by > user (specify -f to force) > ---> Session ended at: Sun, 21 Aug 2011 18:25:21 +0200 (consumed > 00:00:41) > /usr/local/lib/ruby/site_ruby/1.9/pkgtools.rb:953:in `initialize': > ArgumentError (ArgumentError) > from /usr/local/sbin/portupgrade:1004:in `new' > from /usr/local/sbin/portupgrade:1004:in `rescue in do_upgrade' > from /usr/local/sbin/portupgrade:1007:in `do_upgrade' > from /usr/local/sbin/portupgrade:814:in `block (2 levels) in main' > from /usr/local/sbin/portupgrade:810:in `each' > from /usr/local/sbin/portupgrade:810:in `block in main' > from /usr/local/lib/ruby/1.9/optparse.rb:799:in `initialize' > from /usr/local/sbin/portupgrade:231:in `new' > from /usr/local/sbin/portupgrade:231:in `main' > from /usr/local/sbin/portupgrade:2219:in `<main>' > root@batman:/usr/ports# > If you're using Ruby 1.9, give this patch a try. Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJOUUvYAAoJEPXPYrMgexuh/iEH+gO4wKP1OaLsH0cjM/6DUwMJ EaMsYcBude/U2F6zH6bWxq7zYFO0P489CSCNXELGlfHsdsqww/f59F6PFsHSyA1a GVNwrq5tUB5LqCthXlx78WSn7Qtk0xl7CXAplU+PUje/RXzwYvlv9mD1/ozNRrSV sA2IqZaGZIBxoHDwaIJ+k84AcMGaSrnJH8elyO7KSXdlBAUxJnmUfgCBAqtrn4St rnOc5brWpU0rcjnoJr++7cBlhrhFH33cPJj8rP0DUbkIlN7AdE61lifngIx76OjP LdpOE19nX1AJk717Ojr6pvHNmLt37ze7Z3FIWIRKf0KWSmpqxHGozW6BiVvgxRI= =YJEr -----END PGP SIGNATURE-----
Hello Steve On 21.08.2011 20:18, Steve Wills wrote: > If you're using Ruby 1.9, give this patch a try. I am, and your patch is working: root@batman:~# portupgrade -an ---> Session started at: Sun, 21 Aug 2011 20:39:22 +0200 ---> Skipping 'bsdpan-Bot-Pastebot-0.52' because it is held by user (specify -f to force) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 0 failed ** None has been installed or upgraded. ---> Session ended at: Sun, 21 Aug 2011 20:39:53 +0200 (consumed 00:00:31) root@batman:~# Thank you for your very fast response, great work. bye Fabian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/21/11 14:18, Steve Wills wrote: > On 08/21/11 13:30, Fabian Wenk wrote: >> The following reply was made to PR ports/140273; it has been noted by GNATS. > >> From: Fabian Wenk <fabian@wenks.ch> >> To: bug-followup@FreeBSD.org >> Cc: dokas@oitsec.umn.edu >> Subject: Re: ports/140273: ports-mgmt/portupgrade-devel chokes on bsdpan pkgs >> Date: Sun, 21 Aug 2011 19:21:47 +0200 > >> Hello > >> This is still not fixed even with portupgrade-2.4.9,2 and gives >> the same error. I'm running on FreeBSD 7.3-RELEASE-p4 amd64. All >> Ports are current as of today. > >> root@batman:/usr/ports# portupgrade -an >> ---> Session started at: Sun, 21 Aug 2011 18:24:39 +0200 >> ---> Skipping 'bsdpan-Bot-Pastebot-0.52' because it is held by >> user (specify -f to force) >> ---> Session ended at: Sun, 21 Aug 2011 18:25:21 +0200 (consumed >> 00:00:41) >> /usr/local/lib/ruby/site_ruby/1.9/pkgtools.rb:953:in `initialize': >> ArgumentError (ArgumentError) >> from /usr/local/sbin/portupgrade:1004:in `new' >> from /usr/local/sbin/portupgrade:1004:in `rescue in do_upgrade' >> from /usr/local/sbin/portupgrade:1007:in `do_upgrade' >> from /usr/local/sbin/portupgrade:814:in `block (2 levels) in main' >> from /usr/local/sbin/portupgrade:810:in `each' >> from /usr/local/sbin/portupgrade:810:in `block in main' >> from /usr/local/lib/ruby/1.9/optparse.rb:799:in `initialize' >> from /usr/local/sbin/portupgrade:231:in `new' >> from /usr/local/sbin/portupgrade:231:in `main' >> from /usr/local/sbin/portupgrade:2219:in `<main>' >> root@batman:/usr/ports# > > > If you're using Ruby 1.9, give this patch a try. > > Steve > Replying to myself, but here are patches which may fix the issue even with Ruby 1.8. Please give them a try. Just mkdir /usr/ports/ports-mgmt/portupgrade/files then drop these into that dir then reinstall portupgrade. Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJOUVOfAAoJEPXPYrMgexuhbbkH/AkZJNPtUeg0IlUuZgtPgdll 6RdUiYCXPXc5eJyA6MIy+VCYV1QwVdDTvUcG73PKHXdHvZEfeI3gEBu2gv3+2U3k etqz3locNO3cweU/f0OUCtlkMVBSYjGIJahZ4aphMKjaKH589aQy/06fVD2BqehD ElrqLgwtwpAIE3I0IfVODaUv/IAd4GHJH98gRpiEoRQiMDySbl9Pr+mN9F4QJrnd /ktP3WZuKwOIj7OEtugtkOyK1Sk0zfgbOaGPHfLy+49++e8dKjNCGgnpXOnTRBEI PdOOHl3j8wCWWS016v9svEmFDrz47cdR3SK+bNvlga1rXSaW/7SCyWHWo7ZVR+4= =yGdC -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/21/11 14:44, Fabian Wenk wrote: > Hello Steve > > On 21.08.2011 20:18, Steve Wills wrote: > >> If you're using Ruby 1.9, give this patch a try. > > I am, and your patch is working: > > root@batman:~# portupgrade -an > ---> Session started at: Sun, 21 Aug 2011 20:39:22 +0200 > ---> Skipping 'bsdpan-Bot-Pastebot-0.52' because it is held by user > (specify -f to force) > ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 0 failed > ** None has been installed or upgraded. > ---> Session ended at: Sun, 21 Aug 2011 20:39:53 +0200 (consumed 00:00:31) > root@batman:~# > > > Thank you for your very fast response, great work. > Sorry, missed this message. Thanks for testing. Would you mind testing the other set? If they work too, I'll see about getting them added then ping the PR originator and see about getting it closed. Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJOUVQ3AAoJEPXPYrMgexuh4VwH/0xFNUK7JZ5W9K6RuoPkaytg Mnx8xdtO3Is6Oo5gy5VSgRyQ4HK5+ylscmqaYITpRgSrglrfHIluoEw5FeampGVp z9lDqmuulfWzqG6b3AfIdQFb+sr7VIYnpKy5+XWQ79z4GSwCKyEWN3m2VY26Nuz6 xOfmOcLpAKyii5zJo3z4r77Iz/b5PDJaAmhlHNLA9adAR1CgBHI6Y9C38D4B7rwj zl9IK37dYgG5uku5T2ox1F7u7v93K3DoxGA9t+ulwlyA/bAVlkQj7TRUIoEc0dV2 LdBLvCIzJL44N0rhaGDkfoYMm1XscWvZ5N51L6+HcPDHN22xxn6vHtqQkQHDvLU= =O858 -----END PGP SIGNATURE-----
Responsible Changed From-To: ruby->swills I'll take it.
Hello Steve On 21.08.2011 20:53, Steve Wills wrote: > On 08/21/11 14:44, Fabian Wenk wrote: >> On 21.08.2011 20:18, Steve Wills wrote: >> >>> If you're using Ruby 1.9, give this patch a try. >> >> I am, and your patch is working: > Sorry, missed this message. Thanks for testing. Would you mind testing > the other set? If they work too, I'll see about getting them added then > ping the PR originator and see about getting it closed. I did (again with Ruby 1.9) and it builds and installs fine and it is still working: root@batman:~# ls -l /usr/local/sbin/portupgrade -r-xr-xr-x 2 root wheel 59070 Aug 21 21:11 /usr/local/sbin/portupgrade* root@batman:~# portupgrade -an ---> Session started at: Sun, 21 Aug 2011 21:11:49 +0200 ---> Skipping 'bsdpan-Bot-Pastebot-0.52' because it is held by user (specify -f to force) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 0 failed ** None has been installed or upgraded. ---> Session ended at: Sun, 21 Aug 2011 21:13:06 +0200 (consumed 00:01:17) root@batman:~# Thank you bye Fabian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/21/11 15:14, Fabian Wenk wrote: > Hello Steve > > > I did (again with Ruby 1.9) and it builds and installs fine and it is > still working: > Thanks! I'll see about getting this committed to portupgrade-devel and portupgrade then try to close the PR. Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQEcBAEBAgAGBQJOUWUtAAoJEPXPYrMgexuhgTgH/2qdb/A/pVD8N/4jbB3dKllU 9MkDx4cRfRuwdYT3DzN6olYc65Io9Ssrli2927HiYJaA+SvBbJ1SqScVQWM4Vzt6 NUvwAuhL9B2FP8kLhSQFZQQ1dQQK51cQSNxGUqdfX6FoNgXEAf4D3jHmm5gy2axC zsk2TS2PsoliolrJHQMo3ee6TPyjM+61szuYXQrwVPAdZMMk0v33IBDAn/JblTOc mO1M0QLxsPdUWzJeG0bYTLy+QCr0LoZMwmUuzLeOf7NTE6mB3Px1sI/3eEQBj0Yb ZsgPPlQNg7FqnX0uzr4fz2ol5gkq7Zv0tokxiroRgkyuyuIvi873WrVIyGe2kYE= =EPZ4 -----END PGP SIGNATURE-----
Responsible Changed From-To: swills->ruby Back to the pool
This is still happening in FreeBSD 8-stable with updated/upgraded ports and ruby/portupgrade pots. It is very annoying. When will this be fixed???
any chance to see the above patch committed? it has been waiting for almost half a year now and this is frustrating to users and developers alike. As a user I find this annoying. If I was the developer, I would find this demotivating. What is holding the patch from taking its course and solving this bug?
Hi, using the current portupgrade-devel, I was able to get it to working with just a one line change using Ruby 1.8. I think it'd work for Ruby 1.9 too. I had some, I think, unrelated encoding issues trying to rewrite +CONTENTS files using 1.9. --- /usr/ports/ports-mgmt/portupgrade-devel/work/pkgtools-9999/bin/portupgrade 2011-11-19 04:06:56.000000000 -0500 +++ /usr/local/sbin/portupgrade 2012-02-05 05:02:33.000000000 -0500 @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +#!/usr/local/bin/ruby18 # -*- ruby -*- # # Copyright (c) 2000-2004 Akinori MUSHA @@ -997,7 +997,7 @@ end end - $results << PkgResult.new(origin, result ? :done : :ignored, pkgname) + $results << PkgResult.new(origin ? origin : "", result ? :done : :ignored, pkgname) rescue IgnoreMarkError => e $results << PkgResult.new(origin, :ignored, pkgname) rescue => e
State Changed From-To: open->suspended Over to maintainer.
Responsible Changed From-To: ruby->freebsd-ports-bugs Over to maintainer. <dokas@oitsec.umn.edu>: host mail.oitsec.umn.edu[128.101.238.120] said: 550 5.1.1 <dokas@oitsec.umn.edu>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
State Changed From-To: suspended->closed <dokas@oitsec.umn.edu>: host mail.oitsec.umn.edu[128.101.238.120] said: 550 5.1.1 <dokas@oitsec.umn.edu>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command)
Philip, Please be more careful when closing a PR. There where several people replying in this PR, so a bouncing original = submitter is no reason to close this PR. Also this bug can be trivially reproduced.=20 Please try a bit harder!=
State Changed From-To: closed->open reopen
This has been fixed in the upstream. It is now available in the latest portupgrade-devel port and will be included in the next release. Thanks, Bryan Drewery
State Changed From-To: open->closed superceded by ports/167338