The officially official Devuan Forum!

You are not logged in.

#1 2023-12-17 18:58:50

mclien
Member
Registered: 2020-02-29
Posts: 92  

installing kicd from backports. pinning question

I want to install kicad on my daedalus system from backports.
As I'm not used to include backports, I'd like some verification, that this is the/a correct way to do so.
sources list, add backports:

deb http://deb.devuan.org/merged daedalus-backports main non-free contrib

Then generate a preferences file for apt (/etc/apt/preferences):

Package: *
Pin: release a=daedalus
Pin-Priority: 900

Package: *
Pin: release a=daedalus-backports
Pin-Priority: 500

And for have it tidy generate one for kicad:
/etc/apt/preferences.d/kicad
containing:

Package: kicad*
Pin: release a=daedalus-backports
Pin-Priority: 1000

And then the usual

apt-get update
apt-get install kicad<whatever>

As I understand it, the other way would be, to put the kicad part directly into the preferences file.

So is that about right? Do I miss something?

Offline

#2 2023-12-17 20:15:37

rolfie
Member
Registered: 2017-11-25
Posts: 1,067  

Re: installing kicd from backports. pinning question

If you just want kicad from backports, just amend the above line to the sources.list. Pinning isn't required, no backports package will be installed by default.

Then execute:

# apt update
# apt -t daedalus-backports install kicad

And you will get updates for kicad if they appear in backports.

Last edited by rolfie (2023-12-17 20:17:13)

Online

#3 2023-12-18 06:45:12

mclien
Member
Registered: 2020-02-29
Posts: 92  

Re: installing kicd from backports. pinning question

I get, that is the "package by package" way to do it. But kicad has also several other packages like kicad-library, kicad-foodprints and some.
The thought was to have those covered, too without to remember the "-t daedalus-backports" option every time.

Another question I'm not entirely sure of. If there are updates in the backport package, will that be covered by?:

apt update && apt upgrade

Offline

#4 2023-12-18 08:16:46

rolfie
Member
Registered: 2017-11-25
Posts: 1,067  

Re: installing kicd from backports. pinning question

That command apt -t daedalus-backports install will automatically pull in all dependencies as listed in the package.

Additional packages that are not dependencies must be installed with the same method as kicad.

Another question I'm not entirely sure of. If there are updates in the backport package, will that be covered by?:

apt update && apt upgrade

Yes, as long as backports remains enabled in the sources.list.

Last edited by rolfie (2023-12-18 12:13:41)

Online

#5 2023-12-18 10:47:45

Andre4freedom
Member
Registered: 2017-11-15
Posts: 142  

Re: installing kicd from backports. pinning question

I just wonder:
Is there any reason to install Kicad from backports? It's fully present in the standard Devuan Deadalus repos.... and has long been.

Offline

#6 2023-12-18 11:58:41

mclien
Member
Registered: 2020-02-29
Posts: 92  

Re: installing kicd from backports. pinning question

Andre4freedom wrote:

I just wonder:
Is there any reason to install Kicad from backports? It's fully present in the standard Devuan Deadalus repos.... and has long been.

The thing with kicad often is, that the very helpfull libraries form external sources often require a newer version, IIRC.
And as is stands  backports is kicad 7.x while daedalus is 6.x.

It's not that I necessarily want it, but to knew the path when I get there. (I "think" it was a much bigger gap in debian).

Offline

Board footer