LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-12-2004, 09:23 AM   #1
Eux
Member
 
Registered: Apr 2004
Location: Spain
Distribution: Debian (Woody+Sarge)
Posts: 54

Rep: Reputation: 15
Post Problems with apt-get and local repository....


Hi guys,


recently I asked around about how to prevent from using / swapping all the 15 CD's available in the Sarge distro every time I need to install a package.

So people told me that if I copied the contents to my hard drive and told the /etc/Apt/sources.list file where to look for, I would be able to install direclty from my HD without having to swap CD's.

The thing is it worked for a while, now I get an error that goes:

Let's say for instance that I want to install 'fluxbox':


serverII:/home/eux# apt-get install fluxbox
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
fluxconf
The following NEW packages will be installed:
fluxbox
0 upgraded, 1 newly installed, 0 to remove and 197 not upgraded.
Need to get 0B/378kB of archives.
After unpacking 1274kB of additional disk space will be used.
Selecting previously deselected package fluxbox.
(Reading database ... dpkg: error processing /home/eux/sarge/debian-sarge4 /pool/main/f/fluxbox/fluxbox_0.1.14-3_i386.deb (--unpack):
unable to open files list file for package `libefs1': Permission denied
Errors were encountered while processing:
/home/eux/sarge/debian-sarge4/pool/main/f/fluxbox/fluxbox_0.1.14-3_i386.d eb
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
serverII:/home/eux#


That first time I tried installing with the sources from my HD, then I tried again to install it from the CD's as I did in the beggining ( apt-cdrom add ); and I get the same error.

I even tried to remove the directory (debian-sarge4 ) thinking that maybe it had a corrupt file, but it wasn't.


The way I created my repository ( if I can call it that ...) was the following:

/home/user/sarge/ and then folders: debian-sarge1 - to debian-sarge14
And i copied the whole content of each CD to its corresponding directory:

cp -ivR /cdrom/* /home/user/sarge/debian-sarge1 - to debian-sarge14.


Any idea of what it can be?

If the way I have done it is not the most recommended, could anyone provide me with a good step-by-step guide on getting a nice repository....?



Thanks you guys"!
 
Old 12-12-2004, 10:09 AM   #2
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 49
we need more information

Why are you going thru all this? Whatever hapenned to:

#apt-setup

and then choose a repository in France or Germany?

15 cds? Have you heard of the net-installer-rc2 (1 cd/100MB)

Net-installer-rc2 (choose i386)
http://www.debian.org/devel/debian-installer/

Last edited by macondo; 12-12-2004 at 10:12 AM.
 
Old 12-12-2004, 10:25 AM   #3
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
I am guessing he doesnt have an internet connection......
 
Old 12-12-2004, 04:04 PM   #4
Eux
Member
 
Registered: Apr 2004
Location: Spain
Distribution: Debian (Woody+Sarge)
Posts: 54

Original Poster
Rep: Reputation: 15
Correct"!

Sorry I forgot to mention,.........I do not have internet at home...........


Eux
 
  


Reply


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
want to set up local yum repository linmix Linux - Software 4 04-23-2013 03:42 AM
can i create a local yum repository? Sharaz Linux - General 5 01-21-2008 01:51 PM
how to create a local apt repository bakwas_internet Fedora 3 01-19-2004 02:14 AM
How do I build a local repository using apt (RH 9) ? hadding Linux - Newbie 3 10-27-2003 12:38 AM
How to build a local repository with apt (RH 9) ? hadding Red Hat 3 10-27-2003 12:36 AM


All times are GMT -5. The time now is 03:29 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration