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

Bug#711456: Acknowledgement (apt: fails to do an update with "Internal Error, No file name for..." using amd64 and i386 dvd media)



Control: retitle -1 apt-cdrom: MultiArch support with a single CD-ROM drive
Control: user debian-qa@lists.debian.org
Control: usertag -1 + gift

On Fri, Jun 7, 2013 at 6:27 PM, Andrey Gursky <andrey.gursky@e-mail.ua> wrote:
>> P.S. Do you know who is responsible for the cvs browsing feature?
>
> I've noticed, you've just silently migrated to git.

We migrated from bzr to git just yet. Michael didn't throw a big party,
but he announced it to the relevant peers (aka on deity@d.l.o).
(That the browsing didn't work was a mistake, it should work now)


>> I've noticed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704653 a bug
> has been fixed, dealing with [ in sources. And the same [ is used also by
> cdroms.

That's a different [, but as you already found out also unrelated.


> The patch seems to be not relevant. Moreover I downgraded apt from
> 0.9.8.1 to 0.9.7.8 and it didn't help.
>
> apt-get has no verbose argument, so I'm wondering how could I get some
> more information about why it fails.

Yeap, we don't have a verbose flag – we have a bunch of debug options instead
as activating all of them would produce a LOT of noise.


The problem here though is less a debug problem as this can be recreated
"easily" by having a multi-arch enabled system, an i386- and an amd64-only
CD-ROM configured and an upgrade for a M-A:same library you have installed
for i386 and amd64.

The problem is that if APT needs to upgrade a library it has to tell dpkg
to unpack the i386.deb and the amd64.deb at the same time, so for that to
work it needs access to both files which it doesn't have if you switch
CD-ROMs (aka: you need a second drive, usb sticks might work, too).


To make it work with one drive, APT would need to copy the amd64.deb package
to disk, ask you to switch, and whola, it has both files. Only problem:
You would be going to switch a lot as you basically have to switch for
each library you have installed both architectures (and sometimes back).

So, to prevent people from going insane over switching a thousand times
APT would need to copy all those library files at once – or at least as
many as possible without eating all harddrive space.


The first should be easy, the second step a bit harder, but both will not
be fixed by me as I never used APT with CD-ROMs (nor do I use CD-ROMs at all
if I think about it now…). That needs someone with more CD-ROM experience
to pick it up as this really needs someone who can actually test what she/he
is doing. I am happy to help with pointers/answers/reviews/… on the other
hand, hence tagged as 'gift' [0].


Best regards

David Kalnischkies

[0] https://wiki.debian.org/qa.debian.org/GiftTag


Reply to: