Menu

#2 Not able to install PKG/not able to install mbmon

unknown
closed
None
2018-03-30
2016-02-06
No

[root@freenas ~]# mount -uw / [root@freenas ~]# pkg -vv 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 please wait _http._tcp.pkg.FreeBSD.org pkg-static: PACKAGESITE in pkg.conf is no longer supported. Convert to the new repository style. See pkg.conf(5) pkg-static: Cannot parse configuration file!

Error 127:
/usr/local/bin/mbmon: not found

This is what happen when i try to follow your step to install mbmon? I am missing something?

Discussion

  • Erik Kjellson

    Erik Kjellson - 2016-02-09

    Which FreeNAS version are you running?

    Try this installation method that I used on previous FreeNAS versions:

    1. Log in to the web gui on your FreeNAS unit.
    2. Open the Shell
    3. Get write permissions for the system disk by running
      mount -uw /
    4. Install mbmon by running
      pkg_add -r xmbmon
    5. Reset permissions for the system disk by running
      mount -ur /
     

    Last edit: Erik Kjellson 2016-02-09
    • Anonymous

      Anonymous - 2016-02-10

      Version im using : FreeNAS-9.2.1.5-RELEASE-x64

      I have tried that method but result in a different error, below.

      Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-st
      able/Latest/xmbmon.tbz: File unavailable (e.g., file not found, no access)
      pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages
      -9-stable/Latest/xmbmon.tbz' by URL

       
  • Erik Kjellson

    Erik Kjellson - 2016-02-10

    that's weird...
    I went to ftp://ftp.freebsd.org/pub/FreeBSD/ports/ with my browser and it seems to be empty. That's weird.

    My system (altough it's running version 9.3 of FreeNAS) is looking for packages in http://pkg.freebsd.org/FreeBSD:9:amd64/latest/

     
    • Anonymous

      Anonymous - 2016-02-11

      Will installing xmbmon-205_14 manually be a good idea?

       
      • Erik Kjellson

        Erik Kjellson - 2016-02-13

        sure, that should be ok i guess

         
        • Anonymous

          Anonymous - 2016-02-13

          Do you know how to install it through shell? is the command similar to your pakage?

           
          • Erik Kjellson

            Erik Kjellson - 2016-02-14

            In shell go to the folder where you have the xmbmon package, then try running

            pkg_add xmbmon-205_14.tbz
            

            (i.e. no -r flag and full filename including extension)

             
            • Anonymous

              Anonymous - 2016-02-15

              [root@freenas /mnt/volume1/homenas]# pkg_add xmbmon-205_14.tar
              tar: +CONTENTS: Not found in archive
              tar: Error exit delayed from previous errors.
              pkg_add: tar extract of /mnt/volume1/homenas/xmbmon-205_14.tar failed!
              pkg_add: unable to extract table of contents file from '/mnt/volume1/homenas/xmb
              mon-205_14.tar' - not a package?

              For some reason i cant find "+contents" anywhere in pakage... did i download the wrong one?

               
  • Erik Kjellson

    Erik Kjellson - 2016-02-15

    Oh, I thought you had found another place to download the package, it seems you have a tarball which need to be compiled.

    Here is an archive I found for the package system, try downloading the package (precompiled) here: http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/amd64/packages-9.2-release/All/xmbmon-205_9.tbz
    And run

    pkg_add xmbmon-205_9.tbz
    
     
    • Anonymous

      Anonymous - 2016-03-12

      So i just updated my freenas to FreeNAS-9.3-STABLE in hopes i able to get this plugin working but still same thing. Any suggestion? this this it allow me to install pkg files as i have tried on one example but this seem to a different error or not able to find the verison.

      [root@freenas ~]# pkg install xmbmon                                            
      Updating local repository catalogue...                                          
      pkg: file:///usr/ports/packages/meta.txz: No such file or directory             
      pkg: repository local has no meta file, using default settings                  
      pkg: file:///usr/ports/packages/digests.txz: No such file or directory          
      pkg: Unable to update repository local                                          
      All repositories are up-to-date.                                                
      pkg: No packages available to install matching 'xmbmon' have been found in the r
      epositories                                                                     
      [root@freenas ~]# pkg_add -r xmbmon                                             
      Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-st
      able/Latest/xmbmon.tbz: File unavailable (e.g., file not found, no access)      
      pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages
      -9-stable/Latest/xmbmon.tbz' by URL                                             
      [root@freenas ~]# pkg_add xmbmon-205_14.tbz                                     
      pkg_add: can't stat package file 'xmbmon-205_14.tbz'                            
      [root@freenas ~]# pkg_add xmbmon-205_9.tbz                                      
      pkg_add: can't stat package file 'xmbmon-205_9.tbz'        
      
       
  • lklemo

    lklemo - 2016-03-04

    Hello Erik, is there any way that i can limit the print only for devices starting with ada , becasue its reading and putting in the list also the usb and cdroom and them have no temp to show. just dont wanna have the error shown.

     
    • Erik Kjellson

      Erik Kjellson - 2016-03-04

      Sure, in freenas-tempreport.py at line 293 change

      hdd_list = sorted(output.split(' '))
      

      into

      # hdd_list = sorted(output.split(' ')) # using both daX & adaX entries
      hdd_list = re.findall(r'ada\d+', output) # using only the adaX entries
      

      That should do it.

       
  • Anonymous

    Anonymous - 2016-03-07

    So i just updated my freenas to FreeNAS-9.3-STABLE in hopes i able to get this plugin working but still same thing. Any suggestion? this this it allow me to install pkg files as i have tried on one example but this seem to a different error or not able to find the verison.

    [root@freenas ~]# pkg install xmbmon                                            
    Updating local repository catalogue...                                          
    pkg: file:///usr/ports/packages/meta.txz: No such file or directory             
    pkg: repository local has no meta file, using default settings                  
    pkg: file:///usr/ports/packages/digests.txz: No such file or directory          
    pkg: Unable to update repository local                                          
    All repositories are up-to-date.                                                
    pkg: No packages available to install matching 'xmbmon' have been found in the r
    epositories                                                                     
    [root@freenas ~]# pkg_add -r xmbmon                                             
    Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-st
    able/Latest/xmbmon.tbz: File unavailable (e.g., file not found, no access)      
    pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages
    -9-stable/Latest/xmbmon.tbz' by URL                                             
    [root@freenas ~]# pkg_add xmbmon-205_14.tbz                                     
    pkg_add: can't stat package file 'xmbmon-205_14.tbz'                            
    [root@freenas ~]# pkg_add xmbmon-205_9.tbz                                      
    pkg_add: can't stat package file 'xmbmon-205_9.tbz'                             
    
     
    • Erik Kjellson

      Erik Kjellson - 2016-03-13

      OK, now pkg exists. Did you add the repository as suggested by freenas-tempreport? What is the output from: pkg -vv

       

      Last edit: Erik Kjellson 2016-03-13
  • Erik Kjellson

    Erik Kjellson - 2018-03-30
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.