Broken dpkg and apt-get — dpkg errors
I was installing ROS on my Ubuntu 18.04 system in WSL, and ran some commands that I probably shouldn't have and broke dpkg and apt-get. I am unable to install any package.
The output of dpkg --configure -a
is:
dpkg: dependency problems prevent configuration of ubuntu-mono:
ubuntu-mono depends on humanity-icon-theme; however:
Package humanity-icon-theme is not installed.
dpkg: error processing package ubuntu-mono (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of adwaita-icon-theme:
adwaita-icon-theme depends on ubuntu-mono | adwaita-icon-theme-full; however:
Package ubuntu-mono is not configured yet.
Package adwaita-icon-theme-full is not installed.
dpkg: error processing package adwaita-icon-theme (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-0:amd64:
libgtk2.0-0:amd64 depends on adwaita-icon-theme | gnome-icon-theme; however:
Package adwaita-icon-theme is not configured yet.
Package gnome-icon-theme is not installed.
dpkg: error processing package libgtk2.0-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgail18:amd64:
libgail18:amd64 depends on libgtk2.0-0 (= 2.24.32-1ubuntu1); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgail18:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgail-common:amd64:
libgail-common:amd64 depends on libgail18 (= 2.24.32-1ubuntu1); however:
Package libgail18:amd64 is not configured yet.
libgail-common:amd64 depends on libgtk2.0-0 (>= 2.24.0); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgail-common:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-0:amd64:
libgtk-3-0:amd64 depends on adwaita-icon-theme; however:
Package adwaita-icon-theme is not configured yet.
dpkg: error processing package libgtk-3-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-bin:
libgtk-3-bin depends on libgtk-3-0 (>= 3.22.30-1ubuntu1); however:
Package libgtk-3-0:amd64 is not configured yet.
dpkg: error processing package libgtk-3-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-bin:
libgtk2.0-bin depends on libgtk2.0-0 (= 2.24.32-1ubuntu1); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgtk2.0-bin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ubuntu-mono
adwaita-icon-theme
libgtk2.0-0:amd64
libgail18:amd64
libgail-common:amd64
libgtk-3-0:amd64
libgtk-3-bin
libgtk2.0-bin
I've tried all the steps in How can I Resolve dpkg dependency? to no avail. Help would be appreciated!
EDIT: I believe I solved it! What I ran was
sudo apt-get install --force-all humanity-icon-theme
. Forcing it allowed all the dependencies to be resolved, since the humanity-icon-theme was marked to be removed (or something) by apt.
apt package-management dpkg
add a comment |
I was installing ROS on my Ubuntu 18.04 system in WSL, and ran some commands that I probably shouldn't have and broke dpkg and apt-get. I am unable to install any package.
The output of dpkg --configure -a
is:
dpkg: dependency problems prevent configuration of ubuntu-mono:
ubuntu-mono depends on humanity-icon-theme; however:
Package humanity-icon-theme is not installed.
dpkg: error processing package ubuntu-mono (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of adwaita-icon-theme:
adwaita-icon-theme depends on ubuntu-mono | adwaita-icon-theme-full; however:
Package ubuntu-mono is not configured yet.
Package adwaita-icon-theme-full is not installed.
dpkg: error processing package adwaita-icon-theme (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-0:amd64:
libgtk2.0-0:amd64 depends on adwaita-icon-theme | gnome-icon-theme; however:
Package adwaita-icon-theme is not configured yet.
Package gnome-icon-theme is not installed.
dpkg: error processing package libgtk2.0-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgail18:amd64:
libgail18:amd64 depends on libgtk2.0-0 (= 2.24.32-1ubuntu1); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgail18:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgail-common:amd64:
libgail-common:amd64 depends on libgail18 (= 2.24.32-1ubuntu1); however:
Package libgail18:amd64 is not configured yet.
libgail-common:amd64 depends on libgtk2.0-0 (>= 2.24.0); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgail-common:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-0:amd64:
libgtk-3-0:amd64 depends on adwaita-icon-theme; however:
Package adwaita-icon-theme is not configured yet.
dpkg: error processing package libgtk-3-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-bin:
libgtk-3-bin depends on libgtk-3-0 (>= 3.22.30-1ubuntu1); however:
Package libgtk-3-0:amd64 is not configured yet.
dpkg: error processing package libgtk-3-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-bin:
libgtk2.0-bin depends on libgtk2.0-0 (= 2.24.32-1ubuntu1); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgtk2.0-bin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ubuntu-mono
adwaita-icon-theme
libgtk2.0-0:amd64
libgail18:amd64
libgail-common:amd64
libgtk-3-0:amd64
libgtk-3-bin
libgtk2.0-bin
I've tried all the steps in How can I Resolve dpkg dependency? to no avail. Help would be appreciated!
EDIT: I believe I solved it! What I ran was
sudo apt-get install --force-all humanity-icon-theme
. Forcing it allowed all the dependencies to be resolved, since the humanity-icon-theme was marked to be removed (or something) by apt.
apt package-management dpkg
1
Note to future readers: --force-all is generally considered a last-resort tool, and may have unexpected consequences.
– user535733
Feb 13 at 23:26
add a comment |
I was installing ROS on my Ubuntu 18.04 system in WSL, and ran some commands that I probably shouldn't have and broke dpkg and apt-get. I am unable to install any package.
The output of dpkg --configure -a
is:
dpkg: dependency problems prevent configuration of ubuntu-mono:
ubuntu-mono depends on humanity-icon-theme; however:
Package humanity-icon-theme is not installed.
dpkg: error processing package ubuntu-mono (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of adwaita-icon-theme:
adwaita-icon-theme depends on ubuntu-mono | adwaita-icon-theme-full; however:
Package ubuntu-mono is not configured yet.
Package adwaita-icon-theme-full is not installed.
dpkg: error processing package adwaita-icon-theme (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-0:amd64:
libgtk2.0-0:amd64 depends on adwaita-icon-theme | gnome-icon-theme; however:
Package adwaita-icon-theme is not configured yet.
Package gnome-icon-theme is not installed.
dpkg: error processing package libgtk2.0-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgail18:amd64:
libgail18:amd64 depends on libgtk2.0-0 (= 2.24.32-1ubuntu1); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgail18:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgail-common:amd64:
libgail-common:amd64 depends on libgail18 (= 2.24.32-1ubuntu1); however:
Package libgail18:amd64 is not configured yet.
libgail-common:amd64 depends on libgtk2.0-0 (>= 2.24.0); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgail-common:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-0:amd64:
libgtk-3-0:amd64 depends on adwaita-icon-theme; however:
Package adwaita-icon-theme is not configured yet.
dpkg: error processing package libgtk-3-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-bin:
libgtk-3-bin depends on libgtk-3-0 (>= 3.22.30-1ubuntu1); however:
Package libgtk-3-0:amd64 is not configured yet.
dpkg: error processing package libgtk-3-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-bin:
libgtk2.0-bin depends on libgtk2.0-0 (= 2.24.32-1ubuntu1); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgtk2.0-bin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ubuntu-mono
adwaita-icon-theme
libgtk2.0-0:amd64
libgail18:amd64
libgail-common:amd64
libgtk-3-0:amd64
libgtk-3-bin
libgtk2.0-bin
I've tried all the steps in How can I Resolve dpkg dependency? to no avail. Help would be appreciated!
EDIT: I believe I solved it! What I ran was
sudo apt-get install --force-all humanity-icon-theme
. Forcing it allowed all the dependencies to be resolved, since the humanity-icon-theme was marked to be removed (or something) by apt.
apt package-management dpkg
I was installing ROS on my Ubuntu 18.04 system in WSL, and ran some commands that I probably shouldn't have and broke dpkg and apt-get. I am unable to install any package.
The output of dpkg --configure -a
is:
dpkg: dependency problems prevent configuration of ubuntu-mono:
ubuntu-mono depends on humanity-icon-theme; however:
Package humanity-icon-theme is not installed.
dpkg: error processing package ubuntu-mono (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of adwaita-icon-theme:
adwaita-icon-theme depends on ubuntu-mono | adwaita-icon-theme-full; however:
Package ubuntu-mono is not configured yet.
Package adwaita-icon-theme-full is not installed.
dpkg: error processing package adwaita-icon-theme (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-0:amd64:
libgtk2.0-0:amd64 depends on adwaita-icon-theme | gnome-icon-theme; however:
Package adwaita-icon-theme is not configured yet.
Package gnome-icon-theme is not installed.
dpkg: error processing package libgtk2.0-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgail18:amd64:
libgail18:amd64 depends on libgtk2.0-0 (= 2.24.32-1ubuntu1); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgail18:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgail-common:amd64:
libgail-common:amd64 depends on libgail18 (= 2.24.32-1ubuntu1); however:
Package libgail18:amd64 is not configured yet.
libgail-common:amd64 depends on libgtk2.0-0 (>= 2.24.0); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgail-common:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-0:amd64:
libgtk-3-0:amd64 depends on adwaita-icon-theme; however:
Package adwaita-icon-theme is not configured yet.
dpkg: error processing package libgtk-3-0:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-bin:
libgtk-3-bin depends on libgtk-3-0 (>= 3.22.30-1ubuntu1); however:
Package libgtk-3-0:amd64 is not configured yet.
dpkg: error processing package libgtk-3-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk2.0-bin:
libgtk2.0-bin depends on libgtk2.0-0 (= 2.24.32-1ubuntu1); however:
Package libgtk2.0-0:amd64 is not configured yet.
dpkg: error processing package libgtk2.0-bin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ubuntu-mono
adwaita-icon-theme
libgtk2.0-0:amd64
libgail18:amd64
libgail-common:amd64
libgtk-3-0:amd64
libgtk-3-bin
libgtk2.0-bin
I've tried all the steps in How can I Resolve dpkg dependency? to no avail. Help would be appreciated!
EDIT: I believe I solved it! What I ran was
sudo apt-get install --force-all humanity-icon-theme
. Forcing it allowed all the dependencies to be resolved, since the humanity-icon-theme was marked to be removed (or something) by apt.
apt package-management dpkg
apt package-management dpkg
edited Feb 13 at 19:46
manestay
asked Feb 13 at 19:38
manestaymanestay
11
11
1
Note to future readers: --force-all is generally considered a last-resort tool, and may have unexpected consequences.
– user535733
Feb 13 at 23:26
add a comment |
1
Note to future readers: --force-all is generally considered a last-resort tool, and may have unexpected consequences.
– user535733
Feb 13 at 23:26
1
1
Note to future readers: --force-all is generally considered a last-resort tool, and may have unexpected consequences.
– user535733
Feb 13 at 23:26
Note to future readers: --force-all is generally considered a last-resort tool, and may have unexpected consequences.
– user535733
Feb 13 at 23:26
add a comment |
0
active
oldest
votes
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%2f1118035%2fbroken-dpkg-and-apt-get-dpkg-errors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1118035%2fbroken-dpkg-and-apt-get-dpkg-errors%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
1
Note to future readers: --force-all is generally considered a last-resort tool, and may have unexpected consequences.
– user535733
Feb 13 at 23:26