DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
The following NEW packages will be installed:
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:
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
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....?