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

Re: Breaking /emul/ia32-linux for squeeze

This one time, at band camp, Goswin von Brederlow said:
> 1) How to specify an arch in sources.list?

Don't.  Specify it in apt.conf

> Suggestion:
> deb [arch=i386,amd64] http://ftp.debian.org sid main

APT::Arches "i386,amd64"

Or something.

> 2) How to specify a package including the architecture?
> Suggestions:
> Depends: foobar/i386
> Conflicts: foobar [i386]
> Replaces: i386-foobar
> Suggests: foobar=amd64

Eww.  What's the matter with debs and the tools knowing a package is
i386, and making the assumption that all it's dependencies are i386?
Put another way, I can't think of a valid use for an amd64 binary
depending on a ppc32 binary.

> apt-get install amd64/foobar

Fine.  Or maybe --arch amd64.
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |

Attachment: signature.asc
Description: Digital signature

Reply to: