Ubuntu Servers :: How TO Upgrade Local Apt-mirror?
May 17, 2010
After digging around trying to figure out how to upgrade my local apt-mirror to 10.04, I figured I would share it here so anyone else who does this, can do it with ease. It requires a few steps, and editing a couple files, but the process is relatively painless.This assumes you have an apt-mirror already running on your server. Also it assumes you're using /var/www/ubuntu as your root where all your packages are stored.
The first step is to visit http://changelogs.ubuntu.com and download the meta-release packages. Create a new directory, /var/www/ubuntu/upgrade, and drop the files there.On the client's end, a single file needs to be edited, /etc/update-manager/meta-release. Change the URI's in that file to the URI of your apt-mirror and run your update manager. Your upgrade will start, only asking if you want to change your paths in your sources.list. Agree to it, and the packages will download and configure.
View 2 Replies
ADVERTISEMENT
Jan 30, 2009
I have been looking into setting up a local repository for updates etc as we have an increasing number of fedora clients/servers. Searching the web I found multiple how-to's on how to accomplish this little project. One thing that bothers me is that each how-to seems to refer to a "static URL" mirror for rsync to get the rpms.
View 1 Replies
View Related
Jan 9, 2010
I'm using f12. My university has recently become a mirror for fedora packages. But i'm facing a trivial problem. I have set proxy for yum so that the packages that are not available on local mirror can be downloaded from other mirrors. But then i don't know how to set no proxy for my local server. Consequently it is not using my local mirror at all. Tell me how to set no proxy for the local mirror. I want my local mirror because it's damn fast. My proxy settings are like this (they go in /etc/yum.conf):
[code]....
View 2 Replies
View Related
Nov 6, 2009
I created a local mirror with a DVD Image, is there a way to get this mirror to 5.4 now?I already updated the updates/extras repo, but now my main-repo is outdated and my updates go wrong.my directorystructure looks like this:
/server/rpmrepo/centos/5]
# ls
centosplus extras os updates
and the os folder:[code].....
View 3 Replies
View Related
Aug 22, 2011
I am trying to create a local mirror/repository for CentOS 5.6 for updates and network installs. I have read the page here on the site about how to do it over and over again, and I still can't figure it out. I have already created the directory, but right after that, I can't go any further. I know this is much easier than I probably think it is. Would someone mind telling me, (in beginners terms) on how to do this? I just want the 'os' package and nothing else.
View 1 Replies
View Related
Aug 27, 2010
I have a remote drive mounted on my system(ubuntu 10.04 x64), and i have the contents of that drive backed up to dropbox. the problem is, if i unmount the drive, the files disappear from dropbox. is there a way to mirror the contents of the network drive to a localfolder(preferably in such a way that all changes and file deletions are changed on the local folder instantly, but unmounting doesn't delete it all)? It looks like rsync would work, but im not sure how to make it work.
View 2 Replies
View Related
Apr 17, 2010
Release upgrade ends up with error:
"Error during update. A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry. The server may be overloaded. Restoring original system state".
When doing do-release-upgrade -d to upgrade from karmik to lucid. I using local mirror ftp://ubuntu.snacho.ru (also have http that works but not browseable). When I change lines in /etc/apt/sources.list from local mirror to official [URL] all works fine. I don't want to download 1Gb from internet (because of traffic cost). What is wrong with local mirror ? I can communicate with its owner, but what he needs to change on the mirror ?
View 1 Replies
View Related
Aug 3, 2009
As the title says I'm trying to build myself a local RPM mirror. I have multiple laptops and a desktop that use Fedora 11. So I used 'rsync' to setup and sync my directories. I next went on to create my repo with the 'createrepo' function. I run my server backend as FreeBSD so I moved my data over there and setup my 'lighttpd' service.
Everything went fine until I used 'rsync' and synced up my data. Am I supposed to run 'createrepo' after each sync? If so, does anyone else use the same kinda setup, even if not FreeBSD, but a different os other than linux for their server that they run this from? I've been dealing with this for 2 weeks now and finally gave up researching and testing and thought. Not something I'm good at doing. Check my register date and my first post date.
Edit: FreeBSD doesn't have a port or unofficial port for this. I noticed it seems to be written as a python script so thought I could somehow get it to run on FreeBSD with linux emulation.
View 7 Replies
View Related
Jan 11, 2010
I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:
#!/bin/sh
rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks
mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result
[Code]....
I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.
View 3 Replies
View Related
Jul 29, 2009
I'm new here and hope to profit from your immense linux knowledge and of course to share my own experience where I can.
I'm in a student organization and we use a file server that runs linux. I can log in through ssh and copy using scp using login and password (no rsa/dsa keys because most users are windows users using winSCP and they're lacking in computer knowledge so we don't require them to mess around with keys)
However, I don't have network access everywhere, so I'd like to make a copy on my laptop harddisk of some of the folders I use most frequently. Note that I don't need it to copy files from my pc back to the remote server so I don't need two-way sync. Deleting the local copy every time and downloading a new full copy is not an option as we are talking about several gigabytes and the download speed is limited. Normally I would use Unison, however, this requires unison to be installed on both pc's and I can't install any software on the file server so this is not an option.
Any ideas on how to achieve this? I'm reasonable knowledgable about linux so I don't mind tinkering with some config files and using command line applications.
View 1 Replies
View Related
Jan 30, 2010
I am thinking about setting up a local Debian Repository mirror. I want it to mirror just the Debian Repo at [URL].. Anyone have any idea how much disk space I might need to do it?
View 3 Replies
View Related
Feb 10, 2010
I know there has to be an easier way to do this than to download each file individually. On an ftp site I would just use
PHP Code...
But with those files being on an HTTP server and wget not supporting HTTP file globbing I'm at a loss.
What is a one step method to recursively download all files in a directory on an HTTP server?
View 5 Replies
View Related
Jul 26, 2011
I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?
View 2 Replies
View Related
Apr 24, 2011
I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.
View 1 Replies
View Related
Oct 12, 2010
I have a local apt-mirror on my network that I use to upgrade my Ubuntu and Debian systems; works great, had it for years, used it to do release upgrades in the past. This time I'm trying to upgrade a fairly recently-installed 64-bit Lucid kubuntu machine to Maverick. When I try, I get this error:
Code:
After your package information was updated the essential package 'ubuntu-minimal' can not be found anymore.
This indicates a serious error, please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.Anyone know the proper way to do this?
View 1 Replies
View Related
Sep 27, 2010
I'm wondering if its possible to add an external, non-Ubuntu mirror to my mirror server?
We have a few packages which need to be deployed during kickstart (Cinelerra and Eclipse plugins), and I would like to put them into my mirror repo so they are grabbed during kickstart, rather than manually adding them after the system is up.
View 1 Replies
View Related
Apr 13, 2010
i have a complete local ubuntu mirror; nicely kept in sync by apt-mirror. unfortunately, i need to keep some of the old releases as well. [URL].. kindly provides those. with the upcoming end-of-life of intrepid ibex, i would like to move the packages for intrepid on my mirror to the directory i use for the old-releases, without having to download these approximately 30GB from the original server.
is there a way to move distributions in a local mirror? apt-move seems only capable of rearranging the packages in /var/cache/apt/archives/ .
View 8 Replies
View Related
Jul 28, 2011
Looking for a few pointers here.I am trying to automate the adding and removal of two external usb disks to my linux raid mirror (md) that I use for an offsite copy of my data.This is what I currently do.Server has 2 x 500 gb internal disks setup with linux raid 1. (md)I connect 1 of the external usb disks, add it as a secondary mirror to the main array.After it rebuilds, I remove it from the array and take it home.I have two of these external drives so one of them is always offsite, and the other is either being rebuilt, or connected as a secondary mirror.At the moment, this involves running commands manually. I cannot seem to figure out how to automatically add these disks from and to the array with a script. It seems that every time it rebuilds on the external disk, it gives it a new UUID.
View 6 Replies
View Related
Jan 13, 2010
I am looking for a solution to mirror a directory on my companys computer that runs in windows to an external ubuntu server on the internet.
View 7 Replies
View Related
Apr 10, 2011
I accidentally rm -rf 'ed /etc directory from the main server. The server has raid1 soft-raid. Is there a way to recover the directory.
View 4 Replies
View Related
Oct 11, 2009
I am Setting up 3 HP Proliant servers with 2 250GB Hard Drives in each. How Do I mirror the drives, and link all the servers together??? I am installing Centos 5.3. From the software install menu I installed Gnome, and the Server software, but can't seem to figure out how to get into the server side of it from gnome. Sorry for all the questions, but I have been out of the loop of all this for about 8 years and trying to re-learn everything.
View 4 Replies
View Related
Sep 10, 2010
I have done several attempts to build a local mirror of Salckware 13.0. There are two problems: I have to wait very long for a connection, they appear error during a connection which broke it so I have to restart. Is there any other way to build mirror? I am using Alien Bob scripts. Never before happened something like that. The connections with common web pages (google, etc) work well. Maybe I should look for some other mirror than those listed in mirror-slackware-current.sh.
[code]....
View 8 Replies
View Related
Aug 22, 2011
I want to make a fedora mirror site and i only want to have the fedora 15 i386 rpm files i dont want to download all the rest. How do i di this ?
View 2 Replies
View Related
Jan 19, 2010
before i upgrade to karmic i used to visit some local domains like freenas.local.
But after the upgrade the domains doesnt work. I can go to smb://freenas/ but in firefox / chrome or in fstab i cannot use freenas.local ...
View 2 Replies
View Related
Apr 30, 2010
I've followed several guides and am trying to get NFS working on my local network. For starters, I think I should be able to NFS mount a drive on the server (192.168.1.65) TO the server. From there I'll work with another client (currently 192.168.1.80)
Code:
$cat /etc/exports
/media 192.168.1.0/24(rw,no_subtree_check)
$cat /etc/hosts.deny
portmap mountd nfsd statd lockd rquotad : ALL
[Code]...
The guides I've read seem simple, so I must be missing something easy. Can't figure it out, so I'm looking for help after googling for 2 hours.
View 9 Replies
View Related
Jun 7, 2010
Heres my situation. I have around 30+ systems running Karmic and more coming online everyday. I'd like to be able to have these updated via the local network to conserve net bandwidth. Is it possible to setup a single system which will download updates I specify, then make them available to the other systems on my network via some kind of local repo?
Of course I'm not looking to download EVERY repo, just the essential updates to the core OS. I really just want to eliminate that 45 min/256 file download that takes place each time I install a new system.
View 1 Replies
View Related
Jun 13, 2010
Machine 1:Windows vista, using vireless, 1Gb netcard.
Machine 2:Ubuntu commandline server directly connected to router, 1Gb netcard.
Router is only a 1Gb router./etc/network/interfaces look like this:
[Code]...
View 4 Replies
View Related
Jun 14, 2010
I am setting up my first server (which will be a file server when complete). I have some experience with a terminal, but not much. I'm not at all afraid of it, and want to learn more (one of the reasons I'm doing this project). At the moment I am trying to get the server to see my network. Using the info I found here: URl... I have been able to ping the router. I cannot, however, reach other computers on the network. Nor can other computers ping the server.I am looking for a newbie guide on how to connect to my local network.
View 9 Replies
View Related
Jan 10, 2011
I would like to set up a local repository, that serves my LAN, and store it packages I found on the web (using pkgs.org for example) , can you please link me a guide regarding this ?
View 6 Replies
View Related
Jan 14, 2011
how to make a local domain? I have a laptop and server in my localhost. How can I make so that when I type backup.home or something like that into chrome it points to my server? I have apache2 installed with some virtualhost and mypage.192.168.1.4(my server ip) dosent work I propably need a domain or something like that.
View 5 Replies
View Related