I can't install any packages or make any updates 18.04, I'm trying to remove old kernels












0















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]









share|improve this question









New contributor




Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • 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
    yesterday











  • @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
    yesterday











  • Can you execute locate libcrypto.so.1.0.0 and append the output to your question?

    – Charles Green
    yesterday











  • Also the output of apt list libssl1*

    – Charles Green
    yesterday











  • 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
    yesterday


















0















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]









share|improve this question









New contributor




Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • 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
    yesterday











  • @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
    yesterday











  • Can you execute locate libcrypto.so.1.0.0 and append the output to your question?

    – Charles Green
    yesterday











  • Also the output of apt list libssl1*

    – Charles Green
    yesterday











  • 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
    yesterday
















0












0








0


0






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]









share|improve this question









New contributor




Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question









New contributor




Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday







Fares Salem













New contributor




Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Fares SalemFares Salem

11




11




New contributor




Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Fares Salem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • 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
    yesterday











  • @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
    yesterday











  • Can you execute locate libcrypto.so.1.0.0 and append the output to your question?

    – Charles Green
    yesterday











  • Also the output of apt list libssl1*

    – Charles Green
    yesterday











  • 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
    yesterday





















  • 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
    yesterday











  • @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
    yesterday











  • Can you execute locate libcrypto.so.1.0.0 and append the output to your question?

    – Charles Green
    yesterday











  • Also the output of apt list libssl1*

    – Charles Green
    yesterday











  • 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
    yesterday



















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
yesterday





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
yesterday













@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
yesterday





@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
yesterday













Can you execute locate libcrypto.so.1.0.0 and append the output to your question?

– Charles Green
yesterday





Can you execute locate libcrypto.so.1.0.0 and append the output to your question?

– Charles Green
yesterday













Also the output of apt list libssl1*

– Charles Green
yesterday





Also the output of apt list libssl1*

– Charles Green
yesterday













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
yesterday







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
yesterday












1 Answer
1






active

oldest

votes


















0














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






share|improve this answer










New contributor




Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    The error seems to be 'file not found', not 'file corrupt'.

    – user535733
    yesterday






  • 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
    yesterday











  • non of these worked

    – Fares Salem
    yesterday











  • Thank you, next time i will do it.

    – Augusto Tomás
    23 hours ago











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
});


}
});






Fares Salem is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116133%2fi-cant-install-any-packages-or-make-any-updates-18-04-im-trying-to-remove-old%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









0














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






share|improve this answer










New contributor




Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    The error seems to be 'file not found', not 'file corrupt'.

    – user535733
    yesterday






  • 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
    yesterday











  • non of these worked

    – Fares Salem
    yesterday











  • Thank you, next time i will do it.

    – Augusto Tomás
    23 hours ago
















0














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






share|improve this answer










New contributor




Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    The error seems to be 'file not found', not 'file corrupt'.

    – user535733
    yesterday






  • 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
    yesterday











  • non of these worked

    – Fares Salem
    yesterday











  • Thank you, next time i will do it.

    – Augusto Tomás
    23 hours ago














0












0








0







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






share|improve this answer










New contributor




Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










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







share|improve this answer










New contributor




Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited yesterday









terdon

65.9k12138221




65.9k12138221






New contributor




Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered yesterday









Augusto TomásAugusto Tomás

11




11




New contributor




Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Augusto Tomás is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    The error seems to be 'file not found', not 'file corrupt'.

    – user535733
    yesterday






  • 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
    yesterday











  • non of these worked

    – Fares Salem
    yesterday











  • Thank you, next time i will do it.

    – Augusto Tomás
    23 hours ago














  • 1





    The error seems to be 'file not found', not 'file corrupt'.

    – user535733
    yesterday






  • 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
    yesterday











  • non of these worked

    – Fares Salem
    yesterday











  • Thank you, next time i will do it.

    – Augusto Tomás
    23 hours ago








1




1





The error seems to be 'file not found', not 'file corrupt'.

– user535733
yesterday





The error seems to be 'file not found', not 'file corrupt'.

– user535733
yesterday




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
yesterday





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
yesterday













non of these worked

– Fares Salem
yesterday





non of these worked

– Fares Salem
yesterday













Thank you, next time i will do it.

– Augusto Tomás
23 hours ago





Thank you, next time i will do it.

– Augusto Tomás
23 hours ago










Fares Salem is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Fares Salem is a new contributor. Be nice, and check out our Code of Conduct.













Fares Salem is a new contributor. Be nice, and check out our Code of Conduct.












Fares Salem is a new contributor. Be nice, and check out our Code of Conduct.
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116133%2fi-cant-install-any-packages-or-make-any-updates-18-04-im-trying-to-remove-old%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b