Bug#1050882: kicad-libraries metapackage version mixup

2023-08-31 Thread Carsten Schoenert

Hello antto,

Am 31.08.23 um 01:14 schrieb antto:

Dear Maintainer,

After upgrading to Debian12, the normal version of kicad is 6.x, after enabling
backports you can get kicad 7.x.
When you "Force Version" of the kicad-libraries metapackage in Synaptic to 7.x,
you would think that you'll get all the version 7 packages, but you don't, it
requires "(>=6.0.0~)" according to Synaptic, for kicad-footprints/kicad-
symbols/kicad-templates. it only correctly suggests kicad-packages3d v7.x.


you see this because the package of kicad-packages3d is "only" 
suggested. The other packages are depending packages.


And from a technical point there is no reason to depend on version 7.x, 
the older versions <7 are also working correctly. So I did see no hard 
reason to bump any version for the depending packages.



And if you already had the stable kicad version, you will upgrade kicad itself
to v7 (from backports), the "libraries" metapackage will also get upgraded to
v7, but your actual library files (symbols, footprints, templates) will stay at
version 6 because they cover the requirements of the metapackage.


Hmm, interesting point. But this was intended at time thinking about the 
package dependencies while working on the first package for KiCad 7.



This seems wrong to me, the whole point of the "kicad-libraries" metapackage as
far as i know is to "group" the real packages that make up the libraries
(symbols, footprints, templates, 3D models).

I expected that the kicad-libraries metapackage actually upgrades the real
packages to the same version (or at least to some version above 7).


I agree on the point this isn't the best and probably expected behavior. 
And now after a while there are no technical reasons against to bump the 
version dependencies. Will happen at the next upstream version bump.


--
Regards
Carsten



Bug#1050882: kicad-libraries metapackage version mixup

2023-08-30 Thread antto
Package: kicad-libraries
Version: 7.0.6+dfsg-1~bpo12+1
Severity: normal
X-Debbugs-Cc: an...@mail.bg

Dear Maintainer,

After upgrading to Debian12, the normal version of kicad is 6.x, after enabling
backports you can get kicad 7.x.
When you "Force Version" of the kicad-libraries metapackage in Synaptic to 7.x,
you would think that you'll get all the version 7 packages, but you don't, it
requires "(>=6.0.0~)" according to Synaptic, for kicad-footprints/kicad-
symbols/kicad-templates. it only correctly suggests kicad-packages3d v7.x.

And if you already had the stable kicad version, you will upgrade kicad itself
to v7 (from backports), the "libraries" metapackage will also get upgraded to
v7, but your actual library files (symbols, footprints, templates) will stay at
version 6 because they cover the requirements of the metapackage.
This seems wrong to me, the whole point of the "kicad-libraries" metapackage as
far as i know is to "group" the real packages that make up the libraries
(symbols, footprints, templates, 3D models).

I expected that the kicad-libraries metapackage actually upgrades the real
packages to the same version (or at least to some version above 7).


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-11-rt-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kicad-libraries depends on:
ii  kicad-footprints  7.0.6-1~bpo12+1
ii  kicad-symbols 7.0.6-1~bpo12+1
ii  kicad-templates   7.0.1-2~bpo12+1

kicad-libraries recommends no packages.

Versions of packages kicad-libraries suggests:
ii  kicad-packages3d  7.0.6-1~bpo12+1

-- no debconf information