Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd March 2009, 12:07
ZoDiaK ZoDiaK is offline
Junior Member
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb create a local debian/ubuntu mirror with apt-mirror

Hello,


I created a mirror with apt-mirror with the help of this howto:
http://www.howtoforge.com/local_debian_ubuntu_mirror

My problem is, that apt-mirror mirrors only the normal packages of the distributions but the updates or security packages wont be mirrored.

Here is the output of apt-mirror:
Code:
openssh-server:~# su - apt-mirror -c apt-mirror
Downloading 51 index files using 20 threads...
Begin time: Mon Mar 23 09:54:48 2009
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Mon Mar 23 09:54:48 2009

Proceed indexes: [PPsh: security.debian.org/debian-security//dists/lenny/updates/main/binary-i386/Packages.gz: Datei oder Verzeichnis nicht gefunden
apt-mirror: can't open index in proceed_index_gz at /usr/bin/apt-mirror line 382.
The problem are the double slashes in front of dists but I don't know how I can change this

And this is my mirror.list
Code:
############# config ##################
#
set base_path    /mirror
#
# if you change the base path you must create the directories below with write privlages
#
set mirror_path  /mirror
set skel_path    /mirror/skel
set var_path     /mirror/var
# set cleanscript $var_path/clean.sh
# set defaultarch  <running host architecture>
set nthreads    20
set _tilde 0
#
############# end config ##############

deb http://ftp.de.debian.org/debian                     lenny                   main contrib non-free
deb http://security.debian.org/debian-security          lenny/updates           main contrib non-free
deb http://de.archive.ubuntu.com/ubuntu                 intrepid                main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu                 intrepid-updates        main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu                 intrepid-security       main restricted universe multiverse
clean http://ftp.de.debian.org/
clean http://security.debian.org/
clean http://de.archive.ubuntu.com/
I hope you can help me

Thanks a lot!
Zodiak

###########################################
My Problem is solved.

My PC didn't find the Mirrorserver because the default gateway wasnt configured.

Greetz
ZoDiaK

Last edited by ZoDiaK; 24th March 2009 at 10:11.
Reply With Quote
Sponsored Links
  #2  
Old 17th March 2011, 09:24
aubrey aubrey is offline
Junior Member
 
Join Date: Mar 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How did you fix the problem.

Hi. I have trying on Ubuntu 10.10 Server to create a repository. I keep on running into the same problem that you have identified.

Could you please provide me with the solution to this.

You have mentioned it was a Gateway configuration.
Reply With Quote
  #3  
Old 18th March 2011, 14:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Does the server have a working Internet connection? Does
Code:
ping -c4 google.com
work?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 21st March 2011, 05:03
bkbarros bkbarros is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default apt-mirror with the 3 last distros of ubuntu

in my case, I mirrored the three last versions of ubuntu. apt-mirror has created the pool but did not create the folder /dists... so my local computers are unable to pull from the mirror in sources.list. what i did wrong? and how fix that? Thanks..and sorry my "google english"!
Reply With Quote
  #5  
Old 21st March 2011, 15:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Any errors in your logs?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Create A Local Debian/Ubuntu Mirror With apt-mirror cyberalleyguy HOWTO-Related Questions 16 15th March 2011 20:18
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
I Fail at installing ispconfig where did I go wrong? stocker741 Installation/Configuration 14 30th October 2008 14:12
Creating a local mirror of multiple OS's heymrdj Technical 0 13th July 2007 01:54
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 08:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.