Announcement

Collapse
No announcement yet.

Need elp freeing up some space

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need elp freeing up some space

    I was trying to upgrade to 18.04, but it told me I need to free up space in my / partition. Partition is 21GB, about 17GB is used. Unfortunately Muon won't open, so I can't really get in and look at what I can/should install.

    Also, I used ncdu to look at the directories, apparently /kdecache-jason is 1.1GB. What is in here, can I remove it? How do I?

    Thanks!
    Last edited by jpc2769; Aug 26, 2018, 02:21 PM.

    #2
    https://userbase.kde.org/KDE_System_...tration/Caches

    In a Konsole you can use

    du -sch * | sort -h in /var/tmp/

    to find out what app or process may be creating the largest files.

    To delete the kdecache files you can use the method described here:

    https://ubuntuforums.org/showthread.php?t=2020676

    but use sddm in stead of kdm.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      To have 17GB in use is rather unusual, around 12GB is usual.
      There is a chance .deb files have after installation not been removed, run a terminal (Konsole) and execute this command to remove any no longer needed files:
      Code:
      sudo apt autoremove

      Comment


        #4
        You can clean the apt package cache (/var/cache/apt/archives/), which tends to grow quite large with the default apt settings:
        Code:
        sudo apt clean

        Comment


          #5
          If the default apt settings are used, no debs are stored in /var/cache/apt/archives once the pacakge has been installed successfully: https://askubuntu.com/a/926850

          But the default apt-get settings will keep debs in /var/cache/apt/archives until they're removed with sudo apt-get clean.

          At least that's my experience.
          Kubuntu 20.04

          Comment


            #6
            Originally posted by chimak111 View Post
            If the default apt settings are used, no debs are stored in /var/cache/apt/archives once the pacakge has been installed successfully: https://askubuntu.com/a/926850

            But the default apt-get settings will keep debs in /var/cache/apt/archives until they're removed with sudo apt-get clean.

            At least that's my experience.
            That's a good catch.

            I use aptitude for package management, and that still caches packages by default, so I wasn't aware "apt" doesn't behave like "apt-get" in this regard (by default).

            Do you know how the graphical package managers behave? (I don't have any of those installed).

            Comment


              #7
              another possible place to save some room in the / partition is by deleting old kernels. They take up a lot of space. I usually delete all but the last two installed.
              there are several programs that can clean the drive for you.
              Ubuntu-cleaner works well and cleans unwanted kernels also. get it here : https://www.omgubuntu.co.uk/2016/12/...er-janitor-app
              and Stacer also works well found here: https://github.com/oguzhaninan/Stacer/releases download the appimage and make it executable and run it without installing.
              good luck.
              Dave Kubuntu 20.04 Registered Linux User #462608

              Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

              Comment


                #8
                Originally posted by kubicle View Post
                Do you know how the graphical package managers behave? (I don't have any of those installed).
                Just checked: installing via Muon retains debs in /var/cache/apt/archives. I don't know if there's some preference or setting to change that. I really don't use Muon and so there might be ...

                I don't have Discover on this system but I'll try later on in a VM.

                Edit: Discover retains debs as well.
                Last edited by chimak111; Sep 15, 2018, 09:51 AM.
                Kubuntu 20.04

                Comment


                  #9
                  And baobab is a utility to graphically display what is using space on a partition, it is fashioned after the Windows utility sequoiaview.

                  Comment


                    #10
                    But there's qdirstat which is just great!
                    Kubuntu 20.04

                    Comment

                    Working...
                    X