Your message dated Wed, 22 Jan 2014 23:49:09 +0000
with message-id 
<CAPQ4b8m2_7=oa6tvm34zl_7zszdynf4nuq3zq7oaz0-ukw-...@mail.gmail.com>
and subject line aptitude -a arch, --architecture arch options
has caused the Debian Bug report #277123,
regarding -a arch, --architecture arch options
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
277123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=277123
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: Aptitude
Version: 0.2.15.8-1
Severity: wishlist
Tags: patch

Aptitude is quite useful for downloading foreign architecture packages. I know of no other convenient way of doing so.

        wum:~# aptitude -o APT::Architecture=powerpc update
        wum:~# aptitude -o APT::Architecture=powerpc download libc6-dev

Downloading foreign architecture packages is necessary for cross compiling, or for building initrds for unbootable machines with foreign architectures.

This patch documents this functionality & provides simpler syntax for specifying foreign architectures: -a arch, --architecture arch.

This syntax is consistent with that of dpkg-cross & dpkg-buildpackage (as enhanced by dpkg-cross). It is also compatible with the style of Aptitude's other options.

Thanks!

Jack

Attachment: patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Hi,

Sorry that this bug was not handled during all of this years.  I am
reviewing reports, triaging and trying to see what's still useful to
keep around.

I think that the proposed patch would only work if the list of
packages was already available in Apt, and the extra architecture
having been enabled (although I don't know how multi-arch setups were
available back then, if at all).

In aptitude, operations like downloading, installing and upgrading do
already work and are covered (with a different syntax, see below).
And probably, other tools like apt-get have much better support
nowadays.

Your idea is probably more comprehensive, for example updating only
the given architecture, so the current support is not maybe all what
you wish for.

But in general, I think that keeping the bug report open is not very
useful.  Firstly, its mere presence didn't make that this was
implemented or the report even handled in 8+ years; and secondly the
implementation and syntax is influenced by other tools in Debian and
will continue to do so.

So I think that it is better to close the bug, please reopen if you
don't agree or have some additional suggestions or comments regarding
the current implementation and how can be improved, building up on
what is already available.


$ aptitude download libsdl2-mixer-dev
Get: 1 http://ftp.uk.debian.org/debian/ unstable/main
libsdl2-mixer-dev amd64 2.0.0+dfsg1-2 [89.4 kB]
Fetched 89.4 kB in 0s (152 kB/s)

$ aptitude download libsdl2-mixer-dev:i386
Get: 1 http://ftp.uk.debian.org/debian/ unstable/main
libsdl2-mixer-dev i386 2.0.0+dfsg1-2 [87.2 kB]
Fetched 87.2 kB in 0s (151 kB/s)

$ aptitude download libsdl2-mixer-dev:mipsel
E: Can't find a package named "libsdl2-mixer-dev:mipsel"

# aptitude upgrade wine32:i386
The following packages will be upgraded:
  wine32:i386
1 packages upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
Need to get 68.2 kB of archives. After unpacking 1,024 B will be used.
Do you want to continue? [Y/n/?]
... [ends successfully] ...

-- 
Manuel A. Fernandez Montecelo <[email protected]>

--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to