• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Trunk Update Failing

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    32
    15.7k
    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.
    • PsycholiquidP
      Psycholiquid Testers
      last edited by

      I’m not sure, but the site that is the landing for the PPA is showing just fine.

      root@CINDSV10011:/home/ladmin# apt-add-repository ppa:ondrej/php5-5.6 -y
      Cannot add PPA: ‘ppa:ondrej/php5-5.6’.
      Please check that the PPA name or format is correct.

      The change in format didnt make a difference. But even if I manually put it in there it wont allow the installer to work since it will still be trying to add it its own way correct?

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @Psycholiquid
        last edited by

        @Psycholiquid

        You followed the second answer on that page?

        The proper way is to enable UTF-8 support in your terminal.
        First check your locales:
        locale -a
        Then, install an UTF-8 locale, for en_US, the example as follows:
        locale-gen en_US.UTF-8
        Then you need to export it:
        export LANG=en_US.UTF-8
        Then the add-apt-repository command will work okay.
        If this still doesn’t still work, try using this line:
        LC_ALL=en_US.UTF-8 add-apt-repository -y ppa:ondrej/php5-5.6

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator
          last edited by

          for clarity I found those commands in <fog_trunk>/lib/common/functions.sh In case you want to update your way to an answer.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 1
          • PsycholiquidP
            Psycholiquid Testers @Wayne Workman
            last edited by

            @Wayne-Workman said:

            @Psycholiquid So what’s the correct format? A quick google search yeilded this: http://serverfault.com/questions/666754/ppaondrej-php5-5-6-on-ubuntu

            I wasn’t trying to be a smart ass when I posted that I was just copying what outputted to my screen.

            I tried the URL you suggested and get the following:```

            root@CINDSV10011:/home/ladmin# locale -a
            C
            C.UTF-8
            en_AG
            en_AG.utf8
            en_AU.utf8
            en_BW.utf8
            en_CA.utf8
            en_DK.utf8
            en_GB.utf8
            en_HK.utf8
            en_IE.utf8
            en_IN
            en_IN.utf8
            en_NG
            en_NG.utf8
            en_NZ.utf8
            en_PH.utf8
            en_SG.utf8
            en_US.utf8
            en_ZA.utf8
            en_ZM
            en_ZM.utf8
            en_ZW.utf8
            POSIX
            root@CINDSV10011:/home/ladmin# locale-gen en_US.UTF-8
            Generating locales...
              en_US.UTF-8... up-to-date
            Generation complete.
            root@CINDSV10011:/home/ladmin# export LANG=en_US.UTF-8
            root@CINDSV10011:/home/ladmin# dd-apt-repository -y ppa:ondrej/php5-5.6
            No command 'dd-apt-repository' found, did you mean:
             Command 'add-apt-repository' from package 'software-properties-common' (main)
            dd-apt-repository: command not found
            root@CINDSV10011:/home/ladmin# add-apt-repository -y ppa:ondrej/php5-5.6
            Cannot add PPA: 'ppa:ondrej/php5-5.6'.
            Please check that the PPA name or format is correct.
            root@CINDSV10011:/home/ladmin# LC_ALL=en_US.UTF-8 add-apt-repository -y ppa:ondrej/php5-5.6
            Cannot add PPA: 'ppa:ondrej/php5-5.6'.
            Please check that the PPA name or format is correct.
            root@CINDSV10011:/home/ladmin# locale -a
            C
            C.UTF-8
            en_AG
            en_AG.utf8
            en_AU.utf8
            en_BW.utf8
            en_CA.utf8
            en_DK.utf8
            en_GB.utf8
            en_HK.utf8
            en_IE.utf8
            en_IN
            en_IN.utf8
            en_NG
            en_NG.utf8
            en_NZ.utf8
            en_PH.utf8
            en_SG.utf8
            en_US.utf8
            en_ZA.utf8
            en_ZM
            en_ZM.utf8
            en_ZW.utf8
            POSIX
            
            1 Reply Last reply Reply Quote 1
            • Tom ElliottT
              Tom Elliott @Psycholiquid
              last edited by

              @Psycholiquid Are you behind a proxy by chance?

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 1
              • PsycholiquidP
                Psycholiquid Testers
                last edited by

                No sir direct connection to the internet

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @Psycholiquid May CA-certs problem?? See here: http://www.webupd8.org/2014/03/fix-cannot-add-ppa-please-check-that.html

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 1
                  • PsycholiquidP
                    Psycholiquid Testers
                    last edited by

                    @Tom Elliot was able to find the issue.

                    Apprently the time was off.

                    added ntp server and updated and now everything works as intended,

                    1 Reply Last reply Reply Quote 1
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      I’m adding code to the add-apt-repository element that will: #NOTE this is specific to Ubuntu/maybe Debian

                      1. Try installing the ppa.
                        a. ensure python-software-properties, software-properties-common, and ntpdate are installed.
                        b. update the date on the server
                        c. attempt adding the repository.
                      2. If it cannot install the ppa:
                        a. Update the repository data (apt-get update)
                        b. Install python-software-properties and ntpdate
                        c. Update the time server.
                        d. Ensure the en_US.UTF-8 locale is generated on the system
                        e. attempt adding the repository with: LANG='en_US.UTF-8' LC_ALL='en_US.UTF-8' add-apt-repository -y ppa:ondrej/php5-5.6

                      Hopefully this will prevent any more such issues and you’ll have an updated time system.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 3
                      • PsycholiquidP
                        Psycholiquid Testers
                        last edited by Psycholiquid

                        I’m not sure if this has anything to do with the Trunk but I had to roll back the server (Wouldn’t image anymore TFTP seemed to be messed) but the time was correct so I am wondering if something in the Trunk changed ntp on me. The ntp.pool.org was there when I rolled back to the snapshot.

                        All that being said alot was messed with so it could have been anything.

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @Psycholiquid
                          last edited by

                          @Psycholiquid so it worked after rollback?

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • PsycholiquidP
                            Psycholiquid Testers
                            last edited by

                            trying it now will update

                            1 Reply Last reply Reply Quote 0
                            • PsycholiquidP
                              Psycholiquid Testers
                              last edited by

                              Yep upgrade worked like a champ. So in short all it needed on my end was the upgrade and update. But adding the code wouldn’t be a bad idea as most of us wouldn’t think it that far through. Still not sure what happened with NTP.

                              1 Reply Last reply Reply Quote 1
                              • 1
                              • 2
                              • 2 / 2
                              • First post
                                Last post

                              176

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project