Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [cleanup]

Questions related removing temporary, unnecessary, redundant files or libraries; also the questions for cleaning the cache, logs, etc.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
63 views

find parts of /dev/sda3 consuming space

'df -h' tells me that /dev/sda3 has only 8 percent space free of total 120GB. So I want to free some space in it. My main directory where I put my stuff is only 4gb(part of /dev/sda3). So it means ...
Mandroid's user avatar
  • 133
0 votes
0 answers
64 views

cleaning up /dev/sda3

I keep getting message 'Low diskspace on Filesystem root' and it mentions '/dev/sda3'. So I do 'df -h', which tells: How do I clean up sda3 to make more space available?
Mandroid's user avatar
  • 133
1 vote
1 answer
98 views

snap only lists 2 versions per app, but did NOT delete the actual snaps

My /var is full because the old snaps are not being deleted. As a stopgap, can I just manually delete all but the two most recent snaps? How can I make the old snaps be automatically deleted like I ...
Carey Tyler Schug's user avatar
1 vote
1 answer
603 views

How to fully uninstall and clear Brave-Browser data?

Slowly but surely as I use Brave on Ubuntu it looses all functionality, first I can't log into my finances, then I can't download .pdfs, etc... . I keep clearing all data, purging off apps installed ...
natS's user avatar
  • 13
1 vote
1 answer
85 views

How to clear all my storage and get my GB back

So I want to know how to clear all my storage on my computer and have all 16GB of free space. The storage SSD I'm using is a 16GB Kingston SSD that is installed in my Chromebook. The reason I'm doing ...
Sonic E Gaming's user avatar
0 votes
0 answers
347 views

Ubuntu root partition is full, system won't boot, and "sudo apt-get clean" isn't working

I set up an Ubuntu rig to host Plex and act as a file server on my local network. I'm new to Ubuntu, so I followed directions and things seemed to be running fine--no problems with boot up or memory. ...
Forgot the Jacobian's user avatar
0 votes
0 answers
315 views

/var keeps filling up

I am on Ubuntu 22.04. My /dev/sda2 partition keeps running out of space. I delete files here and there as temporary fixes. I have deleted journal files and did auto-remove as well, but now these ...
Max's user avatar
  • 19
0 votes
0 answers
117 views

How much of my root space (19.5GB) should be used up in an installation? [duplicate]

I have a root partition and a home partition, on a dual boot system (windows) I currently have 4.9GB available in my Ubuntu Desktop 22.04.2 LTS system after limiting my journal/ folder (Big /var/log/...
user3041883's user avatar
2 votes
1 answer
2k views

Disk on root is almost full but can't find which files take the space

Ubuntu 22.04 Desktop If I do df -h i can see that my root folder is almost full And when I list the files in the folder, seems to me they are all system needed files. I tried to look a bit into it ...
Giorgia Sambrotta's user avatar
0 votes
0 answers
238 views

Preparing my work laptop for returning

I want to give my work laptop back to my employer. It has Ubuntu installed on it. I would like to create a new admin user with a new password and delete my current user (the only one the system has) - ...
Patricia's user avatar
  • 101
0 votes
0 answers
67 views

How to cleanup multiple failed installations?

I tried a few different times to install Blender in my WSL Ubuntu 20.04 terminal. I think I finally found a good write-up with instructions for a tar.xz file, but when I try to launch it I get anerror:...
domattioli's user avatar
0 votes
1 answer
447 views

18.04 leftover files in snaps

Something's eating up file system space so I'm trying to clean up. I was also considering upgrading to 22.04.1 but I'm not sure having looked through this site. Right now I don't have enough free ...
Rosalyn's user avatar
  • 21
0 votes
1 answer
35 views

GUI App from REPO to deleting config files of removed packages

Im looking for a gtk gui application from official repository to deleting config files of removed packages. BleachBit dont offer this. Ubuntu-Cleaner is perfect but isnt in official repositories. I ...
user avatar
1 vote
0 answers
162 views

22.04 load-from-cold using much less space than 20.04 to 22.04 upgrade

I need to determine which approach is going to result in a smaller final disk size, so I tested two scenarios... Install 20.04 server and immediately upgrade to 22.04 -- this used 5.5 GB, even after ...
Wisteso's user avatar
  • 111
11 votes
3 answers
10k views

Why does Ubuntu not clean out old kernel module files (in /lib/modules) when old kernels are removed?

Today, I noticed that the directory /lib/modules still have all the directories from previously installed kernels, thus: $ ls /lib/modules 5.4.0-29-generic 5.4.0-31-generic 5.4.0-33-generic 5.4.0-...
Artur Meinild's user avatar
0 votes
1 answer
58 views

What to do in the situation of "installed some dependencies to build a package and the build still failed, now left with dependencies I didn't need"?

What to do in the situation of "installed some dependencies to build a package and the build still failed, now left with dependencies I didn't need"? This seems as if it could eventually ...
mavavilj's user avatar
  • 211
0 votes
0 answers
33 views

How can I identify and purge unecessary files [duplicate]

I'm running UBUNTU 20.04.3 LTS (Focal Fossa). I have a disk usage issue and I cant find the location or identify what is consuming my disk space using the Disk Usage Analyzer. I know that it's located ...
Stratus's user avatar
  • 101
-1 votes
1 answer
404 views

How to clean up or format a disk after shred command is executed

I have a system with a mounted drive, we have ran the shred command and now the disk is showing as 100% used. How do I clean up or format the disk now? So that it can be reused.
psr1604's user avatar
1 vote
1 answer
4k views

ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

i tried to use pip3 install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html but got Installing collected packages: torch, ...
sam's user avatar
  • 1,343
5 votes
1 answer
4k views

Why 600MB of "BrowserMetrics"?

In ./chromium/common/chromium/BrowserMetrics, I find over 100 files named like BrowserMetrics-60B60603-3D7326.pma, collectively over 600MB, all dating to the past ~5 days. [That's in addition to ./...
user66081's user avatar
  • 151
0 votes
0 answers
172 views

kfd kfd: kgd2kfd_probe failed

I am new to Ubuntu . I just cleaned up the computer and when I wanted to start it , it won’t start .when I checked , one of the rams was not in his place, but it’s not working .Takes forever to boot , ...
Sergiu Necea's user avatar
1 vote
0 answers
574 views

How to clean up files in a systemd privatetmp tmp folder

I am supporting a Web App that writes files to /tmp. This runs in Nginx via systemd with the default nginx systemd config file that has PrivateTmp=yes set. That makes a private systemd-private-* ...
Kevin Runde's user avatar
0 votes
2 answers
65 views

How to check the files of an installed application?

I installed FileZilla, gnome-sushi, Cisco anyconnect etc, but my Downloads folder is full of Folders of those applications, I want to start a cleanup process by removing folders in the Downloads ...
G Dube's user avatar
  • 185
1 vote
1 answer
156 views

Clear Ubuntu for another person

I have been working on a laptop which has Ubuntu 18.04 for OS for couple of years. During that period, I have been also using that same laptop for personal things, had installed Viber and couple of ...
nikname's user avatar
  • 13
1 vote
0 answers
1k views

What is /home/me/.local/share/flatpak and how to remove it?

I have a pretty small Ubuntu 20 LTE install. It is essential that it is small, however fully functional with LibreOffice, Thunderbird, etc. I have noticed recently that /home/me/.local/share/flatpak ...
Pawel Debski's user avatar
  • 2,724
0 votes
0 answers
34 views

bring back to life old workstation - make workstation great again?

at work I inherited an old workstation that runs 18.04. It has been used for a couple of years by different people which have installed/uninstalled/modified god knows what and the result is a ...
Panos Sapou's user avatar
0 votes
0 answers
21 views

Where is the place of other 40 MB that git installation used on my hdd? [duplicate]

After I did: apt install git terminal said that: After this operation, 43.3 MB of additional disk space will be used. I agreed. After installation I did: df -h and saw that 43.3 MB was really used. ...
Nikolay Furletov's user avatar
2 votes
2 answers
1k views

Check if a package is required or whether it can be safely deleted

I can get the list of packages using command: dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | grep -v deinstall | awk '{printf "%.3f MB \t %s\n", $2/(...
Hacke's user avatar
  • 398
0 votes
2 answers
191 views

What is the purpose of .desktop files?

I installed Ardour 6.0.2 on Ubuntu 20.04. It apparently created and placed a ardourxxxxx.desktop file on my desktop. What's the deal with these files? Is it a shortcut? Should/Can I erase it? The ...
Francisco Cota's user avatar
0 votes
1 answer
319 views

Ubuntu Gnome: No such file or directory [remove steam]

The intention was to remove steam 1st: sudo apt-get remove steam [if steam was installed via terminal] 2nd: rm -rf ~/.local/share/Steam && rm -rf ~/.steam [remove steam dependencies] But I ...
G Dube's user avatar
  • 185
1 vote
3 answers
6k views

How can I remove the Epic Games Launcher Icon from the Application Menu?

I recently installed Lutris --> Fortnite --> Epic Games --> and selected create shortcut to Applications Menu as opposed to Desktop for the Epic Games Launcher, Fornite worked briefly but the ...
G Dube's user avatar
  • 185
1 vote
3 answers
2k views

How can I remove the Additional Drivers application present within the Applications Menu

My machine requires no additional drivers, however I cannot remove this application [additional drivers] neither did I install it. I tried the following: Removing it via the Ubuntu Software center, ...
G Dube's user avatar
  • 185
1 vote
1 answer
4k views

Ubuntu get stuck at "/dev/sda6: clean" message with some number on bootup. Help!

I executed sudo apt autoremove in cmd and restarted the pc. After that it gets stuck at this message /dev/sda6: clean, 509610/4071424" files, 7994479/16284672 blocks
Vasen's user avatar
  • 41
29 votes
2 answers
15k views

Reset MS Teams completely

I used Microsoft Teams (Linux) few months back with an organizational account. Now I want to use it with some other account. I'm currently in logged out state since I don't have access to the org ...
kl_divergence's user avatar
3 votes
1 answer
1k views

How do I remove all Files and Folders from a Wine installation [Battle.net]

I installed Battle.net using Wine, the Icon for Battle.net appeared in the Ubuntu Applications Menu. I ran the application, however the GUI interface looked corrupted and incompatible. I used the Wine ...
G Dube's user avatar
  • 185
0 votes
1 answer
2k views

Clean unneeded folders under /usr/share/doc/

I would like to clean unneeded folders under /usr/share/doc/. I found info on that folder here https://coding-bootcamps.com/linux/filesystem/usr.html I deleted the tor folder since I no longer have ...
fixit7's user avatar
  • 3,137
0 votes
0 answers
1k views

How to remove data files from uninstalled applications?

I am searching for a maintenance tool that cleans up left overs, including in /home, from uninstalled applications based on the history of my uninstalls. These leftover files can be small and ...
Christians's user avatar
-1 votes
1 answer
425 views

File system is getting full quickly. Most of the directories all full [duplicate]

I was trying to clean my ubuntu system and saw that most of the system directories look 100% full. Is this normal? How can I clean these (if unnecessary) files? this how file system looks in the ...
Saurabh9's user avatar
305 votes
4 answers
202k views

Big /var/log/journal?

I don't understand why the /var/log/journal/ folder is so big. For example, by executing the command systemctl -f, i see the fill. If I click on an email on Thunderbird, it generates dozens of lines ...
Bristow's user avatar
  • 3,092
2 votes
1 answer
2k views

Ubuntu remote server: automatically clean up temporary files

I have the following issue: I am using a remote Ubuntu server to run applications / scripts which generate many temp files. They are deleted only when I reboot the system which is not convenient. I ...
Berti1989's user avatar
-1 votes
2 answers
795 views

Install Stacer cleaner?

Does anyone knows the easy way to install Stacer cleaner ? It has great interface as CCleaner and everything. Any special way to install packages ?
Christian Bearsly Clark's user avatar
0 votes
0 answers
669 views

/dev/sda1: clean, xxxxx files, xxxxx blocks

I wanted to install Crossover application by following guidelines from linuxhelp.com and once I got an error I ran apt-get -f install. Then I shut it down and when I wanted to run on the came up and I ...
Satar.619's user avatar
2 votes
1 answer
761 views

Why are removed kernels still listed under dpkg?

I removed several old kernels using sudo apt-get purge, but they are still listed when I run dpkg --list 'linux-image-*'. I can't figure out how to get rid of them. Any help would be greatly ...
Batchicken's user avatar
1 vote
1 answer
1k views

How to free the memory occupied by a particular process?

I was load testing my selenium with chromedriver and geckodriver, and tried to open 100 browser instances. The system crashed for sometime and then it became alright. But the memory occupied by the ...
Prasanth Ganesan's user avatar
1 vote
1 answer
422 views

Trouble updating to 19.04

I have been trying to update to 19.04 (from 18.10) today. When I run "sudo do-release-upgrade", it aborts after calculating disk space changes with this error: "The upgrade has aborted. The upgrade ...
idontknowwhatimdoing's user avatar
1 vote
1 answer
548 views

How to use bleachbit to clean other mounted drives and specific folders?

I use bleachbit to clean (deep scan) my home directory: bleachbit -c --preset But I want to use bleachbit to clean my other mounted drives like /media/device1 and specific folders /home/eka/dir/dir1....
Eka's user avatar
  • 2,977
2 votes
1 answer
964 views

apt-get clean does not clean

I have ubuntu 18.04, trying to upgrade to 18.10 but disk only has 2,8GB free. I see I have 398MB in var/lib/apt/lists which seems really too much. I ran sudo apt-get clean but it does literally ...
chiarac's user avatar
  • 51
-5 votes
1 answer
114 views

Why does the Ubuntu Software Center use Python 2?

The Ubuntu Software Center is described as, Utility for browsing, installing, and removing software Ubuntu Software Center lets you browse and install thousands of free and paid applications ...
Evan Carroll's user avatar
  • 7,534
0 votes
1 answer
210 views

Refresh Ubuntu 18.4 [duplicate]

I want to Uninstall everything from my system except the OS itself. In fact I want to factory reset my system. Current version I am using is 18.4
Hannan Naseem's user avatar
1 vote
0 answers
1k views

Remove braille and assistive technology packages

I don't need braille packages on my system. So I did: sudo apt purge brltty brltty-x11 libbrlapi0.6 python3-brlapi xbrlapi However I just discovered there is also liblouis-data. There are probably ...
lonix's user avatar
  • 2,468