updating glibc on Ubuntu 16.04.3 LTS

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I'm trying to script an installation of geany and might be on my 20th failure (then like L'Hopital, I shall fail to fail). There's a lot of scripting involved, and I'm only halfway through addressing the issues of missing files.



This Ubuntu Forums post suggests that maybe the ultimate value in this list is what I need:



$ sudo apt search libglib | grep dev

libglib2.0-cil-dev/xenial 2.12.10-6 amd64
libglib2.0-dev/xenial-updates,now 2.48.2-0ubuntu1 amd64 [installed]
libglib3.0-cil-dev/xenial 2.99.3-2 amd64
libglibmm-2.4-dev/xenial 2.46.3-1 amd64
C++ wrapper for the GLib toolkit (development files)


Then I go ahead and try it anyways:



$ sudo apt install libglibmm-2.4-dev
[sudo] password for bob:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.10.0-27 linux-headers-4.10.0-27-generic
linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic
...
Selecting previously unselected package libglibmm-2.4-dev:amd64.
Preparing to unpack .../libglibmm-2.4-dev_2.46.3-1_amd64.deb ...
Unpacking libglibmm-2.4-dev:amd64 (2.46.3-1) ...
Setting up libsigc++-2.0-dev:amd64 (2.6.2-1) ...
Setting up libglibmm-2.4-dev:amd64 (2.46.3-1) ...


but,



$ ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu10) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
....


This is the output from the install of geany:



checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gio-2.0 >= 2.32 gmodule-no-export-2.0) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


I have to say that I do not understand exactly what it means. If it means that it found 2.0 and needs 2.4, then I would understand.



Also, I find no way to post code doesn't make the whole post unreadable. If I could indent my code 4 spaces, then I wouldn't need to install geany.










share|improve this question



















  • 3




    Why do you think glibc is the issue here? it appears to be complaining about gtk+-2.0 - did you install the libgtk2.0-dev package? BTW why are you trying to install geany from source rather than using the packaged version from the repository?
    – steeldriver
    Feb 2 at 0:08










  • thx steeldriver, your response makes me believe that I was over-reacting on glibc. I have never had particularly good luck with gui versions of linux package managers. Since other, more experienced users have no problem with it all, I'm sure the issue is that I don't know how to give it the right instructions.
    – Fred Flintstone
    Feb 4 at 2:25














up vote
1
down vote

favorite












I'm trying to script an installation of geany and might be on my 20th failure (then like L'Hopital, I shall fail to fail). There's a lot of scripting involved, and I'm only halfway through addressing the issues of missing files.



This Ubuntu Forums post suggests that maybe the ultimate value in this list is what I need:



$ sudo apt search libglib | grep dev

libglib2.0-cil-dev/xenial 2.12.10-6 amd64
libglib2.0-dev/xenial-updates,now 2.48.2-0ubuntu1 amd64 [installed]
libglib3.0-cil-dev/xenial 2.99.3-2 amd64
libglibmm-2.4-dev/xenial 2.46.3-1 amd64
C++ wrapper for the GLib toolkit (development files)


Then I go ahead and try it anyways:



$ sudo apt install libglibmm-2.4-dev
[sudo] password for bob:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.10.0-27 linux-headers-4.10.0-27-generic
linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic
...
Selecting previously unselected package libglibmm-2.4-dev:amd64.
Preparing to unpack .../libglibmm-2.4-dev_2.46.3-1_amd64.deb ...
Unpacking libglibmm-2.4-dev:amd64 (2.46.3-1) ...
Setting up libsigc++-2.0-dev:amd64 (2.6.2-1) ...
Setting up libglibmm-2.4-dev:amd64 (2.46.3-1) ...


but,



$ ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu10) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
....


This is the output from the install of geany:



checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gio-2.0 >= 2.32 gmodule-no-export-2.0) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


I have to say that I do not understand exactly what it means. If it means that it found 2.0 and needs 2.4, then I would understand.



Also, I find no way to post code doesn't make the whole post unreadable. If I could indent my code 4 spaces, then I wouldn't need to install geany.










share|improve this question



















  • 3




    Why do you think glibc is the issue here? it appears to be complaining about gtk+-2.0 - did you install the libgtk2.0-dev package? BTW why are you trying to install geany from source rather than using the packaged version from the repository?
    – steeldriver
    Feb 2 at 0:08










  • thx steeldriver, your response makes me believe that I was over-reacting on glibc. I have never had particularly good luck with gui versions of linux package managers. Since other, more experienced users have no problem with it all, I'm sure the issue is that I don't know how to give it the right instructions.
    – Fred Flintstone
    Feb 4 at 2:25












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to script an installation of geany and might be on my 20th failure (then like L'Hopital, I shall fail to fail). There's a lot of scripting involved, and I'm only halfway through addressing the issues of missing files.



This Ubuntu Forums post suggests that maybe the ultimate value in this list is what I need:



$ sudo apt search libglib | grep dev

libglib2.0-cil-dev/xenial 2.12.10-6 amd64
libglib2.0-dev/xenial-updates,now 2.48.2-0ubuntu1 amd64 [installed]
libglib3.0-cil-dev/xenial 2.99.3-2 amd64
libglibmm-2.4-dev/xenial 2.46.3-1 amd64
C++ wrapper for the GLib toolkit (development files)


Then I go ahead and try it anyways:



$ sudo apt install libglibmm-2.4-dev
[sudo] password for bob:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.10.0-27 linux-headers-4.10.0-27-generic
linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic
...
Selecting previously unselected package libglibmm-2.4-dev:amd64.
Preparing to unpack .../libglibmm-2.4-dev_2.46.3-1_amd64.deb ...
Unpacking libglibmm-2.4-dev:amd64 (2.46.3-1) ...
Setting up libsigc++-2.0-dev:amd64 (2.6.2-1) ...
Setting up libglibmm-2.4-dev:amd64 (2.46.3-1) ...


but,



$ ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu10) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
....


This is the output from the install of geany:



checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gio-2.0 >= 2.32 gmodule-no-export-2.0) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


I have to say that I do not understand exactly what it means. If it means that it found 2.0 and needs 2.4, then I would understand.



Also, I find no way to post code doesn't make the whole post unreadable. If I could indent my code 4 spaces, then I wouldn't need to install geany.










share|improve this question















I'm trying to script an installation of geany and might be on my 20th failure (then like L'Hopital, I shall fail to fail). There's a lot of scripting involved, and I'm only halfway through addressing the issues of missing files.



This Ubuntu Forums post suggests that maybe the ultimate value in this list is what I need:



$ sudo apt search libglib | grep dev

libglib2.0-cil-dev/xenial 2.12.10-6 amd64
libglib2.0-dev/xenial-updates,now 2.48.2-0ubuntu1 amd64 [installed]
libglib3.0-cil-dev/xenial 2.99.3-2 amd64
libglibmm-2.4-dev/xenial 2.46.3-1 amd64
C++ wrapper for the GLib toolkit (development files)


Then I go ahead and try it anyways:



$ sudo apt install libglibmm-2.4-dev
[sudo] password for bob:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.10.0-27 linux-headers-4.10.0-27-generic
linux-headers-4.10.0-28 linux-headers-4.10.0-28-generic
...
Selecting previously unselected package libglibmm-2.4-dev:amd64.
Preparing to unpack .../libglibmm-2.4-dev_2.46.3-1_amd64.deb ...
Unpacking libglibmm-2.4-dev:amd64 (2.46.3-1) ...
Setting up libsigc++-2.0-dev:amd64 (2.6.2-1) ...
Setting up libglibmm-2.4-dev:amd64 (2.46.3-1) ...


but,



$ ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu10) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
....


This is the output from the install of geany:



checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.24 glib-2.0 >= 2.32 gio-2.0 >= 2.32 gmodule-no-export-2.0) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


I have to say that I do not understand exactly what it means. If it means that it found 2.0 and needs 2.4, then I would understand.



Also, I find no way to post code doesn't make the whole post unreadable. If I could indent my code 4 spaces, then I wouldn't need to install geany.







package-management software-installation glibc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 2 at 1:33









muru

131k19275471




131k19275471










asked Feb 1 at 23:59









Fred Flintstone

213




213







  • 3




    Why do you think glibc is the issue here? it appears to be complaining about gtk+-2.0 - did you install the libgtk2.0-dev package? BTW why are you trying to install geany from source rather than using the packaged version from the repository?
    – steeldriver
    Feb 2 at 0:08










  • thx steeldriver, your response makes me believe that I was over-reacting on glibc. I have never had particularly good luck with gui versions of linux package managers. Since other, more experienced users have no problem with it all, I'm sure the issue is that I don't know how to give it the right instructions.
    – Fred Flintstone
    Feb 4 at 2:25












  • 3




    Why do you think glibc is the issue here? it appears to be complaining about gtk+-2.0 - did you install the libgtk2.0-dev package? BTW why are you trying to install geany from source rather than using the packaged version from the repository?
    – steeldriver
    Feb 2 at 0:08










  • thx steeldriver, your response makes me believe that I was over-reacting on glibc. I have never had particularly good luck with gui versions of linux package managers. Since other, more experienced users have no problem with it all, I'm sure the issue is that I don't know how to give it the right instructions.
    – Fred Flintstone
    Feb 4 at 2:25







3




3




Why do you think glibc is the issue here? it appears to be complaining about gtk+-2.0 - did you install the libgtk2.0-dev package? BTW why are you trying to install geany from source rather than using the packaged version from the repository?
– steeldriver
Feb 2 at 0:08




Why do you think glibc is the issue here? it appears to be complaining about gtk+-2.0 - did you install the libgtk2.0-dev package? BTW why are you trying to install geany from source rather than using the packaged version from the repository?
– steeldriver
Feb 2 at 0:08












thx steeldriver, your response makes me believe that I was over-reacting on glibc. I have never had particularly good luck with gui versions of linux package managers. Since other, more experienced users have no problem with it all, I'm sure the issue is that I don't know how to give it the right instructions.
– Fred Flintstone
Feb 4 at 2:25




thx steeldriver, your response makes me believe that I was over-reacting on glibc. I have never had particularly good luck with gui versions of linux package managers. Since other, more experienced users have no problem with it all, I'm sure the issue is that I don't know how to give it the right instructions.
– Fred Flintstone
Feb 4 at 2:25










2 Answers
2






active

oldest

votes

















up vote
2
down vote













It appears to me that the problem you are having is that you are trying and failing to install geany as mentioned in this comment it's not necessary to compile it as a quick search of Ubuntu Package search makes it clear that the package is available in the Universe repository for all currently supported versions of Ubuntu. To install, simply enable the Universe repository and then issue the commands



sudo apt update
sudo apt install geany





share|improve this answer



























    up vote
    0
    down vote













    I do not know state of the official repositories on your system, so enable them again and fix previous failures:



    sudo add-apt-repository main
    sudo add-apt-repository universe
    sudo add-apt-repository multiverse
    sudo add-apt-repository restricted
    sudo apt-get update
    sudo apt-get install -f
    sudo dpkg --configure -a



    • If you need any version of Geany (such as 1.27.1 on xenial), you can install it from official repositories:



      sudo apt-get install geany geany-plugins



    • Geany has PPA, you can install more recent version (1.32) from it:



      sudo add-apt-repository ppa:geany-dev/ppa
      sudo apt-get update
      sudo apt-get install geany geany-plugins






    share|improve this answer




















    • This seems to have gotten me most of the way. I compiled these commands into a script: github.com/TBlazer66/island/blob/master/1.repos.sh
      – Fred Flintstone
      Feb 7 at 5:36










    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002219%2fupdating-glibc-on-ubuntu-16-04-3-lts%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    It appears to me that the problem you are having is that you are trying and failing to install geany as mentioned in this comment it's not necessary to compile it as a quick search of Ubuntu Package search makes it clear that the package is available in the Universe repository for all currently supported versions of Ubuntu. To install, simply enable the Universe repository and then issue the commands



    sudo apt update
    sudo apt install geany





    share|improve this answer
























      up vote
      2
      down vote













      It appears to me that the problem you are having is that you are trying and failing to install geany as mentioned in this comment it's not necessary to compile it as a quick search of Ubuntu Package search makes it clear that the package is available in the Universe repository for all currently supported versions of Ubuntu. To install, simply enable the Universe repository and then issue the commands



      sudo apt update
      sudo apt install geany





      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        It appears to me that the problem you are having is that you are trying and failing to install geany as mentioned in this comment it's not necessary to compile it as a quick search of Ubuntu Package search makes it clear that the package is available in the Universe repository for all currently supported versions of Ubuntu. To install, simply enable the Universe repository and then issue the commands



        sudo apt update
        sudo apt install geany





        share|improve this answer












        It appears to me that the problem you are having is that you are trying and failing to install geany as mentioned in this comment it's not necessary to compile it as a quick search of Ubuntu Package search makes it clear that the package is available in the Universe repository for all currently supported versions of Ubuntu. To install, simply enable the Universe repository and then issue the commands



        sudo apt update
        sudo apt install geany






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 2 at 1:16









        Elder Geek

        25.5k949122




        25.5k949122






















            up vote
            0
            down vote













            I do not know state of the official repositories on your system, so enable them again and fix previous failures:



            sudo add-apt-repository main
            sudo add-apt-repository universe
            sudo add-apt-repository multiverse
            sudo add-apt-repository restricted
            sudo apt-get update
            sudo apt-get install -f
            sudo dpkg --configure -a



            • If you need any version of Geany (such as 1.27.1 on xenial), you can install it from official repositories:



              sudo apt-get install geany geany-plugins



            • Geany has PPA, you can install more recent version (1.32) from it:



              sudo add-apt-repository ppa:geany-dev/ppa
              sudo apt-get update
              sudo apt-get install geany geany-plugins






            share|improve this answer




















            • This seems to have gotten me most of the way. I compiled these commands into a script: github.com/TBlazer66/island/blob/master/1.repos.sh
              – Fred Flintstone
              Feb 7 at 5:36














            up vote
            0
            down vote













            I do not know state of the official repositories on your system, so enable them again and fix previous failures:



            sudo add-apt-repository main
            sudo add-apt-repository universe
            sudo add-apt-repository multiverse
            sudo add-apt-repository restricted
            sudo apt-get update
            sudo apt-get install -f
            sudo dpkg --configure -a



            • If you need any version of Geany (such as 1.27.1 on xenial), you can install it from official repositories:



              sudo apt-get install geany geany-plugins



            • Geany has PPA, you can install more recent version (1.32) from it:



              sudo add-apt-repository ppa:geany-dev/ppa
              sudo apt-get update
              sudo apt-get install geany geany-plugins






            share|improve this answer




















            • This seems to have gotten me most of the way. I compiled these commands into a script: github.com/TBlazer66/island/blob/master/1.repos.sh
              – Fred Flintstone
              Feb 7 at 5:36












            up vote
            0
            down vote










            up vote
            0
            down vote









            I do not know state of the official repositories on your system, so enable them again and fix previous failures:



            sudo add-apt-repository main
            sudo add-apt-repository universe
            sudo add-apt-repository multiverse
            sudo add-apt-repository restricted
            sudo apt-get update
            sudo apt-get install -f
            sudo dpkg --configure -a



            • If you need any version of Geany (such as 1.27.1 on xenial), you can install it from official repositories:



              sudo apt-get install geany geany-plugins



            • Geany has PPA, you can install more recent version (1.32) from it:



              sudo add-apt-repository ppa:geany-dev/ppa
              sudo apt-get update
              sudo apt-get install geany geany-plugins






            share|improve this answer












            I do not know state of the official repositories on your system, so enable them again and fix previous failures:



            sudo add-apt-repository main
            sudo add-apt-repository universe
            sudo add-apt-repository multiverse
            sudo add-apt-repository restricted
            sudo apt-get update
            sudo apt-get install -f
            sudo dpkg --configure -a



            • If you need any version of Geany (such as 1.27.1 on xenial), you can install it from official repositories:



              sudo apt-get install geany geany-plugins



            • Geany has PPA, you can install more recent version (1.32) from it:



              sudo add-apt-repository ppa:geany-dev/ppa
              sudo apt-get update
              sudo apt-get install geany geany-plugins







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 2 at 9:34









            N0rbert

            16.7k33479




            16.7k33479











            • This seems to have gotten me most of the way. I compiled these commands into a script: github.com/TBlazer66/island/blob/master/1.repos.sh
              – Fred Flintstone
              Feb 7 at 5:36
















            • This seems to have gotten me most of the way. I compiled these commands into a script: github.com/TBlazer66/island/blob/master/1.repos.sh
              – Fred Flintstone
              Feb 7 at 5:36















            This seems to have gotten me most of the way. I compiled these commands into a script: github.com/TBlazer66/island/blob/master/1.repos.sh
            – Fred Flintstone
            Feb 7 at 5:36




            This seems to have gotten me most of the way. I compiled these commands into a script: github.com/TBlazer66/island/blob/master/1.repos.sh
            – Fred Flintstone
            Feb 7 at 5:36

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002219%2fupdating-glibc-on-ubuntu-16-04-3-lts%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491