Stopped Ubuntu UI installation. Need to reverse all changes












0















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?










share|improve this question

























  • 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
















0















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?










share|improve this question

























  • 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














0












0








0








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • 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










1 Answer
1






active

oldest

votes


















1














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.






share|improve this answer


























  • 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








  • 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











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


}
});














draft saved

draft discarded


















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









1














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.






share|improve this answer


























  • 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








  • 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
















1














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.






share|improve this answer


























  • 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








  • 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














1












1








1







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.






share|improve this answer















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.







share|improve this answer














share|improve this answer



share|improve this answer








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





    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











  • 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





    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


















draft saved

draft discarded




















































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%2f1110106%2fstopped-ubuntu-ui-installation-need-to-reverse-all-changes%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

Questions related to Moebius Transform of Characteristic Function of the Primes

List of scandals in India

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?