Am 14.05.24 um 10:39 schrieb Vincent Lefevre:
This could explain the error.
I'm wondering why apt plays with the permissions. This is confusing.
Or should there be a locking mechanism?
This reminds me about the long due rewrite to use the apt-API to access
these files and not read them di
On 2024-05-14 09:47:02 +0200, Christoph Martin wrote:
> You could try to prepend strace to your cron call like:
>
> strace -o /tmp/asv.$$ -e trace=file apt-show-versions -u
>
> and look for the failed syscall.
The issue is that this is not reproducible, but see below.
> Did you look for selinux
On 2024-05-13 15:34:31 +0200, Vincent Lefevre wrote:
> > Which user does the cronjob run with?
>
> root, AFAIK (the mail was from root).
Actually by the user (vinc17, i.e. me). I shouldn't have looked
at the "From:" header of the mail for that. Anyway, this shouldn't
matter because the permission
Hi Vincent,
Am 13.05.24 um 19:59 schrieb Vincent Lefevre:
On 2024-05-13 17:12:57 +0200, Christoph Martin wrote:
Please try to access the file e.g. 'less
/var/lib/apt/lists//debug.mirrors.debian.org_debian-debug_dists_stable-debug_InRelease'
No problems.
You could try to prepend strace to
On 2024-05-13 17:12:57 +0200, Christoph Martin wrote:
> Hi Vincent,
>
> Am 13.05.24 um 15:34 schrieb Vincent Lefevre:
>
> > > > I don't know why could cause the error, but the pathname with "//"
> > > > is incorrect.
> > >
> > > // in the path should not be a problem.
> >
> > zsh completion can
Hi Vincent,
Am 13.05.24 um 15:34 schrieb Vincent Lefevre:
I don't know why could cause the error, but the pathname with "//"
is incorrect.
// in the path should not be a problem.
zsh completion cannot handle it, so I was wondering.
Please try to access the file e.g. 'less
/var/lib/apt/li
Hi Christoph,
On 2024-05-13 15:20:28 +0200, Christoph Martin wrote:
> Am 11.05.24 um 11:53 schrieb Vincent Lefevre:
> > Package: apt-show-versions
> > Version: 0.22.15
> > Severity: normal
> >
> > When running "apt-show-versions -u" in a cron script, I got
> >
> > Failed to open file
> > /var/l
Hi Vincent,
Am 11.05.24 um 11:53 schrieb Vincent Lefevre:
Package: apt-show-versions
Version: 0.22.15
Severity: normal
When running "apt-show-versions -u" in a cron script, I got
Failed to open file
/var/lib/apt/lists//debug.mirrors.debian.org_debian-debug_dists_stable-debug_InRelease
for re
Package: apt-show-versions
Version: 0.22.15
Severity: normal
When running "apt-show-versions -u" in a cron script, I got
Failed to open file
/var/lib/apt/lists//debug.mirrors.debian.org_debian-debug_dists_stable-debug_InRelease
for reading: Permission denied
I don't know why could cause the er
9 matches
Mail list logo