Ubuntu Servers :: Update Apt-cacher Cache Automatically?
Mar 4, 2010
Is it possible to configure a cron script to update the packages in /var/cache/apt-cacher/packages? When a client machine updates a package, apt-cacher checks that it's cached package is up-to-date, and downloads a new version if it is not.
I'd like apt-cacher to check it's cached packages every night and download any updated ones, on the premise that since it exists in the apt-cacher cache, someone has that package installed and is going to want to update it. Is this possible? Does apt-cacher do this anyway, and I haven't noticed?
View 2 Replies
ADVERTISEMENT
Jul 18, 2011
I am running ubuntu 10.10 server edition as apt-cacher server. How ever we have both 10.04 and 10.10 editions in our office. I have imported the cd cache of ubuntu version 10.04 and it is working fine. Now i want to import the cd cache of ubuntu version 10.10, for that i have to setup different server or i can import the cd cache in same server in different location? If in different location, how to import the cd cache?
View 1 Replies
View Related
Jun 24, 2010
Squid servers cache size ondisk automatically increasing and decreasing,how I would resolve this issue
View 6 Replies
View Related
Dec 6, 2010
I'm working on a web site. I'm sometimes finding that when I update a file, some mysterious force intercepts my changes and refuses to let me see them. I have confirmed that this mysterious force is a server cache.By adding a "?" to the end of the URL, I can see the changes I've made. Is there a way to somehow force my Internet provider to update the server cache?
View 3 Replies
View Related
May 11, 2011
I'm currently writing a script that will update the software packages on six ubuntu servers so I don't have to go in and update them manually constantly. Problem is, I'm not sure which command I should use to do this the most effective and safe way. Currently, I use sudo apt-get upgrade -y on my own machine, though I can see how this could be dangerous on production servers. I was in the IRC chat and I was told aptitude safe-upgrade is something I may want to look into. Is there a way I can only update security related stuff instead of everything? What do you guys suggest would be the best way going about this? Another issue I can foresee is certain packages that have an interactive prompt. While apt-get upgrade -y takes care of most of this, MySQL would fail with this as it opens up it's own prompt. Anyway I could make my script skip these types of prompts, so I can go back and update them later manually?
View 1 Replies
View Related
Feb 17, 2010
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.
View 4 Replies
View Related
Jul 9, 2011
Do you have any idea on how to achieve my goal? Here is the scenario. As a requirement on our development process for every ticket we have we need to create a branch(svn) so that we can develop without disturbing other developer. Now for every checkout I made I need to create a vhost so that I can develop first in my local before deploying to the branch.The site I'm working on is based in Drupal. The files I checked out is just the all folder of Drupal. The core files are already in my local. So the script would grab the core files and copy the all folder in my checkout branch then put them in the vhost.So basically I need a script that will do these automatically for me:1. Setup a vhost Ex: My branch name is 1205googleplusone. Inside that branch has two folders, all and default. What I need only is the DocumentRoot should only point to all folder.2. Update the /etc/hosts Ex: The URL should be 1205googleplusone.domain.com. 3. Create a new database for the new site The script should create a new database and update the configuration.php
View 6 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
Feb 11, 2010
Can I set the Firefox cache to clear automatically after some event (exiting Firefox or logging out of the system,either would be acceptable)?
View 3 Replies
View Related
Feb 28, 2011
I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.
View 1 Replies
View Related
Jan 12, 2011
openSUSE 11.3 with GNOME
Whenever I install a new application, that application's icon is broken (shows the generic "application" icon) until I run gtk-update-icon-cache on /usr/share/icons/hicolor. The package manager must not be updating it correctly, but for what reason I'm not sure.
View 9 Replies
View Related
Mar 20, 2011
i have just set up apt-cacher my file server to speed up package installs (and to reduce bandwidth use)
Im wondering if it is possible to use the apt-cacher with the mini iso, so each machine doesn't have to redownload the packages from the net?
View 6 Replies
View Related
Apr 24, 2010
Edit: solution is installing older version = "aptitude install autoconf2.13"
sudo aptitude install autoconf
* then rebuilding php 5.3.2 configure script:
rm configure
./buildconf --force
[code]....
View 1 Replies
View Related
Mar 28, 2011
Had anybody ever tried flashcache [URL] under ubuntu? My idea is to increase the throughput of a small server especially for database operations by using an SSD as cache.
View 3 Replies
View Related
Aug 31, 2010
I have used apt-cacher successfully for a long time on my home LAN. Its been great but after a recent server crash I decided to switch to apt-cacher-ng due to reports of lower memory footprint and faster response. Thats all well and good and after just a little mucking around it seems to be working.
But there are a few old (but still current) debs that I am having trouble importing into the apt-cacher-ng cache. Most of them were picked up after adding all the repos to my client and running apt-get update. But there are still a few that aren't.(the 2 biggest ones are from the same repo).My client machine runs apt-get update without fault but when I import (using the apt-cacher-ng web interface) it lists all the repos (including the one these debs should be in) but isn't importing any more of the debs. There are no errors showing.
View 1 Replies
View Related
Jan 16, 2010
I just wanna clear database(postgresql) cache so how to do that..and also adempiere cache...
View 1 Replies
View Related
Feb 26, 2010
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.
View 3 Replies
View Related
Dec 7, 2010
I have a NFS server and I'm periodically cleaning the cache by using the following lines:
Code:
/bin/sync; /bin/echo 1 > /proc/sys/vm/drop_caches
/bin/sync; /bin/echo 2 > /proc/sys/vm/drop_caches
during the last days the cleaning process gets stucked at '/bin/echo 2', here's the process data:
Code:
27426 root 20 0 5488 704 576 R 100 0.0 896:06.34 /bin/echo 2
the process keeps running, so I find this more strange since it's not in zombie or D state.
View 2 Replies
View Related
Aug 3, 2009
I just installed F9 and updated to F11 (fedora 11) and I updated the system because I couldn't get the media player working and then I installed all these packages for two days. I have tried yum clear cache and the rpm update. Here are some of the ones I tried:
rm -f /var/lib/rpm/__db*
yum update PackageKit
; yum clean all;
And this is the error:
Error Type: <type 'exceptions.TypeError'>
Error Value: 'NoneType' object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2277, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 600, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 508, in dispatch_command self.get_updates(filters)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1743, in get_updates self._check_init()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1965, in _check_init self.yumbase.repos.doSetup()
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 71, in doSetup self.ayum.plugins.run('postreposetup&apos
File : /usr/lib/python2.5/site-packages/yum/plugins.py, line 178, in run func(conduitcls(self, self.base, conf, **kwargs))
File : /usr/lib/yum-plugins/rpm-warm-cache.py, line 32, in postreposetup_hook
cmd = commands[0]
View 1 Replies
View Related
Mar 14, 2010
I've been attempting to install Virtualbox 3.1 on my desktop using the "Add and Remove Software" facility. All attempts result in failure with the "Details" error message box issuing
Quote: Failed to fetch [URL]...armic_i386.deb 302 Moved Temporarily [IP: ::1 3142] I have recently freshly installing Karmic and apt-cacher-ng after a disk crash. I was running Hardy and apt-cacher previously. I successfully installed Virtualbox 3.1 on my laptop through apt-cacher-ng on the desktop machine. However, I now realise that I had neglected to change the entries in /etc/apt/sources.list on my laptop from
[Code]...
View 9 Replies
View Related
May 23, 2010
I have two Ubuntu PCs at home and I found out about apt-cacher as a means of reducing internet usage for updates. (my connection speeds aren't that good). When I install apt-cacher, is it possible for anyone on the internet to use my PC as a repository? If so, how can I allow only computers on my LAN to access the apt-cacher cache?
View 9 Replies
View Related
Aug 9, 2010
I would like to authenticate my laptop against LDAP server.
My setup works great when LDAP server is reachable.
I used the outdated howto: [URL] to configure libpam-ccreds in lucid.
If I try to login with network down I am getting message: You loged in using cashed credentials. and then Authentication failure.
sudo cc_dump looks OK.
Should I use pam-auth-update insted?
View 2 Replies
View Related
Aug 11, 2010
i am running Ubuntu Lucid x64 as a fileserver that shares its files via SFTP, NFS and Samba. Currently the hard disks are configured to go to standby if they are not needed. This works perfectly as long as no one browses the shares or my HTPC is running: That one repeatedly looks through the shares for new music or movies. In other words my problem is that the disks are spinning up a lot more often than they should have to. Additionally the spin-up time delays the response time while browsing. Since the machine has a lot of unused RAM i want to tell the kernel that it should keep the directory structure in memory. That way the disks would not need to spin up every time someone browses through the directories.
View 2 Replies
View Related
Mar 25, 2011
I used the Ubuntu server 10.10 for cache and proxy purpose. I install squid 2.7 stable 9. My problem is to cache the some url by force. eg . [URL]...I search the clues by using google. but I only found how to block the url. so I come here and request the advice. I want to cache the couple of site because of our country have bandwidth problem.
View 2 Replies
View Related
May 4, 2010
i have set up apt-cacher-ng and it is working fine.I have configured the clients using the synaptic gui, (configuration-preferences-network-set proxy...)Is there a way to configure the clients so that they use the proxy when it is available (at the office) and they fall back to using no proxy when the proxy cannot be reached?We have a lot of laptops at the office which are on the road a lot, in the office i want them to use apt-cacher-ng for updates and installation, when the users are not in the office they should be able to install software without having to change the synaptic conf...
View 2 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
Jul 22, 2011
while trying to open synaptic package manager i get the following errer "E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report."
View 5 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