11d53
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Today I updated my system with portsnap fetch update; portmaster -a, but it ran into an error:
Code:
pkgconf-0.8.3 conflicts with installed package(s):
pkg-config-0.25_1
They install files into the same place.
Please remove them first with pkg_delete(1).
It tels me to "see UPDATING for instructions". I have no idea where to find this. So I googled some more and came accross something telling me to run portmaster -o devel/pkg-config devel/pkgconf Which outputs: Code:
===>>> The first argument to -o must be a directory in /usr/ports How do I go from here? |
|
#2
|
||||
|
||||
|
Read /usr/ports/UPDATING, which should be the first you do after updating the ports tree.
|
|
#3
|
||||
|
||||
|
From /usr/ports/UPDATING:
Quote:
# pkg_delete -f pkg-config # cd /usr/ports/devel/pkgconf && make install clean
__________________
Powered by BareBSD |
|
#4
|
|||
|
|||
|
If nothing else works you can forcefully uninstall pkg-config, almost none of the ports that are depending on it now actually need it to work. There is ongoing work to strip those unnecessary run time dependencies to pkg-config/pkgconf
|
|
#5
|
||||
|
||||
|
I've spoken to a few people on IRC and it seems the first version of UPDATING had a slight error. It said to do:
# portmaster -o devel/pkg-config devel/pkgconfBut this is the wrong way around. It should be: # portmaster -o devel/pkgconf devel/pkg-configThe UPDATING file has been updated but you may still have the 'older' version with the error.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#6
|
|||
|
|||
|
thanks everyone for the info, i think this should fix it.
|
|
#7
|
|||
|
|||
|
Using portupgrade, the upgrade will not work regardless of the order of the port names:
# portupgrade -v -o devel/pkgconf devel/pkg-config -> "None has been installed or upgraded"# portupgrade -v -o devel/pkg-config devel/pkgconf -> "Port directory not found: devel/pkg-config"Has anyone actually done the forced deinstall of old / install of new package? Last edited by phoenix; July 28th, 2012 at 23:45. Reason: Please format your posts! |
|
#8
|
|||
|
|||
|
ports-mgmt/portmaster wants a package name as the second argument if there's no port directory anymore. I bet it's the same with ports-mgmt/portupgrade
# portupgrade -v -o devel/pkgconf pkg-configBy forced deinstall I meant something like: # pkg_delete -fx pkg-config# portmaster --check-dependsThe second command would then ask if the dependencies to non existing pkg-config should be kept, you would answer no. |
![]() |
| Tags |
| pkgconfig, ports update |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fail upgrading devel/m4 | juanjico | Installation and Maintenance of FreeBSD Ports or Packages | 2 | April 27th, 2013 23:15 |
| Using samba4-devel | Johnny2Bad | Web & Network Services | 3 | November 7th, 2012 18:05 |
| devel/kBuild-devel (req. for VirtualBox) | bbzz | Installation and Maintenance of FreeBSD Ports or Packages | 2 | April 28th, 2012 16:56 |
| [Solved] devel/gcc not building | xibo | Installation and Maintenance of FreeBSD Ports or Packages | 3 | April 1st, 2012 21:29 |
| Where to get libjpeg-devel? | fred6633 | Installation and Maintenance of FreeBSD Ports or Packages | 4 | June 1st, 2009 11:40 |