Fix for me:

a) delete /etc/apt/apt.conf.d/00ia32-archive
b) Editing the mangle-line in /usr/bin/apt-get to read (including some more 
lines in the file):

  # Mangle foreign files
  for F in $LISTDIR/foreign/lists/*_*; do
      DIR="$(dirname "$F")"
    case "$F" in
      *_Packages)
        FRONT="$(front 3 "$F")"
        MIDDLE="$(middle 3 "$F")"
[ ! -s $F ] || /usr/lib/ia32-libs-tools/mangle --index < "$F" > 
"$LISTDIR/lists/${FRONT}-i386_${MIDDLE}_binary-amd64_Packages"
        ;;

Remarks:
* The file /usr/lib/ia32-archive/bin/apt-update doesn't make sense at all in a 
normal Ubuntu installation (including the hard-coded reference to Debian source 
packages and the complete rebuilding of source packages!). 

* The above line in apt-get is necessary because `deb
http://ddebs.ubuntu.com jaunty main restricted universe multiverse` in
`sources.list` leads to empty files. Another solution might be to remove
the corresponding lines in `/etc/apt/foreign/sources.list`. I haven't
check that.

* I still get errors regarding non-existing files:
o...@hermes:/var/lib/apt/foreign/lists$ sudo apt-get update | grep "apt-get"
apt-get: update
/usr/bin/apt-get: 102: cannot open 
/var/lib/apt/foreign/lists/archive.canonical.com_ubuntu_dists_jaunty_main_binary-i386_Packages:
 No such file
/usr/bin/apt-get: 102: cannot open 
/var/lib/apt/foreign/lists/archive.canonical.com_ubuntu_dists_jaunty_main_binary-i386_Packages:
 No such file
/usr/bin/apt-get: 102: cannot open 
/var/lib/apt/foreign/lists/archive.ubuntu.com_ubuntu_dists_jaunty_main_binary-i386_Packages:
 No such file
/usr/bin/apt-get: 102: cannot open 
/var/lib/apt/foreign/lists/archive.ubuntu.com_ubuntu_dists_jaunty_main_binary-i386_Packages:
 No such file
/usr/bin/apt-get: 102: cannot open 
/var/lib/apt/foreign/lists/download.virtualbox.org_virtualbox_debian_dists_jaunty_main_binary-i386_Packages:
 No such file
/usr/bin/apt-get: 102: cannot open 
/var/lib/apt/foreign/lists/download.virtualbox.org_virtualbox_debian_dists_jaunty_main_binary-i386_Packages:
 No such file

* What I don't really understand is the fact, that nobody seems to care
about this serious bug.

Any comments welcome.

Oliver

-- 
ia32 compat on ubuntu 64 9.04 breaks apt-get update
https://bugs.launchpad.net/bugs/396205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to