Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cleanup]

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

2
votes
1answer
43 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
57 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
32 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
41 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 ...
0
votes
1answer
15 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
0answers
18 views

GtkOrphan - How do I know which package I shall remove?

I've recently installed GtkOrphan to maintain my pc clean & lean and I was wondering which orphaned package shall I remove! Are they all useless or I can do harm to my pc by deleting one of them? ...
0
votes
2answers
95 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
70 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 ...
4
votes
2answers
633 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
62 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
130 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
482 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 ...
0
votes
0answers
24 views

only wallpaper (login disappear) after restart

it is because my /boot is full,so i tried to remove some old linux image from /boot uname -r 4.10.0-27-generic enter image description here enter image description here enter image description ...
0
votes
0answers
18 views

Some question about /boot full [duplicate]

What should I do to fix this problem? Thank you for help
3
votes
1answer
11k 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
46 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
256 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
87 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
477 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
207 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
1k 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?
9
votes
1answer
10k 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
193 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
165 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
546 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
173 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 ...
0
votes
1answer
884 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
134 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::...
3
votes
1answer
96 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
56 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
397 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
54 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 ...
5
votes
3answers
3k 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
113 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
3k 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
8k 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
752 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
83 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 ...
0
votes
2answers
914 views

Can I clean up my Windows from Ubuntu?

I have Ubuntu 14.04 and Windows 8 installed on my system. I was doing a clean up on my friend's USB pen drive, which he said had lots of viruses on it. I have Wine installed on my system, and I ...
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
690 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 ...
32
votes
7answers
243k views

What's the good way to clean up the system (and is Bleachbit safe) on Ubuntu 14.04?

I used Ubuntu 14.04 (Trusty Tahr) for about a year (actually upgraded it from Ubuntu 12.04 (Precise Pangolin)), and during the time I installed some packages, and removed some other packages....
0
votes
1answer
44 views

How to reduce software that is running during idle desktop state, and not needed otherwise?

I see lots of stuff running on my PC that I do not really need. Is there a somewhat systematic way to reduce that? The priority is on geting rid of software that is actually active, or sometimes ...
1
vote
1answer
340 views

How can I clean residual config files with BleachBit app?

I want to clean residual config files with BleachBit like Synaptic Package Manager can do this. Can I achieve it somehow? There's a custom setting in BleachBit which allows to configure a specific ...
2
votes
1answer
1k views

Why is /tmp getting cleaned out in Ubuntu 15.04?

I want to keep files newer than 7 days in /tmp between boots. Prior to 15.04 I did this by setting TMPTIME=7 in /etc/default/rcS. But with 15.04 and the replacement of upstart by systemd, this doesn'...
1
vote
1answer
608 views

Clean up /boot directory

After an update of my Ubuntu I came to the error, "I cannot update since /boot is full". The thing is, that when I compared the results of the two following commands $dpkg --list 'linux-image*', $...
0
votes
1answer
24 views

Removing the gubbins that installing gnome adds

I was troubleshooting issues a while back, and found myself installing the gnome desktop environment instead of the unity one. I've since removed everything I could think of, but when I open a ...
2
votes
3answers
3k views

How to delete temp files created by Archive Manager?

I used Archive Manager to extract files from an archive, but there wasn't enough free disk space. After the process crashed my disk remained full and I am unable to locate and delete what is filling ...
1
vote
0answers
195 views

Kdecache-user taking up lots of space

My computer has started to show signs of a bloated root partition. I checked it out using ncdu and discovered that the directory at /var/tmp/kdecache-user/ has swelled to 1.6 gigs. After doing a ls -...