Questions tagged [cleanup]
Questions related removing temporary, unnecessary, redundant files or libraries; also the questions for cleaning the cache, logs, etc.
166 questions
0
votes
0
answers
28
views
Just reformatted the flash drive i used to install linux to zeroes, but how do I get it to work on windows as a normal flash drive now?
Basically, I orginically downloaded the linux installer onto a 32G flashdrive, which I used to put linux on my computer. I now need to use it to store some files from my windows computer, but when I ...
0
votes
0
answers
192
views
Could not install packages due to an OSError: [Errno 28] No space left on device
I tried to install yolo but it returns an error saying I do not have enough disk space(ERROR: Could not install packages due to an OS Error: [Errno 28]
command used for install:
pip install ...
-2
votes
1
answer
151
views
How to clean all junk files from ubuntu
There is something really bad in Debian based systems and that is you can't easily remove junks like removed apps, apps cache, browser cache and other junks.
The most used command to clean junk is : ...
0
votes
0
answers
69
views
How can i remove cookies files from the var/tmp folder?
I am new to Ubuntu , I have a VPS server that uses Ubuntu and WHM to manage Cpanel reseller accounts , i have some php services stopped due to var/tmp folder is full.
I ran du command to check the ...
-1
votes
1
answer
455
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 ...
0
votes
0
answers
421
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?
1
vote
1
answer
112
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 ...
1
vote
1
answer
1k
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 ...
1
vote
1
answer
143
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 ...
0
votes
0
answers
481
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.
...
0
votes
0
answers
445
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 ...
0
votes
0
answers
125
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/...
3
votes
1
answer
4k
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 ...
0
votes
0
answers
288
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) - ...
0
votes
0
answers
75
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:...
0
votes
1
answer
640
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 ...
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 ...
1
vote
0
answers
174
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 ...
12
votes
3
answers
13k
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-...
0
votes
1
answer
62
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 ...
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 ...
-1
votes
1
answer
548
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.
1
vote
1
answer
5k
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, ...
5
votes
1
answer
5k
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 ./...
0
votes
0
answers
192
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 , ...
1
vote
0
answers
659
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-* ...
0
votes
1
answer
68
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 ...
1
vote
1
answer
185
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 ...
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 ...
0
votes
0
answers
35
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 ...
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.
...
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/(...
0
votes
2
answers
221
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 ...
0
votes
1
answer
340
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 ...
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 ...
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, ...
1
vote
1
answer
5k
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
29
votes
2
answers
16k
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 ...
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 ...
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 ...
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 ...
-1
votes
1
answer
489
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 ...
324
votes
5
answers
231k
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 ...
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 ...
-1
votes
2
answers
1k
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 ?
0
votes
0
answers
722
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 ...
2
votes
1
answer
895
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 ...
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 ...
1
vote
1
answer
423
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 ...
1
vote
1
answer
645
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....