Results 1 to 7 of 7

Thread: Cleaning after upgrade

  1. #1
    Join Date
    Apr 2007
    Location
    Algarve/Portugal
    Beans
    362
    Distro
    Lubuntu

    Cleaning after upgrade

    Hi

    I just upgrade my 10.04 Netbook Remix to 10.10 Netbook Edition and is missing 500mb on my 4gb SSD... is there any way to be some TMP files from de upgrade? how can i delete them?

    THX

  2. #2
    Join Date
    Aug 2006
    Beans
    13,354
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Cleaning after upgrade

    I think
    Code:
    sudo apt-get clean

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Cleaning after upgrade

    Try running this to see where the most data on your drive is:

    Code:
    du -h --max-depth=1 / 2> /dev/null
    Note: the 2> /dev/null is there to get rid of the "permission denied" messages when it tries to work thru /proc.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #4
    Join Date
    Apr 2007
    Location
    Algarve/Portugal
    Beans
    362
    Distro
    Lubuntu

    Re: Cleaning after upgrade

    32K /media
    4,0K /selinux
    11M /etc
    6,5M /bin
    0 /proc
    69M /opt
    124K /tmp
    4,0K /root
    134M /lib
    504K /dev
    119M /home
    4,0K /mnt
    22M /boot
    4,0K /cdrom
    4,0K /srv
    0 /sys
    317M /var
    6,2M /sbin
    2,1G /usr
    16K /lost+found
    2,8G /
    317M /var is this normal???

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Cleaning after upgrade

    It's probably yer package cache.

    Code:
    sudo apt-get autoremove
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Apr 2007
    Location
    Algarve/Portugal
    Beans
    362
    Distro
    Lubuntu

    Re: Cleaning after upgrade

    still 317M /var after "sudo apt-get autoremove"...

  7. #7
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Cleaning after upgrade

    Then that's the best you can do. /var stores the package cache (more specifically /var/cache/apt/archives/). If you want to delete the debs there, there shouldn't be any problems outside of having to download them again if they are needed.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •