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"! |
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/ |
I am guessing he doesnt have an internet connection......
|
Correct"!
Sorry I forgot to mention,.........I do not have internet at home........... Eux |
All times are GMT -5. The time now is 10:02 AM. |