Text editor 'nano' pkg: No packages available to install matching 'nano' 2.2.4



  • Since the new version 2.2.4. text editor is missing from repository. The command below worked fine in 2.2.3. I also remember from previous version, the command pkg add nano also worked.

    [2.2.4-RELEASE][admin@pfSense.localdomain]/usr/local/etc/rc.d: pkg install nano
    Updating FreeBSD repository catalogue...
    FreeBSD repository is up-to-date.
    All repositories are up-to-date.
    Updating database digests format: 100%
    pkg: No packages available to install matching 'nano' have been found in the repositories
    
    
    [2.2.4-RELEASE][admin@pfSense.localdomain]/usr/local/etc/rc.d: pkg add nano
    pkg: nano: No such file or directory
    pkg: Was 'pkg install nano' meant?
    
    Failed to install the following 1 package(s): nano
    
    


  • Use "ee" instead? (assuming it is included)

    vi is awesome though, I encourage learning to use it.


  • Rebel Alliance Developer Netgate

    "ee" is installed by default, but I tried a few installs of 2.2.4 here and they all seemed to work:

    [2.2.4-RELEASE][root@ki.vghs.example.com]/root: pkg update
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now? [y/N]: y
    Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
    Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
    Installing pkg-1.5.5...
    Extracting pkg-1.5.5: 100%
    Message for pkg-1.5.5:
    If you are upgrading from the old package format, first run:
    
      # pkg2ng
    Updating FreeBSD repository catalogue...
    Fetching meta.txz: 100%    944 B   0.9kB/s    00:01    
    Fetching packagesite.txz: 100%    5 MiB   1.1MB/s    00:05    
    Processing entries: 100%
    FreeBSD repository update completed. 24402 packages processed.
    [2.2.4-RELEASE][root@ki.vghs.example.com]/root: pkg install nano
    Updating FreeBSD repository catalogue...
    FreeBSD repository is up-to-date.
    All repositories are up-to-date.
    Updating database digests format: 100%
    The following 3 package(s) will be affected (of 0 checked):
    
    New packages to be INSTALLED:
    	nano: 2.4.2
    	indexinfo: 0.2.3
    	gettext-runtime: 0.19.4
    
    The process will require 3 MiB more space.
    546 KiB to be downloaded.
    
    Proceed with this action? [y/N]: 
    
    


  • "nano" is just old habit. I'm familiar with "vi," so I was able to get through with it. The procedure from above worked. Thanks jimp.
    pkg update
    then
    pkg2ng
    and
    pkg install nano


  • Rebel Alliance Developer Netgate

    No need for the pkg2ng step, that was part of the output when pkg was installed.