Questions tagged [cleanup]
Questions related removing temporary, unnecessary, redundant files or libraries; also the questions for cleaning the cache, logs, etc.
157
questions
0
votes
0
answers
41
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
48
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
57
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/...
1
vote
1
answer
264
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
106
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
47
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
166
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
33
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
110
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 ...
9
votes
3
answers
6k
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
45
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
31
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
200
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.
0
votes
0
answers
3k
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, ...
4
votes
1
answer
2k
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
126
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
413
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
2
answers
63
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
107
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
33
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.
...
1
vote
2
answers
573
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
131
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
270
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
5k
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
1k
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
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
26
votes
2
answers
12k
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
850
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
1k
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
554
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
325
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 ...
257
votes
4
answers
147k
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
653
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
615
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
541
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
913
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
417
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
401
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....
2
votes
1
answer
830
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 ...
-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 ...
0
votes
1
answer
164
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
0
votes
0
answers
918
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 ...
1
vote
1
answer
59
views
How to wipe and repartition dualboot and reinstall Ubuntu
Right now on my Dell XPS 15 I have dual boot setup with windows 10 and Ubuntu 18.04. What's the easiest way to completely wipe everything (getting rid of any partitions) and reinstall a clean version ...
0
votes
2
answers
412
views
Boot Disk Full: Server boots and works fine however i cannot uprade or remove old kernels [duplicate]
Greetings and salutations
Question: I'm new to Linux and want to clean up my first ubuntu server which currently hosting a wordpress website, however have encounter error as I didn't clean up as I ...
0
votes
2
answers
854
views
Cleaning up the whole trace of one's activity on ubuntu
I am working on an ubuntu 16.04 LTS,
The computer I am working on is temporarily in my possession, given to me by my employer. So at some point I have to give it back.
What exactly should I consider ...
7
votes
2
answers
6k
views
Why should I regularly run 'apt-get update' and similar commands? [duplicate]
I am completely new to Ubuntu. A friend recommended me to frequently run the following commands:
sudo apt-get upgrade
sudo apt-get update
sudo apt-get autoremove
sudo apt-get autoclean
He said that ...
0
votes
1
answer
477
views
Ubuntu very slow after deleting old kernel images and cleanup
Yesterday the partition where I have my SO got full so I typed this command: dpkg --get-selections|grep 'linux-image*'|awk '{print $1}'|egrep -v "linux-image-$(uname -r)|linux-image-generic" |while ...