{"id":3125,"date":"2013-02-11T00:48:52","date_gmt":"2013-02-11T06:48:52","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=3125"},"modified":"2014-07-06T18:40:29","modified_gmt":"2014-07-06T23:40:29","slug":"freebsdthe-netsamba35-port-has-been-deleted-obsoleted-by-netsamba36","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/freebsdthe-netsamba35-port-has-been-deleted-obsoleted-by-netsamba36\/","title":{"rendered":"[FreeBSD]The net\/samba35 port has been deleted: Obsoleted by net\/samba36"},"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 these 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., you and me) got plenty of spare time or not. Anyway, comparing to Windows Server, I think FreeBSD is considered an honor student already.\n<\/p>\n<p>\nOkay, let&#8217;s go back to the error message. When I tried to update FreeBSD, I got the following error message:\n<\/p>\n<pre>\r\nBuilding new INDEX files... done.\r\n===>>> Starting check of installed ports for available updates\r\n\r\n===>>> The net\/samba35 port has been deleted: Obsoleted by net\/samba36\r\n===>>> Aborting update\r\n\r\nTerminated\r\n<\/pre>\n<p>\nAgain, this is an old-school error. The port-maintainer decided that the samba35 is too old, and he likes to replace it by samaba36. We all love the new stuffs, but we want the transition goes smooth too. Apparently, it seems that the port-maintainer totally forgot about it.<\/p>\n<p>If you check the directory, you will notice that \/usr\/ports\/net\/samba35 is deleted. If you try to soft-link samba36 to samba35, portmaster will likely to complain. The only way to solve this problem is by removing samba35 first, and installing samaba36 afterward.<\/p>\n<p>So here is how to solve this problem:<\/p>\n<pre>\r\nsudo pkg_info | grep samba35\r\n<\/pre>\n<p>You will see something like the following:<\/p>\n<pre>\r\nsamba35-3.5.19      A free SMB and CIFS client and server for UNIX\r\n<\/pre>\n<p>Let&#8217;s delete it.<\/p>\n<pre>\r\nsudo pkg_delete -f samba35-3.5.19\r\n<\/pre>\n<p>FreeBSD may remind you to manually remove Samba&#8217;s configuration, DO NOT do it.<\/p>\n<pre>\r\nWARNING: If you will *NOT* use this package anymore, please remove the\r\n  following directories manually:\r\n  \/usr\/local\/etc\/samba\r\n  \/var\/log\/samba\r\n  \/var\/db\/samba\r\n<\/pre>\n<p>Verify that the package has been deleted. The package should be gone.<\/p>\n<pre>\r\nsudo pkg_info | grep samba35\r\n<\/pre>\n<p>Now try to install the package again:<\/p>\n<pre>\r\ncd \/usr\/ports\/net\/samba36\r\nsudo make install clean\r\n<\/pre>\n<p>After the installation is completed, don&#8217;t forget to start the Samba server:<\/p>\n<pre>\r\nsudo \/usr\/local\/etc\/rc.d\/samba start\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-netsamba35-port-has-been-deleted-obsoleted-by-netsamba36\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1604,"comment_status":"open","ping_status":"closed","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":true,"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,32],"class_list":["post-3125","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","tag-samba"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-Op","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2840,"url":"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\/","url_meta":{"origin":3125,"position":0},"title":"[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","author":"Derrick","date":"July 31, 2012","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 those 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":2777,"url":"https:\/\/icesquare.com\/wordpress\/solvedproblem-to-update-openldap-in-freebsd\/","url_meta":{"origin":3125,"position":1},"title":"[Solved]Problem to Update OpenLDAP in FreeBSD","author":"Derrick","date":"April 29, 2012","format":false,"excerpt":"Recently, I found the following error message when updating my FreeBSD system regarding to the OpenLDAP: ===> Installing for openldap-client-2.4.31 ===> Generating temporary packing list ===> Checking if net\/openldap24-client already installed ===> Creating users and\/or groups. Using existing group `ldap'. Creating user `ldap' with uid `389'. pw: user 'ldap' already\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":730,"url":"https:\/\/icesquare.com\/wordpress\/fetch-ftpftp-freebsd-orgpubfreebsdportsdistfilesngx-fancyindex-0-2-2-tar-bz2-file-unavailable-e-g-file-not-found-no-access\/","url_meta":{"origin":3125,"position":2},"title":"fetch: ftp:\/\/ftp.FreeBSD.org\/pub\/FreeBSD\/ports\/distfiles\/ngx-fancyindex-0.2.2.tar.bz2: File unavailable (e.g., file not found, no access)","author":"Derrick","date":"June 9, 2010","format":false,"excerpt":"Today I tried to run the upgrade my nginx on my FreeBSD box, and I received the following message: ===> Vulnerability check disabled, database not found ===> License accepted by the user ===> Found saved configuration for nginx-0.7.66 => ngx-fancyindex-0.2.2.tar.bz2 doesn't seem to exist in \/usr\/ports\/distfiles\/. => Attempting to fetch\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":3380,"url":"https:\/\/icesquare.com\/wordpress\/freebsdmount-devda0p2-rw-mount-of-denied-filesystem-is-not-clean-run-fsck-forced-mount-will-invalidate-journal-contents-operation-not-permitted\/","url_meta":{"origin":3125,"position":3},"title":"[FreeBSD]mount: \/dev\/da0p2: R\/W mount of \/ denied. Filesystem is not clean &#8211; run fsck. Forced mount will invalidate journal contents: Operation not permitted","author":"Derrick","date":"January 5, 2014","format":false,"excerpt":"When I tried to mount a hard drive on FreeBSD today, I got the following error message. sudo mount -t ufs \/dev\/da0p2 \/mnt\/ mount: \/dev\/da0p2: R\/W mount of \/ denied. Filesystem is not clean - run fsck. Forced mount will invalidate journal contents: Operation not permitted Here is how to\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":923,"url":"https:\/\/icesquare.com\/wordpress\/freebsd-or-linux\/","url_meta":{"origin":3125,"position":4},"title":"FreeBSD or Linux in 6 Simple Questions","author":"Derrick","date":"February 18, 2016","format":false,"excerpt":"FreeBSD or Linux FreeBSD or Linux (Ubuntu\/RHEL)? This is a very old question. It's like asking iPhone or Android. There is no short answer. It all depends on your situation. To make things easier, I am going to break it down into six simple questions to help you making decision.\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":174,"url":"https:\/\/icesquare.com\/wordpress\/mount_smbfs-kldloadsmbfs-operation-not-permitted-solved\/","url_meta":{"origin":3125,"position":5},"title":"&#8220;mount_smbfs: kldload(smbfs): Operation not permitted&#8221; SOLVED!!!!","author":"Derrick","date":"July 28, 2009","format":false,"excerpt":"When I tried to mount a windows share from FreeBSD: sudo mount_smbfs -I WindowsBoxIPaddress \/\/username@WindowsBoxIPaddress\/WindowsShare \/mnt I always got this error: mount_smbfs: kldload(smbfs): Operation not permitted After searching this error message on Google, I found that all suggested solutions were related to running this command using sudo, which I already\u2026","rel":"","context":"In &quot;FreeBSD&quot;","block_context":{"text":"FreeBSD","link":"https:\/\/icesquare.com\/wordpress\/category\/sever-problem\/freebsd\/"},"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\/3125","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=3125"}],"version-history":[{"count":8,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/3125\/revisions"}],"predecessor-version":[{"id":3658,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/3125\/revisions\/3658"}],"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=3125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}