Debian 11 on old Macbook

2021-11-28 Thread frantal
Ok, since this is how it works I keep it that way.

I thank everyone for the tips and advice.

Francesco

Re: where to find wifi card info in linux-doc

2021-11-28 Thread lou



Thank David, you have better memory than i

my memory is poor because of insomnia





Re: new buster install, dvd said 11.,1 but installed 10.1

2021-11-28 Thread Felix Miata
Andy Smith composed on 2021-11-29 05:02 (UTC):

> What is Trinity and is it actually packaged in Debian? If not, I
> think you should be seeking help with the Trinity upstream.


It's packaged /for/ Debian (among others). The TDE mailing list and IRC people 
are
very helpful:



-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: Fw: new buster install, dvd said 11.,1 but installed 10.1

2021-11-28 Thread Andy Smith
Hi Gene,

On Sun, Nov 28, 2021 at 09:03:21PM -0700, Charles Curley wrote:
> I have installed bullseye now, but still can't install anything fom
> trinity despite installing the keyrnig and the updatig it wth synaptic.
> What the hell is going on?

We don't know because despite being repeatedly asked to do so, you
do not show us exact error messages.

> Then I find this in the terminal screen I ran synaptic from.
> 
> gene@coyote:~$ sudo -E synaptic
> [sudo] password for gene: 
> 
> (synaptic:8048): IBUS-WARNING **: 15:33:02.603: The owner of
> /home/gene/.config/ibus/bus is not root!
> 
> (synaptic:8048): IBUS-WARNING **: 15:33:02.604: Unable to connect to
> ibus: Unexpected lack of content trying to read a line

I don't use synaptic but I understand these are just warnings. What
actual error do you see in the synaptic GUI?

What happens if you use "apt" to do the install?

"sudo -E" isn't a very good habit to get into either; it's going to
bite you some day if you use it habitually. As synaptic is a GUI
app, if it really needs to be run as root I'd expect it to be
launched with gksudo or synaptic-pkexec, but as I don't use synaptic
I've possibly missed something.

What is Trinity and is it actually packaged in Debian? If not, I
think you should be seeking help with the Trinity upstream.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Apt pinning.

2021-11-28 Thread David Wright
On Sun 28 Nov 2021 at 07:13:09 (+), Tim Woodall wrote:
> On Sat, 27 Nov 2021, David Wright wrote:
> > On Sat 27 Nov 2021 at 19:07:14 (+), Tim Woodall wrote:
> > > 
> > > Yes, I don't think I can do this with a generic pin. Maybe pinning
> > > origin "" to -100 might work - not sure if that will uninstall or
> > > downgrade (I'll experiment). I think adding explicit pins to my
> > > 'bullseye-local-sources' package for these packages I want to downgrade
> > > might be my only option. For the two packages I have that I want to
> > > downgrade during the update to bullseye it's easy enough to manually fix
> > > and I haven't yet had to backport anything to bullseye that won't keep a
> > > patched version during the upgrade to Trixy.
> > > 
> > > Thanks for the pointers.
> > 
> > The obvious way to do this would seem to be using an epoch,
> > like 5:, to give your package priority over newer versions.
> > This is standard practice for self-compiled kernels, because
> > newer versions are being released all the time.
> 
> I can see how epochs work when you never want to return to mainline - my
> squid packages would be an example (unless debian decides to adopt my
> configuration options) but they'd make less sense for things like make
> and dump where I've backported and want to return to mainline once the
> new version goes to stable.

I don't see why. To return to mainline, have you tried using the
syntax   install myOldPackage- newMainlinePackage+   which should
move from one version to another without screwing up the dependencies.

> My system for tracking the upstream version and patching it is
> semi-automatic (unless any patch fails to apply) and I think trying to
> bump epochs would add another place where the automatic process would
> fail.

You don't bump epochs; you merely make sure that your epoch exceeds
that of the Debian versions. None of the three packages you've
mentioned so far (linphone make dump) has an epoch in buster or
bullseye.

> I do use debmultimedia.org and I find the epoch bump annoying because I
> can't, for example, drop dmo during the upgrade from buster to bullseye
> and (mostly) have it disappear. IIRC I added dmo years ago for mp3
> codecs - it's not needed any more but it's got it's tendrils everywhere
> and removing it safely and cleanly is unnecessarily hard.

I remember removing dmo when the mainstream Debian packages improved
significantly, and any reason for hanging onto dmo evaporated.
I certainly didn't accomplish it through any clever use of versioning,
but instead using dpkg-query to list package origins, and then dry-run
removals to see which Debian packages needed installing as the dmo
ones were removed.

> I suppose what I really want is a 'minus epsilon' flag to dch which will
> generate a changelog that had a version that tests lower than the
> current version but higher than all versions that test lower than the
> current version.

s/current/particular/; because "current" is not a defined concept
under the circumstances. It could be your current version, or the
Debian version it was patched from, or the most recent Debian version,
or some version about to be superceded by a new release (to name but four).

> But I cannot see such a patch being accepted, however it is implemented,
> and dealing with this once every two years problem of mine is going to
> be less effort than maintaining a patched version of devscripts locally
> (and dpkg and whomever else compares versions)

I envisaged that what you wanted was:

Debian ver.  Task   Your ver.Installed (highest) ver.
1.0  1.0
1.0   ⮧  1.0
1.0  patch   1.0
1.0 ⮡   5:1.05:1.0
2.0  5:1.0
2.0   ⮧  5:1.0
2.0  patch   5:1.0
2.0 ⮡   5:2.05:2.0
3.0  5:2.0

IOW you patch a new version to your specifications at leisure,
and it will be automatically installed when made available.
New Debian releases will be ignored while they are unpatched.

If you track the Debian column, and an automatic patch is applied
successfully and made available, then the process could be self-
sustaining.

As I don't understand "current", I'm not sure what your -epsilon
is for. Likewise, I don't understand whether "return to mainline"
means abandon your versions, or just revisit, say, 3.0 above to
use your automated patch or come up with a new one.

> The following pin rule appears to fix my problem - I'm not sure yet if
> it's wise...
> 
> Package: make dump
> Pin: release n=bullseye
> Pin-Priority: 1001

I can't comment on that, and I notice that Dan couldn't recommend it.

> Kernels are a bit of a special case as they don't 'infect' other
> packages. Even my dump was holding libreadline7 from buster.

True, but I don't see what difference it makes to a package with
a multiplicity of de

Re: where to find wifi card info in linux-doc

2021-11-28 Thread David Wright
On Fri 26 Nov 2021 at 17:03:37 (+0100), Christian Britz wrote:
> Stefan Monnier wrote:
> 
> > AFAICT most of the files in `linux-doc/Documentation`  are compressed,
> > so you'd need to use `zgrep`.
> 
> This actually works recursively with the zgrep command from the zutils
> package, thank you!
> 
> The installation of it throws interesting warnings on testing...
> 
> [...]
> dpkg-divert: warning: diverting file '/bin/zgrep' from an Essential
> package with rename is dangerous, use --no-rename
> dpkg-divert: warning: diverting file '/usr/share/man/man1/zgrep.1.gz'
> from an Essential package with rename is dangerous, use --no-rename
> [...]

You see this merely because a file like /bin/zgrep is essential, but
it's going to be renamed to /bin/zgrep.gzip so that the zutils version
can replace it. Without the diversion, zutils would violate the rule
that the same file can't be installed from more than one package.

It's exceptional enough for you to be warned that it's happening,
but particularly because the default behaviour will be changing
at some point. Anyway, it's expected behaviour.

Cheers,
David.



Re: where to find wifi card info in linux-doc

2021-11-28 Thread David Wright
On Sun 28 Nov 2021 at 21:43:04 (-0500), lou wrote:
> Thank David!
> 
> i want info about wifi adapters supported by kernel without using
> non-free firmware.
> 
> i haven't been able to find such info in linux-doc
> 
> yes, search for such info isn't easy, i give up
> 
> many web pages have stories of linux users' success with wifi adapter
> but they might use non-free firmware

On Debian, perhaps start at
https://wiki.debian.org/WiFi

You might also look at the Guix website as I don't think they
support non-free firmware at all.

> BTW both opensuse and fedora include non-free firmware in their
> official images
> 
> they r so serious about open source that they don't include mp3 player
> (you have to use 3rd party repositories)
> 
> i think debian shall re-consider its policy on non-free firmware

You brought this up in October. Please reread the thread.

Cheers,
David.



Re: MD5 listing format

2021-11-28 Thread David Wright
On Sun 28 Nov 2021 at 23:40:43 (+0100), Thomas Schmitt wrote:
> David Wright wrote:
> > My solution will be to rename or delete the file,
> > after adding code to detect any future occurrences.
> 
> Or you could avoid to show md5sum a file name.
> 
>   path=...as.weird.as.is...
>   md5sum <"$path"
> 
> will yield something like
> 
>   b8ce6ed30aa67e94ad9276c9ac2bbc50  -
> 
> If you need a file name in the result line, then you can change the "-"
> to the file name in a form which you like.

I came across this when I googled the filename:
https://askubuntu.com/questions/144408/what-is-the-file-c-nppdf32log-debuglog-txt
and I would imagine that it's likely related to the origin of my file.
It's the first file in a decade to cause that escaping mechanism,
and only got captured because I dumped the entire /home of a machine
I decommissioned a while back.

Your workaround is probably useful for really pathological filenames,
but doesn't scale well for my use case. (There are 356866 lines in
the MD5SUMS file concerned.) Thanks.

Cheers,
David.



Fw: new buster install, dvd said 11.,1 but installed 10.1

2021-11-28 Thread Charles Curley


Begin forwarded message:

Date: Sun, 28 Nov 2021 12:52:40 -0800
From: Gene Heskett 
To: charlescur...@charlescurley.com
Subject: Re: new buster install, dvd said 11.,1 but installed 10.1


I have installed bullseye now, but still can't install anything fom
trinity despite installing the keyrnig and the updatig it wth synaptic.
What the hell is going on?


Then I find this in the terminal screen I ran synaptic from.


gene@coyote:~$ sudo -E synaptic
[sudo] password for gene: 

(synaptic:8048): IBUS-WARNING **: 15:33:02.603: The owner of
/home/gene/.config/ibus/bus is not root!

(synaptic:8048): IBUS-WARNING **: 15:33:02.604: Unable to connect to
ibus: Unexpected lack of content trying to read a line



Come on guy's, this is two installs in a row that are broken :(
thanks for any clues.


gene



On Sun, 28 Nov, 2021 at 2:48 PM, Charles Curley
 wrote: 

To: debian users
On Sun, 28 Nov 2021 09:10:54 -0800
Gene Heskett mailto:ghesk...@shentel.net>> wrote:

> Where do I start on a new buster net install? The backups are all
> from stretch. All I want is the data. So how do make /bin/tar
> usable/secure?  

You should have no issue recovering Buster era amanda backups on a
Bullseye installation. I just did a slew of fresh Bullseye
installations and recovered from backups made under Buster. So I
recommend you install Bullseye, not Buster.

charles@hawk:~$ ls -l $( which tar )
-rwxr-xr-x 1 root root 531928 Feb 17  2021 /usr/bin/tar
charles@hawk:~$ 


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


I have installed bullseye now, but still can't install anything fom trinity despite installing the keyrnig and the updatig it wth synaptic.  What the hell is going on?
Then I find this in the terminal screen I ran synaptic from.
gene@coyote:~$ sudo -E synaptic
[sudo] password for gene: 

(synaptic:8048): IBUS-WARNING **: 15:33:02.603: The owner of /home/gene/.config/ibus/bus is not root!

(synaptic:8048): IBUS-WARNING **: 15:33:02.604: Unable to connect to ibus: Unexpected lack of content trying to read a line

Come on guy's, this is two installs in a row that are broken :(thanks for any clues.
gene


On Sun, 28 Nov, 2021 at 2:48 PM, Charles Curley  wrote: To: debian usersOn Sun, 28 Nov 2021 09:10:54 -0800
Gene Heskett  wrote:

> Where do I start on a new buster net install? The backups are all
> from stretch. All I want is the data. So how do make /bin/tar
> usable/secure?

You should have no issue recovering Buster era amanda backups on a
Bullseye installation. I just did a slew of fresh Bullseye
installations and recovered from backups made under Buster. So I
recommend you install Bullseye, not Buster.

charles@hawk:~$ ls -l $( which tar )
-rwxr-xr-x 1 root root 531928 Feb 17  2021 /usr/bin/tar
charles@hawk:~$ 


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

.




Re: ceph storage

2021-11-28 Thread Gokan Atmaca
> I could be wrong, but isn't ceph-deploy deprecated?
I did not use native package. I'm still testing.


> Regarding your specific error, it'd be worth diving in the python code
> and try to put some debug prints at some relevant steps. Python3 is
> trying to decode a string, which can't work, as strings in python3 are
> already decoded (versus "bytestring" which are not).


Yes it looks like that. I think I will use native packages.

On Sun, Nov 28, 2021 at 11:02 PM Pierre-Elliott Bécue  wrote:
>
>
> Gokan Atmaca  wrote on 28/11/2021 at 20:39:51+0100:
>
> > Hello
> >
> > I am installing ceph storage. I have 3 monitors, 3 OSD servers. I am
> > using the link below for installation. (*) The error I get is as
> > follows. I couldn't run "fdisk" on the OSD server.
> >
> > What could cause the problem?
> >
> >
> > (*)
> > https://github.com/ceph/ceph-deploy.git
>
> I could be wrong, but isn't ceph-deploy deprecated?
>
> Regarding your specific error, it'd be worth diving in the python code
> and try to put some debug prints at some relevant steps. Python3 is
> trying to decode a string, which can't work, as strings in python3 are
> already decoded (versus "bytestring" which are not).
>
> Cheers,
>
> --
> PEB



Re: where to find wifi card info in linux-doc

2021-11-28 Thread lou

Thank David!

i want info about wifi adapters supported by kernel without using 
non-free firmware.


i haven't been able to find such info in linux-doc

yes, search for such info isn't easy, i give up

many web pages have stories of linux users' success with wifi adapter

but they might use non-free firmware

BTW both opensuse and fedora include non-free firmware in their official 
images


they r so serious about open source that they don't include mp3 player 
(you have to use 3rd party repositories)


i think debian shall re-consider its policy on non-free firmware




Re: MD5 listing format

2021-11-28 Thread Thomas Schmitt
Hi,

David Wright wrote:
> My solution will be to rename or delete the file,
> after adding code to detect any future occurrences.

Or you could avoid to show md5sum a file name.

  path=...as.weird.as.is...
  md5sum <"$path"

will yield something like

  b8ce6ed30aa67e94ad9276c9ac2bbc50  -

If you need a file name in the result line, then you can change the "-"
to the file name in a form which you like.


Have a nice day :)

Thomas



Re: Impossible to give "write" permission on a sub folder

2021-11-28 Thread David Wright
On Sun 28 Nov 2021 at 17:45:33 (+0100), lists.deb...@netc.eu wrote:
> Thansk for the answer. To be honest to you, I already checked all that. Both 
> User1 and User2 folders have have exactly the same permission sets on Windows 
> (they both herit them from the Documents folder).

Were this a windows list, we'd expect you to demonstrate this with
some pasted output.

NTFS permissions and their inheritance is complicated, can be
"broken" (intentional) and corrupted (eg interrupting the
inheritance chain updates) but mendable. So one would need
evidence of clean, up-to-date metadata.

> I did also tried to use the usermap file, but I must say that I didn't 
> managed to do it. I didn't found the Windows zip file to download from the 
> NTFS-3G website and the Linux one I didn't managed to understand once I 
> launch it.

I drafted a reply before Chuck's arrived. I wrote:

You probably need to become very familiar with   man ntfs-3g
particularly with:

"On computers which can be dual-booted into Windows or Linux,
 Windows has to be fully shut down before booting into Linux"

and:

Regardless of what's shown here, have you written to the filesystem
from linux at all? (Note that I'm not asking you to try.) Or IOW, is
the partition listed as rw or ro by mount?

"If either Windows is hibernated or its fast restart is enabled,
 partitions on internal disks are forced to be mounted in read-only mode."

Next is working your way through "Access Handling and Security"
and then appreciating that "umask=value Set[s] the bitmask of the file
and directory permissions /that are not present/. … The default value
is 0 which means full access to everybody." (My emphasis.)

In view of your reported struggles to understand above, I would think
carefully about what exectly you are trying to communicate between
windows and linux.

. Are you actually relying on permissions because User 1,2,3 are
  different people whose data needs protecting, or are they different
  facets of yourself (personal, work, financial, etc.)

. Do the files require preservation of windows metadata. (Eg, if you
  were sharing "C:\WINDOWS", one wouldn't want to interfere with
  metadata that the OS relies upon.)

Then I would decide on whether your shared filesystem would really
be better served by being simple, like exFAT (DC's choice, I've no
experience) or FAT32.

> I did some tests, and I think that I I can't find a way to do it this week I 
> will end by recreate this folders. In my tests it worked well :(

And without understanding what caused the problem, just touch wood and
hope it doesn't happen again? Not the way I'd want to run a system.
For example, what tool would you use to check it and preen it?
(Disclaimer: we have no idea what these "tests" were.)

Cheers,
David.

> Le 2021-11-27 19:39, Chuck Zmudzinski  a écrit : > > 
> Read the ntfs-3 man page. > > Take a look at the man page for ntfs-3g, the 
> section on > Access Handling and Security: > > From the ntfs-3g man page: > 
>  > Access 
> Handling and Security > By default, files and directories are owned by the 
> effective > user and group of the mounting process, and ev‐ > erybody has 
> full read, write, execution and directory browsing > permissions. You can 
> also assign permissions > to a single user by using the uid and/or the gid 
> options > together with the umask, or fmask and dmask options. > > Doing so, 
> Windows users have full access to the files created by > ntfs-3g. > > But, by 
> setting the permissions option, you can benefit from the > full ownership and 
> permissions features as > defined by POSIX. Moreover, by defining a 
> Windows-to-Linux > user mapping, the ownerships and permissions are > even 
> applied to Windows users and conversely. > > If ntfs-3g is set setuid-root 
> then non-root users will be also > able to mount volumes. > 
>  > > You use the 
> defaults option when mounting. I do not know how that > affects access and 
> security for ntfs-3g. I would suggest either using > uid and gid options when 
> mounting instead, or using the > usermapping file that maps Windows users to 
> Debian users. > > You need to check which user under Windows owns those 
> folders, which Windows > users have write access to those folders, etc. > > 
> As mentioned in the man page, there is a way to map Windows users to > Debian 
> 11 users using the default .NTFS-3G/UserMapping file or a > custom 
> usermapping file with the usermapping mount option. > > I used this feature a 
> long time ago, and the format for the usermapping > file is documented in the 
> ntfs-3g man page. > > As is said at the beginning of this reply, read the 
> ntfs-3g man page! > > HTH, > > Chuck > > On 11/26/2021 3:29 AM, 
> lists.deb...@netc.eu wrote: > > Hello to all, > > I have a dual boot PC with 
> Windows 10 and Debian 11 >

Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread David Wright
On Sun 28 Nov 2021 at 11:54:16 (-0800), Charlie Gibbs wrote:
> On Sun Nov 28 11:38:54 2021 Celejar wrote:
> > On Sat, 27 Nov 2021 22:58:58 -0600 David Wright wrote:
> >> On Sat 27 Nov 2021 at 07:22:45 (-0600), John Hasler wrote:
> >>> Celejar writes:
> >>>
>  I'm curious: do most users of Debian on the desktop (who use MUA
>  software, as opposed to webmail via a browser) have such a font
>  installed, or do they see tofu?
> >>>
> >>> I use Gnus.  I've never manually installed any emoji fonts
> >>> (or any other fonts) but I see the glyphs, not the tofu.
> >>
> >> Questions like this remind me how little I understand font handling.
> >> I read mail in mutt in xterm in fvwm in X, currently in buster, and
> >> I see four glyphs. If I save the email in a file, then I see the
> >
> > ...
> >
> >> I wrote /four/ glyphs, but it sounds as if Celejar sees three,
> >> the first one being coloured with some sort of skin tone. My
> >> second glyph, 🏻, is a half-tone box with three lines of dots
> >> inside, of 3, 4 and 3 dots.
> >
> > I assume that the reason I see three and you see four is that the
> > first one (of my three) consists of a combination of the basic
> > "blond haired person" glyph plus a "light skin tone" modifier glyph,
> > which are presumably ideally supposed to be displayed together:
> >
> > https://emojiterra.com/blond-haired-person-light-skin-tone/
> 
> Am I the only one who sees the irony in all this?  We're living
> in an era where the so-called "woke" generation is taking offence
> at every perceived slight or sign of racial or sexual discrimination,
> however minor.  Yet these same people are eagerly leaving behind the
> originally all-text form of e-mail - which has no glyphs that portray
> such differences - in favour of graphics that are gleefully being used
> to highlight them.  Why is nobody being "triggered" by this?

That assumes that I look at the emojis and have a clue what they
mean. I'm really only interested in this conversation in order to get
a more complete repertoire of Unicode displayed correctly. If you were
to look at my personal quick-view chart of Unicode, I think you'd see
that emojis are distinctly lacking. Currently I print:

  ranges = [range(0x20, 0x520, 32),
range(0x2000, 0x2be0, 32),
range(0x2e00, 0x2e40, 32),
range(0x3000, 0x3020, 32),]

Some of these look as if they're combining forms (like the accents
and squiggles, for want of a better word), but I've not found an
opportunity to see clearly whether combining forms actually combine,
before this. (Ie, the result would be an obvious change in glyphs.)

Cheers,
David.



Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread David Wright
On Sun 28 Nov 2021 at 15:43:52 (-0500), Celejar wrote:
> On Sun, 28 Nov 2021 14:11:27 -0600 John Hasler wrote:
> > Celejar writes:
> > > ...or even "recommends" that one...
> > 
> > I wrote:
> > > How do you know?
> > 
> > Celejar writes:
> > > $ apt-cache rdepends fonts-recommended 
> > > fonts-recommended
> > > Reverse Depends:
> > 
> > That doesn't show recommends.
> 
> Yes, it does. From the man page:
> 
> --no-pre-depends, --no-depends, --no-recommends, --no-suggests, 
> --no-conflicts, --no-breaks, --no-replaces, --no-enhances
>Per default the depends and rdepends print all dependencies. This 
> can be tweaked with these flags which will omit the specified
>dependency type. Configuration Item: 
> APT::Cache::ShowDependencyType e.g.  APT::Cache::ShowRecommends.

I wouldn't even need a Suggestion to install such a meta-package.
Anything to reduce the size of this line out of my "basic packages" list:

apt-get -y install fonts-lyx fonts-ricty-diminished texlive-font-utils 
fonts-rufscript fonts-yanone-kaffeesatz xfonts-efont-unicode-ib 
fonts-humor-sans fonts-3270 fonts-cantarell fonts-gfs-didot-classic 
fonts-ecolier-court ttf-aenigma texlive-fonts-recommended-doc 
texlive-fonts-extra fonts-oxygen fonts-lobster xfonts-jmk 
xfonts-terminus-oblique fonts-gfs-baskerville texlive-latex-extra-doc 
texlive-pictures texlive-fonts-recommended pfb2t1c2pfb fonts-ocr-a fonts-ocr-b 
texlive-latex-extra preview-latex-style xfonts-75dpi ps2eps fonts-oflb-euterpe 
ttf-anonymous-pro texlive-fonts-extra-doc fonts-gfs-bodoni-classic 
fonts-inconsolata xfonts-efont-unicode fonts-hack fonty-rg texlive-pstricks-doc 
xfonts-terminus texlive-pstricks fonts-ipafont-gothic cm-super-x11 tipa 
tex-gyre fonts-dkg-handwriting fonts-tiresias fonts-texgyre xfonts-100dpi 
cm-super tv-fonts texlive-latex-recommended-doc fonts-ecolier-lignes-court 
fonts-mph-2b-damase fonts-ipafont-mincho xfonts-scalable fonts-ipafont 
texlive-pictures-doc texlive-latex-recommended fonts-fantasque-sans 
fonts-liberation2 xfonts-intl-phonetic texlive-extra-utils cm-super-minimal # 
ttf-denemo # missing

Cheers,
David.



Re: MD5 listing format

2021-11-28 Thread David Wright
On Sun 28 Nov 2021 at 20:21:15 (+0100), Thomas Schmitt wrote:
> David Wright wrote:
> > I was taken by surprise by the following output from md5sum:
> > \adfc1d2f1b1d6c7fcaa51e857c1a6f68  special/C:\\nppdf32Log\\debuglog.txt
> 
> It's a feature, not a bug. (tm)
> 
>   
> https://www.gnu.org/software/coreutils/manual/html_node/md5sum-invocation.html
> 
>   "Without --zero, if file contains a backslash, newline, or carriage
>return, the line is started with a backslash, and each problematic
>character in the file name is escaped with a backslash, making the
>output unambiguous even in the presence of arbitrary file names."

Ah, I missed that. Ironic considering that I feed md5sum with -print0
and -0 options, but then, md5sum is my final "product". I guess it's
required for md5sum -c to work correctly.

Thanks to Greg too. My solution will be to rename or delete the file,
after adding code to detect any future occurrences.

Cheers,
David.



Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread Celejar
On Sun, 28 Nov 2021 14:11:27 -0600
John Hasler  wrote:

> Celejar writes:
> > ...or even "recommends" that one...
> 
> I wrote:
> > How do you know?
> 
> Celejar writes:
> > $ apt-cache rdepends fonts-recommended 
> > fonts-recommended
> > Reverse Depends:
> 
> That doesn't show recommends.

Yes, it does. From the man page:

--no-pre-depends, --no-depends, --no-recommends, --no-suggests, --no-conflicts, 
--no-breaks, --no-replaces, --no-enhances
   Per default the depends and rdepends print all dependencies. This 
can be tweaked with these flags which will omit the specified
   dependency type. Configuration Item: APT::Cache::ShowDependencyType 
e.g.  APT::Cache::ShowRecommends.

Celejar



Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread Charlie Gibbs

On Sun Nov 28 11:38:54 2021 Celejar  wrote:

> On Sat, 27 Nov 2021 22:58:58 -0600
> David Wright  wrote:
>
>> On Sat 27 Nov 2021 at 07:22:45 (-0600), John Hasler wrote:
>>
>>> Celejar writes:
>>>
 I'm curious: do most users of Debian on the desktop (who use MUA
 software, as opposed to webmail via a browser) have such a font
 installed, or do they see tofu?
>>>
>>> I use Gnus.  I've never manually installed any emoji fonts
>>> (or any other fonts) but I see the glyphs, not the tofu.
>>
>> Questions like this remind me how little I understand font handling.
>> I read mail in mutt in xterm in fvwm in X, currently in buster, and
>> I see four glyphs. If I save the email in a file, then I see the
>
> ...
>
>> I wrote /four/ glyphs, but it sounds as if Celejar sees three,
>> the first one being coloured with some sort of skin tone. My
>> second glyph, 🏻, is a half-tone box with three lines of dots
>> inside, of 3, 4 and 3 dots.
>
> I assume that the reason I see three and you see four is that the
> first one (of my three) consists of a combination of the basic
> "blond haired person" glyph plus a "light skin tone" modifier glyph,
> which are presumably ideally supposed to be displayed together:
>
> https://emojiterra.com/blond-haired-person-light-skin-tone/

Am I the only one who sees the irony in all this?  We're living
in an era where the so-called "woke" generation is taking offence
at every perceived slight or sign of racial or sexual discrimination,
however minor.  Yet these same people are eagerly leaving behind the
originally all-text form of e-mail - which has no glyphs that portray
such differences - in favour of graphics that are gleefully being used
to highlight them.  Why is nobody being "triggered" by this?

--
/~\  Charlie Gibbs  |  Microsoft is a dictatorship.
\ /|  Apple is a cult.
 X   I'm really at ac.dekanfrus |  Linux is anarchy.
/ \  if you read it the right way.  |  Pick your poison.



Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread John Hasler
Celejar writes:
> ...or even "recommends" that one...

I wrote:
> How do you know?

Celejar writes:
> $ apt-cache rdepends fonts-recommended 
> fonts-recommended
> Reverse Depends:

That doesn't show recommends.
-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA



Re: ceph storage

2021-11-28 Thread Pierre-Elliott Bécue

Gokan Atmaca  wrote on 28/11/2021 at 20:39:51+0100:

> Hello
>
> I am installing ceph storage. I have 3 monitors, 3 OSD servers. I am
> using the link below for installation. (*) The error I get is as
> follows. I couldn't run "fdisk" on the OSD server.
>
> What could cause the problem?
>
>
> (*)
> https://github.com/ceph/ceph-deploy.git

I could be wrong, but isn't ceph-deploy deprecated?

Regarding your specific error, it'd be worth diving in the python code
and try to put some debug prints at some relevant steps. Python3 is
trying to decode a string, which can't work, as strings in python3 are
already decoded (versus "bytestring" which are not).

Cheers,

-- 
PEB


signature.asc
Description: PGP signature


Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread Celejar
On Sun, 28 Nov 2021 12:38:19 -0600
John Hasler  wrote:

> I wrote:
> > Do you have the "fonts-recommended" package installed?
> 
> Celejar writes:
> > No, I had never heard of it. Do you?
> 
> Yes.
> 
> > No, I had never heard of it. Do you? No package depends on [it]...
> 
> True.
> 
> > ...or even "recommends" that one...
> 
> How do you know?

$ apt-cache rdepends fonts-recommended 
fonts-recommended
Reverse Depends:

Celejar



Re: new buster install, dvd said 11.,1 but installed 10.1

2021-11-28 Thread Charles Curley
On Sun, 28 Nov 2021 09:10:54 -0800
Gene Heskett  wrote:

> Where do I start on a new buster net install? The backups are all
> from stretch. All I want is the data. So how do make /bin/tar
> usable/secure?

You should have no issue recovering Buster era amanda backups on a
Bullseye installation. I just did a slew of fresh Bullseye
installations and recovered from backups made under Buster. So I
recommend you install Bullseye, not Buster.

charles@hawk:~$ ls -l $( which tar )
-rwxr-xr-x 1 root root 531928 Feb 17  2021 /usr/bin/tar
charles@hawk:~$ 


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



ceph storage

2021-11-28 Thread Gokan Atmaca
Hello

I am installing ceph storage. I have 3 monitors, 3 OSD servers. I am
using the link below for installation. (*) The error I get is as
follows. I couldn't run "fdisk" on the OSD server.

What could cause the problem?


(*)
https://github.com/ceph/ceph-deploy.git

error:

# ceph-deploy disk list ceph-osd1 ceph-osd2 ceph-osd3
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (2.1.0): /usr/local/bin/ceph-deploy
disk list ceph-osd1 ceph-osd2 ceph-osd3
[ceph_deploy.cli][INFO  ] ceph-deploy options:
[ceph_deploy.cli][INFO  ]  verbose   : False
[ceph_deploy.cli][INFO  ]  quiet : False
[ceph_deploy.cli][INFO  ]  username  : None
[ceph_deploy.cli][INFO  ]  overwrite_conf: False
[ceph_deploy.cli][INFO  ]  ceph_conf : None
[ceph_deploy.cli][INFO  ]  cluster   : ceph
[ceph_deploy.cli][INFO  ]  subcommand: list
[ceph_deploy.cli][INFO  ]  cd_conf   :

[ceph_deploy.cli][INFO  ]  default_release   : False
[ceph_deploy.cli][INFO  ]  func  : 
[ceph_deploy.cli][INFO  ]  host  :
['ceph-osd1', 'ceph-osd2', 'ceph-osd3']
[ceph_deploy.cli][INFO  ]  debug : False
[ceph-osd1][DEBUG ] connected to host: ceph-osd1
[ceph-osd1][INFO  ] Running command: fdisk -l
[ceph_deploy][ERROR ] Traceback (most recent call last):
[ceph_deploy][ERROR ]   File
"/usr/local/lib/python3.8/dist-packages/ceph_deploy/util/decorators.py",
line 69, in newfunc
[ceph_deploy][ERROR ] return f(*a, **kw)
[ceph_deploy][ERROR ]   File
"/usr/local/lib/python3.8/dist-packages/ceph_deploy/cli.py", line 166,
in _main
[ceph_deploy][ERROR ] return args.func(args)
[ceph_deploy][ERROR ]   File
"/usr/local/lib/python3.8/dist-packages/ceph_deploy/osd.py", line 435,
in disk
[ceph_deploy][ERROR ] disk_list(args, cfg)
[ceph_deploy][ERROR ]   File
"/usr/local/lib/python3.8/dist-packages/ceph_deploy/osd.py", line 375,
in disk_list
[ceph_deploy][ERROR ] line = line.decode('utf-8')
[ceph_deploy][ERROR ] AttributeError: 'str' object has no attribute 'decode'
[ceph_deploy][ERROR ]



-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: Off Topic: Firefox and Duckduckgo Failure

2021-11-28 Thread Hans
Am Sonntag, 28. November 2021, 20:22:25 CET schrieb harrywea...@tutanota.com:

Running debian/stable, amd64, fully updated. No problems here. 

Just a guess: Are you running NoScript plugin im Firefox? Maybe it is not 
trusted.

Have fun!

Hans
> > Duckduckgo shows its search page in Firefox as normal, but returns no
> > search result. It works fine in Chromium as usual.
> > 
> > Has anyone else the same problem/
> 
> No problem here, on SID!
> Cheers!
> 
> Harry.






Re: Off Topic: Firefox and Duckduckgo Failure

2021-11-28 Thread Nicolas George
Terence (12021-11-28):
> Duckduckgo shows its search page in Firefox as normal, but returns no
> search result. It works fine in Chromium as usual.
> 
> Has anyone else the same problem/

I do not know if it is related, but I have observed problems of parts of
some pages not displaying, or displaying as flat rectangles, just after
a Firefox upgrade to 78.15.0esr-1~deb11u1. I downgraded to
78.14.0esr-1+b1 for now.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Off Topic: Firefox and Duckduckgo Failure

2021-11-28 Thread harryweaver



-- 
 Sent with Tutanota, the secure & ad-free mailbox. 



29 Nov 2021, 02:22 by terence.j...@gmail.com:

> Duckduckgo shows its search page in Firefox as normal, but returns no search 
> result. It works fine in Chromium as usual.
>
> Has anyone else the same problem/
>
>
No problem here, on SID!
Cheers!

Harry.



Re: MD5 listing format

2021-11-28 Thread Thomas Schmitt
Hi,

David Wright wrote:
> I was taken by surprise by the following output from md5sum:
> \adfc1d2f1b1d6c7fcaa51e857c1a6f68  special/C:\\nppdf32Log\\debuglog.txt

It's a feature, not a bug. (tm)

  https://www.gnu.org/software/coreutils/manual/html_node/md5sum-invocation.html

  "Without --zero, if file contains a backslash, newline, or carriage
   return, the line is started with a backslash, and each problematic
   character in the file name is escaped with a backslash, making the
   output unambiguous even in the presence of arbitrary file names."


Have a nice day :)

Thomas



Re: MD5 listing format

2021-11-28 Thread Greg Wooledge
On Sun, Nov 28, 2021 at 12:57:00PM -0600, David Wright wrote:
> I was taken by surprise by the following output from md5sum:
> $ echo special/*
> special/C:\nppdf32Log\debuglog.txt special/same-contents
> $ md5sum special/*
> \adfc1d2f1b1d6c7fcaa51e857c1a6f68  special/C:\\nppdf32Log\\debuglog.txt
> adfc1d2f1b1d6c7fcaa51e857c1a6f68  special/same-contents

Fun.

> I don't understand why it pollutes the first field in its output.

Well, it doesn't bother to *document* why it does this, so we can only
guess (or source-dive).

> I would have thought it sufficient to mangle the filename if it
> feels it has to (echo doesn't bother).

Perhaps it prepends the \ character to the output line to indicate to
whoever's reading this file (which may be md5sum itself, in --check
mode) that a filename mangling *has occurred* and needs to be accounted
for.

Otherwise, how would the reader know whether the filename is actually

C:\\nppdf32Log\\debuglog.txt

or

C:\nppdf32Log\debuglog.txt

... and, upon further investigation, it turns out md5sum is part of GNU
coreutils.  Which means the man page that I've been reading *is not the
documentation*.  Fuckers.

In the blighted *info page*, there's this paragraph:

   For each FILE, ‘md5sum’ outputs by default, the MD5 checksum, a
space, a flag indicating binary or text input mode, and the file name.
Binary mode is indicated with ‘*’, text mode with ‘ ’ (space).  Binary
mode is the default on systems where it’s significant, otherwise text
mode is the default.  Without ‘--zero’, if FILE contains a backslash or
newline, the line is started with a backslash, and each problematic
character in the file name is escaped with a backslash, making the
output unambiguous even in the presence of arbitrary file names.  If
FILE is omitted or specified as ‘-’, standard input is read.



MD5 listing format

2021-11-28 Thread David Wright
I was taken by surprise by the following output from md5sum:

$ ls -Glg special/
total 8
-rw-r--r-- 1 144 Oct 24  2014 'C:\nppdf32Log\debuglog.txt'
-rw-r--r-- 1 144 Oct 24  2014  same-contents
$ echo special/*
special/C:\nppdf32Log\debuglog.txt special/same-contents
$ md5sum special/*
\adfc1d2f1b1d6c7fcaa51e857c1a6f68  special/C:\\nppdf32Log\\debuglog.txt
adfc1d2f1b1d6c7fcaa51e857c1a6f68  special/same-contents
$ md5sum special/* | hex
  5c 61 64 66 63 31 64 32  66 31 62 31 64 36 63 37  |\adfc1d2f1b1d6c7|
0010  66 63 61 61 35 31 65 38  35 37 63 31 61 36 66 36  |fcaa51e857c1a6f6|
0020  38 20 20 73 70 65 63 69  61 6c 2f 43 3a 5c 5c 6e  |8  special/C:\\n|
0030  70 70 64 66 33 32 4c 6f  67 5c 5c 64 65 62 75 67  |ppdf32Log\\debug|
0040  6c 6f 67 2e 74 78 74 0a  61 64 66 63 31 64 32 66  |log.txt.adfc1d2f|
0050  31 62 31 64 36 63 37 66  63 61 61 35 31 65 38 35  |1b1d6c7fcaa51e85|
0060  37 63 31 61 36 66 36 38  20 20 73 70 65 63 69 61  |7c1a6f68  specia|
0070  6c 2f 73 61 6d 65 2d 63  6f 6e 74 65 6e 74 73 0a  |l/same-contents.|
0080
$ 

I don't understand why it pollutes the first field in its output.
I would have thought it sufficient to mangle the filename if it
feels it has to (echo doesn't bother).

Cheers,
David.



Re: where to find wifi card info in linux-doc

2021-11-28 Thread David Wright
On Fri 26 Nov 2021 at 21:12:25 (-0500), lou wrote:
> 
> On 11/26/21 11:08 AM, Christian Britz wrote:
> > Christian Britz wrote:
> > > This actually works recursively with the zgrep command from the zutils
> > > package, thank you!
> > And still it doesn't find the file mentioned by deloptes, amazing! :-D
> 
> Thanks to all that reply!
> 
> WUSB-Design-overview.txt is available in linux doc 4.9, not in 5.10

If it /were/ available, is that what you're after (judging from the
contents of 4.9)? Your original question was about wifi cards, then
corrected to adapters. Generally, the kernel docs deal with chipsets,
and are fairly uninterested in which hardware they are embedded.

This can be frustrating when you want to purchase a suitable device,
as even the same model name (on the box) can have different chipsets
inside from one instance to another, particularly with cheap ones.

So it might help to clarify from which viewpoint you seek the info,
and any particular cards/adapters/chipsets involved.

Cheers,
David.



Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread David Wright
On Sat 27 Nov 2021 at 21:50:22 (-0600), John Hasler wrote:
> Do you have the "fonts-recommended" package installed?

Obviously I'm doing something wrong (or not doing it),
as I have just installed all the fonts available in
buster that match fonts-recommended/bullseye, including
fonts-noto-color-emoji, and yet:

$ dpkg -l | grep emoji
ii  fonts-noto-color-emoji0~20180810-1allcolor emoji font from 
Google
ii  fonts-symbola 2.60-1  allsymbolic font providing 
emoji characters from Unicode 9.0
$ fc-list noto
$ fc-match noto
DejaVuSans.ttf: "DejaVu Sans" "Book"
$ 

Nothing changes from my previous post: four monochrome emojis.
(I take Celejar's point, that correct installation and
implementation would cause the first two to combine.)

Cheers,
David.



Re: new buster install, dvd said 11.,1 but installed 10.1

2021-11-28 Thread Lee
On 11/28/21, Andrew M.A. Cater  wrote:
>
> Please help everyone else on the list understand how well/badly this goes.
> Precise error messages or sequences of commands you've run are really
> helpful

I've always liked script for capturing what happens on the command
line but the captured control chars made the saved text close to
unreadable for me.  Resetting TERM makes the captured output much
easier to read - eg:

TERM=tty  script /tmp/script.output

Regards,
Lee



Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread John Hasler
I wrote:
> Do you have the "fonts-recommended" package installed?

Celejar writes:
> No, I had never heard of it. Do you?

Yes.

> No, I had never heard of it. Do you? No package depends on [it]...

True.

> ...or even "recommends" that one...

How do you know?
-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA



Re: new buster install, dvd said 11.,1 but installed 10.1

2021-11-28 Thread Andrew M.A. Cater
On Sun, Nov 28, 2021 at 09:10:54AM -0800, Gene Heskett wrote:
> Plz excuse the foul attitude, one of seagates finest 2T drives ate its 
> own lunch  friday and I'm on web mail. Lost everything but I have backups 
> I cannot access.
> 
> 
> 
> apt/synaptic will not let me install any of Trinity, claims I have held 
> broken packages it refuses to name. and synaptics fix-broken does nothing.
> 
> 
> so I'm locked out of my normal email, and the repo version of amanda 
> keeps telling me I can't recover a perfectly good backup because  
> /bin/tar is not secure. WTH?
> 
> 
> Where do I start on a new buster net install? 

Don't. Just don't. Install bullseye. Use the unofficIal firmware included
.iso from 
http://debian.osuosl.org/debian-cdimage/11.1.0/amd64/iso-dvd/debian-11.1.0-amd64-DVD-1.iso
 - a US mirror so ought to be OK for you: 
DVD so that you have the maximum available software available to you to 
start with.

I'd really advise you to use the expert install mode if you want to do
anything complex - but that's as much because it is very familiar to me
as anything else. It does ask all the low level questions, though, so is
a good choice when you want to customise anything.

Since Trinity comes from outside Debian main and from a third party, I 
would also advise that you not install a desktop environment from Debian
on first pass through the installer but then follow the instructions from
https://wiki.trinitydesktop.org/Debian_Trinity_Repository_Installation_Instructions

The backups are all from stretch. All I want is the data. 
So how do make /bin/tar usable/secure?
> 
> 
PRECISE error message please: there are lots of variables, as ever. Thanks.

Which version of tar are you using? There appears to be a version of tar
internal to amanda and, of course, GNU tar.
[Don't use amanda here]

I'd suggest Bullseye because, although buster remains supported, time is
running down.

> 
> Thanks all.
> 
> 
> Cheers, Gene Heskett

Please help everyone else on the list understand how well/badly this goes.
Precise error messages or sequences of commands you've run are really
helpful - guesstimates from any of the rest of us in the absence of 
information are not always as helpful as they might be.

All the very best, as ever,

Andy Cater



Re: new buster install, dvd said 11.,1 but installed 10.1

2021-11-28 Thread Lee
On 11/28/21, Gene Heskett  wrote:
> Plz excuse the foul attitude, one of seagates finest 2T drives ate its own
> lunch  friday and I'm on web mail. Lost everything but I have backups I
> cannot access.
>
> apt/synaptic will not let me install any of Trinity, claims I have held
> broken packages it refuses to name. and synaptics fix-broken does nothing.
>
>
> so I'm locked out of my normal email, and the repo version of amanda keeps
> telling me I can't recover a perfectly good backup because
>
> /bin/tar is not secure. WTH?

A copy/paste of the error message would be helpful.

> Where do I start on a new buster net install?

I started here
  
https://cdimage.debian.org/cdimage/unofficial/non-free/images-including-firmware/11.1.0+nonfree/amd64/iso-cd/
with
  firmware-11.1.0-amd64-netinst.iso

> The backups are all from
> stretch. All I want is the data. So how do make /bin/tar usable/secure?

I have no idea :(  Hopefully someone else will be able to help you with that..

Best Regards,
Lee



Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread Celejar
On Sat, 27 Nov 2021 22:58:58 -0600
David Wright  wrote:

> On Sat 27 Nov 2021 at 07:22:45 (-0600), John Hasler wrote:
> > Celejar writes:
> > > I'm curious: do most users of Debian on the desktop (who use MUA
> > > software, as opposed to webmail via a browser) have such a font
> > > installed, or do they see tofu?
> > 
> > I use Gnus.  I've never manually installed any emoji fonts (or any other
> > fonts) but I see the glyphs, not the tofu.
> 
> Questions like this remind me how little I understand font handling.
> I read mail in mutt in xterm in fvwm in X, currently in buster, and
> I see four glyphs. If I save the email in a file, then I see the

...

> I wrote /four/ glyphs, but it sounds as if Celejar sees three,
> the first one being coloured with some sort of skin tone. My
> second glyph, 🏻, is a half-tone box with three lines of dots
> inside, of 3, 4 and 3 dots.

I assume that the reason I see three and you see four is that the first
one (of my three) consists of a combination of the basic "blond haired
person" glyph plus a "light skin tone" modifier glyph, which are
presumably ideally supposed to be displayed together:

https://emojiterra.com/blond-haired-person-light-skin-tone/

Celejar



Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread Celejar
On Sat, 27 Nov 2021 21:50:22 -0600
John Hasler  wrote:

> Do you have the "fonts-recommended" package installed?

No, I had never heard of it. Do you? No package depends on or even
"recommends" that one, so I'm not sure how you would have ended up with
it insofar as you "never manually installed any emoji fonts (or any
other fonts)."

Celejar



new buster install, dvd said 11.,1 but installed 10.1

2021-11-28 Thread Gene Heskett
Plz excuse the foul attitude, one of seagates finest 2T drives ate its own 
lunch  friday and I'm on web mail. Lost everything but I have backups I cannot 
access.



apt/synaptic will not let me install any of Trinity, claims I have held broken 
packages it refuses to name. and synaptics fix-broken does nothing.


so I'm locked out of my normal email, and the repo version of amanda keeps 
telling me I can't recover a perfectly good backup because 

/bin/tar is not secure. WTH?


Where do I start on a new buster net install? The backups are all from stretch. 
All I want is the data. So how do make /bin/tar usable/secure?



Thanks all.


Cheers, Gene Heskett

Re: Impossible to give "write" permission on a sub folder

2021-11-28 Thread lists . debian
Thansk for the answer. To be honest to you, I already checked all that. Both 
User1 and User2 folders have have exactly the same permission sets on Windows 
(they both herit them from the Documents folder). I did also tried to use the 
usermap file, but I must say that I didn't managed to do it. I didn't found the 
Windows zip file to download from the NTFS-3G website and the Linux one I 
didn't managed to understand once I launch it. I did some tests, and I think 
that I I can't find a way to do it this week I will end by recreate this 
folders. In my tests it worked well :( Best regards, Marc Le 2021-11-27 19:39, 
Chuck Zmudzinski  a écrit : > > Read the ntfs-3 man 
page. > > Take a look at the man page for ntfs-3g, the section on > Access 
Handling and Security: > > From the ntfs-3g man page: > 
 > Access Handling 
and Security > By default, files and directories are owned by the effective > 
user and group of the mounting process, and ev‐ > erybody has full read, write, 
execution and directory browsing > permissions. You can also assign permissions 
> to a single user by using the uid and/or the gid options > together with the 
umask, or fmask and dmask options. > > Doing so, Windows users have full access 
to the files created by > ntfs-3g. > > But, by setting the permissions option, 
you can benefit from the > full ownership and permissions features as > defined 
by POSIX. Moreover, by defining a Windows-to-Linux > user mapping, the 
ownerships and permissions are > even applied to Windows users and conversely. 
> > If ntfs-3g is set setuid-root then non-root users will be also > able to 
mount volumes. >  > 
> You use the defaults option when mounting. I do not know how that > affects 
access and security for ntfs-3g. I would suggest either using > uid and gid 
options when mounting instead, or using the > usermapping file that maps 
Windows users to Debian users. > > You need to check which user under Windows 
owns those folders, which Windows > users have write access to those folders, 
etc. > > As mentioned in the man page, there is a way to map Windows users to > 
Debian 11 users using the default .NTFS-3G/UserMapping file or a > custom 
usermapping file with the usermapping mount option. > > I used this feature a 
long time ago, and the format for the usermapping > file is documented in the 
ntfs-3g man page. > > As is said at the beginning of this reply, read the 
ntfs-3g man page! > > HTH, > > Chuck > > On 11/26/2021 3:29 AM, 
lists.deb...@netc.eu wrote: > > Hello to all, > > I have a dual boot PC with 
Windows 10 and Debian 11 > > This PC has 2 drives, one SSD that has both 
operating systems and a > > HDD where I store all other files (documents, 
music, images, ...) > > The goal is to share this HDD between Windows and 
Debian. To do it, I > > added the following line to the fstab file: > > > > 
UUID=ACB23705B236D414 /mnt/windows ntfs-3g defaults,umask=000 > > 0 0 > > > > 
the folders lount without any problem to /mnt/windows, all with the > > correct 
permission settings (rwx) : > > > > $ ls -l /mnt/windows/ > > total 80 > > 
drwxrwxrwx 1 root root 4096 14 nov. 20:20 '$RECYCLE.BIN' > > drwxrwxrwx 1 root 
root 4096 24 nov. 15:59 CloudStation > > drwxrwxrwx 1 root root 4096 21 nov. 
11:44 Documents > > -rwxrwxrwx 1 root root 8192 25 juin 08:15 DumpStack.log.tmp 
> > drwxrwxrwx 1 root root 4096 22 nov. 20:41 Images > > drwxrwxrwx 1 root root 
4096 24 nov. 11:53 Music > > drwxrwxrwx 1 root root 8192 23 nov. 06:21 'System 
Volume Information' > > drwxrwxrwx 1 root root 40960 21 nov. 22:22 Downloads > 
> drwxrwxrwx 1 root root 4096 21 nov. 19:44 Videos > > > > My problem is that 
in some sub folders, I'm not getting the write > > ("w") permission. For 
example on the "Documents" one: > > > > $ ls -l /mnt/windows/Documents/ > > 
total 117 > > drwxrwxrwx 1 root root 16384 24 nov. 15:59 User1 > > -rwxrwxrwx 1 
root root 0 26 nov. 2020 Default.rdp > > -rwxrwxrwx 1 root root 432 11 mars 
2021 desktop.ini > > dr-xr-xr-x 1 root root 40960 24 nov. 15:59 User2 > > 
drwxrwxrwx 1 root root 16384 24 nov. 16:00 Public > > drwxrwxrwx 1 root root 
4096 24 nov. 15:59 User3 > > dr-xr-xr-x 1 root root 20480 21 nov. 12:05 Scan > 
> -rwxrwxrwx 1 root root 18432 4 déc. 2016 Thumbs.db > > drwxrwxrwx 1 root root 
0 16 nov. 23:13 'Unified Remote' > > > > Most of the folders are OK, but I ave 
User2 and San that doesn't have > > the write ("w") permission... > > Do you 
have any idea on whats going on? > > Thanks in advance for all the help, > > 
Berst regards, > > Marc > >


Re: Off Topic: Firefox and Duckduckgo Failure

2021-11-28 Thread Erwan David

Le 28/11/2021 à 17:22, Terence a écrit :
Duckduckgo shows its search page in Firefox as normal, but returns no 
search result. It works fine in Chromium as usual.


Has anyone else the same problem/


Works for me (but I do not use the firefox package, I use the upstream 
software)




Off Topic: Firefox and Duckduckgo Failure

2021-11-28 Thread Terence
Duckduckgo shows its search page in Firefox as normal, but returns no
search result. It works fine in Chromium as usual.

Has anyone else the same problem/


Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread The Wanderer
On 2021-11-28 at 10:45, Nate Bargmann wrote:

> * On 2021 27 Nov 20:09 -0600, Celejar wrote:
>
>> I'm pretty sure Droid Sans Mono Slashed doesn't have the glyphs in
>> question, and that you must actually have the noto or similar fonts
>> installed, with some part of the Gnome infrastructure finding them when
>> you select the glyphs. What does "fc-list | grep noto" show?
> 
> $ fc-list | grep noto
> /usr/share/fonts/truetype/noto/NotoSansMono-Regular.ttf: Noto Sans 
> Mono:style=Regular
> /usr/share/fonts/truetype/noto/NotoSansMono-Bold.ttf: Noto Sans 
> Mono:style=Bold
> /usr/share/fonts/truetype/noto/NotoMono-Regular.ttf: Noto Mono:style=Regular

These three are from fonts-noto-mono.

> /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf: Noto Color 
> Emoji:style=Regular

This one is from fonts-noto-color-emoji.

For comparison, according to a quick naive check I just ran, the
TrueType font-file counts per noto package are as follows:

fonts-noto-core: 268
fonts-noto-extra: 1540
fonts-noto-hinted: 0
fonts-noto-mono: 3
fonts-noto-ui-core: 36
fonts-noto-ui-extra: 532
fonts-noto-unhinted: 0
fonts-noto-cjk: 0
fonts-noto-cjk-extra: 0
fonts-noto-color-emoji: 1

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread Nate Bargmann
* On 2021 27 Nov 20:09 -0600, Celejar wrote:
> I'm pretty sure Droid Sans Mono Slashed doesn't have the glyphs in
> question, and that you must actually have the noto or similar fonts
> installed, with some part of the Gnome infrastructure finding them when
> you select the glyphs. What does "fc-list | grep noto" show?

$ fc-list | grep noto
/usr/share/fonts/truetype/noto/NotoSansMono-Regular.ttf: Noto Sans 
Mono:style=Regular
/usr/share/fonts/truetype/noto/NotoSansMono-Bold.ttf: Noto Sans Mono:style=Bold
/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf: Noto Mono:style=Regular
/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf: Noto Color 
Emoji:style=Regular

> If you have the noto fonts installed, try uninstalling them and then
> see if your system can still display the glyphs.

As I don't really care to mess with a working system, perhaps someone
else without the Noto fonts can post their before and after results.

I see that gnome-core depends on gnome-characters which, in turn,
recommends fonts-noto-color-emoji and I have Aptitude configured to
install Recommends automatically.  So here the noto package shows to be
automatically installed so I guess I got the functionality "for free" by
using Gnome.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: Apt pinning.

2021-11-28 Thread Thomas Schmitt
Hi,

The Wanderer wrote:
> an epoch as high as 9:
> ii  wodim
> 9:1.1.11-3.2

Looks like interesting history.

  https://tracker.debian.org/media/packages/c/cdrkit/changelog-91.1.11-3.2
(when read backwards) shows repeated occasions of what
  
https://www.debian.org/doc/debian-policy/ch-controlfields.html#epochs-should-be-used-sparingly
describes as:
  "Note that the purpose of epochs is [...] to allow us to leave behind
   serious mistakes."

It began in the old cdrecord days obviously to override the peculiar
upstream version numbering of cdrecord pre-releases:

-- Christian Schwarz   Tue, 16 Sep 1997 22:16:57 +0200
  cdrecord (1.5a5-1) experimental; urgency=low
 ...
-- Christian Schwarz   Sun, 12 Oct 1997 21:59:11 +0200
  cdrecord (1:1.5-1) unstable; urgency=low
 ...
 * Included epoch in version number.
 ...

There might have been the intention to stay with a version format where
chronological sequence and dpkg sorting are in sync. But then a new
package maintainer took over and the letters got re-introduced.
This became a sorting problem later:

-- Erik Andersen   Sat, 22 Jan 2000 12:40:27 -0700
  cdrecord (1:1.8a40r3-1) frozen unstable; urgency=low
...
-- Erik Andersen   Mon, 21 Feb 2000 22:29:39 -0700
  cdrecord (2:1.8a40-1) frozen unstable; urgency=low
...
-- Erik Andersen   Tue, 29 Feb 2000 10:02:15 -0700
  cdrecord (3:1.8-1) frozen unstable; urgency=low
...
   -- Erik Andersen   Sat, 29 Sep 2001 15:41:11 -0600
 cdrtools (4:1.10-1) unstable; urgency=low

For a while, the pre-release suffixes were avoided and the "source" version
staid with the youngest release.
When they came back, a "+" was inserted between the minor version number of
the youngest released version and the current pre-release version:

   -- Eduard Bloch   Fri,  6 Sep 2002 20:09:15 +0200
  cdrtools (4:1.10+11a31-1) unstable; urgency=low

The lower sorting rank of '+' in comparison to '-' solved the problem with
the pre-release suffixes.

Then came the big fork of cdrtools into cdrkit with new version numbers
(and an even better separator for "pre1"):

   -- Eduard Bloch   Mon,  4 Sep 2006 01:24:22 +0200
  cdrkit (5:1.0~pre1-1) unstable; urgency=low

This could have been the epoch to be used up to today. But then Knoppix
was caught with having installed a cdrecord package with epoch 8.
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=35#32

So the current epoch became 9.

   -- Eduard Bloch   Sat, 30 Dec 2006 16:45:31 +0100
  cdrkit (9:1.1.0-1) unstable; urgency=low


The Wanderer wrote:
> I don't see any of 10 or above.

None to be expected from cdrkit. The lack of further substantial
development quite surely ended this dramedy.
(I doubt that its final maintainer would be willing to change its
epoch just to please people who installed a non-Debian package of it.)


Have a nice day :)

Thomas



strongswan still uses outdated ``ipsec(8)`` command by default

2021-11-28 Thread IL Ka
Hello.

Before sending the issue to maintainers I want to ask people who use
strongswan.

StrongSWAN migrated from ``ipsec(8)`` to ``swanctl(8)`` and from
``strongswan-starter`` (ipsec-based) to ``strongswan`` (special version of
charon that could be used with systemd).
https://wiki.strongswan.org/projects/strongswan/wiki/Charon-systemd

In Debian you have the legacy "strongswan-starter" package and modern
"charon-systemd".

Metapackage "strongswan" depends on former and its ``README.Debian.gz``
still mention ``ipsec`` command

So after installing strongswan I had to manually
disable "strongswan-starter" and install "charon-systemd" and enable
"strongswan" service (which starts charon and loads data using swanctl)
It is covered briefly in NEWS file for "charon-systemd" (but not in a wiki
unfortunately)

Do you use ipsec(8) or swanctl(8)?  Why not make swanctl/charon-systemd
Debian default?

Ilya.


Re: Emoji fonts in Debian [WAS:] Re: How to NOT automatically mount a specific partition of an external device?

2021-11-28 Thread The Wanderer
On 2021-11-27 at 22:36, Celejar wrote:

> On Sat, 27 Nov 2021 21:28:05 -0500
> The Wanderer  wrote:
> 
>> On 2021-11-27 at 21:08, Celejar wrote:

>>> I'm pretty sure Droid Sans Mono Slashed doesn't have the glyphs in
>>> question, and that you must actually have the noto or similar fonts
>>> installed, with some part of the Gnome infrastructure finding them when
>>> you select the glyphs. What does "fc-list | grep noto" show?
>> 
>> If my own system is any guide, that may be an overly broad sort of
>> question.
>> 
>> $ fc-list | wc -l
>>2479
> 
> Well, I didn't ask for that one.

Yeah - that was just to give a sense of context and scale for the rest.

>> $ fc-list | grep noto | wc -l
>>1847
> 
> Huh. Our systems must be very different:
> 
> ~$ fc-list | grep noto | wc -l
> 1
> 
> ~$ fc-list | grep noto
> /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf: Noto Color 
> Emoji:style=Regular

That'd probably be because you only have one of the fonts-noto-*
packages installed, whereas I have four of them (and we don't have any
overlap).

>> The above is with the following installed package set:
>> 
>> dpkg -l "fonts-noto*" | grep ^ii
>> ii  fonts-noto-core 20201225-1   all  "No Tofu" font
>> families with large Unicode coverage (core)
>> ii  fonts-noto-extra20201225-1   all  "No Tofu" font
>> families with large Unicode coverage (extra)
>> ii  fonts-noto-mono 20201225-1   all  "No Tofu" monospaced
>> font family with large Unicode coverage
>> ii  fonts-noto-ui-core  20201225-1   all  "No Tofu" font
>> families with large Unicode coverage (UI core)
>> 
>> I don't think I was aware that there are color versions, and I certainly
>> don't think I'd want them.

Going a bit beyond this for more context:

$ apt-file search /usr/share/fonts/truetype/noto/ | wc -l
2380

(So my 1847 is about three-fourths of the total, assuming no collisions.
I did also verify that every item in this count is named as being a TTF
file.)

$ apt-file search /usr/share/fonts/truetype/noto/ | cut -d ':' -f 1 | uniq
fonts-noto-color-emoji
fonts-noto-core
fonts-noto-extra
fonts-noto-mono
fonts-noto-ui-core
fonts-noto-ui-extra

Per the above, I have four of those installed: core, extra, mono, and
ui-core. By contrast, you appear to have only one installed:
color-emoji, which (according to 'apt-file show') appears to contain
only one font file - the one you reported from fc-list, above.

In my case, I got tired of seeing the "tofu" (without, I think, ever
learning that term), and went out of my way to install fonts to provide
as much coverage as I could manage. I appear to have missed one or two,
but I haven't seen any missing glyphs in rather a while.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Apt pinning.

2021-11-28 Thread The Wanderer
On 2021-11-28 at 00:03, David Wright wrote:

> Epochs are unaffected by any such considerations: they override the
> whole versioning system. BTW I can't recall seeing an official Debian
> epoch as high as 2: though someone will probably correct me.

Oh, it certainly happens. Even just on my own system, I see 184 epochs
of 2 or higher:

$ dpkg -l "*" | grep "\b[2-9]:[0-9]" | wc -l
184

and even one set of packages with an epoch as high as 9:

~$ dpkg -l "*" | grep "\b9:[0-9]"
ii  cdrkit-doc
9:1.1.11-3.2   all  Documentation for
the cdrkit package suite
ii  genisoimage
9:1.1.11-3.2   amd64Creates ISO-9660
CD-ROM filesystem images
ii  wodim
9:1.1.11-3.2   amd64command line CD/DVD
writing tool

though I don't see any of 10 or above.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature