Software :: Redirecting APT Cache - Can Redirect Cache Of Apt To A Specified Folder Either On Command Line Or Via A Config Setting?
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?
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.
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
i was looking for a way to stop my menus taking a few seconds to load my icons when i first open them and found a few guides suggesting using the gtk-upate-icon-cache command, but with the any colour you like icon theme i'm using (stored in my home folder .icons directory) i kept getting a "gtk-update-icon-cache: The generated cache was invalid." fault i used the inbuilt facility in the acyl script to copy the icons to the usr/share/icons directory and tried the command again, this time using sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/ACYL_Icon_Theme_0.8.1/ but i still get the same error. i tried with several of the custom icon themes i've installed and only 1 of the first 7 or 8 i tried successfully created the cache.
I thought about moving the firefox cache directory to /tmp, as I am moving /tmp to the ram, since I just got an SSD, and move off this write-hungry feature.However, with Firefox 4 beta 12 (shipping with 11.4 x86_64), when I get in about:config, there is just no option browser.cache.disk.parent_directory, which you would use to configure this.I searched a bit and it seems that this is still intended to be on Firefox in v.4.I might as well downgrade to 3.x for the moment. I see there is an RC available of v.4, but no package of it ready in repos.By the way, any thoughts on putting the firefox cache on ram? I know it will flush it at reboot! But the alternatives are:
-leave it on ssd (wear it) -put it on hdd (so slow) -disable cache
dns cache serThis is probably more of a network question but I figured some one who is a network expert might know. Currently my organization has DNS servers. But my questions is would setting up a cache server improve the performance any? When I first thought about it i thought probably not. But since it stores information in ram that made me think maybe it would improve network performance a little.
i want to know the location of firefox cache folder..when we watch any video on ..... or any sites firefox buffers the whole video in its cache memory..so i want to copy that whole video from that cache folder directly so that we dont need any third party add-ons to download videos..for that i want to know the exact location of that cache memory folder of firefox browser in linux
can we copy the RPM files which have been downloaded when we install software from online repository. If we can, where is the location of the folder that store them?
I recentled upgraded all the packages on my server and now I have an issue where I can't get any thing to install or uninstall do to errors, This is what I get:
I have AMD Phenom 8550 triple code processor, with 2.20ghz speed and 4gb ram. I am trying to install Redhat linux 9 first time. I am new to linux. While install system hangs with message
ehci-hcd 00:13.2: PCI device 1002:4396 echi-hcd 00:13.2: irq 10, pci mem f880f800 usb.c: new usb bus registered, assigned bus number 2 PCI:00:13.2 PCI cache line size set incorrectly (64 bytes) by BIOS/FW" expecting 16
When streaming audio, firefox stores files in the cache folder(home/.mozilla/firefox/xxx .default/OfflineCache.However, one the file has finished downloading, it disappears from this folder. Does anyone know where it goes?
I am trying to grep multiple numbers from file, grep does have the -f option for that.
Code: grep -f <`seq 500 520` /etc/passwd I know this could be done with
Code: for i in `seq 500 520`; do grep "$i" /etc/passwd; done But my question is fare more behind this example. It is possible to redirect one command output which will be treat as a content of file for another command ?
I have a folderA that contains folderB that contains a lot of files. I would like to get rid of folderB, but not its contents. I want those contents to be inside of folderA. How can I accomplish this on the commandline?
My comp is litterly doing nothing, and 61% of my RAM is being used as cache. I don't know if I created a swap space correctly. I loaded up gparted and I see that I do have a 2gb partition labled linux-swap. Why am I completely out of RAM? I have 4gb btw
I just recently installed ubuntu server. I want to be able to install packages and such but can't until I connect to Internet. I tried wifi but couldn't figure out how (I'm a n00b) but now I have ethernet and can't figure out how to make it work. So my question is, how do I connect to my Ethernet with ubuntu server, I could if I had graphical, but I can't get that until I have Internet. I didn't configure network during install, so how do I do it now?
I am using Fedora 11 64-bit. The problem is, when I start to install any updates or new packages, the system return the following error:No package cache is available.The package list needs to be rebuilt.This should have been done by the backend automatically.
Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again.I am completely new to linux, meaning I have never, ever, used a linux based system. I have recently accustomed to myself with only the basic commands (ls, yum, help, g++ etc.)
I've been troubled by the high amount of RAM that is used by my Ubuntu desktop. Before I installed Ubuntu 10.04 (desktop, 64-bit) my system used around 500MB of RAM when no applications were open (just cold boot into the GNOME under 9.10). But when I installed Lucid, I've noticed that my used memory is now reported as 1GB or more as soon as I log into the system.
I want to figure out what is using all the extra RAM but I can't seems to find the culprit. I looked at all of the processes and numbers just don't add up. I exported the list of processes into a file and summed up the memory used by every process in a spreadsheet. The total came to around 700MB. Yet, both System Monitor and "free" reported the time that system was using over 1GB of memory. This means that at least 300MB of RAM are used but not by any process, at least as reported by "ps".
I was wondering if there is a way to know which files are in the linux page cache. I've searched but the only thing I've found is meminfo.Is there anything out there that can give more details regarding what is being cached?
when i type arp -n it shows nothingif i type arp -vit showsskipped :0 found :0I want to look at my ip and mac addresses in arp cacheif i change my ethernet ip address it is not reflected or stored in the cache.
I found that one of my computers was issuing a DNS request to a domain on my local network every time I send a query. I've look around and saw several programs you could install for DNS local cache, but does it not come with some application by default? If it matters, I'm running Ubuntu 11.04 with DHCPD and Bind9.Also, I did add nameserver 127.0.0.1 to /etc/resolv.conf, and it's listed before my other nameservers.
Slackware64 13.0 I have a website that has been migrated to a new server. After a few days I'm still pointing at the old server and the hosting company have recommended that I flush my dns cache. A quick google for this in linux seemed to recommend restarting the nscd daemon but nscd -g tells me it's not running anyway. I connect to Virginmedia via wired ethernet to a Belkin N1 router so is there a way I can do this I wonder, either via Virginmedia or Slackware?