How to install glibc 2.18 on amazon linux
- How to install glibc 2.18 on amazon linux install#
- How to install glibc 2.18 on amazon linux upgrade#
- How to install glibc 2.18 on amazon linux code#
Lrwxrwxrwx 1 root root 21 /lib/x86_64-linux-gnu/libcgmanager.so.0 -> libcgmanager.so.0.0.0 Lrwxrwxrwx 1 root root 14 /lib/x86_64-linux-gnu/libcap.so.2 -> libcap.so.2.24 W: Failed to fetch Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file) Here are the error messages that appear after sudo apt-get update: W: Failed to fetch Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
How to install glibc 2.18 on amazon linux code#
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbinĮ: Sub-process /usr/bin/dpkg returned an error code (2) Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.ĭpkg: warning: 'ldconfig' not found in PATH or not executableĭpkg: error: 1 expected program not found in PATH or not executable Get:1 utopic/main libc6 amd64 2.19-10ubuntu2 Ĭan't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. The following packages will be DOWNGRADED:Ġ upgraded, 0 newly installed, 1 downgraded, 7 to remove and 2 not upgraded.Īfter this operation, 204 MB disk space will be freed.
How to install glibc 2.18 on amazon linux install#
Here is the output of sudo apt-get install libc6=2.19-10ubuntu2 The following packages will be REMOVED: Reinstallation of libc6 is not possible, it cannot be downloaded.Ġ upgraded, 0 newly installed, 1 to remove and 2 not upgraded.Īfter this operation, 184 MB disk space will be freed. When I try sudo apt-get install -reinstall libc6, I get the following message: Reading package lists. etc/apt//ubuntu-toolchain-r-ubuntu-test-utopic.list:# etc/apt//ubuntu-toolchain-r-ubuntu-test-utopic.list:deb etc/apt//gwendal-lebihan-dev-cinnamon-nightly-utopic.list:# etc/apt//gwendal-lebihan-dev-cinnamon-nightly-utopic.list:deb etc/apt//graphics-drivers-ubuntu-ppa-utopic.list:# etc/apt//graphics-drivers-ubuntu-ppa-utopic.list:deb etc/apt//george-edison55-ubuntu-cmake-3_x-utopic.list:# etc/apt//george-edison55-ubuntu-cmake-3_x-utopic.list:deb Utopic-updates main universe restricted multiverse #Added by Utopic-updates main universe restricted multiverse Restricted multiverse #Added by software-properties Restricted multiverse /etc/apt/sources.list:deb-src Multiverse #Added by software-properties /etc/apt/sources.list:# deb Main universe restricted multiverse /etc/apt/sources.list:deb-src ID_LIKE=debian PRETTY_NAME="Ubuntu 14.10" VERSION_ID="14.10"Īnd grep utopic -ir /etc/apt/sources.list /etc/apt//*.list gives: /etc/apt/sources.list:deb utopic The output of cat /etc/os-release is: NAME="Ubuntu" VERSION="14.10 (Utopic Unicorn)" ID=ubuntu
Here is the output of apt-cache policy libc6 libc6-dev: libc6: How can I fix this, or at least work around this to install gcc and gfortran? However, they all give a variant of this error. I have tried using aptitude install, uninstalling various packages, and basically every variant of the command I can think of. Libc6-dev : Depends: libc6 (= 2.19-10ubuntu2) but 2.19-10ubuntu2.1 is to be installedĮ: Unable to correct problems, you have held broken packages. However, sudo apt-get install libc6-dev gives the following error message: The following packages have unmet dependencies:
Now I am trying to reinstall it using apt-get on Ubuntu 14.04 (3.13.0-24-generic). Please consult our lock-on-launch FAQ for a discussion of how you can lock an instance (either a new launch or already running) to a particular version of the Amazon Linux AMI repositories.A gcc compiler was misbehaving, and in the process of fixing it part of the libc6 package was uninstalled. Remember that the Amazon Linux AMI repository structure is configured to deliver a continuous flow of updates that allow you to roll from one version of the Amazon Linux AMI to the next.
How to install glibc 2.18 on amazon linux upgrade#
When the upgrade is complete, reboot your instance. To upgrade to Amazon Linux AMI 2014.03 from 2011.09 or later, run sudo yum update. In some cases, customers seeking support for an older version of the Amazon Linux AMI through AWS Support may be asked to move to newer versions as part of the support process. While older versions of the AMI and its packages will continue to be available for launch in Amazon EC2 even as new Amazon Linux AMI versions are released, we encourage users to migrate to the latest version of the AMI and to keep their systems updated.
Please upgrade to Amazon Linux AMI 2014.03 from earlier versions!