Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-28-2008, 03:18 PM   #1
Registered: Nov 2007
Distribution: Puppy
Posts: 42

Rep: Reputation: 15
please help - how to use a local repository on Debian Etch

This is beginning to make me frustrated.
I copied the .deb files to a local directory :

I tried each of the following lines in sources.list :

deb file:/var/cache/apt/archives/gnome/gnome-packages stable main contrib

deb file:///var/cache/apt/archives/gnome/gnome-packages stable main contrib

and I also tried it without the "stable main contrib"

I performed "apt-get update" ,
and I got a long text saying something about "debian repository
doesn't exist" and the name of the repository which was
http://[something with security] ,
but there was not any error message about the local repository
I created, so I assume APT did update it.
When I ran "apt-get install [name of package]" ,
it said it can't find that package and that I should run
"apt-get update" to fix this problem.

All other lines in sources.list are commented out.

Any help is appreciated,
I am on the edge of desperation.

Baby Peng
Old 03-28-2008, 03:34 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
I think you need to use some tools to setup the repository. Just copying the *.deb's there doesn't work. Apt needs a couple of files created to describe what's in the repository. Here's a couple of howto links to create quick and dirty repositories. -- near the bottom, Local Package Archive section -- more detailed howto -- official Debian doc
Old 03-28-2008, 04:14 PM   #3
Registered: Nov 2007
Distribution: Puppy
Posts: 42

Original Poster
Rep: Reputation: 15
thank you so much pljvaldez

hey pljvaldez,
thank you so much.
I just learned something from you.
I will go over these links.

Baby peng


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
Creating A Local Debian Repository ashmita04 Debian 1 01-23-2008 03:28 PM
Making an Debian Etch repository fatal_err0r Debian 5 12-01-2007 11:54 PM
debian etch repository help hallows1 Linux - Server 1 05-06-2007 09:00 PM
LXer: Debian Etch And Xen From The Debian Repository LXer Syndicated Linux News 0 05-04-2007 05:31 PM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 10:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:48 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