Hi all. I seem to have screwed up my ports nicely. I have two versions of the same php modules installed. GAH! php5-session-5.1.6_3 The session shared extension for php php5-session-5.2.0 The session shared extension for php php5-shmop-5.1.6_3 The shmop shared extension for php php5-shmop-5.2.0 The shmop shared extension for php How do I remove the older versions?
Matthew Herzog wrote:> Hi all. > > I seem to have screwed up my ports nicely. I have two versions of the > same php modules > installed. GAH! > > php5-session-5.1.6_3 The session shared extension for php > php5-session-5.2.0 The session shared extension for php > php5-shmop-5.1.6_3 The shmop shared extension for php > php5-shmop-5.2.0 The shmop shared extension for php > > How do I remove the older versions?If you have /usr/ports/sysutils/portupgrade installed, try "pkgdb -F", it should prompt you to remove the old packages from your repository without actually deleting the files from the new packages. -Proto
On 1/17/07, Matthew Herzog <matthew.herzog@gmail.com> wrote:> Hi all. > > I seem to have screwed up my ports nicely. I have two versions of the > same php modules > installed. GAH! > > php5-session-5.1.6_3 The session shared extension for php > php5-session-5.2.0 The session shared extension for php > php5-shmop-5.1.6_3 The shmop shared extension for php > php5-shmop-5.2.0 The shmop shared extension for php > > How do I remove the older versions?uninstall both ports (i.e. php5-session-5.1.6_3 & php5-session-5.2.0), then reinstall php5-session-5.2.0 (reoeat for php5-shmop*) Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Matthew Herzog wrote:> Hi all. > > I seem to have screwed up my ports nicely. I have two versions of the > same php modules > installed. GAH! > > php5-session-5.1.6_3 The session shared extension for php > php5-session-5.2.0 The session shared extension for php > php5-shmop-5.1.6_3 The shmop shared extension for php > php5-shmop-5.2.0 The shmop shared extension for phpWhere are you seeing that? If it's from pkg_info (implying that the old directories are still in /var/db/pkg), then you could use sysutils/portmaster to fix this. Install that port, then do: portmaster -v php5-session-5.1.6_3 php5-shmop-5.1.6_3 That will rebuild the new versions of the modules, then replace the dependency tracking in /var/db/pkg with the information for the new ones. hth, Doug -- This .signature sanitized for your protection