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
0answers
42 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
1answer
31 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 ...
2
votes
1answer
55 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 ...
0
votes
0answers
14 views

Problem with clean php session files

There is virtual machine with Ubuntu (for Moodle) Every day at almost the same time this machine is locked. In logs: -Starting clean php session filed -Started clean php session files .... And ...
0
votes
0answers
15 views

Cleanup hplip-3.20.3.run default directory after install [duplicate]

In order to setup an Hp laserjet m14-m17 printer, I ran hplip-3.20.3.run script from the ~/Downloads folder and almost kept the default values during the installation process. After the installation ...
0
votes
0answers
27 views

Webserver is unreachable during cleaning /tmp

I added a scheduled task to clean up temp files in /tmp folder according to the answer. sudo find /tmp -type f -atime +1 -delete But when the process of cleaning is going for about 5 minutes, the ...
-1
votes
2answers
208 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
0answers
134 views

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

I wanted to install Crossover application by following guid lines from linuxhelp.com and once i got an error i runed apt-get -f install then I shut it down and when i wanted to run on the came up ...
0
votes
1answer
42 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
1answer
106 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
1answer
321 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
1answer
103 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
1answer
277 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
1answer
86 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
1answer
51 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
0answers
182 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
1answer
34 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
2answers
366 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
2answers
149 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 ...
6
votes
2answers
2k 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
1answer
220 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 ...
0
votes
0answers
352 views

Want to remove a failed software install [duplicate]

I tried installing some software but failed and I received this error message. Now I would like to remove it and try reinstalling. I heard that there is a command called "clean" that accomplishes this ...
1
vote
1answer
769 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 ...
18
votes
1answer
61k 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?
0
votes
1answer
206 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 ...
0
votes
0answers
512 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 ...
2
votes
1answer
111 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 ...
1
vote
3answers
864 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? ...
1
vote
2answers
393 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 ...
1
vote
1answer
2k views

System cleanup (Lubuntu 16.04) [duplicate]

I've just done an upgrade of my lubuntu. I see for example that I have in the system old linux kernels. How can I clean and tidy my OS?
11
votes
1answer
14k views

Can I delete /var/tmp/mkinitramfs-* files?

I notice that my /var/tmp folder has occupied by 9.3GB space on my Ubuntu 16.04.2. Particularly, there are a bunch of mkinitramfs_* folders taken most of the space in the tmp folder. I looked into ...
-2
votes
1answer
423 views

How to clean Linux and get it back to its original state? [duplicate]

Ok, first of all, the question above might be worded wrong so please forgive me if this is the case. So for clarification let me explain; In the process of troubleshooting something, one tries ...
1
vote
1answer
259 views

Best ways to manipulate system logs

I want to manipulate logs. So far, for me the best way to clear system logs is: truncate -s 0 /var/log/*log I'm searching for the best ways to: 1 - Do the above periodically. I have already try ...
-2
votes
1answer
953 views

Clean system after 2 upgrades and update

I have power mac G5. After many attempts to install some reliable OS I was successful after following steps: Install Lubuntu 12 for PowerPC Upgrade to Lubuntu 14 Upgrade to Lubuntu 16 Partial Update (...
0
votes
1answer
479 views

Remove /EFI/Ubuntu & NVRAM after dual boot cleanup

After removing the Ubuntu partitions from my earlier Ubuntu & Windows 8.1 dual boot from my Asus UX-305FA laptop I now still can find the Ubuntu options in the boot menu. I was told that to solve ...
1
vote
2answers
2k views

What exactly is /lib/modules/4.4.0-XX-generic/vdso/.build-id

I did a rootkit search with chkrootkit and it came up with this strange set of files: /usr/lib/debug/.build-id /lib/modules/4.4.0-51-generic/vdso/.build-id /lib/modules/4.4.0-47-generic/vdso/....
-1
votes
1answer
148 views

Undo automatic apt-get clean [duplicate]

Researching ways to keep my system slim I came across this post: How can I configure apt-get to clean automatically after every install Following the suggestion I did: sudo sh -c "echo 'DSELECT::...
2
votes
1answer
157 views

How to remove everything from free hard disk space permanently and make it unrecoverable

I recently installed Ubuntu on my Windows 7 machine and I have used a few tools in the past that recover data from SSD even after everything has been erased. I was wondering if there is a way to clean ...
0
votes
0answers
107 views

What can be deleted to free up storage in SDA?

My SDA is reaching 90%. Can I safety delete files from /tmp and /var/cache/apt/archives folders based on date, as long as they are not current? I also tried to remove old Linux Images using both ...
3
votes
1answer
428 views

Cannot clean up the /boot drive [duplicate]

I am trying to clean up my /boot drive but I feel like I'm in a vicious circle. What I have tried so far is this: $ df -h /dev/xvda1 236M 230M 0 100% /boot $ ...
1
vote
1answer
74 views

Trying to keep my Linux fresh

Is this effective? Is there any danger? sudo apt-get update && sudo apt-get dist-upgrade And then sudo apt-get clean && sudo apt-get autoclean && sudo apt-get autoremove ...
7
votes
3answers
6k views

Remove unused fonts

How can I get rid of fonts I'll never use, for locales I'll never need? Ubuntu's Font Viewer comes with tons of fonts for every locale imaginable - Chinese, Korean, Japanese, Arabic, Urdu, a bunch of ...
1
vote
0answers
149 views

Bleachbit for Ubuntu is not detecting installed software and not deleting System cache

BleachBit is not listing all of the software I have installed that needs to be cleaned such as Google Chrome, Firefox, Flash etc.. Also, it is not removing System cache files or .bash_history even ...
0
votes
1answer
4k views

Clean out repository indexes on 16.04

How do i clear out my repo indexes completely, start from scratch etc. I have a lot of bad or old indexes that I'd like to clean up W: Failed to fetch http://archive.linux.duke.edu/ubuntu/dists/...
3
votes
2answers
12k views

Error “problem unlinking” in apt-get clean

There's a problem whenever I try to use sudo apt-get clean: :~$ sudo apt-get clean W: Problem unlinking the file apt-fast - Clean (21: Is a directory) :~$ apt-fast clean W: Problem unlinking the file ...
-10
votes
1answer
1k views

Which commands in terminal clean drive space no apt-get clean type commands work. won't download in Software Center nor update! not CCleaner [closed]

Can you give EXACT terminal commands that work WITHOUT regurgitive mere basics that don't work such as Sudo Apt-get clean/autoclean. Is it Wily defect or what? I got Linux to be simple not to become a ...
-1
votes
1answer
99 views

How do I clean up the mess after an installation aborts?

I'm sure it's happened to everyone some time.... I was installing something with Ubuntu Software Center, a lot downloaded, but it crapped out half way through the installation with errors to the ...
3
votes
2answers
3k views

How do I make space on /boot?

How do I free up space on /boot? ls /boot/ abi-4.2.0-16-generic memtest86+.bin abi-4.2.0-19-generic memtest86+.elf abi-4.2.0-22-generic memtest86+_multiboot.bin ...
1
vote
1answer
2k views

Package for tmpwatch

I have a server application which runs on redhat and SuSE. It should run on ubuntu servers, too. The application uses the executable tmpwatch There seems to be no package for it in ubuntu. And I ...
3
votes
1answer
735 views

boot full and cannot clean

I reviewed the "Can't clean a full /boot because of unmet dependencies" and it cleared the boot to about 43% used on boot. Then I ran sudo apt-get autoremove and it put all of the linux-images back ...