LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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


Reply
  Search this Thread
Old 12-26-2008, 11:10 PM   #1
Dnyanraj
LQ Newbie
 
Registered: Jul 2007
Posts: 16

Rep: Reputation: 0
Creating Ubuntu package repository in LAN


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
 
Old 12-27-2008, 05:04 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,249

Rep: Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156Reputation: 4156
Have a read of this - should give some ideas of the way to go.
 
  


Reply

Tags
local, repository, sourceslist, ubuntu


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:54 AM.

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