Re: Unclear new string

2021-11-24 Thread Helge Kreutzmann
Hello Guillem,
On Tue, Nov 23, 2021 at 10:14:06PM +0100, Guillem Jover wrote:
> On Tue, 2021-11-23 at 18:16:30 +0100, Helge Kreutzmann wrote:
> > while updating the translation of the man pages, I stumbled over one
> > sentence I could not make sense of:
> > 
> > "The file mode check failed (since dpkg 1.21.0).  This check currently
> > only applies to regular files that have a known digest, and on the
> > filesystem are not regular files."
> > 
> > The part after the "and" is unclear. A filesystem without regular
> > files? 
> 
> Hmm, right when writing that I did pause for a bit thinking whether it
> was clear or not, but I guess my bias tricked me. :) Let me retry:
> 
>   The file mode check failed (since dpkg 1.21.0).  This check currently
>   only applies to pathnames that have a known digest and are not regular
>   files on the filesystem.
> 
> If that helps, I'll update git with it.

Yes, this is clear and I understand this.

Thanks for the update.

Greetings

   Helge

-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: PGP signature


Re: Unclear new string

2021-11-24 Thread Guillem Jover
[ Hmm, forgot to send this yesterday after the push. :) ]

On Tue, 2021-11-23 at 23:02:55 +0100, Julian Andres Klode wrote:
> Guillem Jover  schrieb am Di., 23. Nov. 2021, 22:14:
> > On Tue, 2021-11-23 at 18:16:30 +0100, Helge Kreutzmann wrote:
> > > while updating the translation of the man pages, I stumbled over one
> > > sentence I could not make sense of:
> > >
> > > "The file mode check failed (since dpkg 1.21.0).  This check currently
> > > only applies to regular files that have a known digest, and on the
> > > filesystem are not regular files."
> > >
> > > The part after the "and" is unclear. A filesystem without regular
> > > files?
> >
> > Hmm, right when writing that I did pause for a bit thinking whether it
> > was clear or not, but I guess my bias tricked me. :) Let me retry:
> >
> >   The file mode check failed (since dpkg 1.21.0).  This check currently
> >   only applies to pathnames that have a known digest and are not regular
> >   files on the filesystem.

> Sorry for the phone answer, but as I had to read that three times, I
> figured I'd note that. I think I got it now: There is a conflict between
> having a digest and being an irregular file.
> 
> First I wondered: Huh is this checking digests of such files, this makes no
> sense? I was like, should this be an or?
> 
> Second I forgot.
> 
> Turn the "and" into a "but" and I think it gets OK. Currently the
> contradiction is not easy to  deduct.
> 
> Or write explicitly that having a digest conflicts with actually not being
> s regular file.

Ok, I've ended up with this which I've just pushed to git:

,---
The file mode check failed (since dpkg 1.21.0).
Because pathname metadata is currently not tracked, this check can only be
partially emulated via a very simple heuristic for pathnames that have a
known digest, which implies they should be regular files, where the check
will fail if the pathname is not a regular file on the filesystem.
This check will currently never succeed as it does not have enough
information available.
`---

I can refine further if it's still not clear. :)

Thanks,
Guillem



Re: Unclear new string

2021-11-23 Thread Julian Andres Klode
Guillem Jover  schrieb am Di., 23. Nov. 2021, 22:14:

> Hi!
>
> On Tue, 2021-11-23 at 18:16:30 +0100, Helge Kreutzmann wrote:
> > while updating the translation of the man pages, I stumbled over one
> > sentence I could not make sense of:
> >
> > "The file mode check failed (since dpkg 1.21.0).  This check currently
> > only applies to regular files that have a known digest, and on the
> > filesystem are not regular files."
> >
> > The part after the "and" is unclear. A filesystem without regular
> > files?
>
> Hmm, right when writing that I did pause for a bit thinking whether it
> was clear or not, but I guess my bias tricked me. :) Let me retry:
>
>   The file mode check failed (since dpkg 1.21.0).  This check currently
>   only applies to pathnames that have a known digest and are not regular
>   files on the filesystem.
>


Sorry for the phone answer, but as I had to read that three times, I
figured I'd note that. I think I got it now: There is a conflict between
having a digest and being an irregular file.

First I wondered: Huh is this checking digests of such files, this makes no
sense? I was like, should this be an or?

Second I forgot.

Turn the "and" into a "but" and I think it gets OK. Currently the
contradiction is not easy to  deduct.

Or write explicitly that having a digest conflicts with actually not being
s regular file.


Re: Unclear new string

2021-11-23 Thread Guillem Jover
Hi!

On Tue, 2021-11-23 at 18:16:30 +0100, Helge Kreutzmann wrote:
> while updating the translation of the man pages, I stumbled over one
> sentence I could not make sense of:
> 
> "The file mode check failed (since dpkg 1.21.0).  This check currently
> only applies to regular files that have a known digest, and on the
> filesystem are not regular files."
> 
> The part after the "and" is unclear. A filesystem without regular
> files? 

Hmm, right when writing that I did pause for a bit thinking whether it
was clear or not, but I guess my bias tricked me. :) Let me retry:

  The file mode check failed (since dpkg 1.21.0).  This check currently
  only applies to pathnames that have a known digest and are not regular
  files on the filesystem.

If that helps, I'll update git with it.

Thanks,
Guillem



Unclear new string

2021-11-23 Thread Helge Kreutzmann
Hello Guillem,
while updating the translation of the man pages, I stumbled over one
sentence I could not make sense of:

"The file mode check failed (since dpkg 1.21.0).  This check currently
only applies to regular files that have a known digest, and on the
filesystem are not regular files."

The part after the "and" is unclear. A filesystem without regular
files? 

Thanks for clarification.

Greetings

   Helge

-- 
  Dr. Helge Kreutzmann deb...@helgefjell.de
   Dipl.-Phys.   http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
   Help keep free software "libre": http://www.ffii.de/


signature.asc
Description: PGP signature