LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-16-2015, 10:03 AM   #1
jnojr
Member
 
Registered: Sep 2007
Location: Chandler, AZ
Posts: 227

Rep: Reputation: 20
Question Create local repo


I've created a local repository by copying the .deb files and running dkpg-scanpackages. That works for the OS, but when I use xen-create-image, it seems to want a "real" repo accessed via HTTP. And when I try to Google that, I find a dizzying array of discussions of different tools, people who want to offer up their own packages, all sorts of customized things, etc. All I want is the contents of the install discs available to xen. When that's done, I'll want to figure out how to provide updates, too (one of my challenges is this is in an environment with no Internet access, anything I do has to be done via sneakernet), but that's a question for tomorrow :-)

ETA: After much fiddling, I have my repo working over HTTP. But xen-create-image is complaining:

Failed to fetch http://127.0.0.1/dists/jessie/main/b...amd64/Packages

http://127.0.0.1/ has a bunch of .deb files and the Packages.gz I created. I tried adding a symlink but no dice.

Last edited by jnojr; 06-16-2015 at 12:02 PM.
 
Old 06-17-2015, 05:39 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
All sweet-n-well...but you do realise several "itches" I hope:
- your "private" repo will run stale in no time flat
- you replicate stuff, making a separate copy that eventually will lead a separate life
- on point in time, an update will impose itself, unless you have a situatopn as in "Lost" where stuff freezes in somehow...

Quote:
one of my challenges is this is in an environment with no Internet access, anything I do has to be done via sneakernet
Where have I heared that before? Lemme guess, hyper paranoid emplyer. You can try this, but somehow some stuff needs to be updated...and then you're on that net again.
Why (suggestion) not fcus on front line security instead of creating an island?
Just me...dont shoot me
Thor
 
Old 06-17-2015, 09:39 AM   #3
jnojr
Member
 
Registered: Sep 2007
Location: Chandler, AZ
Posts: 227

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by Thor_2.0 View Post
All sweet-n-well...but you do realise several "itches" I hope:
- your "private" repo will run stale in no time flat
- you replicate stuff, making a separate copy that eventually will lead a separate life
- on point in time, an update will impose itself, unless you have a situatopn as in "Lost" where stuff freezes in somehow...
Believe me, I'm well aware of those challenges, and that'll be my next puzzle, to figure out a way to stand up a repo on a host that can reach out to the Internet to grab updates and capture deltas in a way to periodically update mine.

Quote:
Where have I heared that before? Lemme guess, hyper paranoid employer.
Some employers have to be "hyper paranoid". There are systems in the world that simply cannot connect to a public network, ever, period.

In any case, I did get my repo working correctly with apt over HTTP, but xen still complains. I'm hoping someone who's used xen ina similar environment might remember a trick.
 
  


Reply



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
local repo srinivasmmdl Linux - Newbie 2 10-07-2011 09:00 AM
Enabling a Local repo... Alexvader Solaris / OpenSolaris 5 07-09-2010 07:25 AM
local repo pravlin Debian 2 07-23-2009 08:22 AM
Local YUM Repo lord loh. Linux - Software 2 05-28-2007 12:41 AM
local apt repo adem0rdna Fedora 5 02-08-2005 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration