why are there two snap folders for chromium?

rubo77

I upgraded my Ubuntu to 19.10 where chromium was relocated into a snap image. Now there are two folders with exactly the same size:

$ du -shc /snap/chromium/*
574M    /snap/chromium/920
574M    /snap/chromium/937
0       /snap/chromium/current
1,2G    total

snap only lists the 937:

$ snap list chromium
Name      Version       Rev  Tracking  Publisher   Notes
chromium  78.0.3904.97  937  stable    canonical✓  -

How can I safely remove the old one? (Or are those hardlinked anyway, so I wouldn't gain any diskspace?)

Alvin Liang
  1. Use snap list --all to list all versions including old ones. Old versions will be listed as "disabled"
  2. You can use snap remove chromium --revision=920 to remove the old one.
  3. You could use the following script to remove all old snaps.

    #!/bin/bash
    # Removes old revisions of snaps
    # CLOSE ALL SNAPS BEFORE RUNNING THIS
    set -eu
    
    LANG=C snap list --all | awk '/disabled/{print $1, $3}' |
        while read snapname revision; do
            snap remove "$snapname" --revision="$revision"
        done
    

Or, just ignore it since snap will only keep the 3 most recent versions.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Why apt package chromium-browser installs snap package instead?

From Dev

How to install Chromium without snap?

From Dev

Using VS Code with Chromium Snap

From Dev

How to install Chromium without snap?

From Dev

Snap Chromium randomly flushing cache

From Dev

Snap Chromium browser and profile problems

From Dev

How to disable Guest in Chromium SNAP

From Dev

Why does select on input with value fire two events in chromium?

From Dev

Why are the two versions of Chromium and VLC available in Ubuntu software of different sizes?

From Dev

Snap Chromium Experiencing Font Issues On Ubuntu

From Dev

"Aw, Snap!" Chrome Web Store (Chromium)

From Dev

Chromium snap conversion: Command line options

From Dev

How to sandbox Chromium that's installed via SNAP?

From Dev

Get Chromium On Ubuntu 20.04 WITHOUT SNAP!

From Dev

Snap Chromium Experiencing Font Issues On Ubuntu

From Dev

Why does Glassfish have two 'glassfish' folders and duplicate directories?

From Dev

snap imported wrong chromium profile - lost tabs, extensions

From Dev

How to remove snap completely without losing the Chromium browser?

From Dev

How to remove snap completely without losing the Chromium browser?

From Dev

Aw snap Chromium error even after clearing cache Ubuntu

From Dev

chromium browser: "Aw, snap" when too many windows/tabs are open

From Dev

Chrome/Chromium crashes ("Aw, snap!", segfault): "Resource temporarily unavailable"

From Dev

snap imported wrong chromium profile - lost tabs, extensions

From Dev

Latest Chromium >= 78.0.3904.87 - Ubuntu 16.04 LTS Snap or Apt or something else?

From Dev

How Do I Migrate a Chromium Snap Between Machines?

From Dev

How to get the snap-based chromium to access a separately mounted filesystem?

From Dev

Why is Ubuntu moving to Snap packages?

From Dev

Why are all snap processes hanging?

From Dev

Binary diff of two folders

Related Related

  1. 1

    Why apt package chromium-browser installs snap package instead?

  2. 2

    How to install Chromium without snap?

  3. 3

    Using VS Code with Chromium Snap

  4. 4

    How to install Chromium without snap?

  5. 5

    Snap Chromium randomly flushing cache

  6. 6

    Snap Chromium browser and profile problems

  7. 7

    How to disable Guest in Chromium SNAP

  8. 8

    Why does select on input with value fire two events in chromium?

  9. 9

    Why are the two versions of Chromium and VLC available in Ubuntu software of different sizes?

  10. 10

    Snap Chromium Experiencing Font Issues On Ubuntu

  11. 11

    "Aw, Snap!" Chrome Web Store (Chromium)

  12. 12

    Chromium snap conversion: Command line options

  13. 13

    How to sandbox Chromium that's installed via SNAP?

  14. 14

    Get Chromium On Ubuntu 20.04 WITHOUT SNAP!

  15. 15

    Snap Chromium Experiencing Font Issues On Ubuntu

  16. 16

    Why does Glassfish have two 'glassfish' folders and duplicate directories?

  17. 17

    snap imported wrong chromium profile - lost tabs, extensions

  18. 18

    How to remove snap completely without losing the Chromium browser?

  19. 19

    How to remove snap completely without losing the Chromium browser?

  20. 20

    Aw snap Chromium error even after clearing cache Ubuntu

  21. 21

    chromium browser: "Aw, snap" when too many windows/tabs are open

  22. 22

    Chrome/Chromium crashes ("Aw, snap!", segfault): "Resource temporarily unavailable"

  23. 23

    snap imported wrong chromium profile - lost tabs, extensions

  24. 24

    Latest Chromium >= 78.0.3904.87 - Ubuntu 16.04 LTS Snap or Apt or something else?

  25. 25

    How Do I Migrate a Chromium Snap Between Machines?

  26. 26

    How to get the snap-based chromium to access a separately mounted filesystem?

  27. 27

    Why is Ubuntu moving to Snap packages?

  28. 28

    Why are all snap processes hanging?

  29. 29

    Binary diff of two folders

HotTag

Archive