Ubuntu Installation :: Can I Delete Old / Usr Files?
Jul 21, 2010
I have recently done a clean install of Ubuntu 10.04 [and it is all going very nicely unlike some others] on my dual boot Dell Dimension 5100.After seeing some advice about advanced partitioning I decided to expand my partition table during the 10.04 install process from swap, / and /home (where I keep My Documents) to swap, /, /home, /var, /tmp and /usr, all of which was achieved without problem.I am now getting "Low Disk Space" messages on my home partition (488 MB remaining!!!) I have emptied the trash and cleaned up any obviously large but surplus files. (I did find two that concern me but they aren't HUGE and I am unsure of what they do: file-meta.db and file-index.db in /home/john/.cache/tracker/ which are 290 MB and 108 MB respectively, last modified five months ago and something to do with SQLite3.)
Anyway, am I right in saying that my new /var, /tmp and particularly /usr partitions now contain some of what was previously held on / and /home, leaving old files that can be removed? If so, what is now surplus and how do I delete it safely? I had a bit of a dig but, as the properties in Nautilus of, for example, /usr do not indicate what partition it is on, I can't safely tell what is current and what is old.
I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.
the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB
I'm setting up a single stand-alone computer in my classroom to be used by my students at the school where I teach. I've installed Ubuntu, as it smashes Windoze out of the court every time.
I want the students to be able to log on to the computer using just one account: 'Student'. This computer will be attached to a printer so they can type up and print oOfice documents,web pages, etc. However, once they log out, I want any files they might have saved (such as a word processed document) to be removed/deleted from the account so that when another pupil logs on to the 'Student' account they start with a clean slate. I suppose you could call it a sort-of Kiosk account.
How can I get Ubuntu to clear any saved documents on log-out?
I am using Ubuntu 10.04. I have a small HDD and I noticed that the weight of the folder .Trash-0/lost+found on my computer was of 2.6 gb.
I tried to delete the files in this folder, but it seems impossible. Even with using sudo I can't delete them because I am not authorized to do so. The files in the folder are quite weird, there are folder and files named like this: #7614692, #7613635 etc. Their groups and their users are also quite weird: -1933023744, 1624453254... Even from a live cd it is not possible to delete them. Also the date of the files is ****ed up, example:
- last access: "mar. 13 juil. 1943 15:26:11 CEST" - last modification: "mer. 12 oct. 2022 15:59:51 CEST"
I recently upgraded this partition from ext3 to ext4, so I would guess that it comes from here. But I don't know if these files where there before or not.
I've got a computer with numerous media files,(video and music). It's a dual boot Windows XP , Ubuntu 10.04 install.I use it as a media box for my large LCD TV. I was wondering if anyone else has deleted the Windows system files and program folders and left the media files. Edit grub deleting Windows XP and leaving the large number of media files alone. I don't want to spend the time to backup and transfer, as it would be to time consuming. I don't want to bork the system just to clean out XP.
how do i delete any single one of the files in my whole disk that say something along the lines to "chromium os"? i.m just wondering because i tried to install through virtual box and failed, and probably have three different partitions consisting of nothing.
To make a long story short, I have an mp3 player, when it is connected to ubuntu I have RW access. However when i delete it, it goes to Trash, where some-why I can not delete it so i run out of space. So my question why, and how do i get ride of these files?
Although I've been using Ubuntu for a while, I haven't really done any scripting thus far,but now find myself needing to do (what I thought was) some fairly simple stuff.However, despite much searching, I have been unable to find a solution to my problem.I need a script which will delete all of the files/folders from a directory except those I specify. From the command line, I am able to use:rm -r !(constant|system|*.msh|)
which works fine, deleting everything except the 'constant' and 'system' folders (and everything in them) and any files ending in '.msh'. I have tried to put this into a script file, specifying to use the bash shell, and escaping the required characters, but I just get the message 'cannot find !(constant|*.msh)'.I have read that using the find command may be a better way of doing it, but so far I have not been able to make the command work in the way which I need (I have easily been able to delete ALL the files/folders in the directory!).
I've been organizing my pictures (i.e. deleting the bad ones). However, I've recently got hold of those same pictures on a higher resolution and I'd like to delete the same pictures of the higher resolutions.This means that I'll have two folders, High Res and Low Res. I'd go through all files in the High Res folder and I'll check if there's a file with the same name in the Low Res folder. If there is, the file in the High Res folder will be kept. Otherwise, I'll delete it.So I wanted some quick way to delete PIC1.JPG, PIC3.JPG and PIC4.JPG from the High Res folder.
Update manager was giving me an error that there was not enough free space on /boot. I went in and deleted anything that had 31-14 or 31-15 in the file name (I'm running 2.6.31-19-generic). Will this cause any trouble? I didn't look at my grub file, but does it care if you remove things that it's pointing to that won't get used anyway?
I have Ubuntu 10.04 x64 installed and i've mounted both NTFS partitions. The first contains my Windows partition (with Windows 7 on it) and the second contains my backup partition. They are two seperate hardisks.Now, i'm trying to delete files on my Windows partition, but the ability to 'Cut' is greyed out and there's no 'delete' option at all.This only occurs on my Windows partition, but my Backup partition can execute and option; whether delete, cut etc.I assume this is either a settings in Ubuntu or something about Windows that prevents alternate O/S's from messing around with it.So how can I go about enabling the feature to delete from my Windows partition? The idea is to erase all Windows related stuff so I can reinstall Windows.
I've got a 250gig removable drive mounted on my Lucid 10.04. I'm having a problem deleting files. It starts by saying "Cannot move file to trash. Do you want to delete immediately". So I click Delete. Then I get "Error removing file: Input/output error"...and my files stay. This is the last grasp Windows has on my household :/ This is on my media machine and I'm converting it this weekend...but I'm trying to backup some stuff on this drive which is still on the old Windows partitioning and formatting. I just need to delete some larger files to make room for my new backups
I went to remove FreeNX from my Ubuntu Lucid machine so I opened the terminal and typed: "sudo aptitude purge freenx" The command worked but when I used the command "locate nx" I got a list of FreeNX associated files (as well as nxserver files). Is it possible to completely remove a program from my system? I thought "sudo aptitude purge" would do it but apparently not. My only concern is that in the future if I decide to install something related to this program it will interfere and cause problems.
I'm trying to delete files on a USB disk. If I try using terminal using rm, because files are write only. I can't change this, even as root using chmod or unmount mount. When I use fdisk I still can't reformat, either as superuser or root. I get the following :
Disk /dev/sdh: 16.1 GB, 16064184320 bytes 7 heads, 37 sectors/track, 121140 cylinders Units = cylinders of 259 * 512 = 132608 bytes
So I was installing the latest Blackberry plug-in for Eclipse on my Aspire One with it's massive EIGHT gigabyte SSD, and I ran out of space. The plug-in failed to complete installation, but it kept all of the files on my computer - I went from 2 free gigs to 400 free MB. Eclipse doesn't recognize the plug-in so there is no option to uninstall it. This is just my travel computer, so it's no big deal to reinstall Ubuntu and get all the updates again, but I'd rather not do that.