Conversation started Jul 1, 2013 at 14:13.
Jul 1, 2013 14:13
0
Q: Moving apt-mirror folders between machines

ruda.almeidaWe have one office with broadband and another one with dialup. My goal is to create a local Ubuntu mirror on the second office. I have used apt-mirror on my local machine, and it downloaded about 130GB of packages. How do I transfer these files to another computer to create a local mirror?

Jul 1, 2013 14:30
@ruda.almeida cp?
Or, alternatively, scp?
@somequixotic: boris made that. I do not mess with perfection
@OliverSalzburg: wouldn't physically copying the files make more sense?
@OliverSalzburg scp'ing 130GB on diaulp? O_o
@JourneymanGeek I don't know how you physically copy data :D
@OliverSalzburg: there's these things called 'external hard drives'
@JourneymanGeek And how do you transfer the data onto those "external hard drives"?
Jul 1, 2013 14:33
I'd guess if you copied over the files to the same location on the other system....
@OliverSalzburg: via this magical thing called 'universal serial bus" Its amazing. Its UNIVERSAL. AND SERIAL. AND might have nothing to do with busses ;p
@JourneymanGeek Oh, so you connect it via USB and it just sucks the files out of your hard drive? That's cool, tell me more about it
@OliverSalzburg: Its obviously sufficiently advanced technology ;p
Because, me, being old school, I usually use tools like cp to copy my data onto storage media
But I must have been missing out on some serious technology advances in the past week or something
@OliverSalzburg: I think that scp is network based, and @ruda.almeida assumed you meant transferring all that stuff over a network ;p
so explicitly explicating the possibility of using sneakernet file transfer was necessary!
You guys are making me actually LO(notso)L at my work desk.
Jul 1, 2013 14:38
@ruda.almeida: might also want to check if apt-mirror uses some sort of manifest file in another location
I'd actually copy all the files mentioned here manpages.ubuntu.com/manpages/lucid/man1/apt-mirror.1.html
@JourneymanGeek It stores settings on /etc/apt/mirror.list
You should be using apt-proxy anyway!!!
There, I said it
@OliverSalzburg Why?
smarty pants
@ruda.almeida So you don't mirror data you don't need
Jul 1, 2013 14:40
I was thinking aptoncd but never mind ;p
Also, I've read it on the internet
@jokerdino My pants doesn't run android, so they're not smart. They are mobile, at least.
@OliverSalzburg I think he needs a cache or something.
and perhaps, he should be asking on SF.
I asked on AU because all the machines will be running ubuntu. Well, all the clients, at least.
I might use apt-proxy instead of apt-mirror.
hmm
or use a laptop and just move the whole system physically over....
but thats crazy talk
Jul 1, 2013 14:48
There's already a squid/pfsense/idontknowthisstuffwell proxy on place, will I need to tweak the settings to make it work?
0
Q: Chat privilege update

matan129If I am not mistaken, you must have 75+ reputation in order to use the chat. If I try to chat with someone without the rep requirement it says that I can't. I thought it could be usful if a user that have the needed reputation could initiate a chat with anyone. It's espacially good if the user th...

64
Q: Best way to cache apt downloads on a LAN?

Ken SimonI have multiple Ubuntu machines at home and a pretty slow internet connection, and sometimes multiple machines need to be updated at once (especially during new Ubuntu releases.) Is there a way where only one of my machines needs to download the packages, and the other machines can use the first...

I don't remember where I read the question that was like "How do I properly set up apt-mirror" and the top answer was like "OMG You should be using apt-proxy!!!"
So, yeah
It was probably a good one though!
Oh here it is
10
Q: Is it possible to mirror the apt repositories?

Billy ONealI am a student at Case Western Reserve University, and the bandwidth from the Ubuntu servers to my location is often horrendously bad (on the order of a few hundred bytes per second). Myself and a few friends would like to be able to download the packages once, and have them cached for the rest o...

I think the problem is physically moving the repos ;p
Jul 1, 2013 14:53
@JourneymanGeek Well the actual problem is saving extremely limited bandwidth
Well, yeah, I guess if you already have 130 GB of (mostly unneeded) packages, that would be a good start to seed your cache with
One approach is limiting the bandwidth used by ubuntu updates, and there are (at least) three possible ways of doing that: apt-mirror, apt-proxy and squid-deb-proxy
@ruda.almeida: silly question but would creating a cache on a system, moving the system then mirroring on site make sense?
@JourneymanGeek Hm. Only if I did that on a laptop, because carrying a desktop under my arm would raise... questions.
yup
that would simplify the inital move at least
Jul 1, 2013 14:59
But then how would I move the cache? Just copy the folders from the laptop? Or set up a new cache on the new site and point that new cache to my lpatopt's cache? Or...? O_o
@ruda.almeida I've heard you can do that with USB
@ruda.almeida: yes!
@OliverSalzburg: that would make things very easy, yes
Cause friendship USB is magic
@OliverSalzburg I heard you can use USB to travel the entire universe by bus. Or something.
If that ain't magic...
Jul 1, 2013 15:04
Serially tho
 
Conversation ended Jul 1, 2013 at 15:04.