I cannot use any installation command because of GLIBC_2.28 error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
while running sudo apt-get install packagename i got this error.
apt-get: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
The output of " cat /etc/apt/sources.list" is:
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
while running dpkg -l libapt*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un libapt-inst <none> <none> (no description available)
ii libapt-inst1.4 0.8.16~exp12 i386 deb package format runtime librar
rc libapt-inst1.5 1.0.1ubuntu2 i386 deb package format runtime librar
ii libapt-inst2.0 1.6.6 i386 deb package format runtime librar
un libapt-pkg <none> <none> (no description available)
ii libapt-pkg-per 0.1.33build1 i386 Perl interface to libapt-pkg
ii libapt-pkg4.12 1.0.1ubuntu2 i386 package management runtime librar
ii libapt-pkg5.0: 1.7.0ubuntu0 i386 package management runtime librar
cat /etc/lsb-releaseDISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
apt 18.04
|
show 3 more comments
while running sudo apt-get install packagename i got this error.
apt-get: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
The output of " cat /etc/apt/sources.list" is:
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
while running dpkg -l libapt*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un libapt-inst <none> <none> (no description available)
ii libapt-inst1.4 0.8.16~exp12 i386 deb package format runtime librar
rc libapt-inst1.5 1.0.1ubuntu2 i386 deb package format runtime librar
ii libapt-inst2.0 1.6.6 i386 deb package format runtime librar
un libapt-pkg <none> <none> (no description available)
ii libapt-pkg-per 0.1.33build1 i386 Perl interface to libapt-pkg
ii libapt-pkg4.12 1.0.1ubuntu2 i386 package management runtime librar
ii libapt-pkg5.0: 1.7.0ubuntu0 i386 package management runtime librar
cat /etc/lsb-releaseDISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
apt 18.04
Possible duplicate of libc.so.6: version `GLIBC_2.14' not found
– j-money
Feb 22 at 15:48
1
Possible duplicate of How do I enable the "Universe" repository?
– Charles Green
Feb 22 at 15:50
1
You have 16.04 repository in yoursources.list
.
– Pilot6
Feb 22 at 16:55
I'm very confused by what I'm seeing here: Your repositories are from Xenial (16.04), your kernel may be from Xenial-HWE or Bionic, you have loaded packages from Bionic(18.04) (according to a comment on the answer) and you're system is looking for packages from Cosmic (18.10)
– Charles Green
Feb 22 at 16:58
1
Possible duplicate of What is the correct output of cat /etc/apt/sources.list
– karel
Feb 23 at 6:19
|
show 3 more comments
while running sudo apt-get install packagename i got this error.
apt-get: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
The output of " cat /etc/apt/sources.list" is:
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
while running dpkg -l libapt*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un libapt-inst <none> <none> (no description available)
ii libapt-inst1.4 0.8.16~exp12 i386 deb package format runtime librar
rc libapt-inst1.5 1.0.1ubuntu2 i386 deb package format runtime librar
ii libapt-inst2.0 1.6.6 i386 deb package format runtime librar
un libapt-pkg <none> <none> (no description available)
ii libapt-pkg-per 0.1.33build1 i386 Perl interface to libapt-pkg
ii libapt-pkg4.12 1.0.1ubuntu2 i386 package management runtime librar
ii libapt-pkg5.0: 1.7.0ubuntu0 i386 package management runtime librar
cat /etc/lsb-releaseDISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
apt 18.04
while running sudo apt-get install packagename i got this error.
apt-get: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
The output of " cat /etc/apt/sources.list" is:
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
while running dpkg -l libapt*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un libapt-inst <none> <none> (no description available)
ii libapt-inst1.4 0.8.16~exp12 i386 deb package format runtime librar
rc libapt-inst1.5 1.0.1ubuntu2 i386 deb package format runtime librar
ii libapt-inst2.0 1.6.6 i386 deb package format runtime librar
un libapt-pkg <none> <none> (no description available)
ii libapt-pkg-per 0.1.33build1 i386 Perl interface to libapt-pkg
ii libapt-pkg4.12 1.0.1ubuntu2 i386 package management runtime librar
ii libapt-pkg5.0: 1.7.0ubuntu0 i386 package management runtime librar
cat /etc/lsb-releaseDISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
apt 18.04
apt 18.04
edited Feb 22 at 17:03
ANUSHA GEORGE
asked Feb 22 at 15:42
ANUSHA GEORGEANUSHA GEORGE
12
12
Possible duplicate of libc.so.6: version `GLIBC_2.14' not found
– j-money
Feb 22 at 15:48
1
Possible duplicate of How do I enable the "Universe" repository?
– Charles Green
Feb 22 at 15:50
1
You have 16.04 repository in yoursources.list
.
– Pilot6
Feb 22 at 16:55
I'm very confused by what I'm seeing here: Your repositories are from Xenial (16.04), your kernel may be from Xenial-HWE or Bionic, you have loaded packages from Bionic(18.04) (according to a comment on the answer) and you're system is looking for packages from Cosmic (18.10)
– Charles Green
Feb 22 at 16:58
1
Possible duplicate of What is the correct output of cat /etc/apt/sources.list
– karel
Feb 23 at 6:19
|
show 3 more comments
Possible duplicate of libc.so.6: version `GLIBC_2.14' not found
– j-money
Feb 22 at 15:48
1
Possible duplicate of How do I enable the "Universe" repository?
– Charles Green
Feb 22 at 15:50
1
You have 16.04 repository in yoursources.list
.
– Pilot6
Feb 22 at 16:55
I'm very confused by what I'm seeing here: Your repositories are from Xenial (16.04), your kernel may be from Xenial-HWE or Bionic, you have loaded packages from Bionic(18.04) (according to a comment on the answer) and you're system is looking for packages from Cosmic (18.10)
– Charles Green
Feb 22 at 16:58
1
Possible duplicate of What is the correct output of cat /etc/apt/sources.list
– karel
Feb 23 at 6:19
Possible duplicate of libc.so.6: version `GLIBC_2.14' not found
– j-money
Feb 22 at 15:48
Possible duplicate of libc.so.6: version `GLIBC_2.14' not found
– j-money
Feb 22 at 15:48
1
1
Possible duplicate of How do I enable the "Universe" repository?
– Charles Green
Feb 22 at 15:50
Possible duplicate of How do I enable the "Universe" repository?
– Charles Green
Feb 22 at 15:50
1
1
You have 16.04 repository in your
sources.list
.– Pilot6
Feb 22 at 16:55
You have 16.04 repository in your
sources.list
.– Pilot6
Feb 22 at 16:55
I'm very confused by what I'm seeing here: Your repositories are from Xenial (16.04), your kernel may be from Xenial-HWE or Bionic, you have loaded packages from Bionic(18.04) (according to a comment on the answer) and you're system is looking for packages from Cosmic (18.10)
– Charles Green
Feb 22 at 16:58
I'm very confused by what I'm seeing here: Your repositories are from Xenial (16.04), your kernel may be from Xenial-HWE or Bionic, you have loaded packages from Bionic(18.04) (according to a comment on the answer) and you're system is looking for packages from Cosmic (18.10)
– Charles Green
Feb 22 at 16:58
1
1
Possible duplicate of What is the correct output of cat /etc/apt/sources.list
– karel
Feb 23 at 6:19
Possible duplicate of What is the correct output of cat /etc/apt/sources.list
– karel
Feb 23 at 6:19
|
show 3 more comments
1 Answer
1
active
oldest
votes
You have 16.04 repository set in your sources.list
file.
I suggest to remove that file by
sudo rm /etc/apt/sources.list
Then run
software-properties-gtk
and check there repositories like main
, universe
, etc.
That should create a new sources.list
file with bionic
reposiories instead of xenial
.
Another way is to run sudo nano /etc/apt/sources.list
and paste there this text
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
Then save it by Ctrl+O and exit by Ctrl+X.
Run sudo apt update
.
I fear this may run deeper than that - the version of libapt_pkg5.0 that is running, is from cosmic
– Charles Green
Feb 22 at 17:10
deleted the sources.list file.but for the second command i got the same error.
– ANUSHA GEORGE
Feb 22 at 17:10
Yeah, but we can at least start from here. Then we can see.
– Pilot6
Feb 22 at 17:11
ubuntu:~$ software-properties-gtk Traceback (most recent call last): File "/usr/lib/command-not-found", line 28, in <module> from CommandNotFound import CommandNotFound File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module> from CommandNotFound.db.db import SqliteDatabase File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module> import apt_pkg ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
– ANUSHA GEORGE
Feb 22 at 17:11
See the update. There is another way of fixing it.
– Pilot6
Feb 22 at 17:15
|
show 5 more comments
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120412%2fi-cannot-use-any-installation-command-because-of-glibc-2-28-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have 16.04 repository set in your sources.list
file.
I suggest to remove that file by
sudo rm /etc/apt/sources.list
Then run
software-properties-gtk
and check there repositories like main
, universe
, etc.
That should create a new sources.list
file with bionic
reposiories instead of xenial
.
Another way is to run sudo nano /etc/apt/sources.list
and paste there this text
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
Then save it by Ctrl+O and exit by Ctrl+X.
Run sudo apt update
.
I fear this may run deeper than that - the version of libapt_pkg5.0 that is running, is from cosmic
– Charles Green
Feb 22 at 17:10
deleted the sources.list file.but for the second command i got the same error.
– ANUSHA GEORGE
Feb 22 at 17:10
Yeah, but we can at least start from here. Then we can see.
– Pilot6
Feb 22 at 17:11
ubuntu:~$ software-properties-gtk Traceback (most recent call last): File "/usr/lib/command-not-found", line 28, in <module> from CommandNotFound import CommandNotFound File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module> from CommandNotFound.db.db import SqliteDatabase File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module> import apt_pkg ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
– ANUSHA GEORGE
Feb 22 at 17:11
See the update. There is another way of fixing it.
– Pilot6
Feb 22 at 17:15
|
show 5 more comments
You have 16.04 repository set in your sources.list
file.
I suggest to remove that file by
sudo rm /etc/apt/sources.list
Then run
software-properties-gtk
and check there repositories like main
, universe
, etc.
That should create a new sources.list
file with bionic
reposiories instead of xenial
.
Another way is to run sudo nano /etc/apt/sources.list
and paste there this text
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
Then save it by Ctrl+O and exit by Ctrl+X.
Run sudo apt update
.
I fear this may run deeper than that - the version of libapt_pkg5.0 that is running, is from cosmic
– Charles Green
Feb 22 at 17:10
deleted the sources.list file.but for the second command i got the same error.
– ANUSHA GEORGE
Feb 22 at 17:10
Yeah, but we can at least start from here. Then we can see.
– Pilot6
Feb 22 at 17:11
ubuntu:~$ software-properties-gtk Traceback (most recent call last): File "/usr/lib/command-not-found", line 28, in <module> from CommandNotFound import CommandNotFound File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module> from CommandNotFound.db.db import SqliteDatabase File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module> import apt_pkg ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
– ANUSHA GEORGE
Feb 22 at 17:11
See the update. There is another way of fixing it.
– Pilot6
Feb 22 at 17:15
|
show 5 more comments
You have 16.04 repository set in your sources.list
file.
I suggest to remove that file by
sudo rm /etc/apt/sources.list
Then run
software-properties-gtk
and check there repositories like main
, universe
, etc.
That should create a new sources.list
file with bionic
reposiories instead of xenial
.
Another way is to run sudo nano /etc/apt/sources.list
and paste there this text
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
Then save it by Ctrl+O and exit by Ctrl+X.
Run sudo apt update
.
You have 16.04 repository set in your sources.list
file.
I suggest to remove that file by
sudo rm /etc/apt/sources.list
Then run
software-properties-gtk
and check there repositories like main
, universe
, etc.
That should create a new sources.list
file with bionic
reposiories instead of xenial
.
Another way is to run sudo nano /etc/apt/sources.list
and paste there this text
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
Then save it by Ctrl+O and exit by Ctrl+X.
Run sudo apt update
.
edited Feb 22 at 17:13
answered Feb 22 at 17:07
Pilot6Pilot6
54k15111198
54k15111198
I fear this may run deeper than that - the version of libapt_pkg5.0 that is running, is from cosmic
– Charles Green
Feb 22 at 17:10
deleted the sources.list file.but for the second command i got the same error.
– ANUSHA GEORGE
Feb 22 at 17:10
Yeah, but we can at least start from here. Then we can see.
– Pilot6
Feb 22 at 17:11
ubuntu:~$ software-properties-gtk Traceback (most recent call last): File "/usr/lib/command-not-found", line 28, in <module> from CommandNotFound import CommandNotFound File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module> from CommandNotFound.db.db import SqliteDatabase File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module> import apt_pkg ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
– ANUSHA GEORGE
Feb 22 at 17:11
See the update. There is another way of fixing it.
– Pilot6
Feb 22 at 17:15
|
show 5 more comments
I fear this may run deeper than that - the version of libapt_pkg5.0 that is running, is from cosmic
– Charles Green
Feb 22 at 17:10
deleted the sources.list file.but for the second command i got the same error.
– ANUSHA GEORGE
Feb 22 at 17:10
Yeah, but we can at least start from here. Then we can see.
– Pilot6
Feb 22 at 17:11
ubuntu:~$ software-properties-gtk Traceback (most recent call last): File "/usr/lib/command-not-found", line 28, in <module> from CommandNotFound import CommandNotFound File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module> from CommandNotFound.db.db import SqliteDatabase File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module> import apt_pkg ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
– ANUSHA GEORGE
Feb 22 at 17:11
See the update. There is another way of fixing it.
– Pilot6
Feb 22 at 17:15
I fear this may run deeper than that - the version of libapt_pkg5.0 that is running, is from cosmic
– Charles Green
Feb 22 at 17:10
I fear this may run deeper than that - the version of libapt_pkg5.0 that is running, is from cosmic
– Charles Green
Feb 22 at 17:10
deleted the sources.list file.but for the second command i got the same error.
– ANUSHA GEORGE
Feb 22 at 17:10
deleted the sources.list file.but for the second command i got the same error.
– ANUSHA GEORGE
Feb 22 at 17:10
Yeah, but we can at least start from here. Then we can see.
– Pilot6
Feb 22 at 17:11
Yeah, but we can at least start from here. Then we can see.
– Pilot6
Feb 22 at 17:11
ubuntu:~$ software-properties-gtk Traceback (most recent call last): File "/usr/lib/command-not-found", line 28, in <module> from CommandNotFound import CommandNotFound File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module> from CommandNotFound.db.db import SqliteDatabase File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module> import apt_pkg ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
– ANUSHA GEORGE
Feb 22 at 17:11
ubuntu:~$ software-properties-gtk Traceback (most recent call last): File "/usr/lib/command-not-found", line 28, in <module> from CommandNotFound import CommandNotFound File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in <module> from CommandNotFound.db.db import SqliteDatabase File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in <module> import apt_pkg ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0)
– ANUSHA GEORGE
Feb 22 at 17:11
See the update. There is another way of fixing it.
– Pilot6
Feb 22 at 17:15
See the update. There is another way of fixing it.
– Pilot6
Feb 22 at 17:15
|
show 5 more comments
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120412%2fi-cannot-use-any-installation-command-because-of-glibc-2-28-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Possible duplicate of libc.so.6: version `GLIBC_2.14' not found
– j-money
Feb 22 at 15:48
1
Possible duplicate of How do I enable the "Universe" repository?
– Charles Green
Feb 22 at 15:50
1
You have 16.04 repository in your
sources.list
.– Pilot6
Feb 22 at 16:55
I'm very confused by what I'm seeing here: Your repositories are from Xenial (16.04), your kernel may be from Xenial-HWE or Bionic, you have loaded packages from Bionic(18.04) (according to a comment on the answer) and you're system is looking for packages from Cosmic (18.10)
– Charles Green
Feb 22 at 16:58
1
Possible duplicate of What is the correct output of cat /etc/apt/sources.list
– karel
Feb 23 at 6:19