Ubuntu 18.04: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
This is the output of
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-modules-4.15.0-33-generic linux-modules-4.15.0-34-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-4.15.0-33-generic linux-image-4.15.0-34-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 16.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 237395 files and directories currently
installed.)
Removing linux-image-4.15.0-33-generic (4.15.0-33.36) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-33-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries:
libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory
Found Windows Boot Manager on
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code
127
dpkg: error processing package linux-image-4.15.0-33-generic (--
remove):
installed linux-image-4.15.0-33-generic package post-removal script
subprocess returned error exit status 1
Removing linux-image-4.15.0-34-generic (4.15.0-34.37) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-34-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries:
libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory
Found Windows Boot Manager on
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code
127
dpkg: error processing package linux-image-4.15.0-34-generic (--
remove):
installed linux-image-4.15.0-34-generic package post-removal script
subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.15.0-33-generic
linux-image-4.15.0-34-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
https://i.stack.imgur.com/WaZPo.png
Edit:
the output of
sudo locate libcrypto.so.1.0.0
/snap/core/5897/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core/6130/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core/6350/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core18/594/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core18/677/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/gnome-3-26-1604/70/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/gnome-3-26-1604/74/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/kde-frameworks-5-core18/26/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
apt list libssl1*
Listing... Done
libssl1.0-dev/bionic-updates,bionic-security 1.0.2n-1ubuntu5.2 amd64
libssl1.0.0/bionic-updates,bionic-security,now 1.0.2n-1ubuntu5.2 amd64 [installed]
libssl1.1/bionic-updates,bionic-security,now 1.1.0g-2ubuntu4.3 amd64 [installed]
boot apt grub2 kernel dpkg
|
show 1 more comment
This is the output of
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-modules-4.15.0-33-generic linux-modules-4.15.0-34-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-4.15.0-33-generic linux-image-4.15.0-34-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 16.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 237395 files and directories currently
installed.)
Removing linux-image-4.15.0-33-generic (4.15.0-33.36) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-33-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries:
libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory
Found Windows Boot Manager on
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code
127
dpkg: error processing package linux-image-4.15.0-33-generic (--
remove):
installed linux-image-4.15.0-33-generic package post-removal script
subprocess returned error exit status 1
Removing linux-image-4.15.0-34-generic (4.15.0-34.37) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-34-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries:
libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory
Found Windows Boot Manager on
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code
127
dpkg: error processing package linux-image-4.15.0-34-generic (--
remove):
installed linux-image-4.15.0-34-generic package post-removal script
subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.15.0-33-generic
linux-image-4.15.0-34-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
https://i.stack.imgur.com/WaZPo.png
Edit:
the output of
sudo locate libcrypto.so.1.0.0
/snap/core/5897/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core/6130/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core/6350/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core18/594/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core18/677/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/gnome-3-26-1604/70/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/gnome-3-26-1604/74/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/kde-frameworks-5-core18/26/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
apt list libssl1*
Listing... Done
libssl1.0-dev/bionic-updates,bionic-security 1.0.2n-1ubuntu5.2 amd64
libssl1.0.0/bionic-updates,bionic-security,now 1.0.2n-1ubuntu5.2 amd64 [installed]
libssl1.1/bionic-updates,bionic-security,now 1.1.0g-2ubuntu4.3 amd64 [installed]
boot apt grub2 kernel dpkg
The root problem seems to be the line:libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
. Please edit your question to tell us a bit more about encryption, if any, in your setup.
– user535733
Feb 6 at 15:49
@user535733 It's just a regular upgrade for current packages, no encryption encountered, my current kernel is 4.15.0-39-generic and i'm trying to remove the old kernels to be able to install the 4.20 kernel and any other package as well, I don't know what is the exact problem with this line.
– Fares Salem
Feb 6 at 16:09
Can you executelocate libcrypto.so.1.0.0
and append the output to your question?
– Charles Green
Feb 6 at 16:54
Also the output ofapt list libssl1*
– Charles Green
Feb 6 at 16:56
It looks as though it is installed and in the right place. I would try to execute the commandsudo apt install --reinstall libssl1.0.0
to see if this fixes some odd linkage error.
– Charles Green
Feb 6 at 17:21
|
show 1 more comment
This is the output of
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-modules-4.15.0-33-generic linux-modules-4.15.0-34-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-4.15.0-33-generic linux-image-4.15.0-34-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 16.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 237395 files and directories currently
installed.)
Removing linux-image-4.15.0-33-generic (4.15.0-33.36) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-33-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries:
libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory
Found Windows Boot Manager on
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code
127
dpkg: error processing package linux-image-4.15.0-33-generic (--
remove):
installed linux-image-4.15.0-33-generic package post-removal script
subprocess returned error exit status 1
Removing linux-image-4.15.0-34-generic (4.15.0-34.37) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-34-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries:
libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory
Found Windows Boot Manager on
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code
127
dpkg: error processing package linux-image-4.15.0-34-generic (--
remove):
installed linux-image-4.15.0-34-generic package post-removal script
subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.15.0-33-generic
linux-image-4.15.0-34-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
https://i.stack.imgur.com/WaZPo.png
Edit:
the output of
sudo locate libcrypto.so.1.0.0
/snap/core/5897/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core/6130/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core/6350/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core18/594/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core18/677/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/gnome-3-26-1604/70/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/gnome-3-26-1604/74/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/kde-frameworks-5-core18/26/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
apt list libssl1*
Listing... Done
libssl1.0-dev/bionic-updates,bionic-security 1.0.2n-1ubuntu5.2 amd64
libssl1.0.0/bionic-updates,bionic-security,now 1.0.2n-1ubuntu5.2 amd64 [installed]
libssl1.1/bionic-updates,bionic-security,now 1.1.0g-2ubuntu4.3 amd64 [installed]
boot apt grub2 kernel dpkg
This is the output of
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
linux-modules-4.15.0-33-generic linux-modules-4.15.0-34-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-4.15.0-33-generic linux-image-4.15.0-34-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 16.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 237395 files and directories currently
installed.)
Removing linux-image-4.15.0-33-generic (4.15.0-33.36) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-33-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries:
libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory
Found Windows Boot Manager on
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code
127
dpkg: error processing package linux-image-4.15.0-33-generic (--
remove):
installed linux-image-4.15.0-33-generic package post-removal script
subprocess returned error exit status 1
Removing linux-image-4.15.0-34-generic (4.15.0-34.37) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-34-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
/etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries:
libcrypto.so.1.0.0: cannot open shared object file: No such file or
directory
Found Windows Boot Manager on
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code
127
dpkg: error processing package linux-image-4.15.0-34-generic (--
remove):
installed linux-image-4.15.0-34-generic package post-removal script
subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.15.0-33-generic
linux-image-4.15.0-34-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
https://i.stack.imgur.com/WaZPo.png
Edit:
the output of
sudo locate libcrypto.so.1.0.0
/snap/core/5897/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core/6130/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core/6350/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core18/594/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/core18/677/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/gnome-3-26-1604/70/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/gnome-3-26-1604/74/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/snap/kde-frameworks-5-core18/26/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
apt list libssl1*
Listing... Done
libssl1.0-dev/bionic-updates,bionic-security 1.0.2n-1ubuntu5.2 amd64
libssl1.0.0/bionic-updates,bionic-security,now 1.0.2n-1ubuntu5.2 amd64 [installed]
libssl1.1/bionic-updates,bionic-security,now 1.1.0g-2ubuntu4.3 amd64 [installed]
boot apt grub2 kernel dpkg
boot apt grub2 kernel dpkg
edited Feb 8 at 15:01
Fares Salem
asked Feb 6 at 15:21
Fares SalemFares Salem
11
11
The root problem seems to be the line:libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
. Please edit your question to tell us a bit more about encryption, if any, in your setup.
– user535733
Feb 6 at 15:49
@user535733 It's just a regular upgrade for current packages, no encryption encountered, my current kernel is 4.15.0-39-generic and i'm trying to remove the old kernels to be able to install the 4.20 kernel and any other package as well, I don't know what is the exact problem with this line.
– Fares Salem
Feb 6 at 16:09
Can you executelocate libcrypto.so.1.0.0
and append the output to your question?
– Charles Green
Feb 6 at 16:54
Also the output ofapt list libssl1*
– Charles Green
Feb 6 at 16:56
It looks as though it is installed and in the right place. I would try to execute the commandsudo apt install --reinstall libssl1.0.0
to see if this fixes some odd linkage error.
– Charles Green
Feb 6 at 17:21
|
show 1 more comment
The root problem seems to be the line:libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
. Please edit your question to tell us a bit more about encryption, if any, in your setup.
– user535733
Feb 6 at 15:49
@user535733 It's just a regular upgrade for current packages, no encryption encountered, my current kernel is 4.15.0-39-generic and i'm trying to remove the old kernels to be able to install the 4.20 kernel and any other package as well, I don't know what is the exact problem with this line.
– Fares Salem
Feb 6 at 16:09
Can you executelocate libcrypto.so.1.0.0
and append the output to your question?
– Charles Green
Feb 6 at 16:54
Also the output ofapt list libssl1*
– Charles Green
Feb 6 at 16:56
It looks as though it is installed and in the right place. I would try to execute the commandsudo apt install --reinstall libssl1.0.0
to see if this fixes some odd linkage error.
– Charles Green
Feb 6 at 17:21
The root problem seems to be the line:
libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
. Please edit your question to tell us a bit more about encryption, if any, in your setup.– user535733
Feb 6 at 15:49
The root problem seems to be the line:
libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
. Please edit your question to tell us a bit more about encryption, if any, in your setup.– user535733
Feb 6 at 15:49
@user535733 It's just a regular upgrade for current packages, no encryption encountered, my current kernel is 4.15.0-39-generic and i'm trying to remove the old kernels to be able to install the 4.20 kernel and any other package as well, I don't know what is the exact problem with this line.
– Fares Salem
Feb 6 at 16:09
@user535733 It's just a regular upgrade for current packages, no encryption encountered, my current kernel is 4.15.0-39-generic and i'm trying to remove the old kernels to be able to install the 4.20 kernel and any other package as well, I don't know what is the exact problem with this line.
– Fares Salem
Feb 6 at 16:09
Can you execute
locate libcrypto.so.1.0.0
and append the output to your question?– Charles Green
Feb 6 at 16:54
Can you execute
locate libcrypto.so.1.0.0
and append the output to your question?– Charles Green
Feb 6 at 16:54
Also the output of
apt list libssl1*
– Charles Green
Feb 6 at 16:56
Also the output of
apt list libssl1*
– Charles Green
Feb 6 at 16:56
It looks as though it is installed and in the right place. I would try to execute the command
sudo apt install --reinstall libssl1.0.0
to see if this fixes some odd linkage error.– Charles Green
Feb 6 at 17:21
It looks as though it is installed and in the right place. I would try to execute the command
sudo apt install --reinstall libssl1.0.0
to see if this fixes some odd linkage error.– Charles Green
Feb 6 at 17:21
|
show 1 more comment
1 Answer
1
active
oldest
votes
From https://itsfoss.com/dpkg-returned-an-error-code-1/:
You should try to run
sudo apt update
and then try to install a new
package or upgrade after trying each of the methods below:
Reconfigure Package Database
The first method you can try is to reconfigure the package database.
Probably the database got corrupted while installing a package.
Reconfiguring often fixes the problem.
sudo dpkg --configure -a
Try removing the troublesome package
sudo apt remove
1
The error seems to be 'file not found', not 'file corrupt'.
– user535733
Feb 6 at 15:50
1
When reproducing content from somewhere else, you need to always put it in a quote block to show what is yours and what is being quoted.
– terdon♦
Feb 6 at 16:38
non of these worked
– Fares Salem
Feb 6 at 18:42
Thank you, next time i will do it.
– Augusto Tomás
Feb 7 at 6:42
add a comment |
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%2f1116133%2fubuntu-18-04-libcrypto-so-1-0-0-cannot-open-shared-object-file-no-such-file-o%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
From https://itsfoss.com/dpkg-returned-an-error-code-1/:
You should try to run
sudo apt update
and then try to install a new
package or upgrade after trying each of the methods below:
Reconfigure Package Database
The first method you can try is to reconfigure the package database.
Probably the database got corrupted while installing a package.
Reconfiguring often fixes the problem.
sudo dpkg --configure -a
Try removing the troublesome package
sudo apt remove
1
The error seems to be 'file not found', not 'file corrupt'.
– user535733
Feb 6 at 15:50
1
When reproducing content from somewhere else, you need to always put it in a quote block to show what is yours and what is being quoted.
– terdon♦
Feb 6 at 16:38
non of these worked
– Fares Salem
Feb 6 at 18:42
Thank you, next time i will do it.
– Augusto Tomás
Feb 7 at 6:42
add a comment |
From https://itsfoss.com/dpkg-returned-an-error-code-1/:
You should try to run
sudo apt update
and then try to install a new
package or upgrade after trying each of the methods below:
Reconfigure Package Database
The first method you can try is to reconfigure the package database.
Probably the database got corrupted while installing a package.
Reconfiguring often fixes the problem.
sudo dpkg --configure -a
Try removing the troublesome package
sudo apt remove
1
The error seems to be 'file not found', not 'file corrupt'.
– user535733
Feb 6 at 15:50
1
When reproducing content from somewhere else, you need to always put it in a quote block to show what is yours and what is being quoted.
– terdon♦
Feb 6 at 16:38
non of these worked
– Fares Salem
Feb 6 at 18:42
Thank you, next time i will do it.
– Augusto Tomás
Feb 7 at 6:42
add a comment |
From https://itsfoss.com/dpkg-returned-an-error-code-1/:
You should try to run
sudo apt update
and then try to install a new
package or upgrade after trying each of the methods below:
Reconfigure Package Database
The first method you can try is to reconfigure the package database.
Probably the database got corrupted while installing a package.
Reconfiguring often fixes the problem.
sudo dpkg --configure -a
Try removing the troublesome package
sudo apt remove
From https://itsfoss.com/dpkg-returned-an-error-code-1/:
You should try to run
sudo apt update
and then try to install a new
package or upgrade after trying each of the methods below:
Reconfigure Package Database
The first method you can try is to reconfigure the package database.
Probably the database got corrupted while installing a package.
Reconfiguring often fixes the problem.
sudo dpkg --configure -a
Try removing the troublesome package
sudo apt remove
edited Feb 6 at 16:38
terdon♦
66.6k12139221
66.6k12139221
answered Feb 6 at 15:41
Augusto TomásAugusto Tomás
11
11
1
The error seems to be 'file not found', not 'file corrupt'.
– user535733
Feb 6 at 15:50
1
When reproducing content from somewhere else, you need to always put it in a quote block to show what is yours and what is being quoted.
– terdon♦
Feb 6 at 16:38
non of these worked
– Fares Salem
Feb 6 at 18:42
Thank you, next time i will do it.
– Augusto Tomás
Feb 7 at 6:42
add a comment |
1
The error seems to be 'file not found', not 'file corrupt'.
– user535733
Feb 6 at 15:50
1
When reproducing content from somewhere else, you need to always put it in a quote block to show what is yours and what is being quoted.
– terdon♦
Feb 6 at 16:38
non of these worked
– Fares Salem
Feb 6 at 18:42
Thank you, next time i will do it.
– Augusto Tomás
Feb 7 at 6:42
1
1
The error seems to be 'file not found', not 'file corrupt'.
– user535733
Feb 6 at 15:50
The error seems to be 'file not found', not 'file corrupt'.
– user535733
Feb 6 at 15:50
1
1
When reproducing content from somewhere else, you need to always put it in a quote block to show what is yours and what is being quoted.
– terdon♦
Feb 6 at 16:38
When reproducing content from somewhere else, you need to always put it in a quote block to show what is yours and what is being quoted.
– terdon♦
Feb 6 at 16:38
non of these worked
– Fares Salem
Feb 6 at 18:42
non of these worked
– Fares Salem
Feb 6 at 18:42
Thank you, next time i will do it.
– Augusto Tomás
Feb 7 at 6:42
Thank you, next time i will do it.
– Augusto Tomás
Feb 7 at 6:42
add a comment |
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%2f1116133%2fubuntu-18-04-libcrypto-so-1-0-0-cannot-open-shared-object-file-no-such-file-o%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
The root problem seems to be the line:
libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
. Please edit your question to tell us a bit more about encryption, if any, in your setup.– user535733
Feb 6 at 15:49
@user535733 It's just a regular upgrade for current packages, no encryption encountered, my current kernel is 4.15.0-39-generic and i'm trying to remove the old kernels to be able to install the 4.20 kernel and any other package as well, I don't know what is the exact problem with this line.
– Fares Salem
Feb 6 at 16:09
Can you execute
locate libcrypto.so.1.0.0
and append the output to your question?– Charles Green
Feb 6 at 16:54
Also the output of
apt list libssl1*
– Charles Green
Feb 6 at 16:56
It looks as though it is installed and in the right place. I would try to execute the command
sudo apt install --reinstall libssl1.0.0
to see if this fixes some odd linkage error.– Charles Green
Feb 6 at 17:21