{"id":2840,"date":"2012-07-31T19:31:28","date_gmt":"2012-08-01T00:31:28","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=2840"},"modified":"2014-07-06T18:43:24","modified_gmt":"2014-07-06T23:43:24","slug":"freebsdthe-develpkg-config-port-moved-to-develpkgconf-reason-pkg-config-has-been-replace-by-pkgconf-pkgconf-0-8-5-conflicts-with-installed-packages-pkg-config-0-25_1","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/freebsdthe-develpkg-config-port-moved-to-develpkgconf-reason-pkg-config-has-been-replace-by-pkgconf-pkgconf-0-8-5-conflicts-with-installed-packages-pkg-config-0-25_1\/","title":{"rendered":"[FreeBSD]The devel\/pkg-config port moved to devel\/pkgconf; Reason: pkg-config has been replace by pkgconf; pkgconf-0.8.5 conflicts with installed package(s): pkg-config-0.25_1"},"content":{"rendered":"<p>FreeBSD is designed for users who got lots of spare time. Every once a while, it will give you some troubles (or &#8220;snacks&#8221; in programmer language), which help you to burn some of your spare time. If you cannot handle those troubles, then FreeBSD is not for you.<\/p>\n<p>\nAlthough FreeBSD is a rock solid operating system, it is not smart enough to tell whether the owners (i.e., me and you) got plenty of spare time or not.\n<\/p>\n<p>\nAnyway, comparing to Windows Server, I think FreeBSD is considered an honor student.\n<\/p>\n<p>\nOkay, let&#8217;s go back to the error message. When I tried to update FreeBSD, I saw the following error:\n<\/p>\n<pre>\r\n===>>> All >> pkg-config-0.25_1 (1\/1)\r\n\r\n        ===>>> The devel\/pkg-config port moved to devel\/pkgconf\r\n        ===>>> Reason: pkg-config has been replace by pkgconf\r\n\r\n<\/pre>\n<pre>\r\n===>  pkgconf-0.8.5 conflicts with installed package(s):\r\n      pkg-config-0.25_1\r\n\r\n      They install files into the same place.\r\n      You may want to stop build with Ctrl + C.\r\n<\/pre>\n<p>\nAgain, this is an old-school error. The port-maintainer decided that the app A is too old, and he likes to replace it by app B. We all love the new stuffs, but we want the transition goes smooth. Apparently, it seems that the port-maintainer totally forgot about it.<\/p>\n<p>So here is how to solve this problem:<\/p>\n<pre>\r\nsudo pkg_info | grep pkg\r\n<\/pre>\n<p>You will see something like the following:<\/p>\n<pre>\r\npkg-config-0.25_1   A utility to retrieve information about installed libraries\r\n<\/pre>\n<p>Let&#8217;s delete it.<\/p>\n<pre>\r\nsudo pkg_delete -f pkg-config-0.25_1\r\n<\/pre>\n<p>Verify that the package has been deleted:<\/p>\n<pre>\r\nsudo pkg_info | grep pkg\r\n<\/pre>\n<\/p>\n<p>Now try to install the package again:<\/p>\n<pre>\r\ncd \/usr\/ports\/devel\/pkgconf\r\nsudo make install clean\r\n<\/pre>\n<p>That&#8217;s it!<\/p>\n<p>&#8211;Derrick<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD is designed for users who got lots of spare time. Every once a while, it will give you some troubles (or &#8220;snacks&#8221; in programmer language), which help you to <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/freebsdthe-develpkg-config-port-moved-to-develpkgconf-reason-pkg-config-has-been-replace-by-pkgconf-pkgconf-0-8-5-conflicts-with-installed-packages-pkg-config-0-25_1\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1604,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,7,144,6,69],"tags":[171],"class_list":["post-2840","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-problems-computer-help-pc-support","category-freebsd","category-sever-problem","category-technology","category-troubleshooting-technology","tag-freebsd"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-JO","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3125,"url":"https:\/\/icesquare.com\/wordpress\/freebsdthe-netsamba35-port-has-been-deleted-obsoleted-by-netsamba36\/","url_meta":{"origin":2840,"position":0},"title":"[FreeBSD]The net\/samba35 port has been deleted: Obsoleted by net\/samba36","author":"Derrick","date":"February 11, 2013","format":false,"excerpt":"FreeBSD is designed for users who got lots of spare time. Every once a while, it will give you some troubles (or \"snacks\" in programmer language), which help you to burn some of your spare time. If you cannot handle these troubles, then FreeBSD is not for you. Although FreeBSD\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":500,"url":"https:\/\/icesquare.com\/wordpress\/installing-from-freebsd-ports-without-prompt\/","url_meta":{"origin":2840,"position":1},"title":"Installing from FreeBSD ports without prompt","author":"Derrick","date":"December 13, 2009","format":false,"excerpt":"When I configure my FreeBSD box, I like to install the applications from the ports instead of using pkg_add, because I can customize the configurations and optimize the compile process for my systems. However, if an application comes with lots of dependencies, it will take me a long time because\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3253,"url":"https:\/\/icesquare.com\/wordpress\/solvedfreebsd-problem-to-update-glib20\/","url_meta":{"origin":2840,"position":2},"title":"[Solved]FreeBSD: Problem to Update glib20","author":"Derrick","date":"May 21, 2013","format":false,"excerpt":"I decided to install Java on my FreeBSD box today. It wasn't a very good experience. Primary the system is not automated. It requires a lot of manual works. Anyway, after waiting for couple hours, I found that the process was stuck on glib. The system could not build the\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3295,"url":"https:\/\/icesquare.com\/wordpress\/freebsdproblem-to-update-curl-7-31-0\/","url_meta":{"origin":2840,"position":3},"title":"[FreeBSD]Problem to Update cURL-7.31.0","author":"Derrick","date":"August 6, 2013","format":false,"excerpt":"When I tried to update the cURL to cURL 7.31.0 today for my FreeBSD, it stopped and gave the following error messages: configure: using CFLAGS: -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing configure: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -DLDAP_DEPRECATED configure:\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1561,"url":"https:\/\/icesquare.com\/wordpress\/apache-wont-start-after-upgrading-to-2-2-21-in-freebsd-8-2\/","url_meta":{"origin":2840,"position":4},"title":"Apache won&#8217;t start after upgrading to 2.2.21 in FreeBSD 8.2","author":"Derrick","date":"September 15, 2011","format":false,"excerpt":"Apache 2.2.21 was rolled out today. Since it has some security fixes, I decide to put a new version on my server farm. I didn't know that it becomes a small headache today morning. The upgrade was running smooth, no error messages, no complaints, until I restart the Apache server\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/09\/connectionReset.png","width":350,"height":200,"srcset":"\/wordpress\/wp-content\/uploads\/2011\/09\/connectionReset.png 1x, \/wordpress\/wp-content\/uploads\/2011\/09\/connectionReset.png 1.5x"},"classes":[]},{"id":2792,"url":"https:\/\/icesquare.com\/wordpress\/phpfreebsd-the-databasesphp5-sqlite-port-has-been-deleted-removed-from-core-php-aborting-update\/","url_meta":{"origin":2840,"position":5},"title":"[PHP\/FreeBSD]===>>> The databases\/php5-sqlite port has been deleted: Removed from core php ===>>> Aborting update","author":"Derrick","date":"May 17, 2012","format":false,"excerpt":"[ad#adbrite] When PHP 5.4 was available few months ago, I was hesitated to upgrade my FreeBSD box to upgrade to 5.4, because it comes with lots of big changes, including removing LOTS of old stuffs that were available in 5.3 or earlier versions. Today PHP 5.4.3 becomes available in FreeBSD\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"https:\/\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/09\/FreeBSDIcon.png","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/2840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2840"}],"version-history":[{"count":13,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/2840\/revisions"}],"predecessor-version":[{"id":3668,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/2840\/revisions\/3668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media\/1604"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}