messed up ports index

Doug Sampson dougs at dawnsign.com
Fri Jun 11 22:53:12 UTC 2010


> > I have a messed up ports index that I cannot clean. I want to
> > uninstall
> > lang/php5 but it does not seem to uninstall. The same thing goes
> for
> > security/php5-hash. I was uninstalling php5 ports in an effort to
> > return
> > to the php52 ports. So that is how this happened. I ran the pkgdb
> -F
> > but
> > it looks like I chose some unfortunate choices that left me where
> I
> > am
> > now.
> >
> > How can I dig myself out of this?
> >
> > ~Doug
> >
> >
> > corvus-root@/usr/ports: pkg_version -vo
> > archivers/9e                        =   up-to-date with port
> > <..snip..>
> > databases/pgtune                    =   up-to-date with port
> > security/php5-hash                  <   needs updating (port has
> > 5.3.2_1)           <<<<<<<<<<<<
> > lang/php5                           <   needs updating (port has
> > 5.3.2_1)           <<<<<<<<<<<<
> > lang/php52                          =   up-to-date with port
> > <<<<<<<<<<<<
> > math/php52-bcmath                   =   up-to-date with port
> > archivers/php52-bz2                 =   up-to-date with port
> > textproc/php52-ctype                =   up-to-date with port
> > ftp/php52-curl                      =   up-to-date with port
> > databases/php52-dba                 =   up-to-date with port
> > textproc/php52-dom                  =   up-to-date with port
> > graphics/php52-exif                 =   up-to-date with port
> > security/php52-filter               =   up-to-date with port
> > ftp/php52-ftp                       =   up-to-date with port
> > graphics/php52-gd                   =   up-to-date with port
> > devel/php52-gettext                 =   up-to-date with port
> > security/php52-hash                 =   up-to-date with port
> > <<<<<<<<<<<<
> > converters/php52-iconv              =   up-to-date with port
> > devel/php52-json                    =   up-to-date with port
> >
> > <..snip..>
> 
> After I googled around some more, I found and ran this:
> 
> portmaster -o lang/php52 lang/php5
> 
> Now I am left with only one item as follows:
> 
> php5-mhash-5.2.12_2         <  needs updating (port has 5.3.2_1)
> 
> There is *no* lang/php5-mhash. Only lang/php52-mhash. Should I
> deinstall
> and install?
> 

Ooops.

I meant to say security/php5-mhash and security/php52-mhash. Again,
there is no security/php5-mhash. How can I remove this safely?

~Doug



More information about the freebsd-questions mailing list