Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1300817 > unrolled thread

Bug#1141491: apt-dater: broken interaction with a recent version of tmux

Started byatrent <me@atrent.it>
First post2026-07-05 15:20 +0200
Last post2026-07-08 16:50 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1141491: apt-dater: broken interaction with a recent version of tmux atrent <me@atrent.it> - 2026-07-05 15:20 +0200
    Bug#1141491: apt-dater: broken interaction with a recent version of tmux Patrick Matthäi <patrick@linux-dev.org> - 2026-07-08 15:30 +0200
      Bug#1141491: apt-dater: broken interaction with a recent version of tmux Andrea Trentini <ego@atrent.it> - 2026-07-08 16:00 +0200
        Bug#1141491: apt-dater: broken interaction with a recent version of tmux Patrick Matthäi <patrick@linux-dev.org> - 2026-07-08 16:20 +0200
          Bug#1141491: apt-dater: broken interaction with a recent version of tmux Andrea Trentini <ego@atrent.it> - 2026-07-08 16:50 +0200

#1300817 — Bug#1141491: apt-dater: broken interaction with a recent version of tmux

Fromatrent <me@atrent.it>
Date2026-07-05 15:20 +0200
SubjectBug#1141491: apt-dater: broken interaction with a recent version of tmux
Message-ID<NduVj-2UtX-5@gated-at.bofh.it>
Package: apt-dater
Version: 1.0.4+git20260113-1
Severity: important
X-Debbugs-Cc: me@atrent.it

Dear Maintainer,

After a recent upgrade of tmux apt-dater started (when connecting to a host) failing with errors like:

"invalid window name: user,,, # root@host...." (username and host are edited)

Latest versions of tmux have restricted characters allowed in window titles (see tmux/tmux#5299) so apt-dater fails

I did not find a way of setting a title in the config file of apt-dater...

Actually the code seems to set a title without resorting to the config file (see line 174 of src/tmux.c) if I understand correctly (I'm not a C expert).

Apart from editing the src and recompiling, what is your advice?

(I also submitted the same message to the issues on apt-dater repository, see https://github.com/DE-IBH/apt-dater/issues/188)

Thank you



-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.73+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-dater depends on:
ii  libc6               2.42-17
ii  libglib-perl        3:1.329.4-1+b1
ii  libglib2.0-0t64     2.88.2-1
ii  libncursesw6        6.6+20251231-1+b1
ii  libpopt0            1.19+dfsg-2+b2
ii  libtinfo6           6.6+20251231-1+b1
ii  libxml-writer-perl  0.900-2
ii  libxml2-16          2.15.3+dfsg-1
ii  lockfile-progs      0.2.0
ii  openssh-client      1:10.3p1-5
ii  perl                5.40.1-8
ii  procmail            3.24+really3.22-5
ii  tmux                3.5a-3

apt-dater recommends no packages.

Versions of packages apt-dater suggests:
pn  apt-dater-host  <none>
ii  xsltproc        1.1.45-0.1

-- Configuration Files:
/etc/apt-dater/apt-dater.xml [Errno 13] Permission denied: '/etc/apt-dater/apt-dater.xml'
/etc/apt-dater/hosts.xml [Errno 13] Permission denied: '/etc/apt-dater/hosts.xml'

-- no debconf information

[toc] | [next] | [standalone]


#1301120

FromPatrick Matthäi <patrick@linux-dev.org>
Date2026-07-08 15:30 +0200
Message-ID<NeAvE-3vPt-5@gated-at.bofh.it>
In reply to#1300817

[Multipart message — attachments visible in raw view] — view raw

Hello,

Am 05.07.2026 um 15:16 schrieb atrent:
> Package: apt-dater
> Version: 1.0.4+git20260113-1
> Severity: important
> X-Debbugs-Cc: me@atrent.it
>
> Dear Maintainer,
>
> After a recent upgrade of tmux apt-dater started (when connecting to a host) failing with errors like:
>
> "invalid window name: user,,, # root@host...." (username and host are edited)
>
> Latest versions of tmux have restricted characters allowed in window titles (see tmux/tmux#5299) so apt-dater fails
>
> I did not find a way of setting a title in the config file of apt-dater...
>
> Actually the code seems to set a title without resorting to the config file (see line 174 of src/tmux.c) if I understand correctly (I'm not a C expert).
>
> Apart from editing the src and recompiling, what is your advice?
>
> (I also submitted the same message to the issues on apt-dater repository, see https://github.com/DE-IBH/apt-dater/issues/188)
>
> Thank you

Could you test the attached patch?

[toc] | [prev] | [next] | [standalone]


#1301121

FromAndrea Trentini <ego@atrent.it>
Date2026-07-08 16:00 +0200
Message-ID<NeAYF-3w1j-1@gated-at.bofh.it>
In reply to#1301120
As I said, I'm not very faimliar with a C environment, I compiled (i.e., autoreconf+configure+make) 
the untouched (before your patch) apt-dater source (got from git@github.com:DE-IBH/apt-dater.git) 
and I get this error when refreshing the hosts:
  
                                                           ** (apt-dater:420774): WARNING **: 
15:41:58.476: Failed to execute child process “/usr/local/lib/apt-dater/cmd” (No such file or directory)


On 08/07/2026 15:13, Patrick Matthäi wrote:
> Hello,
> 
> Am 05.07.2026 um 15:16 schrieb atrent:
>> Package: apt-dater
>> Version: 1.0.4+git20260113-1
>> Severity: important
>> X-Debbugs-Cc: me@atrent.it
>>
>> Dear Maintainer,
>>
>> After a recent upgrade of tmux apt-dater started (when connecting to a host) failing with errors 
>> like:
>>
>> "invalid window name: user,,, # root@host...." (username and host are edited)
>>
>> Latest versions of tmux have restricted characters allowed in window titles (see tmux/tmux#5299) 
>> so apt-dater fails
>>
>> I did not find a way of setting a title in the config file of apt-dater...
>>
>> Actually the code seems to set a title without resorting to the config file (see line 174 of src/ 
>> tmux.c) if I understand correctly (I'm not a C expert).
>>
>> Apart from editing the src and recompiling, what is your advice?
>>
>> (I also submitted the same message to the issues on apt-dater repository, see https://github.com/ 
>> DE-IBH/apt-dater/issues/188)
>>
>> Thank you
> 
> Could you test the attached patch?
> 

-- 
Andrea Trentini ⠠⠵ - http://atrent.it - public key ID: 0xA7A91E3B
RU - Dip.to di Informatica - Università degli Studi di Milano

Cittadinanza Digitale e Tecnocivismo:
1) https://www.ledizioni.it/prodotto/cittadinanza-digitale-tecnocivismo
2) https://edizionithemis.it/catalogo/digitale-e-societa/dal-tecnocivismo-alla-cittadinanza-digitale

[toc] | [prev] | [next] | [standalone]


#1301124

FromPatrick Matthäi <patrick@linux-dev.org>
Date2026-07-08 16:20 +0200
Message-ID<NeBi1-3whn-1@gated-at.bofh.it>
In reply to#1301121
ok try this: https://cloud.linux-dev.org/index.php/s/JmRaXmtyPbWk4F5

Am 08.07.2026 um 15:45 schrieb Andrea Trentini:
> As I said, I'm not very faimliar with a C environment, I compiled 
> (i.e., autoreconf+configure+make) the untouched (before your patch) 
> apt-dater source (got from git@github.com:DE-IBH/apt-dater.git) and I 
> get this error when refreshing the hosts:
>
>                                                           ** 
> (apt-dater:420774): WARNING **: 15:41:58.476: Failed to execute child 
> process “/usr/local/lib/apt-dater/cmd” (No such file or directory)
>
>
> On 08/07/2026 15:13, Patrick Matthäi wrote:
>> Hello,
>>
>> Am 05.07.2026 um 15:16 schrieb atrent:
>>> Package: apt-dater
>>> Version: 1.0.4+git20260113-1
>>> Severity: important
>>> X-Debbugs-Cc: me@atrent.it
>>>
>>> Dear Maintainer,
>>>
>>> After a recent upgrade of tmux apt-dater started (when connecting to 
>>> a host) failing with errors like:
>>>
>>> "invalid window name: user,,, # root@host...." (username and host 
>>> are edited)
>>>
>>> Latest versions of tmux have restricted characters allowed in window 
>>> titles (see tmux/tmux#5299) so apt-dater fails
>>>
>>> I did not find a way of setting a title in the config file of 
>>> apt-dater...
>>>
>>> Actually the code seems to set a title without resorting to the 
>>> config file (see line 174 of src/ tmux.c) if I understand correctly 
>>> (I'm not a C expert).
>>>
>>> Apart from editing the src and recompiling, what is your advice?
>>>
>>> (I also submitted the same message to the issues on apt-dater 
>>> repository, see https://github.com/ DE-IBH/apt-dater/issues/188)
>>>
>>> Thank you
>>
>> Could you test the attached patch?
>>
>

[toc] | [prev] | [next] | [standalone]


#1301126

FromAndrea Trentini <ego@atrent.it>
Date2026-07-08 16:50 +0200
Message-ID<NeBL3-3wtk-3@gated-at.bofh.it>
In reply to#1301124
it works against 'tmux 3.7-1' (before I had to hold tmux at 3.5a-3)

On 08/07/2026 16:13, Patrick Matthäi wrote:
> ok try this: https://cloud.linux-dev.org/index.php/s/JmRaXmtyPbWk4F5
> 
> Am 08.07.2026 um 15:45 schrieb Andrea Trentini:
>> As I said, I'm not very faimliar with a C environment, I compiled (i.e., 
>> autoreconf+configure+make) the untouched (before your patch) apt-dater source (got from 
>> git@github.com:DE-IBH/apt-dater.git) and I get this error when refreshing the hosts:
>>
>>                                                           ** (apt-dater:420774): WARNING **: 
>> 15:41:58.476: Failed to execute child process “/usr/local/lib/apt-dater/cmd” (No such file or 
>> directory)
>>
>>
>> On 08/07/2026 15:13, Patrick Matthäi wrote:
>>> Hello,
>>>
>>> Am 05.07.2026 um 15:16 schrieb atrent:
>>>> Package: apt-dater
>>>> Version: 1.0.4+git20260113-1
>>>> Severity: important
>>>> X-Debbugs-Cc: me@atrent.it
>>>>
>>>> Dear Maintainer,
>>>>
>>>> After a recent upgrade of tmux apt-dater started (when connecting to a host) failing with errors 
>>>> like:
>>>>
>>>> "invalid window name: user,,, # root@host...." (username and host are edited)
>>>>
>>>> Latest versions of tmux have restricted characters allowed in window titles (see tmux/tmux#5299) 
>>>> so apt-dater fails
>>>>
>>>> I did not find a way of setting a title in the config file of apt-dater...
>>>>
>>>> Actually the code seems to set a title without resorting to the config file (see line 174 of 
>>>> src/ tmux.c) if I understand correctly (I'm not a C expert).
>>>>
>>>> Apart from editing the src and recompiling, what is your advice?
>>>>
>>>> (I also submitted the same message to the issues on apt-dater repository, see https:// 
>>>> github.com/ DE-IBH/apt-dater/issues/188)
>>>>
>>>> Thank you
>>>
>>> Could you test the attached patch?
>>>
>>

-- 
Andrea Trentini ⠠⠵ - http://atrent.it - public key ID: 0xA7A91E3B
RU - Dip.to di Informatica - Università degli Studi di Milano

Cittadinanza Digitale e Tecnocivismo:
1) https://www.ledizioni.it/prodotto/cittadinanza-digitale-tecnocivismo
2) https://edizionithemis.it/catalogo/digitale-e-societa/dal-tecnocivismo-alla-cittadinanza-digitale

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web