[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: APT conflicts between CDs and DVDs?



On Mon, Oct 02, 2006 at 12:30:47PM +0200, Jens Seidel wrote:
>Hi,
>
>long time ago I noticed a problem in APT related to CDs and DVDs. I
>tried to test this sometime but forgot about it :-( I'm not sure
>whether this problem still exists in the built CD/DVDs and APT.
>
>I downloaded a set of CDs (1-7) of Debian together with DVD 2 (because
>I lacked further empty CDs). (The system does not support most DVDs, so
>that I tried to provide the most important stuff on CD.)
>
>I noticed that apt-cdrom was confused about CD2 and DVD2 and considered
>both to be identical (same IDs!??). So it was not possible to install
>from both at the same time. I always switched between both which was a
>real nightmare since the package selection in the system upgrade did not
>converge.
>
>Probably the simplest solution is to slightly change the CD/DVD build
>process by using different IDs (the number useds in
>/etc/apt/sources.list by apt-cdrom) for CDs and DVDs. Maybe it would
>also be useful to patch APT to support multiple copies of a source. But
>I doubt that it would help if two identical CDs exist which broken
>packages on it (the first CD with a broken pkg1, the second with a
>broken pkg2, so that pkg1 needs to be installed from the second CD),
>since APT probably checks only the Packages file.

Hi Jens,

I've got a fix for this in my development version of debian-cd -
simply using the disc type as part of the identifier. It should be
going live Real Soon Now...

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"Further comment on how I feel about IBM will appear once I've worked out
 whether they're being malicious or incompetent. Capital letters are forecast."
 Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html

Attachment: signature.asc
Description: Digital signature


Reply to: