![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Repositories & Backports Need help with apt-get and updating Ubuntu? Post here.. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: Gold Coast, Australia
Beans: 18
Ubuntu 7.04 Feisty Fawn
|
Can you offer advice on achieving the following goal subject to the limitation specified:
GOAL: package installs that don't count toward my ISP's monthly data download quota. LIMITATION: in Australia at least, many ISP's shape bandwidth (i.e. throttle downstream data rate) after some monthly limit on downloads. In my case it is 10GB/month. I suspect I am not alone. OPTIONS: as I currently see them
Google shows up at least one company that sells a set of DVD's that might suit option 3) above. Ubuntu 6.06 LTS Complete That leaves Option 2: Searching this forum I find a few promising threads describing how to create a local mirror of the repositories.
Searching archive.ubuntu.com I find what might be a suitable source for the files refered to in 2) above. viz. http://archive.ubuntu.com/ubuntu/dists/dapper-updates subdirectories main, multiverse, restricted & universe My ISP is willing to host any file that I can specify a legitimate source for. Customer downloads of that file will not count toward a customer's monthly quota. So what I need from informed users at this forum is a list of URL's pointing to the files that comprise the 12GB or so complete repository. To help limit scope I care about release=Dapper Drake & architecture=i386; although to be of service to the widest circle of fellow customers of the same ISP, specifying all architectures might be wise. The Australian ISP in question is BigPond and, to it's credit, it already hosts ubuntu-6.06-alternate-i386.iso & ubuntuplus-dapper_2006-06-07.iso (http://www.ubuntuforums.org/showpost.php?p=1063510) Thank you for considering this request. I hope that the answer(s) will help others in a similar situation.
__________________
The Apostles Creed - anon. The Four-Way Test - Rotary International If - Rudyard Kipling polite, patient, persistent - moi! Last edited by najevi; August 10th, 2006 at 03:56 AM.. |
|
|
|
|
|
#2 | |
|
Quad Shot of Ubuntu
![]() Join Date: Dec 2005
Location: Sydney, Oz
Beans: 483
Hardy Heron (Ubuntu Development)
|
Re: Repository Mirror - "free" download
Quote:
Everything on ftp.iinet.com.au free, including Ubuntu mirror (repos and isos), redhat, debian, knoppix etc.
__________________
Linux is NOT a free (as in beer) substitute for windows. Ask Questions The Smart Way. Rute User's Tutorial and Exposition. Look in the repositories first, only build from source as a last resort. http://diversity.sf.net http://gdivelog.sf.net |
|
|
|
|
|
|
#3 | |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: Gold Coast, Australia
Beans: 18
Ubuntu 7.04 Feisty Fawn
|
Re: Repository Mirror - "free" download
Quote:
The repository files at ftp.iinet.com.au look to be comprehensive. Do you simply point Synaptic/aptget to: ftp://ftp.iinet.com.au/linux/ubuntu/...dapper-updates ftp://ftp.iinet.com.au/linux/ubuntu/...apper-security etc. If so then persuading BigPond to mirror the repositories might not be as involved as I imagined.
__________________
The Apostles Creed - anon. The Four-Way Test - Rotary International If - Rudyard Kipling polite, patient, persistent - moi! |
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: Gold Coast, Australia
Beans: 18
Ubuntu 7.04 Feisty Fawn
|
In the interest of getting closure on option 2, let me ask one very specific question for the repository gurus browsing this forum:
I have read the debmirror manpage and it seems that the command line Code:
debmirror --nosource --host=archive.ubuntu.com --root=ubuntu/ --dist=dapper --section=main,universe,restricted,multiverse --arch=i386 ./mirror My understanding of the four repository sections/components (main, universe, restricted and multiverse) is limited to what I can read at Wikipedia (Package_classification_and_support) and from that it appears to me that all but the multiverse section is freely redistributable.
__________________
The Apostles Creed - anon. The Four-Way Test - Rotary International If - Rudyard Kipling polite, patient, persistent - moi! Last edited by najevi; August 11th, 2006 at 05:30 AM.. Reason: correcting a false premise |
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: Gold Coast, Australia
Beans: 18
Ubuntu 7.04 Feisty Fawn
|
I found a helpful overview of repositories (for a std Debian distribution) at
http://www.debian.org/doc/manuals/repository-howto/ written by Aaron Isotton. It helped me to understand the repository heirarchy and appreciate what a pool is and what purpose the Packages.gz, Sources.gz and Release files serve. I can now see that the .deb files are located under archive.ubuntu.com/ubuntu/pool It is also clear that this pool includes files from all architectures. If someone has done (or has ready-access to do) a Code:
debmirror --nosource --host=archive.ubuntu.com --root=ubuntu/ --dist=dapper --section=main,universe,restricted,multiverse --arch=i386 repositories then please post the du -s output for these 4 sections of the repository mirror.
__________________
The Apostles Creed - anon. The Four-Way Test - Rotary International If - Rudyard Kipling polite, patient, persistent - moi! Last edited by najevi; August 11th, 2006 at 10:11 PM.. Reason: added repository-howto link |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 11
|
Re: Repository Mirror - "free" download
I messed around with the same post about the debmirror script and for the most part it works. There were a few changes that I had to make compared to what he did because his sources.list file wasn't correct.
I am in no way saying that my way is correct, but it does work for me so I don't have to redownload the updates every time I reinstall ubuntu. Here is what I did... Create a folder on your system to hold the repos...I put mine under /home/username/repos (replace username with your user name) then... $ sudo gedit /bin/repoupdate Then I inserted the following: #!/bin/bash cd /home/username/repos debmirror --nosource -m --passive --host=archive.ubuntulinux.org --root=ubuntu/ --method=ftp --progress --dist=dapper \ --section=main,multiverse,universe --arch=i386 repos/ --ignore-release-gpg sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz sudo dpkg-scansources . /dev/null | gzip -9c > Sources.gz That takes care of all of his actions at once. It will download and then create the packages/sources.gz files. When I first ran it, it took a long time since the files total around 12GB. That doesn't include the restricted files either, if you want those, just add "restricted" to the list. Now make your script executable. sudo chmod +x /bin/repoupdate Kick off your update by doing: sudo repoupdate For your sources.list, you will need to add the following: deb file:///home/username/repos/repos dapper main universe multiverse or deb http://site name or ip address/repos/repos/ dapper main universe multiverse It all depends on if you are hosting it local or getting it from somewhere else. I have 2 machines, one hosts it locally and the other gets it thru the ip address. Like I said, I messed with the other guy's post for a good week before I got it working correctly. I never got any errors, but when I'd do an install, it would always retreive data from an outside source. I don't know if this addresses your problem, but if you are following his post it might save you some time. |
|
|
|
|
|
#7 | |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 11
|
Re: Repository Mirror - "free" download
Quote:
du -s 12663896 . Hope that helps |
|
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: Gold Coast, Australia
Beans: 18
Ubuntu 7.04 Feisty Fawn
|
With thanks to we_r_disturbed I have the information I need.
With thanks to David (offline) my ISP, BigPond, is now hosting a snapsot of the (dapper, i386, nosource, main) repository on the BigPond unmetered content file downloads area (search http://files.bigpond.com/index.php using keywords dapper repository). I hope to persuade David to also post the universe repository section in the near future. The plan is to replace this with a new snapshot periodically. FYI here is a breakdown of the size of the repository mirrored using: Code:
debmirror local_mirror_dir --host=archive.ubuntulinux.org --root=ubuntu/
--nosource -m --passive --method=ftp --progress --ignore-release-gpg
--section=main,universe,restriced,multiverse --arch=i386
--dist=dapper,dapper-backports,dapper-security,dapper-updates
Code:
Section Size in kB
main 2,912,256
restricted 26,624
universe 9,318,400
multiverse 360,448
Free = main+universe = 12,230,656 97% of TOTAL
Non-Free = restricted+multiverse = 387,072 3% of TOTAL
TOTAL = 12,617,728
In the process of investigating all of this I learned about a promising package called apt-proxy (manpage & HowTo) which may prove to be a better minimalistic solution for a home network ... search for apt-proxy and you'll find plenty of posts. enjoy!
__________________
The Apostles Creed - anon. The Four-Way Test - Rotary International If - Rudyard Kipling polite, patient, persistent - moi! |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 11
|
.
Last edited by we_r_disturbed; August 17th, 2006 at 11:10 PM.. |
|
|
|
|
|
#10 |
|
Dipped in Ubuntu
![]() Join Date: Oct 2005
Location: Adelaide, South Australia
Beans: 589
Ubuntu 8.10 Intrepid Ibex
|
Re: Repository Mirror - "free" download
mirror.internode.on.net/pub/ubuntu (proly only accesible by customers)
hehe internode for adelaide has good deals, and a huge linux repository that is not counted to your quota....and they keep it as up to date as possible sometimes i do an apt-get update and upgrade and some of the packages arent all there yet. lol Also intenode doesnt have those stupid upload quotaing schemes plus they have heaps of other unmetered content (abc.com.au, oftheworld.tv, etc etc)....
__________________
Fear is the mindkiller.... The little death that obliterates... |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|