Release file not found during installation

  • budindefran
Posted: Fri, 07/06/2007 - 21:02
Hello there. Sorry for my bad english, i'll try to make myself as clear as i can. I've also posted this problem to the user's mailing list, sorry for the crossposting, but I could really use a solution to this problem. I've downloaded the iso file for 64 studio 1.0, made the cd and botted it. The installation boots ok and everything seems to work OK untill step 2 or 3, during CD checking, before there's any real installing done. During that step, I get an error message that tells me that no "Release" file can be found. I checked the CD and there it was. I though maybe the file was corrupted, so I downloaded the iso file again. Same thing happened. So I downloaded version 1.4, burned it and exactly the same thing happened. I booted both CDs on a friend's computer and they worked just fine, so i'm pretty sure the CD's are OK. Doing some research on the internet, i found this I'll copy the relevant part here: ----------START COPY---------- New bug: The cdrom-detect script does not adequately check that it has found the Release file. Please could someone clone this bug to the appropriate package,and add a "patch" tag? The problem is this: /var/lib/dpkg/info/cdrom-detect.postinst sets "suite" using this code: for distlink in stable testing unstable ; do relfile=/cdrom/dists/$distlink/Release if [ -e $relfile ] ; then suite=$(sed -n 's/^Suite: *//p' $relfile) log "Detected CD with '$suite' distribution" db_set mirror/suite $suite break fi done But it never checks that the value of "suite" is correct, ie that the "[ -e $relfile ]" test condition was ever true. This causes the cdrom-detect program to exit with an incorrect status (ok, when in fact detection failed at some level) and a subsequent failure in cdrom-retriever. I propose these lines be appended below the "done" statement: -------------------------------- snip ------------------------------------ if [ "X" = "X${suite}" ]; then fail "Could not determine the package 'suite'. Is the cdrom OK?" fi if [ ! -e "/cdrom/dists/$suite/Release" ]; then fail "No such file '/cdrom/dists/$suite/Release'. Is the cdrom OK?" fi -------------------------------- snip ------------------------------------ --------------END COPY-------------- As far as I can understand (and there's a huge chance i'm getting this wrong), there's a bug with the install script and this guy is posting a patch solution. But I don't really know how to do that. Has anyone experienced the same problem? Is there a solution? I have to build my own patch? If so, would anyone be kind enough to guide me step by setp to do so? Thanks, -Fran Lopez

Problem still there?

  • Daniel
  • 05/22/07
  • Tue, 08/14/2007 - 16:20
Does this problem persist with 64 Studio 2.0? If so, could you try it on another DVD drive please? It's possible that you have a faulty drive, for example with dust on the lens.