I am using Ubuntu 16.04 LTS and I ran do-release-upgrade -d
but
the upgrade failed with an error message saying packages have unmet dependencies.
sudo apt-get -f install
also failed to fix the errors.
Here is the full error message:
Correcting dependencies... failed.
The following packages have unmet dependencies:
checkbox-converged : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin but it is not installable
gnome-calendar : Depends: gsettings-desktop-schemas (>= 3.21.2) but 3.18.1-1ubuntu1 is installed
gnome-session : Depends: gnome-shell (>= 3.25.91-0ubuntu4~) but it is not installed
Depends: gnome-session-bin (>= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed
Depends: gnome-session-common (= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed
Depends: xwayland but it is not installed
Recommends: fonts-cantarell but it is not installed
Recommends: adwaita-icon-theme-full
Recommends: gnome-themes-extra but it is not installed
gnome-settings-daemon : Depends: libgnome-desktop-3-17 (>= 3.17.92) but it is not installed
Depends: gsettings-desktop-schemas (>= 3.20) but 3.18.1-1ubuntu1 is installed
libc-dev-bin : Depends: libc6 (< 2.24) but 2.27-3ubuntu1 is installed
libc6-dbg : Depends: libc6 (= 2.23-0ubuntu10) but 2.27-3ubuntu1 is installed
libc6-dev : Depends: libc6 (= 2.23-0ubuntu10) but 2.27-3ubuntu1 is installed
libqt5quick5 : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
libunity-webapps0 : Depends: unity-webapps-service but it is not installable
libwayland-egl1-mesa : Depends: libegl1 but it is not installed
qml-module-qtquick-controls : Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
qml-module-qtquick-dialogs : Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
qml-module-qtquick-window2 : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtdeclarative-abi-5-9-5
qml-module-qtwebkit : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtdeclarative-abi-5-9-5
qml-module-ubuntu-test : Depends: qml-module-ubuntu-components but it is not installable
Depends: libubuntugestures5 but it is not installable
qml-module-ubuntu-ui-extras-browser : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not installable
qml-module-ubuntu-web : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not installable
unity-control-center : Depends: libgnome-desktop-3-17 (>= 3.27.90) but it is not installed
Recommends: system-config-printer but it is not installed
Recommends: gnome-control-center-faces but it is not installed
unity-webapps-qml : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
In addition, the GUI got somewhat strange.
What has happened?
apt package-management upgrade dependencies 18.04
|
show 1 more comment
I am using Ubuntu 16.04 LTS and I ran do-release-upgrade -d
but
the upgrade failed with an error message saying packages have unmet dependencies.
sudo apt-get -f install
also failed to fix the errors.
Here is the full error message:
Correcting dependencies... failed.
The following packages have unmet dependencies:
checkbox-converged : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin but it is not installable
gnome-calendar : Depends: gsettings-desktop-schemas (>= 3.21.2) but 3.18.1-1ubuntu1 is installed
gnome-session : Depends: gnome-shell (>= 3.25.91-0ubuntu4~) but it is not installed
Depends: gnome-session-bin (>= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed
Depends: gnome-session-common (= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed
Depends: xwayland but it is not installed
Recommends: fonts-cantarell but it is not installed
Recommends: adwaita-icon-theme-full
Recommends: gnome-themes-extra but it is not installed
gnome-settings-daemon : Depends: libgnome-desktop-3-17 (>= 3.17.92) but it is not installed
Depends: gsettings-desktop-schemas (>= 3.20) but 3.18.1-1ubuntu1 is installed
libc-dev-bin : Depends: libc6 (< 2.24) but 2.27-3ubuntu1 is installed
libc6-dbg : Depends: libc6 (= 2.23-0ubuntu10) but 2.27-3ubuntu1 is installed
libc6-dev : Depends: libc6 (= 2.23-0ubuntu10) but 2.27-3ubuntu1 is installed
libqt5quick5 : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
libunity-webapps0 : Depends: unity-webapps-service but it is not installable
libwayland-egl1-mesa : Depends: libegl1 but it is not installed
qml-module-qtquick-controls : Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
qml-module-qtquick-dialogs : Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
qml-module-qtquick-window2 : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtdeclarative-abi-5-9-5
qml-module-qtwebkit : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtdeclarative-abi-5-9-5
qml-module-ubuntu-test : Depends: qml-module-ubuntu-components but it is not installable
Depends: libubuntugestures5 but it is not installable
qml-module-ubuntu-ui-extras-browser : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not installable
qml-module-ubuntu-web : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not installable
unity-control-center : Depends: libgnome-desktop-3-17 (>= 3.27.90) but it is not installed
Recommends: system-config-printer but it is not installed
Recommends: gnome-control-center-faces but it is not installed
unity-webapps-qml : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
In addition, the GUI got somewhat strange.
What has happened?
apt package-management upgrade dependencies 18.04
What is the output ofsudo apt-get install -f
?
– fosslinux
May 14 '18 at 23:06
@ubashu: sudo apt-get install -f gives almost the same output !
– Oualid
May 15 '18 at 6:18
What happens when you runsudo apt-get update && sudo apt-get upgrade
?
– fosslinux
May 15 '18 at 6:24
The same thing. It does not launch the update but shows me dependencies error!
– Oualid
May 15 '18 at 6:26
How many PPAs do you have in your system?
– N0rbert
May 15 '18 at 7:06
|
show 1 more comment
I am using Ubuntu 16.04 LTS and I ran do-release-upgrade -d
but
the upgrade failed with an error message saying packages have unmet dependencies.
sudo apt-get -f install
also failed to fix the errors.
Here is the full error message:
Correcting dependencies... failed.
The following packages have unmet dependencies:
checkbox-converged : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin but it is not installable
gnome-calendar : Depends: gsettings-desktop-schemas (>= 3.21.2) but 3.18.1-1ubuntu1 is installed
gnome-session : Depends: gnome-shell (>= 3.25.91-0ubuntu4~) but it is not installed
Depends: gnome-session-bin (>= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed
Depends: gnome-session-common (= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed
Depends: xwayland but it is not installed
Recommends: fonts-cantarell but it is not installed
Recommends: adwaita-icon-theme-full
Recommends: gnome-themes-extra but it is not installed
gnome-settings-daemon : Depends: libgnome-desktop-3-17 (>= 3.17.92) but it is not installed
Depends: gsettings-desktop-schemas (>= 3.20) but 3.18.1-1ubuntu1 is installed
libc-dev-bin : Depends: libc6 (< 2.24) but 2.27-3ubuntu1 is installed
libc6-dbg : Depends: libc6 (= 2.23-0ubuntu10) but 2.27-3ubuntu1 is installed
libc6-dev : Depends: libc6 (= 2.23-0ubuntu10) but 2.27-3ubuntu1 is installed
libqt5quick5 : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
libunity-webapps0 : Depends: unity-webapps-service but it is not installable
libwayland-egl1-mesa : Depends: libegl1 but it is not installed
qml-module-qtquick-controls : Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
qml-module-qtquick-dialogs : Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
qml-module-qtquick-window2 : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtdeclarative-abi-5-9-5
qml-module-qtwebkit : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtdeclarative-abi-5-9-5
qml-module-ubuntu-test : Depends: qml-module-ubuntu-components but it is not installable
Depends: libubuntugestures5 but it is not installable
qml-module-ubuntu-ui-extras-browser : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not installable
qml-module-ubuntu-web : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not installable
unity-control-center : Depends: libgnome-desktop-3-17 (>= 3.27.90) but it is not installed
Recommends: system-config-printer but it is not installed
Recommends: gnome-control-center-faces but it is not installed
unity-webapps-qml : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
In addition, the GUI got somewhat strange.
What has happened?
apt package-management upgrade dependencies 18.04
I am using Ubuntu 16.04 LTS and I ran do-release-upgrade -d
but
the upgrade failed with an error message saying packages have unmet dependencies.
sudo apt-get -f install
also failed to fix the errors.
Here is the full error message:
Correcting dependencies... failed.
The following packages have unmet dependencies:
checkbox-converged : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin but it is not installable
gnome-calendar : Depends: gsettings-desktop-schemas (>= 3.21.2) but 3.18.1-1ubuntu1 is installed
gnome-session : Depends: gnome-shell (>= 3.25.91-0ubuntu4~) but it is not installed
Depends: gnome-session-bin (>= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed
Depends: gnome-session-common (= 3.28.1-0ubuntu2) but 3.18.1.2-1ubuntu1.16.04.2 is installed
Depends: xwayland but it is not installed
Recommends: fonts-cantarell but it is not installed
Recommends: adwaita-icon-theme-full
Recommends: gnome-themes-extra but it is not installed
gnome-settings-daemon : Depends: libgnome-desktop-3-17 (>= 3.17.92) but it is not installed
Depends: gsettings-desktop-schemas (>= 3.20) but 3.18.1-1ubuntu1 is installed
libc-dev-bin : Depends: libc6 (< 2.24) but 2.27-3ubuntu1 is installed
libc6-dbg : Depends: libc6 (= 2.23-0ubuntu10) but 2.27-3ubuntu1 is installed
libc6-dev : Depends: libc6 (= 2.23-0ubuntu10) but 2.27-3ubuntu1 is installed
libqt5quick5 : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
libunity-webapps0 : Depends: unity-webapps-service but it is not installable
libwayland-egl1-mesa : Depends: libegl1 but it is not installed
qml-module-qtquick-controls : Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
qml-module-qtquick-dialogs : Depends: libqt5qml5 (>= 5.9.5) but 5.5.1-2ubuntu6 is installed
Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: libqt5gui5 (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtbase-abi-5-9-5
Depends: qtdeclarative-abi-5-9-5
qml-module-qtquick-window2 : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtdeclarative-abi-5-9-5
qml-module-qtwebkit : Depends: libqt5core5a (>= 5.9.0~beta) but 5.5.1+dfsg-16ubuntu7.5 is installed
Depends: qtdeclarative-abi-5-9-5
qml-module-ubuntu-test : Depends: qml-module-ubuntu-components but it is not installable
Depends: libubuntugestures5 but it is not installable
qml-module-ubuntu-ui-extras-browser : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not installable
qml-module-ubuntu-web : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not installable
unity-control-center : Depends: libgnome-desktop-3-17 (>= 3.27.90) but it is not installed
Recommends: system-config-printer but it is not installed
Recommends: gnome-control-center-faces but it is not installed
unity-webapps-qml : Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin but it is not installable or
qtdeclarative5-ubuntu-ui-toolkit-plugin-gles but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
In addition, the GUI got somewhat strange.
What has happened?
apt package-management upgrade dependencies 18.04
apt package-management upgrade dependencies 18.04
edited May 15 '18 at 6:24


fosslinux
2,39521837
2,39521837
asked May 14 '18 at 21:38
OualidOualid
35311
35311
What is the output ofsudo apt-get install -f
?
– fosslinux
May 14 '18 at 23:06
@ubashu: sudo apt-get install -f gives almost the same output !
– Oualid
May 15 '18 at 6:18
What happens when you runsudo apt-get update && sudo apt-get upgrade
?
– fosslinux
May 15 '18 at 6:24
The same thing. It does not launch the update but shows me dependencies error!
– Oualid
May 15 '18 at 6:26
How many PPAs do you have in your system?
– N0rbert
May 15 '18 at 7:06
|
show 1 more comment
What is the output ofsudo apt-get install -f
?
– fosslinux
May 14 '18 at 23:06
@ubashu: sudo apt-get install -f gives almost the same output !
– Oualid
May 15 '18 at 6:18
What happens when you runsudo apt-get update && sudo apt-get upgrade
?
– fosslinux
May 15 '18 at 6:24
The same thing. It does not launch the update but shows me dependencies error!
– Oualid
May 15 '18 at 6:26
How many PPAs do you have in your system?
– N0rbert
May 15 '18 at 7:06
What is the output of
sudo apt-get install -f
?– fosslinux
May 14 '18 at 23:06
What is the output of
sudo apt-get install -f
?– fosslinux
May 14 '18 at 23:06
@ubashu: sudo apt-get install -f gives almost the same output !
– Oualid
May 15 '18 at 6:18
@ubashu: sudo apt-get install -f gives almost the same output !
– Oualid
May 15 '18 at 6:18
What happens when you run
sudo apt-get update && sudo apt-get upgrade
?– fosslinux
May 15 '18 at 6:24
What happens when you run
sudo apt-get update && sudo apt-get upgrade
?– fosslinux
May 15 '18 at 6:24
The same thing. It does not launch the update but shows me dependencies error!
– Oualid
May 15 '18 at 6:26
The same thing. It does not launch the update but shows me dependencies error!
– Oualid
May 15 '18 at 6:26
How many PPAs do you have in your system?
– N0rbert
May 15 '18 at 7:06
How many PPAs do you have in your system?
– N0rbert
May 15 '18 at 7:06
|
show 1 more comment
4 Answers
4
active
oldest
votes
This worked for me:
Open a terminal with:
CTRLALTF1
(enter your user and password)
then
sudo apt install aptitude
next step
sudo aptitude install ubuntu-desktop gdm3
you will be offered options how to fix the incompatibilities, hit a few times N and ENTER until you are suggested with some removal of old packages and installing of updated one.
then give Y and ENTER to a solution that removes old incompatible packages and installs the new ones.
last
sudo reboot
The above worked for me.
Why not a straight forwardsudo apt install ubuntu-desktop gdm3
?
– WinEunuuchs2Unix
Jul 27 '18 at 0:41
@WinEunuuchs2Unix apt will not work it says it needs dependencies but will not install them, like thisDepends: x but it is not going to be installed
– Eduard Florinescu
Jul 27 '18 at 6:51
1
The dependency issues are interesting.
– WinEunuuchs2Unix
Jul 27 '18 at 10:57
add a comment |
Open a terminal using CTRL-ALT-T and type:
update-manager -cd
From here, try to update. If there is an error with an option that says partial upgrade, click it. This will restore the GUI. Reboot, and run the command again. There should be no error, and you can proceed with the upgrade via the GUI.
1
the update manager does not launch anymore, stuck at the starting.
– Oualid
May 15 '18 at 6:21
add a comment |
You seem to have got a number of broken packages, as per the error message E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
. To resolve, look at the file /var/log/dist-upgrade/apt.log
. Locate the packages that are broken and remove them with sudo apt-get remove broken-package
. If there are dependency errors, then try to reinstall the package: sudo apt-get install --reinstall broken-package
.
Now try fixing dependency errors:
sudo apt-get -f install
Reboot and try upgrading again.
it does not work ! file /var/log/dist-ypgrade/apt.log does not even exist! I get the same error message
– Oualid
May 16 '18 at 6:08
Not/var/log/dist-ypgrade/apt.log
,/var/log/dist-upgrade/apt.log
. Does that exist?
– fosslinux
May 16 '18 at 6:46
it's a typo. No, it doesn't exist !
– Oualid
May 16 '18 at 18:11
add a comment |
Same problem here. How do you solve the brocken apt? I cannot install anything. And the gui don't st
New contributor
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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%2f1036287%2fubuntu-18-04-failed-upgrade-from-16-04-lts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
This worked for me:
Open a terminal with:
CTRLALTF1
(enter your user and password)
then
sudo apt install aptitude
next step
sudo aptitude install ubuntu-desktop gdm3
you will be offered options how to fix the incompatibilities, hit a few times N and ENTER until you are suggested with some removal of old packages and installing of updated one.
then give Y and ENTER to a solution that removes old incompatible packages and installs the new ones.
last
sudo reboot
The above worked for me.
Why not a straight forwardsudo apt install ubuntu-desktop gdm3
?
– WinEunuuchs2Unix
Jul 27 '18 at 0:41
@WinEunuuchs2Unix apt will not work it says it needs dependencies but will not install them, like thisDepends: x but it is not going to be installed
– Eduard Florinescu
Jul 27 '18 at 6:51
1
The dependency issues are interesting.
– WinEunuuchs2Unix
Jul 27 '18 at 10:57
add a comment |
This worked for me:
Open a terminal with:
CTRLALTF1
(enter your user and password)
then
sudo apt install aptitude
next step
sudo aptitude install ubuntu-desktop gdm3
you will be offered options how to fix the incompatibilities, hit a few times N and ENTER until you are suggested with some removal of old packages and installing of updated one.
then give Y and ENTER to a solution that removes old incompatible packages and installs the new ones.
last
sudo reboot
The above worked for me.
Why not a straight forwardsudo apt install ubuntu-desktop gdm3
?
– WinEunuuchs2Unix
Jul 27 '18 at 0:41
@WinEunuuchs2Unix apt will not work it says it needs dependencies but will not install them, like thisDepends: x but it is not going to be installed
– Eduard Florinescu
Jul 27 '18 at 6:51
1
The dependency issues are interesting.
– WinEunuuchs2Unix
Jul 27 '18 at 10:57
add a comment |
This worked for me:
Open a terminal with:
CTRLALTF1
(enter your user and password)
then
sudo apt install aptitude
next step
sudo aptitude install ubuntu-desktop gdm3
you will be offered options how to fix the incompatibilities, hit a few times N and ENTER until you are suggested with some removal of old packages and installing of updated one.
then give Y and ENTER to a solution that removes old incompatible packages and installs the new ones.
last
sudo reboot
The above worked for me.
This worked for me:
Open a terminal with:
CTRLALTF1
(enter your user and password)
then
sudo apt install aptitude
next step
sudo aptitude install ubuntu-desktop gdm3
you will be offered options how to fix the incompatibilities, hit a few times N and ENTER until you are suggested with some removal of old packages and installing of updated one.
then give Y and ENTER to a solution that removes old incompatible packages and installs the new ones.
last
sudo reboot
The above worked for me.
edited Jul 26 '18 at 21:44
answered Jul 26 '18 at 21:38


Eduard FlorinescuEduard Florinescu
2,27783042
2,27783042
Why not a straight forwardsudo apt install ubuntu-desktop gdm3
?
– WinEunuuchs2Unix
Jul 27 '18 at 0:41
@WinEunuuchs2Unix apt will not work it says it needs dependencies but will not install them, like thisDepends: x but it is not going to be installed
– Eduard Florinescu
Jul 27 '18 at 6:51
1
The dependency issues are interesting.
– WinEunuuchs2Unix
Jul 27 '18 at 10:57
add a comment |
Why not a straight forwardsudo apt install ubuntu-desktop gdm3
?
– WinEunuuchs2Unix
Jul 27 '18 at 0:41
@WinEunuuchs2Unix apt will not work it says it needs dependencies but will not install them, like thisDepends: x but it is not going to be installed
– Eduard Florinescu
Jul 27 '18 at 6:51
1
The dependency issues are interesting.
– WinEunuuchs2Unix
Jul 27 '18 at 10:57
Why not a straight forward
sudo apt install ubuntu-desktop gdm3
?– WinEunuuchs2Unix
Jul 27 '18 at 0:41
Why not a straight forward
sudo apt install ubuntu-desktop gdm3
?– WinEunuuchs2Unix
Jul 27 '18 at 0:41
@WinEunuuchs2Unix apt will not work it says it needs dependencies but will not install them, like this
Depends: x but it is not going to be installed
– Eduard Florinescu
Jul 27 '18 at 6:51
@WinEunuuchs2Unix apt will not work it says it needs dependencies but will not install them, like this
Depends: x but it is not going to be installed
– Eduard Florinescu
Jul 27 '18 at 6:51
1
1
The dependency issues are interesting.
– WinEunuuchs2Unix
Jul 27 '18 at 10:57
The dependency issues are interesting.
– WinEunuuchs2Unix
Jul 27 '18 at 10:57
add a comment |
Open a terminal using CTRL-ALT-T and type:
update-manager -cd
From here, try to update. If there is an error with an option that says partial upgrade, click it. This will restore the GUI. Reboot, and run the command again. There should be no error, and you can proceed with the upgrade via the GUI.
1
the update manager does not launch anymore, stuck at the starting.
– Oualid
May 15 '18 at 6:21
add a comment |
Open a terminal using CTRL-ALT-T and type:
update-manager -cd
From here, try to update. If there is an error with an option that says partial upgrade, click it. This will restore the GUI. Reboot, and run the command again. There should be no error, and you can proceed with the upgrade via the GUI.
1
the update manager does not launch anymore, stuck at the starting.
– Oualid
May 15 '18 at 6:21
add a comment |
Open a terminal using CTRL-ALT-T and type:
update-manager -cd
From here, try to update. If there is an error with an option that says partial upgrade, click it. This will restore the GUI. Reboot, and run the command again. There should be no error, and you can proceed with the upgrade via the GUI.
Open a terminal using CTRL-ALT-T and type:
update-manager -cd
From here, try to update. If there is an error with an option that says partial upgrade, click it. This will restore the GUI. Reboot, and run the command again. There should be no error, and you can proceed with the upgrade via the GUI.
answered May 14 '18 at 22:17
HolyCowHolyCow
212
212
1
the update manager does not launch anymore, stuck at the starting.
– Oualid
May 15 '18 at 6:21
add a comment |
1
the update manager does not launch anymore, stuck at the starting.
– Oualid
May 15 '18 at 6:21
1
1
the update manager does not launch anymore, stuck at the starting.
– Oualid
May 15 '18 at 6:21
the update manager does not launch anymore, stuck at the starting.
– Oualid
May 15 '18 at 6:21
add a comment |
You seem to have got a number of broken packages, as per the error message E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
. To resolve, look at the file /var/log/dist-upgrade/apt.log
. Locate the packages that are broken and remove them with sudo apt-get remove broken-package
. If there are dependency errors, then try to reinstall the package: sudo apt-get install --reinstall broken-package
.
Now try fixing dependency errors:
sudo apt-get -f install
Reboot and try upgrading again.
it does not work ! file /var/log/dist-ypgrade/apt.log does not even exist! I get the same error message
– Oualid
May 16 '18 at 6:08
Not/var/log/dist-ypgrade/apt.log
,/var/log/dist-upgrade/apt.log
. Does that exist?
– fosslinux
May 16 '18 at 6:46
it's a typo. No, it doesn't exist !
– Oualid
May 16 '18 at 18:11
add a comment |
You seem to have got a number of broken packages, as per the error message E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
. To resolve, look at the file /var/log/dist-upgrade/apt.log
. Locate the packages that are broken and remove them with sudo apt-get remove broken-package
. If there are dependency errors, then try to reinstall the package: sudo apt-get install --reinstall broken-package
.
Now try fixing dependency errors:
sudo apt-get -f install
Reboot and try upgrading again.
it does not work ! file /var/log/dist-ypgrade/apt.log does not even exist! I get the same error message
– Oualid
May 16 '18 at 6:08
Not/var/log/dist-ypgrade/apt.log
,/var/log/dist-upgrade/apt.log
. Does that exist?
– fosslinux
May 16 '18 at 6:46
it's a typo. No, it doesn't exist !
– Oualid
May 16 '18 at 18:11
add a comment |
You seem to have got a number of broken packages, as per the error message E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
. To resolve, look at the file /var/log/dist-upgrade/apt.log
. Locate the packages that are broken and remove them with sudo apt-get remove broken-package
. If there are dependency errors, then try to reinstall the package: sudo apt-get install --reinstall broken-package
.
Now try fixing dependency errors:
sudo apt-get -f install
Reboot and try upgrading again.
You seem to have got a number of broken packages, as per the error message E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
. To resolve, look at the file /var/log/dist-upgrade/apt.log
. Locate the packages that are broken and remove them with sudo apt-get remove broken-package
. If there are dependency errors, then try to reinstall the package: sudo apt-get install --reinstall broken-package
.
Now try fixing dependency errors:
sudo apt-get -f install
Reboot and try upgrading again.
answered May 15 '18 at 6:35


fosslinuxfosslinux
2,39521837
2,39521837
it does not work ! file /var/log/dist-ypgrade/apt.log does not even exist! I get the same error message
– Oualid
May 16 '18 at 6:08
Not/var/log/dist-ypgrade/apt.log
,/var/log/dist-upgrade/apt.log
. Does that exist?
– fosslinux
May 16 '18 at 6:46
it's a typo. No, it doesn't exist !
– Oualid
May 16 '18 at 18:11
add a comment |
it does not work ! file /var/log/dist-ypgrade/apt.log does not even exist! I get the same error message
– Oualid
May 16 '18 at 6:08
Not/var/log/dist-ypgrade/apt.log
,/var/log/dist-upgrade/apt.log
. Does that exist?
– fosslinux
May 16 '18 at 6:46
it's a typo. No, it doesn't exist !
– Oualid
May 16 '18 at 18:11
it does not work ! file /var/log/dist-ypgrade/apt.log does not even exist! I get the same error message
– Oualid
May 16 '18 at 6:08
it does not work ! file /var/log/dist-ypgrade/apt.log does not even exist! I get the same error message
– Oualid
May 16 '18 at 6:08
Not
/var/log/dist-ypgrade/apt.log
, /var/log/dist-upgrade/apt.log
. Does that exist?– fosslinux
May 16 '18 at 6:46
Not
/var/log/dist-ypgrade/apt.log
, /var/log/dist-upgrade/apt.log
. Does that exist?– fosslinux
May 16 '18 at 6:46
it's a typo. No, it doesn't exist !
– Oualid
May 16 '18 at 18:11
it's a typo. No, it doesn't exist !
– Oualid
May 16 '18 at 18:11
add a comment |
Same problem here. How do you solve the brocken apt? I cannot install anything. And the gui don't st
New contributor
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Same problem here. How do you solve the brocken apt? I cannot install anything. And the gui don't st
New contributor
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Same problem here. How do you solve the brocken apt? I cannot install anything. And the gui don't st
New contributor
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Same problem here. How do you solve the brocken apt? I cannot install anything. And the gui don't st
New contributor
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 25 mins ago


BurnerBurner
101
101
New contributor
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Burner is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
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%2f1036287%2fubuntu-18-04-failed-upgrade-from-16-04-lts%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
What is the output of
sudo apt-get install -f
?– fosslinux
May 14 '18 at 23:06
@ubashu: sudo apt-get install -f gives almost the same output !
– Oualid
May 15 '18 at 6:18
What happens when you run
sudo apt-get update && sudo apt-get upgrade
?– fosslinux
May 15 '18 at 6:24
The same thing. It does not launch the update but shows me dependencies error!
– Oualid
May 15 '18 at 6:26
How many PPAs do you have in your system?
– N0rbert
May 15 '18 at 7:06