Package: reprepro
Version: 5.1.1-1
Severity: normal

On apt.postgresql.org, we normally support amd64+i386+ppc64el.
However, due to the fast-living nature of Ubuntu non-LTS releases, we
restrict these to amd64 because the other architectures would likely
not have any users anyway.

Now, to support a package that needs some backports, I import{dsc,deb}'ed
(python3-)restrictedpython into cosmic (which is amd64 only), and later
copysrc'ed it over to bionic and stretch:

[0] 10:50 myon@atalia:~ master $ rep includedsc cosmic-pgdg-testing 
restrictedpython_4.0~b3-2.dsc
Exporting indices...
[0] 10:51 myon@atalia:~ master $ rep includedeb cosmic-pgdg-testing 
python3-restrictedpython_4.0~b3-2_all.deb
Exporting indices...
[0] 10:51 myon@atalia:~ master $ rep copysrc bionic-pgdg-testing 
cosmic-pgdg-testing restrictedpython
Exporting indices...
[0] 10:52 myon@atalia:~ master $ rep copysrc stretch-pgdg-testing 
cosmic-pgdg-testing restrictedpython
Exporting indices...
[0] 10:52 myon@atalia:~ master $ rep ls restrictedpython
restrictedpython | 4.0~b3-2 | stretch-pgdg-testing | source
restrictedpython | 4.0~b3-2 |  cosmic-pgdg-testing | source
restrictedpython | 4.0~b3-2 |  bionic-pgdg-testing | source

Unfortunately, this resulted in python3-restrictedpython included
into amd64 only:

[0] 12:53 myon@atalia:~ master $ rep ls python3-restrictedpython
python3-restrictedpython | 4.0~b3-2 | stretch-pgdg-testing | amd64
python3-restrictedpython | 4.0~b3-2 |  cosmic-pgdg-testing | amd64
python3-restrictedpython | 4.0~b3-2 |  bionic-pgdg-testing | amd64

Re-importing python3-restrictedpython.deb fixed it:

[0] 12:53 myon@atalia:~ master $ rep includedeb bionic-pgdg-testing 
python3-restrictedpython_4.0~b3-2_all.deb
Skipping inclusion of 'python3-restrictedpython' '4.0~b3-2' in 
'bionic-pgdg-testing|main|amd64', as it has already '4.0~b3-2'.
Exporting indices...
[0] 12:53 myon@atalia:~ master $ rep includedeb stretch-pgdg-testing 
python3-restrictedpython_4.0~b3-2_all.deb
Skipping inclusion of 'python3-restrictedpython' '4.0~b3-2' in 
'stretch-pgdg-testing|main|amd64', as it has already '4.0~b3-2'.
Exporting indices...
[0] 12:54 myon@atalia:~ master $ rep ls python3-restrictedpython
python3-restrictedpython | 4.0~b3-2 | stretch-pgdg-testing | amd64, i386, 
ppc64el
python3-restrictedpython | 4.0~b3-2 |  cosmic-pgdg-testing | amd64
python3-restrictedpython | 4.0~b3-2 |  bionic-pgdg-testing | amd64, i386, 
ppc64el

I think arch:all packages should always live in all architectures for
a distribution.

Thanks,
Christoph

Reply via email to