Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


Search this Thread
Old 12-26-2008, 11:10 PM   #1
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: package directory: /home/comp1/urepo
my client IP is:

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 =

on client side
in my sources.list file

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
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,801

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


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/Novell 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

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration