portmanager fails installing apache
Michael C. Shultz
reso3w83 at verizon.net
Thu Dec 23 17:12:13 PST 2004
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
More information about the freebsd-questions
mailing list