Bug#989236: crossgrader: crashes with "Could not mark python3-apt:amd64 for install, fixing manually."

2021-05-31 Thread Kevin Wu
On Mon, May 31, 2021 at 4:26 AM Adam Borowski  wrote:
> But, is there _any_ case when crossgrader might possibly work?  As it needs
> python-apt-common, it will always fail.  That makes the package useless.
> Should we bump #968458 to a RC severity?

crossgrader won't be able to work if python3-apt cannot be
crossgraded, so there's no case where it would work. Would #968458
merit critical for breaking unrelated software?

> It appears to me that hardly anyone had the opportunity to test crossgrader...

Unfortunately, that much is true...

However, even without the Multi-Arch changes for python-apt-common,
crossgrader works around the problem in Buster without user input
required. Perhaps some part of APT was changed which prevents it from
working.



Bug#989236: crossgrader: crashes with "Could not mark python3-apt:amd64 for install, fixing manually."

2021-05-30 Thread Kevin Wu
Hello!

This behavior is due to python-apt-common not being marked as
Multi-Arch: foreign. I have already filed a bug report at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968458

If you would like to continue, you can modify the python-apt-common
entry in /var/lib/dpkg/status to include Multi-Arch: foreign and run
crossgrader again. I'm not quite sure why this is stopping crossgrader
on Bullseye but not on Buster; I'll look into it.



Bug#968458: python-apt-common: mark as Multi-Arch: foreign

2020-08-15 Thread Kevin Wu
Package: python-apt-common
Version: 1.8.4.1
Severity: normal

Dear Maintainer,

APT is having trouble cross-grading python-apt to a foreign
architecture as the python-apt-common package cannot satisfy
foreign architecture dependencies.

It seems to me that python-apt-common is safe to mark as M-A: foreign,
which would solve this problem.

-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-10-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information



Bug#812228: Multi-Arch support for dh-python

2020-08-02 Thread Kevin Wu
Pinging this bug, any progress? It is blocking crossgrading with GNOME
installed (affects python3-pil and python3-cairo).

On Sat, 25 Aug 2018 22:38:22 +0300 Adrian Bunk  wrote:
> The correct approach is actually to disallow py{,3}compile in
> Multi-Arch: same packages.
>
> It does not even make much sense since it is not possible to install
> multiple architectures of the python interpreter at the same time,
> and in normal cases the package could just be binary-all.
>
> gir1.2-ibus-1.0 is a bit special for that, and the approach taken for
> that is to have no byte-compilation (and no python dependencies).
>
> The latter is not perfect, but seems to be acceptable for a very
> special situation (the python module is an optional part of an
> architecture-specific package). If anything should be improved
> on that, the python module should be split out of the package.
>
> cu
> Adrian
-- 
Best,
Kevin



Bug#966533: ITP: crossgrader -- Debian crossgrading tool

2020-07-30 Thread Kevin Wu
Package: wnpp
Severity: wishlist
Owner: Kevin Wu 

* Package name: crossgrader
  Version : 0.0.1
  Upstream Author : Kevin Wu 
* URL : 
https://salsa.debian.org/crossgrading-team/debian-crossgrading
* License : GPL-2+
  Programming Lang: Python 3
  Description : Debian crossgrading tool

This package provides a tool to crossgrade
(i.e. change the architecture) of a Debian install.
It also provides a tool to check if all packages were
successfully crossgraded.

The crossgrader automatically handles packages required
by the initramfs, packages marked as automatically
installed, and crossgrades to architectures not natively
supported on the current CPU.

crossgrader is the result of my Google Summer of Code 2020
project. Steve McIntyre is my mentor, so he will most likely
be my sponsor as well. I plan on maintaining it myself.