:: Re: [DNG] Bug in synaptic package m…
Inizio della pagina
Delete this message
Reply to this message
Autore: Olaf Meeuwissen
Data:  
To: dng
Oggetto: Re: [DNG] Bug in synaptic package manager?
Hi,

tito via Dng <dng@???> writes:

> On Wed, 26 Jan 2022 00:02:45 +0200
> Boian Bonev <bbonev@???> wrote:
>
>> ...
>> > > > apt works for me it is just the dialog to modify, add or delete
>> > > > repositories in synaptic
>> > > > that doesn't work as some template is missing:
>> > > >
>> > > > aptsources.distro.NoDistroTemplateException: Error: could not find a
>> > > > distribution template for Devuan/chimaera
>> > > >
>> > > > I was wondering If we couldn't add this template to synaptic itself
>> > > > or to software-properties-gtk package.
>> > > >
>> > > > Ciao,
>> > > > Tito
>> > > >
>> > > >
>> > > Tito,
>> > > It appears that there are no devuan-specific template files for
>> > > synaptic.  Attached is my first attempt (copied from Debian template,
>> > > and modified, but I probably got some things wrong).  These two files go
>> > > in /usr/share/python-apt/templates
>> > > Hope this helps somewhat.
>> > >
>> > > Temp
>> >
>> > Hi,
>> >
>> > thanks for your effort, I was not able to find where this templates were
>> > hidden.
>> > Seems to work here, software-properties-gtk dialog window opens without
>> > exception. Could this somehow be added to debian or devuan?
>>
>> The templates live in python-apt-common (this package is not forked in Devuan).
>>
>> There are two options:
>>
>> 1) Submit a PR to the packager/team in Debian
>> 2) Fork the package for Devuan and maintain the appropriate information in it
>>
>> My opinion is that 1) is not a good option, because the mirror list is volatile
>> information and that would require stable updates on a regular basis (and that
>> won't easily happen in Debian)
>
> Hi,
> a stupid question, could the templates be added to the base-files package
> that is already forked?


Forking yet another package will add to the load but I don't think that
adding the templates to base-files is a good idea. It hides their
origin and quite likely leads to not noticing upstream changes.

Hope this helps,
--
Olaf Meeuwissen                    FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join