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

Bug#198730: apt-cdrom broken after upgrading from potato to woody



Filip Van Raemdonck wrote:

I'd guess that either

a) "apt-get update" got ran with an empty sources.list, at some point
between right after you added the woody cds and now, and using it's
default behaviour it wiped out all sources indices which weren't in
sources.list; or

No, sources.list has never been empty since I added the woody CD's, I'm quite sure of that. I logged each stage of the upgrade, with exactly which changes I made, and the resulting typescripts.

b) the lists/ move from /var/state/apt/ to /var/lib/apt/ went wrong.

Very likely - I was still using potato when I 'apt-cdrom add' -ed the new cd's, so if the file locations have changed then it could very well have messed up during the 'apt-get install dpkg apt debconf' stage. Perhaps the instructions could be improved with instructions on how to avoid this? Maybe one could just update apt first, using dpkg right on the appropriate .deb file, before changing anything else?

Do you have anything in /var/state/apt/?

I'll let you know after I get home and try it. Do I just move them over to the new location if they look OK?

After a couple of weeks, I will give up and do a clean install, as I am
not sure how many other things are broken WRT upgrading from potato to
woody.


Most likely, nothing at all.

Nice to know! I'll keep my fingers crossed that "third time's a charm".

I would appreciate a solution if you have one - which files I can safely
remove before re-doing 'apt-cdrom add'


No need to remove anything. Just rerun apt-cdrom add. Tell us what
happens.

Will do. But if /var/state/apt/ contains a good cdroms.list will this still be necessary? What about those old potato CD's in the cdroms.list? Will apt remove them in time, or can I safely just ignore them?

Also, it seems strange that the sources list points to 'unstable' on the CD's, so would it be OK to change that to 'woody', or would that just confuse apt-cdrom?

--
Cheers,

  .~.
  /V\
 // \\
/(   )\
 ^`~´^
< hugge >





Reply to: