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
0 votes
0 answers
42 views

Unable to delete any apps on Ubuntu 22.04 [duplicate]

To clean up space on a dual-boot (windows/ubuntu) laptop i tried uninstalling apps from Ubuntu Software, but it shows me this same response "unable to uninstall : no packages to remove" with ...
user avatar
1 vote
0 answers
41 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 ...
user avatar
  • 111
6 votes
3 answers
1k 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-...
user avatar
0 votes
1 answer
33 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 ...
user avatar
  • 141
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 ...
user avatar
  • 101
0 votes
1 answer
88 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.
user avatar
0 votes
0 answers
1k 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, ...
user avatar
  • 1,017
4 votes
1 answer
998 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 ./...
user avatar
  • 141
0 votes
0 answers
78 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 , ...
user avatar
1 vote
0 answers
183 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-* ...
user avatar
0 votes
2 answers
51 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 ...
user avatar
  • 115
1 vote
1 answer
67 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 ...
user avatar
  • 13
1 vote
0 answers
837 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 ...
user avatar
  • 2,614
0 votes
0 answers
32 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 ...
user avatar
0 votes
0 answers
20 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. ...
user avatar
1 vote
2 answers
165 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/(...
user avatar
  • 88
0 votes
2 answers
86 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 ...
user avatar
0 votes
1 answer
213 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 ...
user avatar
  • 115
0 votes
3 answers
3k 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 ...
user avatar
  • 115
0 votes
3 answers
682 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, ...
user avatar
  • 115
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
user avatar
  • 41
19 votes
2 answers
7k 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 ...
user avatar
3 votes
1 answer
488 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 ...
user avatar
  • 115
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 ...
user avatar
  • 2,306
0 votes
0 answers
248 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 ...
user avatar
-1 votes
1 answer
209 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 ...
user avatar
154 votes
3 answers
86k 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 ...
user avatar
  • 1,582
2 votes
1 answer
1k 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 ...
user avatar
-1 votes
2 answers
554 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 ?
user avatar
0 votes
0 answers
503 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 ...
user avatar
2 votes
1 answer
289 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 ...
user avatar
1 vote
1 answer
532 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 ...
user avatar
1 vote
1 answer
416 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 ...
user avatar
1 vote
1 answer
286 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....
user avatar
  • 2,767
2 votes
1 answer
679 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 ...
user avatar
  • 51
-5 votes
1 answer
112 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 ...
user avatar
  • 7,399
0 votes
1 answer
100 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
user avatar
0 votes
0 answers
518 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 ...
user avatar
  • 1,908
1 vote
1 answer
47 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 ...
user avatar
0 votes
2 answers
395 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 ...
user avatar
0 votes
2 answers
646 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 ...
user avatar
  • 287
6 votes
2 answers
5k 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 ...
user avatar
  • 77
0 votes
1 answer
399 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 ...
user avatar
1 vote
1 answer
846 views

What is /usr/bin/parity?

While trying to free some disk-space, I found the following file in my /usr/bin: -rwxr-xr-x 1 root root 29082328 May 17 2017 /usr/bin/parity What is this application? Is it safe to remove it? And ...
user avatar
40 votes
1 answer
130k views

clean, autoclean, and autoremove --- combining them is a good step?

Will it be logical by means of Debian oriented logic to unite the three commands apt-get clean and apt-get autoclean, and apt-get autoremove into one single command that does all of them?
user avatar
0 votes
1 answer
311 views

How to increase size of my root?

The root of my disk is showing 222 MB and rest others are in GBs. See: df -h Filesystem Size Used Avail Use% Mounted on udev 14G 0 14G 0% /dev tmpfs 2.8G 174M ...
user avatar
0 votes
0 answers
601 views

Can I delete contents of temporary folders in Lubuntu 16.04?

I expect that as in Windows, in Lubuntu or in other Ubuntu-based operating systems, many temporary files are created and stored in temporary folders, for example, /tmp and /var/tmp. To free up the ...
user avatar
  • 23
2 votes
1 answer
129 views

How or what can I remove from /boot considering it's almost full? [duplicate]

How can I clean /boot or what can I remove considering it's almost full and I keep getting a message that says there is only 5.1 MB left. Because if I go to disk usage analyzer, like it says to there ...
user avatar
1 vote
3 answers
2k views

How to determine obsolete kernels and remove them to clean up disk space [duplicate]

I want to clean disk space Disk analyzer shows this graph I noticed the repetitive pattern in /lib/modules (I guess old kernel versions) How to determine obsolete kernels? How to remove them safely? ...
user avatar
1 vote
2 answers
483 views

unmet dependencies libgphoto2-port12_2.5.14+201706200750~ubuntu16.04.1_i386.deb

I've got libgphoto2-port12_2.5.14 errors while apt upgrade, and they are not solved with apt -f install. I did not installed anything new, just perform the routinary update, upgrade. I saw other ...
user avatar