Uninstalled snapd with core system apps

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
3
down vote

favorite












After installing Ubuntu 18.04 I noticed high bandwidth traffic with the process snapd and since I don't use snap apps I decided to remove snap.



I used this command
$ sudo apt purge snapd ubuntu-core-launcher squashfs-tools



and this is the output



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'ubuntu-core-launcher' is not installed, so not removed
The following packages will be REMOVED:
gnome-software-plugin-snap* snapd* squashfs-tools*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 57.4 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 317306 files and directories currently installed.)
Removing gnome-software-plugin-snap (3.28.1-0ubuntu4) ...
Removing snapd (2.32.5+18.04) ...
Removing squashfs-tools (1:4.3-6) ...
Processing triggers for man-db (2.8.3-2) ...
(Reading database ... 317244 files and directories currently installed.)
Purging configuration files for snapd (2.32.5+18.04) ...
Stopping snap-communitheme-97.mount
Stopping unit snap-communitheme-97.mount
Waiting until unit snap-communitheme-97.mount is stopped [attempt 1]
snap-communitheme-97.mount is stopped.
Removing snap communitheme and revision 97
Removing snap-communitheme-97.mount
Stopping snap-core-4486.mount
Stopping unit snap-core-4486.mount
Waiting until unit snap-core-4486.mount is stopped [attempt 1]
snap-core-4486.mount is stopped.
Removing snap core and revision 4486
Removing snap-core-4486.mount
Stopping snap-gnomex2d3x2d26x2d1604-59.mount
Stopping unit snap-gnomex2d3x2d26x2d1604-59.mount
Waiting until unit snap-gnomex2d3x2d26x2d1604-59.mount is stopped [attempt 1]
snap-gnomex2d3x2d26x2d1604-59.mount is stopped.
Removing snap gnome-3-26-1604 and revision 59
Removing snap-gnomex2d3x2d26x2d1604-59.mount
Stopping snap-gnomex2dcalculator-154.mount
Stopping unit snap-gnomex2dcalculator-154.mount
Waiting until unit snap-gnomex2dcalculator-154.mount is stopped [attempt 1]
snap-gnomex2dcalculator-154.mount is stopped.
Removing snap gnome-calculator and revision 154
Removing snap-gnomex2dcalculator-154.mount
Stopping snap-gnomex2dcharacters-69.mount
Stopping unit snap-gnomex2dcharacters-69.mount
Waiting until unit snap-gnomex2dcharacters-69.mount is stopped [attempt 1]
snap-gnomex2dcharacters-69.mount is stopped.
Removing snap gnome-characters and revision 69
Removing snap-gnomex2dcharacters-69.mount
Stopping snap-gnomex2dlogs-25.mount
Stopping unit snap-gnomex2dlogs-25.mount
Waiting until unit snap-gnomex2dlogs-25.mount is stopped [attempt 1]
snap-gnomex2dlogs-25.mount is stopped.
Removing snap gnome-logs and revision 25
Removing snap-gnomex2dlogs-25.mount
Stopping snap-gnomex2dsystemx2dmonitor-36.mount
Stopping unit snap-gnomex2dsystemx2dmonitor-36.mount
Waiting until unit snap-gnomex2dsystemx2dmonitor-36.mount is stopped [attempt 1]
snap-gnomex2dsystemx2dmonitor-36.mount is stopped.
Removing snap gnome-system-monitor and revision 36
Removing snap-gnomex2dsystemx2dmonitor-36.mount
Stopping snap-spotify-x1.mount
Stopping unit snap-spotify-x1.mount
Waiting until unit snap-spotify-x1.mount is stopped [attempt 1]
snap-spotify-x1.mount is stopped.
Removing snap spotify and revision x1
Removing snap-spotify-x1.mount
Final directory cleanup
Discarding preserved snap namespaces
umount: /run/snapd/ns/vlc.mnt: not mounted.
Removing extra snap-confine apparmor rules
Removing snapd cache
Removing snapd state


I noticed that it removed core system apps. How can I undo the process again to restore snap and those apps again.



thanks in advance







share|improve this question




















  • Why not install the regular .deb versions of those “system apps”? (Spotify might not have a .deb package though.)
    – JanC
    Apr 27 at 16:45










  • That was what I ended doing. Thanks alot @JanC
    – AbdElraouf Sabri
    Apr 27 at 20:07














up vote
3
down vote

favorite












After installing Ubuntu 18.04 I noticed high bandwidth traffic with the process snapd and since I don't use snap apps I decided to remove snap.



I used this command
$ sudo apt purge snapd ubuntu-core-launcher squashfs-tools



and this is the output



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'ubuntu-core-launcher' is not installed, so not removed
The following packages will be REMOVED:
gnome-software-plugin-snap* snapd* squashfs-tools*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 57.4 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 317306 files and directories currently installed.)
Removing gnome-software-plugin-snap (3.28.1-0ubuntu4) ...
Removing snapd (2.32.5+18.04) ...
Removing squashfs-tools (1:4.3-6) ...
Processing triggers for man-db (2.8.3-2) ...
(Reading database ... 317244 files and directories currently installed.)
Purging configuration files for snapd (2.32.5+18.04) ...
Stopping snap-communitheme-97.mount
Stopping unit snap-communitheme-97.mount
Waiting until unit snap-communitheme-97.mount is stopped [attempt 1]
snap-communitheme-97.mount is stopped.
Removing snap communitheme and revision 97
Removing snap-communitheme-97.mount
Stopping snap-core-4486.mount
Stopping unit snap-core-4486.mount
Waiting until unit snap-core-4486.mount is stopped [attempt 1]
snap-core-4486.mount is stopped.
Removing snap core and revision 4486
Removing snap-core-4486.mount
Stopping snap-gnomex2d3x2d26x2d1604-59.mount
Stopping unit snap-gnomex2d3x2d26x2d1604-59.mount
Waiting until unit snap-gnomex2d3x2d26x2d1604-59.mount is stopped [attempt 1]
snap-gnomex2d3x2d26x2d1604-59.mount is stopped.
Removing snap gnome-3-26-1604 and revision 59
Removing snap-gnomex2d3x2d26x2d1604-59.mount
Stopping snap-gnomex2dcalculator-154.mount
Stopping unit snap-gnomex2dcalculator-154.mount
Waiting until unit snap-gnomex2dcalculator-154.mount is stopped [attempt 1]
snap-gnomex2dcalculator-154.mount is stopped.
Removing snap gnome-calculator and revision 154
Removing snap-gnomex2dcalculator-154.mount
Stopping snap-gnomex2dcharacters-69.mount
Stopping unit snap-gnomex2dcharacters-69.mount
Waiting until unit snap-gnomex2dcharacters-69.mount is stopped [attempt 1]
snap-gnomex2dcharacters-69.mount is stopped.
Removing snap gnome-characters and revision 69
Removing snap-gnomex2dcharacters-69.mount
Stopping snap-gnomex2dlogs-25.mount
Stopping unit snap-gnomex2dlogs-25.mount
Waiting until unit snap-gnomex2dlogs-25.mount is stopped [attempt 1]
snap-gnomex2dlogs-25.mount is stopped.
Removing snap gnome-logs and revision 25
Removing snap-gnomex2dlogs-25.mount
Stopping snap-gnomex2dsystemx2dmonitor-36.mount
Stopping unit snap-gnomex2dsystemx2dmonitor-36.mount
Waiting until unit snap-gnomex2dsystemx2dmonitor-36.mount is stopped [attempt 1]
snap-gnomex2dsystemx2dmonitor-36.mount is stopped.
Removing snap gnome-system-monitor and revision 36
Removing snap-gnomex2dsystemx2dmonitor-36.mount
Stopping snap-spotify-x1.mount
Stopping unit snap-spotify-x1.mount
Waiting until unit snap-spotify-x1.mount is stopped [attempt 1]
snap-spotify-x1.mount is stopped.
Removing snap spotify and revision x1
Removing snap-spotify-x1.mount
Final directory cleanup
Discarding preserved snap namespaces
umount: /run/snapd/ns/vlc.mnt: not mounted.
Removing extra snap-confine apparmor rules
Removing snapd cache
Removing snapd state


I noticed that it removed core system apps. How can I undo the process again to restore snap and those apps again.



thanks in advance







share|improve this question




















  • Why not install the regular .deb versions of those “system apps”? (Spotify might not have a .deb package though.)
    – JanC
    Apr 27 at 16:45










  • That was what I ended doing. Thanks alot @JanC
    – AbdElraouf Sabri
    Apr 27 at 20:07












up vote
3
down vote

favorite









up vote
3
down vote

favorite











After installing Ubuntu 18.04 I noticed high bandwidth traffic with the process snapd and since I don't use snap apps I decided to remove snap.



I used this command
$ sudo apt purge snapd ubuntu-core-launcher squashfs-tools



and this is the output



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'ubuntu-core-launcher' is not installed, so not removed
The following packages will be REMOVED:
gnome-software-plugin-snap* snapd* squashfs-tools*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 57.4 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 317306 files and directories currently installed.)
Removing gnome-software-plugin-snap (3.28.1-0ubuntu4) ...
Removing snapd (2.32.5+18.04) ...
Removing squashfs-tools (1:4.3-6) ...
Processing triggers for man-db (2.8.3-2) ...
(Reading database ... 317244 files and directories currently installed.)
Purging configuration files for snapd (2.32.5+18.04) ...
Stopping snap-communitheme-97.mount
Stopping unit snap-communitheme-97.mount
Waiting until unit snap-communitheme-97.mount is stopped [attempt 1]
snap-communitheme-97.mount is stopped.
Removing snap communitheme and revision 97
Removing snap-communitheme-97.mount
Stopping snap-core-4486.mount
Stopping unit snap-core-4486.mount
Waiting until unit snap-core-4486.mount is stopped [attempt 1]
snap-core-4486.mount is stopped.
Removing snap core and revision 4486
Removing snap-core-4486.mount
Stopping snap-gnomex2d3x2d26x2d1604-59.mount
Stopping unit snap-gnomex2d3x2d26x2d1604-59.mount
Waiting until unit snap-gnomex2d3x2d26x2d1604-59.mount is stopped [attempt 1]
snap-gnomex2d3x2d26x2d1604-59.mount is stopped.
Removing snap gnome-3-26-1604 and revision 59
Removing snap-gnomex2d3x2d26x2d1604-59.mount
Stopping snap-gnomex2dcalculator-154.mount
Stopping unit snap-gnomex2dcalculator-154.mount
Waiting until unit snap-gnomex2dcalculator-154.mount is stopped [attempt 1]
snap-gnomex2dcalculator-154.mount is stopped.
Removing snap gnome-calculator and revision 154
Removing snap-gnomex2dcalculator-154.mount
Stopping snap-gnomex2dcharacters-69.mount
Stopping unit snap-gnomex2dcharacters-69.mount
Waiting until unit snap-gnomex2dcharacters-69.mount is stopped [attempt 1]
snap-gnomex2dcharacters-69.mount is stopped.
Removing snap gnome-characters and revision 69
Removing snap-gnomex2dcharacters-69.mount
Stopping snap-gnomex2dlogs-25.mount
Stopping unit snap-gnomex2dlogs-25.mount
Waiting until unit snap-gnomex2dlogs-25.mount is stopped [attempt 1]
snap-gnomex2dlogs-25.mount is stopped.
Removing snap gnome-logs and revision 25
Removing snap-gnomex2dlogs-25.mount
Stopping snap-gnomex2dsystemx2dmonitor-36.mount
Stopping unit snap-gnomex2dsystemx2dmonitor-36.mount
Waiting until unit snap-gnomex2dsystemx2dmonitor-36.mount is stopped [attempt 1]
snap-gnomex2dsystemx2dmonitor-36.mount is stopped.
Removing snap gnome-system-monitor and revision 36
Removing snap-gnomex2dsystemx2dmonitor-36.mount
Stopping snap-spotify-x1.mount
Stopping unit snap-spotify-x1.mount
Waiting until unit snap-spotify-x1.mount is stopped [attempt 1]
snap-spotify-x1.mount is stopped.
Removing snap spotify and revision x1
Removing snap-spotify-x1.mount
Final directory cleanup
Discarding preserved snap namespaces
umount: /run/snapd/ns/vlc.mnt: not mounted.
Removing extra snap-confine apparmor rules
Removing snapd cache
Removing snapd state


I noticed that it removed core system apps. How can I undo the process again to restore snap and those apps again.



thanks in advance







share|improve this question












After installing Ubuntu 18.04 I noticed high bandwidth traffic with the process snapd and since I don't use snap apps I decided to remove snap.



I used this command
$ sudo apt purge snapd ubuntu-core-launcher squashfs-tools



and this is the output



Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'ubuntu-core-launcher' is not installed, so not removed
The following packages will be REMOVED:
gnome-software-plugin-snap* snapd* squashfs-tools*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 57.4 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 317306 files and directories currently installed.)
Removing gnome-software-plugin-snap (3.28.1-0ubuntu4) ...
Removing snapd (2.32.5+18.04) ...
Removing squashfs-tools (1:4.3-6) ...
Processing triggers for man-db (2.8.3-2) ...
(Reading database ... 317244 files and directories currently installed.)
Purging configuration files for snapd (2.32.5+18.04) ...
Stopping snap-communitheme-97.mount
Stopping unit snap-communitheme-97.mount
Waiting until unit snap-communitheme-97.mount is stopped [attempt 1]
snap-communitheme-97.mount is stopped.
Removing snap communitheme and revision 97
Removing snap-communitheme-97.mount
Stopping snap-core-4486.mount
Stopping unit snap-core-4486.mount
Waiting until unit snap-core-4486.mount is stopped [attempt 1]
snap-core-4486.mount is stopped.
Removing snap core and revision 4486
Removing snap-core-4486.mount
Stopping snap-gnomex2d3x2d26x2d1604-59.mount
Stopping unit snap-gnomex2d3x2d26x2d1604-59.mount
Waiting until unit snap-gnomex2d3x2d26x2d1604-59.mount is stopped [attempt 1]
snap-gnomex2d3x2d26x2d1604-59.mount is stopped.
Removing snap gnome-3-26-1604 and revision 59
Removing snap-gnomex2d3x2d26x2d1604-59.mount
Stopping snap-gnomex2dcalculator-154.mount
Stopping unit snap-gnomex2dcalculator-154.mount
Waiting until unit snap-gnomex2dcalculator-154.mount is stopped [attempt 1]
snap-gnomex2dcalculator-154.mount is stopped.
Removing snap gnome-calculator and revision 154
Removing snap-gnomex2dcalculator-154.mount
Stopping snap-gnomex2dcharacters-69.mount
Stopping unit snap-gnomex2dcharacters-69.mount
Waiting until unit snap-gnomex2dcharacters-69.mount is stopped [attempt 1]
snap-gnomex2dcharacters-69.mount is stopped.
Removing snap gnome-characters and revision 69
Removing snap-gnomex2dcharacters-69.mount
Stopping snap-gnomex2dlogs-25.mount
Stopping unit snap-gnomex2dlogs-25.mount
Waiting until unit snap-gnomex2dlogs-25.mount is stopped [attempt 1]
snap-gnomex2dlogs-25.mount is stopped.
Removing snap gnome-logs and revision 25
Removing snap-gnomex2dlogs-25.mount
Stopping snap-gnomex2dsystemx2dmonitor-36.mount
Stopping unit snap-gnomex2dsystemx2dmonitor-36.mount
Waiting until unit snap-gnomex2dsystemx2dmonitor-36.mount is stopped [attempt 1]
snap-gnomex2dsystemx2dmonitor-36.mount is stopped.
Removing snap gnome-system-monitor and revision 36
Removing snap-gnomex2dsystemx2dmonitor-36.mount
Stopping snap-spotify-x1.mount
Stopping unit snap-spotify-x1.mount
Waiting until unit snap-spotify-x1.mount is stopped [attempt 1]
snap-spotify-x1.mount is stopped.
Removing snap spotify and revision x1
Removing snap-spotify-x1.mount
Final directory cleanup
Discarding preserved snap namespaces
umount: /run/snapd/ns/vlc.mnt: not mounted.
Removing extra snap-confine apparmor rules
Removing snapd cache
Removing snapd state


I noticed that it removed core system apps. How can I undo the process again to restore snap and those apps again.



thanks in advance









share|improve this question











share|improve this question




share|improve this question










asked Apr 27 at 16:20









AbdElraouf Sabri

1436




1436











  • Why not install the regular .deb versions of those “system apps”? (Spotify might not have a .deb package though.)
    – JanC
    Apr 27 at 16:45










  • That was what I ended doing. Thanks alot @JanC
    – AbdElraouf Sabri
    Apr 27 at 20:07
















  • Why not install the regular .deb versions of those “system apps”? (Spotify might not have a .deb package though.)
    – JanC
    Apr 27 at 16:45










  • That was what I ended doing. Thanks alot @JanC
    – AbdElraouf Sabri
    Apr 27 at 20:07















Why not install the regular .deb versions of those “system apps”? (Spotify might not have a .deb package though.)
– JanC
Apr 27 at 16:45




Why not install the regular .deb versions of those “system apps”? (Spotify might not have a .deb package though.)
– JanC
Apr 27 at 16:45












That was what I ended doing. Thanks alot @JanC
– AbdElraouf Sabri
Apr 27 at 20:07




That was what I ended doing. Thanks alot @JanC
– AbdElraouf Sabri
Apr 27 at 20:07










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










If you erroneously uninstall core packages on an Ubuntu system it's possible to put the deb packages back simply with one command:-



Note: This presumes you previously installed the stock Ubuntu product, and not one of the other flavours.



sudo apt install ubuntu-desktop^ 


Once snapd is re-installed (which it should be with the above command), you can re-install the snaps which come pre-installed with:-



sudo snap install gnome-calculator
sudo snap install gnome-characters
sudo snap install gnome-logs
sudo snap install gnome-system-monitor


Simply repeat this process, or use the graphical Ubuntu Software for the additional snaps such as communititheme, vlc and others.






share|improve this answer




















    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1028851%2funinstalled-snapd-with-core-system-apps%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    If you erroneously uninstall core packages on an Ubuntu system it's possible to put the deb packages back simply with one command:-



    Note: This presumes you previously installed the stock Ubuntu product, and not one of the other flavours.



    sudo apt install ubuntu-desktop^ 


    Once snapd is re-installed (which it should be with the above command), you can re-install the snaps which come pre-installed with:-



    sudo snap install gnome-calculator
    sudo snap install gnome-characters
    sudo snap install gnome-logs
    sudo snap install gnome-system-monitor


    Simply repeat this process, or use the graphical Ubuntu Software for the additional snaps such as communititheme, vlc and others.






    share|improve this answer
























      up vote
      1
      down vote



      accepted










      If you erroneously uninstall core packages on an Ubuntu system it's possible to put the deb packages back simply with one command:-



      Note: This presumes you previously installed the stock Ubuntu product, and not one of the other flavours.



      sudo apt install ubuntu-desktop^ 


      Once snapd is re-installed (which it should be with the above command), you can re-install the snaps which come pre-installed with:-



      sudo snap install gnome-calculator
      sudo snap install gnome-characters
      sudo snap install gnome-logs
      sudo snap install gnome-system-monitor


      Simply repeat this process, or use the graphical Ubuntu Software for the additional snaps such as communititheme, vlc and others.






      share|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        If you erroneously uninstall core packages on an Ubuntu system it's possible to put the deb packages back simply with one command:-



        Note: This presumes you previously installed the stock Ubuntu product, and not one of the other flavours.



        sudo apt install ubuntu-desktop^ 


        Once snapd is re-installed (which it should be with the above command), you can re-install the snaps which come pre-installed with:-



        sudo snap install gnome-calculator
        sudo snap install gnome-characters
        sudo snap install gnome-logs
        sudo snap install gnome-system-monitor


        Simply repeat this process, or use the graphical Ubuntu Software for the additional snaps such as communititheme, vlc and others.






        share|improve this answer












        If you erroneously uninstall core packages on an Ubuntu system it's possible to put the deb packages back simply with one command:-



        Note: This presumes you previously installed the stock Ubuntu product, and not one of the other flavours.



        sudo apt install ubuntu-desktop^ 


        Once snapd is re-installed (which it should be with the above command), you can re-install the snaps which come pre-installed with:-



        sudo snap install gnome-calculator
        sudo snap install gnome-characters
        sudo snap install gnome-logs
        sudo snap install gnome-system-monitor


        Simply repeat this process, or use the graphical Ubuntu Software for the additional snaps such as communititheme, vlc and others.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 27 at 16:47









        popey

        11.8k74588




        11.8k74588



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028851%2funinstalled-snapd-with-core-system-apps%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491