Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i use Ubuntu. i have 5 Debian DVDs as iso files. how could i introduce them to Ubuntu as repository?

i do not want to burn them and waste a DVD. i just want to mount them and use apt-cdrom . any one have experience?

share|improve this question

Mixing packages from different distributions usually doesn't work or causes all sorts of problems. To do it you need some good understanding of the package management as you'll have to fight against package dependencies. And most likely a lot of programs will not work.

Don't do it.

If you still want to try it:

Add something like

/you/path/debian-XXX.iso /mnt iso9660 loop,defaults 0 0

to your /etc/fstab and use

sudo apt-cdrom  -d /mnt add

to add it.

share|improve this answer
thanks, i will test it. and about your advice, i think you are wrong with ubuntu and debian. i have used debian CDs for ubuntu before and there were no problem. ubuntu is debian-based and debian .deb files should run on ubuntu well, am i wrong? – Alexar Jul 10 '10 at 8:03
Different distros (and even different versions of the same distro) use different package names for the same libraries, and may have different versions of standard libraries (e.g. glibc). It's possible to create a .deb containing just scripts or static binaries so that it will still work on pretty much any .deb distro, but most packages included with a distro depend on some library packages from their distro, so you'll have difficulty installing and running them on a different distro. – rakslice May 18 '11 at 7:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .