Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Alt package manager

    Scheduled Pinned Locked Moved Russian
    17 Posts 6 Posters 12.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dvserg
      last edited by

      Easy way way of the testing package..

      1. download 'http://diskatel.narod.ru/pfSense/alt_pkg.php'
      2. put him to you '/usr/local/www' catalog
      3. In brouser enter address 'http://youpfsense/alt_pkg.php'
      4. On opened page click 'Install' button
      5. After installation You will can manage Package source

      • pfSense standart
      • local
      • other
        And also you can update local 'pkg_config.xml' file for testing packages, who not in official list

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        This might be a useful item to include in base.

        Please email me and lets setup a commit bit for you so you can manage your packages and this infrastructure.

        1 Reply Last reply Reply Quote 0
        • D
          DanielSHaischt
          last edited by

          Please eliminate the bugs in alt_pkg.php first. I am getting a foreach() error on line 168 on a 1.3 pfSense system.

          The installation does not succeed as well. I think pfSense.tar.gz, which will be loaded from the internet isn't a valid
          archive which leads to an error.

          Cheers
          Daniel S. Haischt

          Mit freundlichen Gruessen / With kind regards
          DAn.I.El S. Haischt

          1 Reply Last reply Reply Quote 0
          • D
            dvserg
            last edited by

            Where you take 1.3 pfSense system? I want toooooo  :o
            ps Thanks i check this

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

            1 Reply Last reply Reply Quote 0
            • D
              dvserg
              last edited by

              Update file with fix
              Try now (download new file)

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

              1 Reply Last reply Reply Quote 0
              • D
                DanielSHaischt
                last edited by

                @dvserg:

                Update file with fix
                Try now (download new file)

                
                Warning: Invalid argument supplied for foreach() in /usr/local/www/alt_pkg.php on line 219
                ERROR: File ftp://10.62.0.30/packages/Alt_pkg/pfSense.tar.gz not uploaded. ERROR: File /tmp/pfSense.tar.gz not found.
                
                

                Mit freundlichen Gruessen / With kind regards
                DAn.I.El S. Haischt

                1 Reply Last reply Reply Quote 0
                • D
                  dvserg
                  last edited by

                  Ааааа sorry - has forgotten to correct address

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

                  1 Reply Last reply Reply Quote 0
                  • D
                    dvserg
                    last edited by

                    Small instruction with pictures
                    http://diskatel.narod.ru/pfSense/alt_pkg.htm

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

                    1 Reply Last reply Reply Quote 0
                    • P
                      Perry
                      last edited by

                      First i like this idea…. But i can't install it  ::)

                      1.gif
                      1.gif_thumb

                      /Perry
                      doc.pfsense.org

                      1 Reply Last reply Reply Quote 0
                      • D
                        dvserg
                        last edited by

                        I'm in panic  :'(
                        Can you upload and test http://diskatel.narod.ru/pfSense/pfSense.tar.gz archive?

                        Also check present /tmp/pfSense.tar.gz file ?  May be upload bad?

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

                        1 Reply Last reply Reply Quote 0
                        • P
                          Perry
                          last edited by

                          are getting downloaded and unpacked

                          /Perry
                          doc.pfsense.org

                          1 Reply Last reply Reply Quote 0
                          • D
                            dvserg
                            last edited by

                            @Perry:

                            are getting downloaded and unpacked

                            Thanks.

                            SquidGuardDoc EN  RU Tutorial
                            Localization ru_PFSense

                            1 Reply Last reply Reply Quote 0
                            • D
                              dvserg
                              last edited by

                              I change .gz to .tbz file exstension

                              Can You test now?
                              Only need upload new alt_pkg.php file and delete "/usr/loca/www/pfSense" catalogie

                              I success testing on clean pfSense sistem.

                              SquidGuardDoc EN  RU Tutorial
                              Localization ru_PFSense

                              1 Reply Last reply Reply Quote 0
                              • S
                                shreckbull
                                last edited by

                                Thank to the author !!!
                                It s very good script !

                                I have corrected some details …

                                1 Reply Last reply Reply Quote 0
                                • S
                                  srs
                                  last edited by

                                  Sorry for this, but I've installed and got Alt Package. It worked nicely. Then I choose Services -> Alt Package. Choose "Local 'XML Base URL' (127.0.0.1)", press Define button; now I have done in two different ways, without success:

                                  1. I download http://diskatel.narod.ru/pfSense/packages/pkg_config.xml, copy it's contents to clipboard, paste it's contents in "Change local 'pkg_config.xml'" area; them press save; them go to System, Package, and the system holds some seconds and them says "Unable to retrieve package info from 127.0.0.1. Cached data will be used.". This way it uses a cache file without showing me any possibility of installing squidguard.

                                  2. as I notice that the above proceed saves the pkg_config.xml content to /usr/local/www/packages/, so I went to a ssh session, and downloaded the desired pkg_config.xml file, using wget, unto that directory.
                                    then I back to frontend, Services -> Alt Package, choose "local 'xml base url (127.0.0.1)", press define button, then System, Package, and again it holds some seconds and shows me the same: "Unable to retrieve package info from 127.0.0.1. Cached data will be used.".

                                  Am I doing something wrong?

                                  thanks again and sorry for this  ;D

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    dvserg
                                    last edited by

                                    Need download pkg_config.xml as file. If you use browser for viewing(and paste-copy) content of this file - you have additional symbols (+/-), what broke XML structure.

                                    SquidGuardDoc EN  RU Tutorial
                                    Localization ru_PFSense

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.