LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 07-26-2014, 05:27 AM   #1
RehanKhan
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
how to add 4 to 9 repository urls in one repository with custom name?


Below are some repository

Ubuntu Main Repos

deb http://us.archive.ubuntu.com/ubuntu/ trusty main
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main

Ubuntu Update Repos

deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main
deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security main

and i need to do all above repo's in one repo like deb http:/github.com/abclinux/ abclinux main
so if i going to update my system only one repo exist in my etc/apt/sources.list

deb http:/github.com/abclinux/ abclinux main

and during update use all above repository HOW?
 
Old 08-06-2014, 11:54 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,218

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
You would need to copy all files to your own serwer and recreate few control files like Packages.gz, Contents.gz, etc. Other option is "apt-mirror" or "apt-cacher-ng" - these can do it for you (but you need to have possibility to execute them on server), the later only download packages when it is requested from client (and not already cached), former download whole repositories. But main question is: why multiple entries in "sources.list" is a problem for you?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] using maverick - added one new repository but now can't add another repository gerryyy Linux - Software 6 02-16-2011 06:47 AM
[SOLVED] Difference between add-apt-repository and apt-add-repository Kenny_Strawn Ubuntu 3 12-22-2010 07:50 PM
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 4 07-19-2010 07:42 PM
Add a custom-built rpm to a repository neildomo Red Hat 6 10-15-2008 09:11 PM


All times are GMT -5. The time now is 03:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration