Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: apt-cdrom does not work< Next Oldest | Next Newest >
xkill Offline





Group: Members
Posts: 4
Joined: Aug. 2006
Posted: Aug. 15 2006,10:10 QUOTE

Hi
I've just installed dsl to my usb pendrive and I thought I could easily install my old debian packages from the cdrom on it. When I run "apt-cdrom add" to add the Debian cdroms to the sources.list it tells me the following:
Code Sample

Identifying.. [a1f8c3b5798c8af32421672ed84b141e-2]
Scanning Disc for index files..  Found 0 package indexes and 0 source indexes.
E: Unable to locate any package files, perhaps this is not a Debian Disc

But it is an Original Debian Disc
Could someone help me?
yours xkill
Back to top
Profile PM 
brianw Offline





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: Aug. 17 2006,02:39 QUOTE

I am not sure about the apt-cdrom method but what I do is just mount the filesystem over top of the /var/cache/apt/archives directory and as long as all the dependencies are present there is no problem.  For example, I burn all my .deb files to CD.  When I need to reinstall DSL or something I get apt set up (enable apt/synaptic) then I do:

sudo mount /dev/scd0 /cdrom
sudo mount --bind /cdrom /var/cache/apt/archives

when I run dpkg or apt or synaptic the system just assumes that I have already downloaded the files because they are there.  You don't need to use a cdrom though the packages can simply be copied into the /var/cache/apt/archives directory if you wish instead of doing the mount, I just find that if I have them already on cdrom I use them from there.  Copying them to a single directory would be better though if they are in various places (i.e. in subdirectories or seperate cdroms etc...).
Back to top
Profile PM 
1 replies since Aug. 15 2006,10:10 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: apt-cdrom does not work

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code