Date: Thu, 23 Dec 2004 17:09:22 -0800 From: "Michael C. Shultz" <reso3w83@verizon.net> To: "Noah" <admin2@enabled.com> Cc: questions@freebsd.org Subject: Re: portmanager fails installing apache Message-ID: <200412231709.24148.reso3w83@verizon.net> In-Reply-To: <20041224003452.M17161@enabled.com> References: <20041222203704.M67964@enabled.com> <200412221447.00614.reso3w83@verizon.net> <20041224003452.M17161@enabled.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 December 2004 04:43 pm, you wrote: > > Try: > > > > ls /var/db/pkg > > > > and see if you have a > > > > /var/db/pkg/apache+mod_ssl-1.3.33+2.8.22 > > > > directory, if you do then you probably ran > > > > pkg_delete apache+mod_ssl-1.3.33+2.8.22 > > > > instead of > > > > pkg_delete -f apache+mod_ssl-1.3.33+2.8.22 > > > > If you don't have that directory, then let me know, > > it will cause me to install the apache ports on my system > > in an attempt to duplicate your problem. > > > > -Mike > > thanks Mike - your recommendation fixed it - but now there is > something similar with lynx and lynx-ssl. Any clues how to get out > of this loop? > > > ---- snip ---- > > pkg_create: can't find package 'lynx-2.8.5' installed! > ------------------------------------------------ > cd /usr/ports/www/lynx; make deinstall > ===> Deinstalling for www/lynx > ===> lynx not installed, skipping > ------------------------------------------------ > cd /usr/ports/www/lynx; make reinstall > ===> Installing for lynx-2.8.5 > > ===> lynx-2.8.5 conflicts with installed package(s): > lynx-ssl-2.8.5 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > Stop in /usr/ports/www/lynx. > *** Error code 1 > > Stop in /usr/ports/www/lynx. > pmupgrade 0.2.0_3 error: make reinstall returned an error, cannot > continue typhoon# > typhoon# ls -ld /var/db/pkg/lynx* > drwxr-xr-x 2 root wheel 512 Dec 22 12:50 > /var/db/pkg/lynx-ssl-2.8.5 typhoon# pkg_delete lynx-ssl-2.8.5 > pkg_delete: package 'lynx-ssl-2.8.5' is required by these other > packages and may not be deinstalled: > imp-3.2.6 > kronolith-1.1.2 > wv-1.0.0_2 > typhoon# > typhoon# portmanager -u pkg_delete -f lynx-ssl-2.8.5 and rerun portmanager, don't forget the "-f". Basically portmanager needs the lynx-ssl-2.8.5 package out of the way so it can get lynx-2.8.5 installed, but when you just run pkg_delete lynx-ssl-2.8.5 with no "-f" it does not get removed because imp-3.2.6, kronolith-1.1.2, and wv-1.0.0_2 were built with lynx-ssl-2.8.5 originally and still need it installed. After you "force" the removal of lynx-ssl-2.8.5 with the "-f" switch portmanager should end up rebuilding imp-3.2.6, kronolith-1.1.2, and wv-1.0.0_2 with lynx-2.8.5 instead of lynx-ssl-2.8.5 and all of that mess of ports should be happy once again because in the end they will all have a matching dependency of lynx-2.8.5 instead of lynx-ssl-2.8.5. I upgraded portmanager recently so the output during portmanager -u is a little easier to follow, whenever the FreeBSD folks get around to commiting the new version I am hoping it will be easier for you to follow what is going on. -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412231709.24148.reso3w83>