apt-get updates waste time requiring re-scanning my Debian dvds
Hello. I have the eight Debian dvds listed in my sources.list, along with security, nonfree, and multimedia repositories. Whenever I update now, I get the following:
Code:
Media change: please insert the disc labeled |
comment them out of your sources.list
|
@mark alfred I'm surprised that you forgot.
It must be a new installation. Btw I have the Dell Optiplex GX1 with 500Mhz cpu. |
I actually did not forget. I use dial-up, so I prefer relying upon dvds rather than the internet for my the bulk of my sources.list. Previously an update would not require having to pull out and rescan all the dvds; this is something new (I just recently upgraded).
|
Please help w/ this answer from the bug report I did
Hello. I posted this issue to an existing bug with the Debian developers of apt-get. An answer was provided. This answer has worked for the other user who posted the same bug, but I have not been able to use this answer to solve the issue on my computer. The developer stated,
Quote:
Code:
debian:/home/mark/stuff/upgrade_notes# patch < apt-cdrom-fix.diff |
Did you try to manually patch the file? It was only a couple of lines long.
|
This patch is meant to be applied to the source code of apt-cdrom. After that you have to compile that source code and install the new compiled program (preferably after you packaged it). It is not meant to fix the already installed program.
|
Quote:
|
Quote:
|
Success! I enable deb-src repository, got the source, applied the patch, created the deb file, installed it, and now I can update without having to insert all eight DVDs for rescanning. I'm glad that irritation is gone.
|
hi mark_alfred!.
I have the same problem!. Could you explain solution step by step?, please :) Thanks for all. |
I pretty well described everything above. See the manual for tips on working with sources.
|
I had similar problem yesterday,
It was due to backports being listed different deb http://backports.debian.org/debian-backports squeeze-backports main deb http://www.backports.org/debian lenny-backports main contrib non-free |
All times are GMT -5. The time now is 02:36 AM. |