Stopped Ubuntu UI installation. Need to reverse all changes
I started to install the Ubuntu UI on my server using sudo apt-get install ubuntu-desktop, but decided I didn't want it. I've stopped it via Ctrl+C but how can I reverse any changes that happened on my machine?
server gui
add a comment |
I started to install the Ubuntu UI on my server using sudo apt-get install ubuntu-desktop, but decided I didn't want it. I've stopped it via Ctrl+C but how can I reverse any changes that happened on my machine?
server gui
It's unwise to interrupt the package manager, as a non-graceful termination may leave dpkg's view of the system different from reality. That may cause problems later. Please edit your question to explain exactly which commands you used to "install the Ubuntu UI." If you were following directions, a link to those directions would be helpful.
– user535733
Jan 16 at 1:20
Not really anything else to add, other than the command I used. I was installing the desktop, decided I didn't want to use it, cancelled it, and now I need to reverse those changes. I understand I more than likely made a boo-boo. Question updated with the command used. Can you help?
– jDave1984
Jan 16 at 1:25
add a comment |
I started to install the Ubuntu UI on my server using sudo apt-get install ubuntu-desktop, but decided I didn't want it. I've stopped it via Ctrl+C but how can I reverse any changes that happened on my machine?
server gui
I started to install the Ubuntu UI on my server using sudo apt-get install ubuntu-desktop, but decided I didn't want it. I've stopped it via Ctrl+C but how can I reverse any changes that happened on my machine?
server gui
server gui
edited Jan 16 at 7:26
mature
1,8731724
1,8731724
asked Jan 16 at 1:15
jDave1984jDave1984
1034
1034
It's unwise to interrupt the package manager, as a non-graceful termination may leave dpkg's view of the system different from reality. That may cause problems later. Please edit your question to explain exactly which commands you used to "install the Ubuntu UI." If you were following directions, a link to those directions would be helpful.
– user535733
Jan 16 at 1:20
Not really anything else to add, other than the command I used. I was installing the desktop, decided I didn't want to use it, cancelled it, and now I need to reverse those changes. I understand I more than likely made a boo-boo. Question updated with the command used. Can you help?
– jDave1984
Jan 16 at 1:25
add a comment |
It's unwise to interrupt the package manager, as a non-graceful termination may leave dpkg's view of the system different from reality. That may cause problems later. Please edit your question to explain exactly which commands you used to "install the Ubuntu UI." If you were following directions, a link to those directions would be helpful.
– user535733
Jan 16 at 1:20
Not really anything else to add, other than the command I used. I was installing the desktop, decided I didn't want to use it, cancelled it, and now I need to reverse those changes. I understand I more than likely made a boo-boo. Question updated with the command used. Can you help?
– jDave1984
Jan 16 at 1:25
It's unwise to interrupt the package manager, as a non-graceful termination may leave dpkg's view of the system different from reality. That may cause problems later. Please edit your question to explain exactly which commands you used to "install the Ubuntu UI." If you were following directions, a link to those directions would be helpful.
– user535733
Jan 16 at 1:20
It's unwise to interrupt the package manager, as a non-graceful termination may leave dpkg's view of the system different from reality. That may cause problems later. Please edit your question to explain exactly which commands you used to "install the Ubuntu UI." If you were following directions, a link to those directions would be helpful.
– user535733
Jan 16 at 1:20
Not really anything else to add, other than the command I used. I was installing the desktop, decided I didn't want to use it, cancelled it, and now I need to reverse those changes. I understand I more than likely made a boo-boo. Question updated with the command used. Can you help?
– jDave1984
Jan 16 at 1:25
Not really anything else to add, other than the command I used. I was installing the desktop, decided I didn't want to use it, cancelled it, and now I need to reverse those changes. I understand I more than likely made a boo-boo. Question updated with the command used. Can you help?
– jDave1984
Jan 16 at 1:25
add a comment |
1 Answer
1
active
oldest
votes
Reverse the install with:
sudo apt-get remove ubuntu-desktop
sudo apt-get autoremove --purge
Check /var/log/apt/term.log for the complete list of packages that were installed during your session. All should be removed by the autoremove command.
Some of those packages may have left setting files in /etc. An ordinary 'remove' won't remove those, hence the '--purge'.
Note: In Ubuntu 16.04 and newer, you can use apt in place of apt-get for these commands. Since your original command used apt-get, the fix uses the same commands merely to prevent confusion.
Note for future readers: 'Purge' is NOT a magic 'force' command. 'remove' cannot remove files in /etc, 'purge' can. That's the ONLY difference.
Much obliged sir!
– jDave1984
Jan 16 at 1:29
Just some update on this (and a forewarning to ubuntu newbies like myself): Don't ever cancel the installation ofubuntu-desktop. After a reboot after making these fixes, I was stuck at the login screen and couldn't move or type anything. Wound up having to do a new fresh install of Ubuntu Server
– jDave1984
Jan 16 at 14:02
1
Well, how about we change that to: Don't ever interrupt a package manager, period. Wait for it to complete, then reverse the action.
– user535733
Jan 16 at 15:36
Well that works as well. Productive hours down the drain for me!
– jDave1984
Jan 16 at 21:05
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%2f1110106%2fstopped-ubuntu-ui-installation-need-to-reverse-all-changes%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
Reverse the install with:
sudo apt-get remove ubuntu-desktop
sudo apt-get autoremove --purge
Check /var/log/apt/term.log for the complete list of packages that were installed during your session. All should be removed by the autoremove command.
Some of those packages may have left setting files in /etc. An ordinary 'remove' won't remove those, hence the '--purge'.
Note: In Ubuntu 16.04 and newer, you can use apt in place of apt-get for these commands. Since your original command used apt-get, the fix uses the same commands merely to prevent confusion.
Note for future readers: 'Purge' is NOT a magic 'force' command. 'remove' cannot remove files in /etc, 'purge' can. That's the ONLY difference.
Much obliged sir!
– jDave1984
Jan 16 at 1:29
Just some update on this (and a forewarning to ubuntu newbies like myself): Don't ever cancel the installation ofubuntu-desktop. After a reboot after making these fixes, I was stuck at the login screen and couldn't move or type anything. Wound up having to do a new fresh install of Ubuntu Server
– jDave1984
Jan 16 at 14:02
1
Well, how about we change that to: Don't ever interrupt a package manager, period. Wait for it to complete, then reverse the action.
– user535733
Jan 16 at 15:36
Well that works as well. Productive hours down the drain for me!
– jDave1984
Jan 16 at 21:05
add a comment |
Reverse the install with:
sudo apt-get remove ubuntu-desktop
sudo apt-get autoremove --purge
Check /var/log/apt/term.log for the complete list of packages that were installed during your session. All should be removed by the autoremove command.
Some of those packages may have left setting files in /etc. An ordinary 'remove' won't remove those, hence the '--purge'.
Note: In Ubuntu 16.04 and newer, you can use apt in place of apt-get for these commands. Since your original command used apt-get, the fix uses the same commands merely to prevent confusion.
Note for future readers: 'Purge' is NOT a magic 'force' command. 'remove' cannot remove files in /etc, 'purge' can. That's the ONLY difference.
Much obliged sir!
– jDave1984
Jan 16 at 1:29
Just some update on this (and a forewarning to ubuntu newbies like myself): Don't ever cancel the installation ofubuntu-desktop. After a reboot after making these fixes, I was stuck at the login screen and couldn't move or type anything. Wound up having to do a new fresh install of Ubuntu Server
– jDave1984
Jan 16 at 14:02
1
Well, how about we change that to: Don't ever interrupt a package manager, period. Wait for it to complete, then reverse the action.
– user535733
Jan 16 at 15:36
Well that works as well. Productive hours down the drain for me!
– jDave1984
Jan 16 at 21:05
add a comment |
Reverse the install with:
sudo apt-get remove ubuntu-desktop
sudo apt-get autoremove --purge
Check /var/log/apt/term.log for the complete list of packages that were installed during your session. All should be removed by the autoremove command.
Some of those packages may have left setting files in /etc. An ordinary 'remove' won't remove those, hence the '--purge'.
Note: In Ubuntu 16.04 and newer, you can use apt in place of apt-get for these commands. Since your original command used apt-get, the fix uses the same commands merely to prevent confusion.
Note for future readers: 'Purge' is NOT a magic 'force' command. 'remove' cannot remove files in /etc, 'purge' can. That's the ONLY difference.
Reverse the install with:
sudo apt-get remove ubuntu-desktop
sudo apt-get autoremove --purge
Check /var/log/apt/term.log for the complete list of packages that were installed during your session. All should be removed by the autoremove command.
Some of those packages may have left setting files in /etc. An ordinary 'remove' won't remove those, hence the '--purge'.
Note: In Ubuntu 16.04 and newer, you can use apt in place of apt-get for these commands. Since your original command used apt-get, the fix uses the same commands merely to prevent confusion.
Note for future readers: 'Purge' is NOT a magic 'force' command. 'remove' cannot remove files in /etc, 'purge' can. That's the ONLY difference.
edited Jan 16 at 1:29
answered Jan 16 at 1:27
user535733user535733
8,36022943
8,36022943
Much obliged sir!
– jDave1984
Jan 16 at 1:29
Just some update on this (and a forewarning to ubuntu newbies like myself): Don't ever cancel the installation ofubuntu-desktop. After a reboot after making these fixes, I was stuck at the login screen and couldn't move or type anything. Wound up having to do a new fresh install of Ubuntu Server
– jDave1984
Jan 16 at 14:02
1
Well, how about we change that to: Don't ever interrupt a package manager, period. Wait for it to complete, then reverse the action.
– user535733
Jan 16 at 15:36
Well that works as well. Productive hours down the drain for me!
– jDave1984
Jan 16 at 21:05
add a comment |
Much obliged sir!
– jDave1984
Jan 16 at 1:29
Just some update on this (and a forewarning to ubuntu newbies like myself): Don't ever cancel the installation ofubuntu-desktop. After a reboot after making these fixes, I was stuck at the login screen and couldn't move or type anything. Wound up having to do a new fresh install of Ubuntu Server
– jDave1984
Jan 16 at 14:02
1
Well, how about we change that to: Don't ever interrupt a package manager, period. Wait for it to complete, then reverse the action.
– user535733
Jan 16 at 15:36
Well that works as well. Productive hours down the drain for me!
– jDave1984
Jan 16 at 21:05
Much obliged sir!
– jDave1984
Jan 16 at 1:29
Much obliged sir!
– jDave1984
Jan 16 at 1:29
Just some update on this (and a forewarning to ubuntu newbies like myself): Don't ever cancel the installation of
ubuntu-desktop. After a reboot after making these fixes, I was stuck at the login screen and couldn't move or type anything. Wound up having to do a new fresh install of Ubuntu Server– jDave1984
Jan 16 at 14:02
Just some update on this (and a forewarning to ubuntu newbies like myself): Don't ever cancel the installation of
ubuntu-desktop. After a reboot after making these fixes, I was stuck at the login screen and couldn't move or type anything. Wound up having to do a new fresh install of Ubuntu Server– jDave1984
Jan 16 at 14:02
1
1
Well, how about we change that to: Don't ever interrupt a package manager, period. Wait for it to complete, then reverse the action.
– user535733
Jan 16 at 15:36
Well, how about we change that to: Don't ever interrupt a package manager, period. Wait for it to complete, then reverse the action.
– user535733
Jan 16 at 15:36
Well that works as well. Productive hours down the drain for me!
– jDave1984
Jan 16 at 21:05
Well that works as well. Productive hours down the drain for me!
– jDave1984
Jan 16 at 21:05
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%2f1110106%2fstopped-ubuntu-ui-installation-need-to-reverse-all-changes%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
It's unwise to interrupt the package manager, as a non-graceful termination may leave dpkg's view of the system different from reality. That may cause problems later. Please edit your question to explain exactly which commands you used to "install the Ubuntu UI." If you were following directions, a link to those directions would be helpful.
– user535733
Jan 16 at 1:20
Not really anything else to add, other than the command I used. I was installing the desktop, decided I didn't want to use it, cancelled it, and now I need to reverse those changes. I understand I more than likely made a boo-boo. Question updated with the command used. Can you help?
– jDave1984
Jan 16 at 1:25