Re: upgrading packages and ports, ugh
2009/2/11 Hannah Schroeter han...@schlund.de: Hi! On Tue, Feb 10, 2009 at 10:00:31PM -0500, Juan Miscaro wrote: [...] Thanks everyone for these responses. I've since tried to reinstall (make reinstall) one of those ports and it now cries: === archivers/freeze === Cleaning for freeze-2.5 /usr/sbin/pkg_delete freeze-2.5 Can't remove freeze-2.5 without also removing: amavisd-new-2.6.2 *** Error code 1 (ignored) Really strange. Like I said, I installed amavisd-new via ports (which brought in freeze). Then 'pkg_add -u' upgraded amavisd-new using packages. Now those packages that need to be upgraded via ports (freeze) cannot do so without first removing amavisd-new! What does one do in such cases? make update, if the version number changes. Else make package and pkg_add -riv /path/to/package/that/was/just/built (copypaste the package path from the output of make package). Kind regards, Hannah. Thanks everyone. Got it going. -- jm
Re: upgrading packages and ports, ugh
hmm, on Tue, Feb 10, 2009 at 03:02:28AM +0100, Ingo Schwarze said that unace-1.2bp0 unarj-2.43 unrar-3.81 Due to nasty licences, you must build those from source. or perhaps use p7zip which can deal with these, if i am not mistaken. -f -- i have nothing to say, but i can say it loudly.
Re: upgrading packages and ports, ugh
Juan Miscaro wrote: Thanks everyone for these responses. I've since tried to reinstall (make reinstall) one of those ports and it now cries: === archivers/freeze === Cleaning for freeze-2.5 /usr/sbin/pkg_delete freeze-2.5 Can't remove freeze-2.5 without also removing: amavisd-new-2.6.2 *** Error code 1 (ignored) Really strange. Like I said, I installed amavisd-new via ports (which brought in freeze). Then 'pkg_add -u' upgraded amavisd-new using packages. Now those packages that need to be upgraded via ports (freeze) cannot do so without first removing amavisd-new! What does one do in such cases? -- jm Please check the ports(7) man page to see if any of the targets mentioned fits your upgrade/update scenario.
Re: upgrading packages and ports, ugh
Hi! On Tue, Feb 10, 2009 at 10:00:31PM -0500, Juan Miscaro wrote: [...] Thanks everyone for these responses. I've since tried to reinstall (make reinstall) one of those ports and it now cries: === archivers/freeze === Cleaning for freeze-2.5 /usr/sbin/pkg_delete freeze-2.5 Can't remove freeze-2.5 without also removing: amavisd-new-2.6.2 *** Error code 1 (ignored) Really strange. Like I said, I installed amavisd-new via ports (which brought in freeze). Then 'pkg_add -u' upgraded amavisd-new using packages. Now those packages that need to be upgraded via ports (freeze) cannot do so without first removing amavisd-new! What does one do in such cases? make update, if the version number changes. Else make package and pkg_add -riv /path/to/package/that/was/just/built (copypaste the package path from the output of make package). Kind regards, Hannah.
Re: upgrading packages and ports, ugh
2009/2/9 Markus Lude markus.l...@gmx.de: On Tue, Feb 10, 2009 at 03:02:28AM +0100, Ingo Schwarze wrote: Hi Juan, Juan Miscaro wrote on Mon, Feb 09, 2009 at 08:38:01PM -0500: [...] p5-IO-INET6-2.01p0 freeze-2.5 Don't know those two, sorry. net/p5-IO-INET6 was replaced by net/p5-IO-Socket-INET6 around the beginning of the year because the upstream CPAN package was renamed. If you already got p5-IO-Socket-INET6 installed while upgrading you may just remove the old p5-IO-INET6 package if it isn't needed anymore. Regards, Markus Thanks everyone for these responses. I've since tried to reinstall (make reinstall) one of those ports and it now cries: === archivers/freeze === Cleaning for freeze-2.5 /usr/sbin/pkg_delete freeze-2.5 Can't remove freeze-2.5 without also removing: amavisd-new-2.6.2 *** Error code 1 (ignored) Really strange. Like I said, I installed amavisd-new via ports (which brought in freeze). Then 'pkg_add -u' upgraded amavisd-new using packages. Now those packages that need to be upgraded via ports (freeze) cannot do so without first removing amavisd-new! What does one do in such cases? -- jm
upgrading packages and ports, ugh
A few months ago I installed amavisd-new by ports. I am now upgrading my system to the latest snapshot (060209). The pkg_add command upgraded many of my packages but left me with packages not upgraded due to them being only available in the ports tree. This seems to me to be a typical scenario so I figured there must be a standard way of dealing with this. Do I actually have to dig and discover what those packages are and then manually re-install them? Probably not but I couldn't find any other way. What I did was take a line from the output of the pkg_add upgrade and apply some tools (grep, sed, cut) to arrive at a file containing one package name per line. Now instead of manually re-installing them can someone help me to programatically upgrade these things? The file contains: expiretable-0.6 freeze-2.5 p5-Archive-Tar-1.38 p5-Compress-Raw-Zlib-2.011 p5-Compress-Zlib-2.011 p5-IO-Compress-Base-2.011 p5-IO-Compress-Zlib-2.011 p5-IO-INET6-2.01p0 p5-IO-Zlib-1.08 postfix-2.5.3-sasl2-mysql unace-1.2bp0 unarj-2.43 unrar-3.81 Ignoring postfix for now (built a certain flavour) the others should be able to be simply upgraded using a script. I'm having trouble turning 'p5-Archive-Tar-1.38' into 'p5-Archive-Tar'. I guess that's what this post boils down to. How to remove the last dash and everything after it. -- jm
Re: upgrading packages and ports, ugh
Hi Juan, Juan Miscaro wrote on Mon, Feb 09, 2009 at 08:38:01PM -0500: A few months ago I installed amavisd-new by ports. I am now upgrading my system to the latest snapshot (060209). The pkg_add command upgraded many of my packages but left me with packages not upgraded due to them being only available in the ports tree. This seems to me to be a typical scenario so I figured there must be a standard way of dealing with this. Do I actually have to dig and discover what those packages are and then manually re-install them? Yes; the reasons for those packages not being upgraded vary, though. Probably not but I couldn't find any other way. What I did was take a line from the output of the pkg_add upgrade and apply some tools (grep, sed, cut) to arrive at a file containing one package name per line. Now instead of manually re-installing them can someone help me to programatically upgrade these things? No, you must do that by hand. Sometimes, things do change, and must be dealt with. Not everything is automatic. The file contains: expiretable-0.6 Obsolete, see pfctl(8), search for -T expire, or see Peter's Book of PF, page 71. p5-Archive-Tar-1.38 p5-Compress-Raw-Zlib-2.011 p5-Compress-Zlib-2.011 p5-IO-Compress-Base-2.011 p5-IO-Compress-Zlib-2.011 p5-IO-Zlib-1.08 http://www.openbsd.org/faq/current.html#20080929 Just remove those. When following -current, also follow the -current FAQ. unace-1.2bp0 unarj-2.43 unrar-3.81 Due to nasty licences, you must build those from source. p5-IO-INET6-2.01p0 freeze-2.5 Don't know those two, sorry. Hope this helps, Ingo
Re: upgrading packages and ports, ugh
On Tue, Feb 10, 2009 at 03:02:28AM +0100, Ingo Schwarze wrote: Hi Juan, Juan Miscaro wrote on Mon, Feb 09, 2009 at 08:38:01PM -0500: [...] p5-IO-INET6-2.01p0 freeze-2.5 Don't know those two, sorry. net/p5-IO-INET6 was replaced by net/p5-IO-Socket-INET6 around the beginning of the year because the upstream CPAN package was renamed. If you already got p5-IO-Socket-INET6 installed while upgrading you may just remove the old p5-IO-INET6 package if it isn't needed anymore. Regards, Markus