General :: Startup Script - Delete Downloaded Archives (Clean Up)
May 29, 2010
I'm looking to make a script that will do the following;
yum update -y
cd /home
wget [URL]
sh latest
(install various scripts like ConfigServer series, ClamAV)
edit settings in files
delete any downloaded archives (clean up)
reboot/delete self
View 5 Replies
ADVERTISEMENT
Aug 4, 2010
There is this directory with a lot of .deb files in it. /var/cache/apt/archives
Can i delete all these files in that directory? is it safe? They are temporary files right?
View 5 Replies
View Related
May 23, 2010
My /var/cache/apt/archives directory has almost 9000 items and is over 12 GB big. All it contains is a bunch of .deb files. Do I need this file or can I delete it to save hard drive space?
View 2 Replies
View Related
Jan 12, 2011
I really want to free up disk spaces in my ubuntu, so i look up disk analyzer then i saw /var/cache/apt/archives take about 1.2GB space from my disk. can i deleted those packages to free up disk spaces? the packages there is a *.deb files, when i click on some them, it open ubuntu software center. an the ubuntu software center describe the newer upgrade is installed.
View 5 Replies
View Related
Jan 12, 2010
I've found a website [URL] that I've downloaded Basilisk II [URL] and SheepShaver [URL] from, I converted both inton deb archive using the command sudo alien, but while they both successfully converted and installed, and show up in the Applications menu, only Basilisk II launches. When I click on the SheepShaver icon, nothing happens. I had this problem with another SheepShaver RPM I downloaded elsewhere. I really want to use SheepShaver to run Mac OS 9 on my laptop, is there something I can do to get it to run?
View 7 Replies
View Related
Dec 6, 2010
First how can I clean install Ubuntu 10.10? I am currently using Windows 7 and want to clean install Ubuntu 10.10.
Secondly, I have Apple iPod Touch 4th generation 32GB model. So how can I install iTunes on Ubuntu??
installing Ubuntu. I want to completely delete my windows data and want to clean install Ubuntu 10.10
View 9 Replies
View Related
Jan 1, 2010
A couple of months ago I decided to use the wubi installer to install ubuntu on my comp in a dual boot configuration. Yesterday, I clean installed my windows drive with windows 7.I have my windows install on drive C: and my wubi install in Drive D: ( they are on completely different hard disks ), so the ubuntu virtual disks are still intact and the wubildr.mbr is still there.
The bootloader screen at startup doesn't appear at all! I tried to manually boot into the D: hard drive but come up with a error 17 grub loading error, which was because the grub loader doesn't recognize the file system on the drive (ntfs). is there a way to somehow recover the wubi installation?
EDIT: I did some research on the net, apparently if I backup up the root.disk file, erase everything else on the drive, install wubi again and overwrite the root.disk file with the backed up one I should be able to restore my previous ubuntu installation! However, I don't want try something until I'm certain that it would work.
View 3 Replies
View Related
May 20, 2010
I would like to delete some files stored in the personal directory, say .adobe, .macromedia, .xsession-errors, on every start-up or shutting down. I can do it with cron but I would like to learn different (simpler) options. The thing is, I haven't been able to input the proper terms in a search engine. Note that these files must exist in their default location during the session. This is, I don't want to make them links to /dev/null or move them to /tmp.
View 8 Replies
View Related
Nov 3, 2010
I want to tar -zxvf several dozen .tar.gz archives. I know how only to tar -zxvf one archive at a time. If possible, I would like to tar -zxvf all the archives in one command so I don't have to type "tar -zxvf [filename]" several dozen times. What's the syntax? I looked at the man tar page, but couldn't find it.
View 3 Replies
View Related
Apr 23, 2011
I have a large number of zip-archives which I would like to extract and then delete, keeping only the extracted files. The files are located in a number of directories and I issued the following command, hoping that it would solve my problem (which it didn't):
Code:find . -name "*.zip" -execdir unzip '{}' ; -deleteWhat happened was that find continued to extract the files as intended, but then it deletednot only the zip-archives but also the newly extracted files.it only affected a portion of the files that I had already backed up.I don't have enough space on my hard drive to extract all the files without simultaneously removing any data and I don't have the energy to go through all the directories one by one manually. Surely there must be a better way. Is there a way to fix the code snippet above so that it works as I intended or is there a better way of doing this?
View 4 Replies
View Related
Jul 20, 2010
How can I group files and create archives accordingly? I have 10,000 files in a folder (no sub-folders) and I want to create 10 zip or tar.gz archives. This means every archive has 1,000 files. How can I do this in Linux?
View 1 Replies
View Related
Mar 28, 2011
Someone has sent me a zip file containing some fonts. I extracted it using unzip under Linux, and there are empty files in the top level of the archive, and some files similarly named but beginning with ._ in a __MACOSX subdirectory.
I understand that the __MACOSX contents should be metadata, and normally I'd delete it. In this case, however, all of the data seems to be in there! Is there a tool that I can use to reassemble the original data?
View 1 Replies
View Related
Oct 29, 2010
Are there any other archiving tools than tar that preserve Linux file permissions and user/group flags? I want to create archives of a directory tree on my ubuntu box. The directory trees are large, a first run with tar cvpzf archive.tgz /home/foo/bar yielded a 5GB archive. I also want to keep all permissions and other flags and special files.I'm fine with a 5GB archive, however to look inside that archive -- since it is a compressed tar archive -- the whole 5GB have to be decompressed first! (Or so it appears when opening it with the archive viewer -- I'm happy to be corrected.)So I need a way to "backup" a directory (tree) while preserving full filesystem attributes and right and creating an archive with an "index" that hasn't to be decompressed for browsing its contents. An archive is either a single file, or a (small) set of files that carries full and complete information within this file/s. That is, it can live on any filesystem (size permitting), it can be burnt onto a DVD, you can split it (after which the point of this question is really lost - but still), ...
View 3 Replies
View Related
Apr 12, 2010
I cannot move a my file into my archives directory in my bash scrip.
View 7 Replies
View Related
Apr 4, 2010
I was installing compiz on my machine and towards the end of installation i got an error saying:
dpkg:error processing /var/cache/apt/archives/udev-151-3-i386.deb
The program returned valude 1 or something towards that direction. I rebooted my X server however i got an error saying X server encountered a problem. I did apt-get install compiz and found out that many dependencies were missing so i tried apt-get -f install but i got the same error message at the end of the day. Im currently booted on windows XP.
View 14 Replies
View Related
Dec 18, 2010
I have problem with my printer HP Deskjet D1460. My printer is configured and works. When I send a file on the print, the printer clings a sheet of paper and starts to print, but a paper as was clean so clean and remains, after printing.
View 2 Replies
View Related
Oct 11, 2010
I configured cron to clean my /tmp directory, should I also add other locations to clean and especially /var/tmp.
View 4 Replies
View Related
Mar 1, 2010
after the netinst finished to download the last package, one hour later the process never continues, I checked the log file and I didn't find anything suspecious, also dmesg and nothing, in fact, in the log file before checked I found that the last line was registered just a minute ago - DHCP renew IP-, so my questions are:
1. all the packages downloaded are gone?, can I restart the installation using all those packages downloaded?
2. where I can find the error or problem that cause that the installation was freezed?
3. in the case that installation needs to start from the beginning, can I use the package downloaded?
View 3 Replies
View Related
Feb 4, 2010
Is there any difference between apt-get clean and aptitude clean? Do they both remove the same caches? Should I know any other commands for cleaning up wasted space on my ubuntu laptop?
View 1 Replies
View Related
Sep 3, 2010
having trouble knowing how to get a program to run once I download it, for example, I need Java for banking purposes and so I downloaded it but then from there i'm stuck as apparently it doesn't run automaticly,
View 7 Replies
View Related
Apr 13, 2011
I have downloaded a petri net tool petrify.tar.gz.Then extracted it using archive manager.But unable to install it.How could I install it?Is there any commands or instructions for installing it?
View 9 Replies
View Related
Jul 1, 2011
whenever i need to install a thing,i just do "yum install".... i need to know where all those RPMs are saved for future use...? i know something about
Code:
var/cache/yum
but i don't find all packages there...
Code:
yum.conf
View 10 Replies
View Related
Oct 5, 2010
i am using Ubuntu 10.04 when i downloaded some thing using wget like wget [URL] where this page will get downloaded and second thing sudo apt-get install perl-doc i installed documentation for perl the same i have for postgreSQL... how to use these perl documentation in learning perl.
View 1 Replies
View Related
Oct 22, 2010
I have downloaded 7ZIP and located the download using "find" in "search for files". I am providing two snaps. Kindly guide me thru' the process of installation of 7ZIP onto the desktop.
View 11 Replies
View Related
Nov 26, 2010
I'm running Archlinux. I used pacman(update/package manager) to download video drivers for my card, which was xf86-video-cirrus. Everything went well. Now I want to load the module/drivers.
lsmod returns list of loaded modules but the graphics isn't one of them.
How can I load the drivers that I downloaded?
View 2 Replies
View Related
Feb 4, 2009
I have a basic question regarding how to clean up linux disk space. I use "df" to check my disk and found out usage is 100%. SO I use "du -b | sort -r -n > tmp.txt" and found out that /var/spoon/clientmqueue/ has taken the biggest disk space. I deleted the file in that directory using "rm". But after that, I run "df" again, still got 100% usage.
View 2 Replies
View Related
Nov 15, 2010
I bought a linuk netbook some months ago, & a friend tried to put windows in it.... Well now i cant get either on it, clean it out & re-install linuk,it does't have a a disk drive in it.
View 14 Replies
View Related
Jun 24, 2010
I did a tune2fs -l on some volumes of mine, and a few say "not clean" as the filesystem state. But how do I tell what's causing it to be not clean, or how severe it is, so i know how soon i need to schedule downtime to run a e2fsck on that volume?
View 10 Replies
View Related
Jan 13, 2011
Wondering how to use awk to take nmap's output "Discovered open port 23/tcp on 192.168.0.4" and create a output of "192.168.0.4:23"?
View 9 Replies
View Related
Aug 5, 2010
I cannot download any package from the greek ubuntu server. The same problem has a friend of mine. Is there any problem with these servers? The error is 404, not found, something very important
View 1 Replies
View Related