LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 12-27-2008, 12:10 AM   #1
Dnyanraj
LQ Newbie
 
Registered: Jul 2007
Posts: 16
Thanked: 0
Creating Ubuntu package repository in LAN


[Log in to get rid of this advertisement]
I have created a directory on my server(ubuntu 7.10) where i store all downloaded packages(.deb)
i want to access these packages from other computer from command line.

my server IP is: 192.168.1.100 package directory: /home/comp1/urepo
my client IP is: 192.168.1.104

I want to download packages on my server. If i use command apt-get update from client pc then it should update packages from my server.
so i modified /etc/bash.bashrc file & put following line at the end
http_proxy = http://192.168.1.100:3128

on client side
in my sources.list file
deb http://192.168.1.100:3128/home/comp1/urepo

but when i run apt-get update on my client machine it gives error
Malformed line 5 in source list /etc/apt/sources.list (dist)

please help me
Dnyanraj is offline  
Tag This Post , , ,
Reply With Quote
Old 12-27-2008, 06:04 PM   #2
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
Have a read of this - should give some ideas of the way to go.
syg00 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Package Kit Error-- "Cannot retrieve repository metadata (repomd.xml) for repository" mbvpixies78 Linux - Newbie 11 08-22-2008 08:20 PM
Creating YUM Repository Charles_In_Charge Linux - Newbie 6 09-07-2006 07:02 PM
Creating a package repository Thakowbbery Suse/Novell 0 10-13-2005 09:40 AM
Creating A Yum Repository SepitvaOra Linux - Newbie 1 04-04-2005 07:54 AM
Creating CVS repository: cvs [import aborted]: attempt to import the repository enemorales Linux - Software 3 10-15-2004 05:30 PM


All times are GMT -5. The time now is 08:49 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration