General :: Is It Ok To Delete Everything In /var/cache/apt/archives
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
ADVERTISEMENT
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
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
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
View Related
May 19, 2010
A few releases ago things used to work this way, but seemingly since Jaunty it no longer does seem to work:
This used to work: I have several Ubuntu machines to upgrade and limited (and highly expensive) bandwidth available. In the past I would upgrade/update one machine and copy the contents of /var/cache/apt/archives to the other machines to be upgraded. When updating/upgrading the distro the packages that already exist in /var/cache/apt/archives would not be downloaded from the Internet while utilising the locally cached .deb files, saving time and bandwidth.
The Problem: I have noticed that since 9.10 (and with 10.04) this no longer appears to work. While the .deb packages may exist in /var/cache/apt/archives, the same packages would be downloaded from the Internet regardless of the same .deb file existing in /var/cache/apt/archives/.
Question: What is wrong and how can I restore the functionality present in copying cached packages from machine to machine in order to save bandwidth?
Why I need this to work: At work (and I have no control over this...) we are limited to a total bandwidth of 3Gb per month for multiple users. Needless to say a single upgrade of a recent Ubuntu distro can decimate a large proportion of our monthly available bandwidth. Upgrading multiple machines is absolutely out of the question if the packages have to be downloaded every time.
An apt-cache server is not an option: The option of a local apt-cache server is not feasible due to the same 3Gb bandwidth constraint. An apt-cache server requires 15Gb storage per version of Ubuntu and the downloading/upgrading of 15Gb worth of packages for that storage is not an option due to the 3Gb limitation.
View 3 Replies
View Related
Feb 4, 2010
I have a dedicated server and I am having email issues etc (seemingly) because the /var directory is 97% full
I would like to know if it is safe to clear it and how to clear it (assuming it will not disrupt/kill server services to do so).
I have a 'Matrix' control panel so i can view the storage etc but it does not have an way of clearing the /Var directory.
I have Putty Access to root but do not know much about command line access.
I found a few threads but the information is not clear to me as there seems to be an assumption of (basic?) knowledge I don't yet have.
My linux support guru that usually does this kind of thing for me is away and not contactable and my server is grinding to a halt and unable to store/send email.
I have only a very basic understanding of command line but really need to get this sorted ASAP.
Is it possible and SAFE to delete files via FTP from the /var/cache/apt/archives?
View 12 Replies
View Related
Jan 26, 2010
I have a wanderfulley working Kubuntu Karmic 9.10 box and love it. now I just did another install of 9.10 on a old box that dosent have eney network card. the old thing is runing prity well but I want it set up like this one that I'm on now SO I thought I'd try aptoncd the trouble is that I have done apt-get clean a few times sence seting this box up so wat's left in /var/cache/apt/archives is a varey incomplete set of packages. I'm trying to find a way to reload the /var/cache/apt/archives with all insaled packages.
[Code]...
View 9 Replies
View Related
Jan 9, 2011
I ran into some complications with my ubuntu 10.10 install and couldn't boot into the desktop. I decided to use a live CD to get access to my downloaded cached packages and copied them to my windows partition, now I've re-installed ubuntu and manually restored the apps into the /archives/ directory, I've installed a lot of apps from the directory already but AptOnCD has refused to properly reflect the apps I have there, is there something I'm overlooking?
View 2 Replies
View Related
Aug 1, 2011
I am running Ubuntu NN 11.04 on an AMD64x2 system, all updates current. I am trying to install a Canon Pixma ip1800 printer with no success after many hours of trying. I have 2GB RAM, an NVIDIA 256GB graphics card and 1TB HD. 11.04 runs great, recognizes my scanner (a separate Canon 670U), but no matter what, I cannot get the software to install correctly, although other Ubuntu Forums have posted instructions. Below is my Terminal output. Can you assist with specific instructions to use. I have tried removing and re-installing packages with Synaptic Package Manager and commands in terminal with no success.
See following for terminal i/o:
View 1 Replies
View Related
Oct 16, 2010
I have the following issue:
Running
Code:
results in above error.
Running
Code:
results in above error.
Running
Code:
Is not able to fix this.
View 2 Replies
View Related
Oct 23, 2010
I'm using squid as a proxy in our organization. My problem is whenever the squid cache folder size exceeds 3 GB our proxy server starts to hang. Is there a way to write a script that it will automatically delete the squid cash when it exceeds the 3GB limit.
View 7 Replies
View Related
Apr 20, 2010
I have the same problem with my Ubuntu 9.10. I am using 64-bit computer and 64-bit Ubuntu.When I tried to install Flashplayer I got the message"E:/var/cache/apt/archives/flashplugin-installer_10.0.45.2ubuntu0.9.10.1_amd64.deb: conflicting packages - not installing flashplugin-installer "I tried to un-install all flash-player by "Synaptic Package Manager" and even un-install firefox. Then re-install them back. But still got this problem.I have tried many way I could. But now I am stuck.
View 1 Replies
View Related
Mar 23, 2010
I was trying to update from 9.04 to 9.10.
During the installation, I kept getting tons of errors. Finally something came up saying that I had to abort the installation and it did some stuff. I tried running an application, but I got an error. So I restarted the system.
The normal screen came up where I had to choose the Ubuntu stuff (I'm new to Ubuntu) in the box. I noticed that it had gone to 8.10... which I had earlier before installing 9.04, which went great. So I chose the first on and the system failed to start. I rebooted and tried all the other options, but they all had errors. Now I'm booted to Windows.
I installed Ubuntu from a CD I created. But it is now outdated because it is 8.10, and I have already upgraded to 9.04. 9.04 to 9.10 is where stuff went wrong.
View 1 Replies
View Related
Feb 25, 2010
my problem is the terminal:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/) , are you root?
View 2 Replies
View Related
Aug 16, 2010
Lately I sometimes get the error message:
Code:
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory
when I try to update. I get this using both the Update Manager or using
Code:
sudo apt-get update
sudo apt-get upgrade
View 6 Replies
View Related
Feb 13, 2011
I try to build live usb-hdd on my Lenny and get this problem:
Code:
# lh_build
..............................................................
[code]...
View 1 Replies
View Related
Dec 1, 2009
How do I empty the cache in Firefox? All I can figure out how to do is delete cookies.
View 3 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
Nov 22, 2010
I am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?
View 2 Replies
View Related
Jun 8, 2011
upon browsing the home folder in my ubuntu system, i came across a hidden cache folder..
it occupied around 700 mb of space..and im falling short of space..
can i delete the contents in the folder? are they safe to delete?
View 5 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
Sep 24, 2009
I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?
Quote:
Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey
I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.
View 12 Replies
View Related
Jan 5, 2011
I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.
Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).
I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?
View 2 Replies
View Related
Mar 6, 2011
I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
View 1 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