Re: trying to parse lines from an awkwardly formatted HAR file ...

2024-03-23 Thread Albretch Mueller
> Archive.org has a well-documented API at > https://archive.org/developers/. There's even a command-line tool > (assuming one doesn't want to use, say, the python library). I had given a somewhat thorough reading to their API some time ago, but didn’t find anything that interesting and I was

Re: trying to parse lines from an awkwardly formatted HAR file ...

2024-03-23 Thread Albretch Mueller
Greg Wooledge via lists.debian.org >Furthermore, whatever method you are using to *create* this HAR file >is questionable, since apparently you aren't even getting a properly >formatted file in the end. >So, putting these together, it looks like you are taking a file that >was intended to

Re: trying to parse lines from an awkwardly formatted HAR file ...

2024-03-23 Thread Albretch Mueller
>On Sat, Mar 23, 2024 at 1:44 AM wrote: >> On Sat, Mar 23, 2024 at 12:53:24AM -0500, Albretch Mueller wrote: >> out of a HAR file containing lots of obfuscating js cr@p and all kinds of >> nonsense I was able to extract line looking like: >It's not "js cr@p&quo

trying to parse lines from an awkwardly formatted HAR file ...

2024-03-22 Thread Albretch Mueller
out of a HAR file containing lots of obfuscating js cr@p and all kinds of nonsense I was able to extract line looking like: var00='{\"index\":\"prod-h-006\",\"fields\":{\"identifier\":\"bub_gb_O2EAMAAJ\",\"title\":\"Die Wissenschaft vom subjectiven Geist\",\"creator\":[\"Karl Rosenkranz\",

Re: electrons/the Internet doesn't like question authority niggahs?, or is it that I like to eat raw garlic, ...

2024-03-04 Thread Albretch Mueller
On 3/4/24, Andy Smith wrote: > Please could you rephrase your entire email to only contain > coherent, direct questions at least tenuously about Debian. I am downloading one by one a bunch of (relatively small) documents I need (I work on corpora research) and the critical part of my bash

electrons/the Internet doesn't like question authority niggahs?, or is it that I like to eat raw garlic, ...

2024-03-04 Thread Albretch Mueller
spend days on end reading, coding and thinking about Math? As part of turning society/the world as a whole into an "all tangible things" panopticon they have turned the Internet into a "freedom-loving" gulag for which they are even using "AI"; so, they don’t even need to use V-Leute. Those

Re: bash parameter expansion "doesn't like" dots?

2024-03-03 Thread Albretch Mueller
bash doesn't seem to like dots too close to brackets: echo "${_VAR//[^0-9a-zA-Z.,_-]/}" works fine. lbrtchx On 3/3/24, Albretch Mueller wrote: > _VAR="admissions.piedmont.edu_files?trackid=wnm:1980=what-is-the-second-fundamental-theorem-of-calculus(1).pdf" > &g

Re: "I: update-initramfs is disabled (live system is running on read-only media)" ...

2024-02-16 Thread Albretch Mueller
On 2/16/24, to...@tuxteam.de wrote: > On Fri, Feb 16, 2024 at 01:44:22PM -0600, Albretch Mueller wrote: >> I've got a relatively old laptop with an ATI Radeon HD card, which >> firmware I can't update. Wild pixelations happen even on relatively >> simple pages not

"I: update-initramfs is disabled (live system is running on read-only media)" ...

2024-02-16 Thread Albretch Mueller
I've got a relatively old laptop with an ATI Radeon HD card, which firmware I can't update. Wild pixelations happen even on relatively simple pages not just videos. It seems to be a common problem. What I have searched and found out is that I will have to un/repack initramfs ..., but I haven't

Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-29 Thread Albretch Mueller
On 1/29/24, David Wright wrote: > On Sat 27 Jan 2024 at 14:50:25 (+), Albretch Mueller wrote: >> On 1/19/24, David Wright wrote: >> > On Fri 19 Jan 2024 at 22:19:21 (+), Albretch Mueller wrote: >> >> Package dependencies to me are just DAGs, >>

Re: Debian:12.4/stable [amd64] ...

2024-01-27 Thread Albretch Mueller
On 1/27/24, Andrew M.A. Cater wrote: > I am consistently *puzzled* by what you are trying to do: I think that > that is just effectively recording the repository that the package comes > from. What does your /etc/sources.list consist of - and if it references > bookworm, in what way does 12.4

Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-27 Thread Albretch Mueller
On 1/19/24, David Wright wrote: > On Fri 19 Jan 2024 at 22:19:21 (+), Albretch Mueller wrote: >> Package dependencies to me are just DAGs, > Are they? No circular dependencies? The way I see them, "circular dependencies" are "cultural". "organizatio

Debian:12.4/stable [amd64] ...

2024-01-27 Thread Albretch Mueller
apt-get installation logs (in --dry-run mode) show lines like: ... Inst libvncclient1 (0.9.14+dfsg-1 Debian:12.4/stable [amd64]) Inst vlc-bin (3.0.20-0+deb12u1 Debian:12.4/stable [amd64]) Inst vlc-plugin-qt (3.0.20-0+deb12u1 Debian:12.4/stable [amd64]) ... you can get most parts of the suffix:

Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-19 Thread Albretch Mueller
On 1/19/24, Andrew M.A. Cater wrote: > On Fri, Jan 19, 2024 at 03:22:52PM +0000, Albretch Mueller wrote: >> On 1/19/24, Max Nikulin wrote: >> > Precise steps >> > depend on degree of your paranoia. >> ... and mine is of the totally irrevocable, even joyful

Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-19 Thread Albretch Mueller
On 18/01/2024 12:45, Albretch Mueller wrote: >> On 1/14/24, Max Nikulin wrote: >>> Generally just pay attention that GPG keys for repositories are obtained >>> through trusted channels. >> >> How do you functionally (that is, give me the step-by-step co

Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-17 Thread Albretch Mueller
On 1/14/24, Max Nikulin wrote: > On 14/01/2024 04:43, Jeffrey Walton wrote: >> >> And use of HTTP in other fetches is dangerous, and HTTPS should be >> used. See >> . > >

Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Albretch Mueller
t;${errs}"; wc -l "${errs}"; ls -l "${ofl}"; wc -l "${ofl}"; On 1/13/24, to...@tuxteam.de wrote: > On Sat, Jan 13, 2024 at 04:36:14PM +, Albretch Mueller wrote: >> On 1/13/24, Michael Kjörling <2695bd53d...@ewoof.net> wrote: >> > On 13

Re: File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Albretch Mueller
On 1/13/24, Michael Kjörling <2695bd53d...@ewoof.net> wrote: > On 13 Jan 2024 13:44 +, from lbrt...@gmail.com (Albretch Mueller): >> E: Failed to fetch >> https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html >> File has unexpected size (7009 != 2088

File has unexpected size (x != y). Mirror sync in progress? [IP: ...] ...

2024-01-13 Thread Albretch Mueller
I read off stackoverflow that I should just wait for a couple of hours. I have waited more than 12. $ which ffmpeg $ $ sudo apt-get install ffmpeg Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be

Re: dmesg reporting lots of errors apparently emanating from a Realtek RTL810xE PCI Express Fast Ethernet controller ...

2024-01-08 Thread Albretch Mueller
On 1/6/24, Albretch Mueller wrote: > I may not even have an NVMe card in my computer as the manufacturer > claims. My DELL Inspiron 5593 actually does have a M.2 512GB KIOXIA NVMe SSD, which I need to use! The problem, as I described here without getting a solution for it: // __ I

Re: dmesg reporting lots of errors apparently emanating from a Realtek RTL810xE PCI Express Fast Ethernet controller ...

2024-01-06 Thread Albretch Mueller
Sorry, but I don't think I am making much sense out those reported errors. I may not even have an NVMe card in my computer as the manufacturer claims. lbrtchx

Re: dmesg reporting lots of errors apparently emanating from a Realtek RTL810xE PCI Express Fast Ethernet controller ...

2024-01-06 Thread Albretch Mueller
On 1/6/24, Jeffrey Walton wrote: > Before going down the rabbit hole, I would: > > 2. use a new [known good] ethernet cable I am not even using a cable! >There is another discussion of PCI AER at

Re: dmesg reporting lots of errors apparently emanating from a Realtek RTL810xE PCI Express Fast Ethernet controller ...

2024-01-05 Thread Albretch Mueller
I started my computer with the Bullseye Debian live DVD and the dmesg log is not flooded with such error messages (as it does with Bookworm): [ 8095.737532] pcieport :00:1d.0: AER: Multiple Corrected error received: :01:00.0 [ 8095.737572] r8169 :01:00.0: PCIe Bus Error:

dmesg reporting lots of errors apparently emanating from a Realtek RTL810xE PCI Express Fast Ethernet controller ...

2024-01-05 Thread Albretch Mueller
I decided to upgrade to Bookworm because I needed to use some NVRAM memory supposedly available in my computer, but then my wireless Ethernet started to "complain". I initially thought those errors might be related to the lazy use of the Ethernet drivers from Bullseye but when I started to use

Re: difference in seconds between two formatted dates ...

2023-12-29 Thread Albretch Mueller
at the end of the day I had my cake and ate it, too: site="www.debian.com" site="www.google.fr" ### dt=$(date +%Y%m%d%H%M%S.%N); whois > "${site}_${dt}_whois.log" 2>&1 sudo strace --output "${site}_${dt}_strace_ping.log" ping "${site}" -c 4 > "${site}_${dt}_ping.log" 2>&1 ls -l

Re: difference in seconds between two formatted dates ...

2023-12-26 Thread Albretch Mueller
On 12/26/23, Greg Wooledge wrote: > If you want to launch a SIMPLE BACKGROUND PROCESS (note the SIMPLE here, > this is IMPORTANT), and then strace it while it runs, you'd do it like > this: > > ping www.google.fr -c 4 & > pid=$! > strace -p "$pid" > wait "$pid" I am getting an

Re: difference in seconds between two formatted dates ...

2023-12-26 Thread Albretch Mueller
On 12/26/23, Greg Wooledge wrote: > On Tue, Dec 26, 2023 at 02:57:54PM +0000, Albretch Mueller wrote: >> 1) how do you set up the process to be straced as a parameter? Something >> like: >> prx="echo hello" >> logfile="file.txt" >> # >>

Re: difference in seconds between two formatted dates ...

2023-12-26 Thread Albretch Mueller
On 12/26/23, Thomas Schmitt wrote: > man strace says: > -o filename Write the trace output to the file filename rather > than to stderr. > > So strace normally directs its output to stderr. That's file descriptor 2. > You can redirect it by the "2>file" gesture of the shell: >

Re: difference in seconds between two formatted dates ...

2023-12-25 Thread Albretch Mueller
On 12/25/23, Greg Wooledge wrote: > If you want to see what a process is doing, there's strace. It can > even be told to follow all the children of a process (strace -f). But how do you strace a program saving the output (of the stracing) in a logfile while you also save that program's output

Re: difference in seconds between two formatted dates ...

2023-12-25 Thread Albretch Mueller
On 12/21/23, Greg Wooledge wrote: > So... this is interesting. Apparently timedatectl doesn't simply look > at the target of /etc/localtime. There's a DELAY before the value is > correctly reported. This tells me that timedatectl is in communication > with some process (perhaps PID 1, I don't

Re: difference in seconds between two formatted dates ...

2023-12-24 Thread Albretch Mueller
On 12/25/23, David Wright wrote: > On Sun 24 Dec 2023 at 23:05:53 (+), Albretch Mueller wrote: >> On 12/18/23, Max Nikulin wrote: ... >> Why would %S be in the range >> second (00..60), instead of (00..59)?: > > Leap seconds—see the example already in the thread: &

Re: difference in seconds between two formatted dates ...

2023-12-24 Thread Albretch Mueller
On 12/18/23, Max Nikulin wrote: > Timestamp format you have chosen is ambiguous. > > TZ=Europe/Berlin date -d '@1698539400' '+%Y%m%d%H%M%S' > 20231029023000 > > TZ=Europe/Berlin date -d '@1698543000' '+%Y%m%d%H%M%S' > 20231029023000 > > You had issues with setting time and timezone, so '+%s' may

Re: difference in seconds between two formatted dates ...

2023-12-20 Thread Albretch Mueller
On 12/21/23, Max Nikulin wrote: > as a primary source. For majority using systemd and what would the systemd way to synch the RTC (Real Time Clock) and UTC? Why is it I am noticing a 14 seconds difference on my computer (booted with a Debian Live DVD)? $ readlink /etc/localtime

Re: difference in seconds between two formatted dates ...

2023-12-20 Thread Albretch Mueller
On 12/20/23, to...@tuxteam.de wrote: > On Wed, Dec 20, 2023 at 07:15:20AM -0500, Greg Wooledge wrote: >> On Wed, Dec 20, 2023 at 07:43:51AM +, Albretch Mueller wrote: >> > I do see the good in what you are suggesting to me and I will have to >> > include time zone

Re: difference in seconds between two formatted dates ...

2023-12-19 Thread Albretch Mueller
On 12/20/23, David Wright wrote: > To be fair to the OP, there was no official "script", but just some code: > https://lists.debian.org/debian-user/2023/12/msg00894.html > which I pasted into /tmp/lbrtchx.sh. The filename suffix was a mere > convenience to make emacs colour the code and tidy

Re: difference in seconds between two formatted dates ...

2023-12-17 Thread Albretch Mueller
On 12/18/23, David Wright wrote: > Another problem in what you posted is that you sometimes run date > in your local timezone (generally for the "now" times), but you > append +00:00 as the timezone for those --date strings that you > construct from several substrings. You need to use UT

Re: difference in seconds between two formatted dates ...

2023-12-17 Thread Albretch Mueller
On 12/18/23, David Wright wrote: > When you write dt00=$(date +%Y%m%d%H%M%S) > that's /your/ format, not coreutils'. I (erroneously?) thought coreutils was maintaining Linux date, so if they tell you on their --help instructions to use certain options (including cobbling them together to your

Re: difference in seconds between two formatted dates ...

2023-12-17 Thread Albretch Mueller
On 12/17/23, Andy Smith wrote: >> how on earth would that not always produce an accurate duration? > > All this paranoia, but in computer time you trust?  > Falsehoods programmers believe about time > https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b923ca and how does my

Re: difference in seconds between two formatted dates ...

2023-12-17 Thread Albretch Mueller
Well, yes, "date --date= ..." doesn't work in the way I would wish ("logically" think about it): https://www.gnu.org/software/coreutils/manual/html_node/General-date-syntax.html parsing any format allowed by date:

Re: difference in seconds between two formatted dates ...

2023-12-17 Thread Albretch Mueller
On 12/17/23, to...@tuxteam.de wrote: > On Sun, Dec 17, 2023 at 10:12:11AM +0000, Albretch Mueller wrote: >> dt00=$(date +%Y%m%d%H%M%S) >> echo "// __ \$dt00: |${dt00}|" >> >> ... after some long processing for which seconds would be exact >> enough, t

difference in seconds between two formatted dates ...

2023-12-17 Thread Albretch Mueller
dt00=$(date +%Y%m%d%H%M%S) echo "// __ \$dt00: |${dt00}|" ... after some long processing for which seconds would be exact enough, then I would like to get the seconds elapsed since dt00, like this: dt02=$(date +%Y%m%d%H%M%S) echo "// __ \$dt02: |${dt02}|" you get seconds in dt00 and dt02 and

Re: was nvramtool removed from the package repository?

2023-12-16 Thread Albretch Mueller
On 12/16/23, to...@tuxteam.de wrote: > https://packages.debian.org/search?keywords=nvramtool=names=all=all > Last appearance is Debian Buster (oldoldstable, LTS). > But there's a package with a like-named binary, which might be > what you are looking for: >

was nvramtool removed from the package repository?

2023-12-16 Thread Albretch Mueller
$ sudo apt-get update Hit:1 http://deb.debian.org/debian bullseye InRelease Reading package lists... Done $ $ sudo apt-get install nvramtool Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package nvramtool $ uname -a Linux

Re: setting IFS to new line doesn't work while searching?

2023-12-15 Thread Albretch Mueller
On 12/15/23, Greg Wooledge wrote: > More to the point, bash has a 'readarray' command which does what you > *actually* want: > > readarray -t fndar < <(find "$sdir" ...) > Yes, that was what I actually needed! lbrtchx

setting IFS to new line doesn't work while searching?

2023-12-15 Thread Albretch Mueller
sdir="$(pwd)" #fndar=($(IFS=$'\n'; find "$sdir" -type f -printf '%P|%TY-%Tm-%Td %TI:%TM|%s\n' | sort --version-sort --reverse)) #fndar=($(IFS='\n'; find "$sdir" -type f -printf '%P|%TY-%Tm-%Td %TI:%TM|%s\n' | sort --version-sort --reverse)) fndar=($(find "$sdir" -type f -printf '%P|%TY-%Tm-%Td

Re: why would "tr --complement --squeeze-repeats ..." append the substitution char once more? ...

2023-12-11 Thread Albretch Mueller
On 12/11/23, Greg Wooledge wrote: > 1) Many implementations of echo will interpret parts of their argument(s), >in addition to processing options like -n. If you want to print a >variable's contents to standard output without *any* interpretation, >use printf. > > printf %s

Re: why would "tr --complement --squeeze-repeats ..." append the substitution char once more? ...

2023-12-11 Thread Albretch Mueller
Ach, yes! I forgot echo by default appends a new line character at the end of every string it spits out. In order to suppress it you need to use the "n" option: "echo -n ..." _FL_TYPE=" abc á é í ó ú ü ñ Á É Í Ó Ú Ü Ñ 123 birdiehere ¿ ¡ § ASCII ä ö ü ß Ä Ö Ü Text" echo "// __

Re: why would "tr --complement --squeeze-repeats ..." append the substitution char once more? ...

2023-12-11 Thread Albretch Mueller
earch dealing with text based various alphabets not just in ASCII so I avoid any kinds of linguistic/cultural shortcuts and abbreviations. lbrtchx On 12/11/23, to...@tuxteam.de wrote: > On Mon, Dec 11, 2023 at 08:04:06AM +, Albretch Mueller wrote: >> On 12/11/23, Greg Wool

Re: why would "tr --complement --squeeze-repeats ..." append the substitution char once more? ...

2023-12-11 Thread Albretch Mueller
rscore. which option do I use with echo for that not to happen? SHould I probably play with IFS ...? lbrtchx On 12/11/23, Greg Wooledge wrote: > On Mon, Dec 11, 2023 at 02:53:07AM +, Albretch Mueller wrote: >> echo "abc123" > file.txt >> ftype=$(file

why would "tr --complement --squeeze-repeats ..." append the substitution char once more? ...

2023-12-10 Thread Albretch Mueller
echo "abc123" > file.txt ftype=$(file --brief file.txt) echo "// __ \$ftype: |${ftype}|" ftypelen=${#ftype} echo "// __ \$ftypelen: |${ftypelen}|" # removing spaces ... ftype2=$(echo "${ftype}" | tr --complement --squeeze-repeats '[A-Za-z0-9.]' '_'); echo "// __ \$ftype2: |${ftype2}|"

Re: ToG Linux (first draft of a RFC) ...

2023-12-09 Thread Albretch Mueller
On 12/9/23, Albretch Mueller wrote: > the CIA was giving money to Ukrainian people but in > order to get it they had to use their cell phones ;-) which (cell phones) they would also get "for free", mind you. And well ..., yes, even if you remove the networking hard and

Re: ToG Linux (first draft of a RFC) ...

2023-12-09 Thread Albretch Mueller
On 12/9/23, Greg Wooledge wrote: >> On 09.12.23 at 10:13, Albretch Mueller wrote: >> > As anyone could see you could even run a network of detached >> > computers without networking interfaces in a "touch of God" kind of >> > way ... Thank you. I

Re: ToG Linux (first draft of a RFC) ...

2023-12-09 Thread Albretch Mueller
On 12/9/23, Albretch Mueller wrote: > As anyone could see you could even run a network of detached > computers without networking interfaces in a "touch of God" kind of > way, some sort of "leased One-time pad touches of God" specifically > for each, all co

Re: ToG Linux (first draft of a RFC) ...

2023-12-09 Thread Albretch Mueller
On 12/7/23, Arno Lehmann wrote: > it's quite interesting that you use a platform such as wordpress, > running code you can not control, to discuss such matters. I was just brainstorming, dumping a stream of consciousness with a relatively comprehensive outline of the main ideas. > Wouldn't it

Re: ToG Linux (first draft of a RFC) ...

2023-12-07 Thread Albretch Mueller
Hopefully finally! We should brainstorm our initial thoughts about it there and once we could envision some completion and continuing hope to it, we can move it into a formal github open source project: https://ergosumus.wordpress.com/2023/12/07/tog-linux-first-draft-of-a-rfc/ lbrtchx

Re: ToG Linux (first draft of a RFC) ...

2023-12-07 Thread Albretch Mueller
BTW, except for the GRUB/boot loading phase and its possible useful aspects relating to ToG-L (which I haven't found the time to study), I would say that 80%+ of the whole project I have already implemented with my lousy bash scripts skills and in java/GRAALVM as a first "proof of concept" and of

Re: ToG Linux (first draft of a RFC) ...

2023-12-06 Thread Albretch Mueller
Oh, well! "My paranoia" as Greg would say ;-) Yes, they removed it again! I have no effing idea why (other than messing with me) You could hopefully see my back and forths with them: https://wordpress.com/forums/topic/how-long-does-it-take-for-a-new-post-to-become-active/ Let me resume

Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-06 Thread Albretch Mueller
On 12/2/23, Albretch Mueller wrote: > On 12/2/23, Tom Furie wrote: >> 'apt depends ' would list the direct dependencies without >> recursion. > $ apt depends wget 2>&1 | grep " Depends: " | awk '{ print $2}' that didn't work, dpkg would still demand d

Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all you are doing is locally downloading dependencies of an installation package?

2023-12-06 Thread Albretch Mueller
What I had been doing is use "depends" to get all dependencies and then download each of them. I think that is why I was getting those repeated binary files. I thought when you said "download" you just meant "download". lbrtchx

ToG Linux (first draft of a RFC) ...

2023-12-06 Thread Albretch Mueller
ToG Linux ("Touch of God" (no blasphemy intended) a la Michelangelo's "The Creation of Adam", with one of the poetic connotations being, to make best use of what you know to be certain, what "you can touch" (can exclusively reach with certainty), is readily available in your immediacy (before the

Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all you are doing is locally downloading dependencies of an installation package?

2023-12-04 Thread Albretch Mueller
On 12/2/23, David Wright wrote: > Obviously I'm trying to replicate what you do. ... > Presumably you're running more commands than you revealed above? Yes, I am; for each " Depends: " package I have been using apt-get download lbrtchx

Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Albretch Mueller
On 12/2/23, Tom Furie wrote: > 'apt depends ' would list the direct dependencies without > recursion. Thank you, I think I got what I needed (at least for now). $ apt depends wget wget Depends: libc6 (>= 2.28) Depends: libgnutls30 (>= 3.7.0) Depends: libidn2-0 (>= 0.6) Depends:

Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Albretch Mueller
direct dependencies of packages which haven't been downloaded, install. I need to download those packages. These should be a straightforward way to do that or an easy hack. lbrtchx

Re: packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Albretch Mueller
On 12/2/23, Tom Furie wrote: ... > This is a recursive search, also showing dependencies of dependencies, > etc. How can you list just the direct dependencies? and how safe is it downloading and installing only those via dpkg? lbrtchx

Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all you are doing is locally downloading dependencies of an installation package?

2023-12-01 Thread Albretch Mueller
On 11/30/23, David Wright wrote: > On Thu 30 Nov 2023 at 21:05:38 (+), Albretch Mueller wrote: >> I also notice repeated copies of {src-, pkgcache}.bin files for each >> downloaded package even though I am downloading them to specific >> subdirectories in order to th

packages listed vs. apt-rdepends --follow=Depends ...

2023-12-01 Thread Albretch Mueller
https://packages.debian.org/bullseye/wget shows 8 packages as "depends" dep: libc6 (>= 2.28) dep: libgnutls30 (>= 3.7.0) dep: libidn2-0 (>= 0.6) dep: libnettle8 dep: libpcre2-8-0 (>= 10.22) dep: libpsl5 (>= 0.16.0) dep: libuuid1 (>= 2.16) dep: zlib1g (>= 1:1.1.4) ~ vs. 17 using apt-rdepends

Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all you are doing is locally downloading dependencies of an installation package?

2023-11-30 Thread Albretch Mueller
I also notice repeated copies of {src-, pkgcache}.bin files for each downloaded package even though I am downloading them to specific subdirectories in order to then install them using dpkg. Do you really need those binaries and cache instructions if you are just downloading the installation

Re: it would be nice is Debian live includes the Wazuh unified XDR and SIEM protection framework ...

2023-11-11 Thread Albretch Mueller
ote: > Am 11.11.2023 01:26 schrieb Albretch Mueller: > >> the politics behind the "cloud trial" may not be compatible with >> Debian, but I don't know if there is a way to work around such issues >> or just use the other parts of it: > > Why can't you inst

it would be nice is Debian live includes the Wazuh unified XDR and SIEM protection framework ...

2023-11-10 Thread Albretch Mueller
the politics behind the "cloud trial" may not be compatible with Debian, but I don't know if there is a way to work around such issues or just use the other parts of it: https://wazuh.com/ // __ this Cybersecurity Platform is FREE https://www.youtube.com/watch?v=i68atPbB8uQ ~ lbrtchx

Re: can you parse and "tail" at once? (and if you can't why not?)

2023-10-23 Thread Albretch Mueller
Thank you very much, Greg! Since ".description" is constant (an extension used by youtube) I chose to go: ydx=".description" ydxL=${#ydx} ... yut=${yl:-${ydxL}} ... where yl is the line read in in the way you suggested. lbrtchx

Re: can you parse and "tail" at once? (and if you can't why not?)

2023-10-22 Thread Albretch Mueller
On 10/22/23, Andy Smith wrote: > So you might consider telling us what you will do next with the > suffix of each line. Now you have gone into mind reading mode. On 10/22/23, Andy Smith wrote: > Most of the points Greg makes to you are matters of correctness, not > matters of taste. that

Re: can you parse and "tail" at once? (and if you can't why not?)

2023-10-22 Thread Albretch Mueller
OK, Greg's suggestion once again "made my day". I know at some point I will have to code everything in some programming language, but for now I will just get things done as quickly as possible. Also, Greg, please, I would like for you to understand that it is not my intention to upset you about

can you parse and "tail" at once? (and if you can't why not?)

2023-10-22 Thread Albretch Mueller
After generating a file with lines of text, I have to: 1) parse some of those lines based on a pattern I know (no regex necessary, just a FS path) 2) once parsed from those lines I need the last n characters only I am trying to use a one liner like: cat "${IFL}" | grep "${DESC_DIR}" | tail

Re: "sudo apt-get install android-tools-adb" ... (then no device listed)

2023-09-25 Thread Albretch Mueller
On 9/25/23, Albretch Mueller wrote: > Most probably there is a setting in that phone I haven’t been able to > find. Android awakens when I unplug the cable from the computer; so, something is being somehow detected. lbrtchx

Re: "sudo apt-get install android-tools-adb" ... (then no device listed)

2023-09-25 Thread Albretch Mueller
On 9/24/23, Michel Verdier wrote: > If you use USB you need a cable allowing data, some allow only power. The USB cable I have been using to charge the battery of that phone visually seems to be the same exact one being advertised as doubling as a data cable, but running: $ sudo lsusb Before

Re: "sudo apt-get install android-tools-adb" ... (then no device listed)

2023-09-24 Thread Albretch Mueller
On 9/24/23, Marco M. wrote: > On most Android phones, you need to explicit allow data transfers. What do you functionally mean? I need for you to talk to me like this: a) go "Settings"; b) ... Thank you, lbrtchx On 9/24/23, Marco M. wrote: > Am 24.09.2023 um 19:45:11 Uhr

"sudo apt-get install android-tools-adb" ... (then no device listed)

2023-09-24 Thread Albretch Mueller
$ uname -a Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux $ sudo apt-get update ... $ date; sudo apt-get install android-tools-adb Sun 24 Sep 2023 02:07:24 PM UTC ... $ which adb /usr/bin/adb $ adb --version Android Debug Bridge version 1.0.41 Version

why would ping and traceroute give you different IP addresses?

2023-08-14 Thread Albretch Mueller
site="download.gluonhq.com" date time ping "${site}" -c 4 time traceroute "${site}" $ site="download.gluonhq.com" date time ping "${site}" -c 4 time traceroute "${site}" Mon 14 Aug 2023 11:54:19 PM UTC PING s3-website.us-east-1.amazonaws.com (54.231.134.85) 56(84) bytes of data. 64 bytes from

Re: Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-18 Thread Albretch Mueller
the error message I got was: find: possible unquoted pattern after predicate `-path'? lbrtchx

Re: Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-18 Thread Albretch Mueller
On 6/8/23, Greg Wooledge wrote: > Yes. Use an array. > kate "${_KSX_AR[@]}" & I tried the same kind of magic with find, but it didn't work. I don't want to have to have to hard code the statement into find. Any way to work around this?: _DIR_BRNX="/media/user/60320G593EB7250F"

Re: Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-08 Thread Albretch Mueller
On 6/8/23, Greg Wooledge wrote: > Yes. Use an array. ... ;-), it "magically" worked: _FL1="file1_ps_-aux.txt"; sudo ps -aux > "${_FL1}" _FL2="file2_dmesg.txt"; sudo dmesg > "${_FL2}" _FL3="file3_printenv.txt"; sudo printenv > "${_FL3}" ls -l "file"*".txt"; wc -l "file"*".txt" _KSX_AR=(

Why wouldn't "stringing" of an input parameter using an array work? ...

2023-06-08 Thread Albretch Mueller
Why would: kate "file1_ps_-aux.txt" "file2_dmesg.txt" "file3_printenv.txt" & kate "${_FL1}" "${_FL2}" "${_FL3}" & work?, but stringing the file names using a loop wouldn't? I need to keep somehow declaratively the files read in by kate at start up, so I thought of using an array: #

Re: No space left on device ...

2023-05-20 Thread Albretch Mueller
On 5/17/23, Jeffrey Walton wrote: > On Wed, May 17, 2023 at 1:06 PM Dan Ritter wrote: >> Albretch Mueller wrote: >> Assuming you have network access close to boot time, you might >> want to run an NTP daemon to get the time from a selection of >> other servers. &g

Re: No space left on device ...

2023-05-17 Thread Albretch Mueller
> Yes, I did. I had to reset the BIOS to "factory settings" which also > changed the clock time which then I couldn't change with hwclock ... "Another day another problem": computer clock back to BIOS factory settings Your Computer Clock is Wrong: Your computer thinks it is 8/7/2022, which

Re: No space left on device ...

2023-05-15 Thread Albretch Mueller
> Has this ever worked in the past? It is my understanding that the Linux NTFS > driver is read-only. > Mounting how exactly? And what is the contents of /proc/mounts? Maybe > you mounted the partition read only? Well, actually, yes. This is how I have been mounting the Windows NTFS of my

No space left on device ...

2023-05-14 Thread Albretch Mueller
I have been mounting an NTFS file system on a Windows laptop without any problems whatsoever with a Debian Live DVD: $ uname -a Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux and even though Linux utilities are telling me I do have space on the drive: $

Re: sha256sum --text generating blank spaces and hyphens?

2023-05-01 Thread Albretch Mueller
On 4/27/23, David Christensen wrote: > Please see the OP, step (d). >On 4/26/23, Albretch Mueller wrote: >> a) encode the string name as base64 >> b) calculate the sha256sum of §a >> c) use §b as file name (of course, leaving the original extension as

Re: sha256sum --text generating blank spaces and hyphens?

2023-04-27 Thread Albretch Mueller
On 4/27/23, Max Nikulin wrote: > I have never tried: "Open-source self-hosted web archiving" > https://github.com/ArchiveBox/ArchiveBox > > This one allows to save selected part of a page: > https://github.com/danny0838/webscrapbook/ Thank you for keeping me busy! From their recommendations:

Re: sha256sum --text generating blank spaces and hyphens?

2023-04-26 Thread Albretch Mueller
On 4/26/23, David Christensen wrote: > I suggest hashing the document content rather than the URL. This would > work nicely for static documents. What do you mean by "hashing the document content"? How would that help when what you are trying to do is cleanse and canonize texts as best as

Re: sha256sum --text generating blank spaces and hyphens?

2023-04-26 Thread Albretch Mueller
, and its fast. SipHash has a very > good pedigree since it was designed by Jean-Philippe Aumasson and > Daniel J. Bernstein. The final Base64 or Base64URL encoding ensures > you stay within printable character range without reserved file system > characters. Thank you I will look into

Re: sha256sum --text generating blank spaces and hyphens?

2023-04-26 Thread Albretch Mueller
On 4/26/23, David Wright wrote: > I guess you need the expense of sha256 rather than md5 as you're > downloading the entire web? I am not downloading the entire web. I have no way of knowing how they entertained those ideations but I think we could use their estimate when they said that

Re: sha256sum --text generating blank spaces and hyphens?

2023-04-26 Thread Albretch Mueller
On 4/26/23, Andy Smith wrote: > If you're referring to the space and then the file name ("-" in case > of stdin) on the end, you can just select only the first output up > to whitespace with e.g. awk: > > _SHA256=$(printf '%s' "${_TXT}" | sha256sum | awk '{print $1}') Yes, you could but I

sha256sum --text generating blank spaces and hyphens?

2023-04-26 Thread Albretch Mueller
This is not a debian question per se (more like a Linux bash one), but I wasn't able to find an answer on the Internet. Here is first the problem I am having before you start reading a conspiracy theory into it ;-) I need to somehow map URL on the web to a local file, but you can't do that

Re: What do all those "* * *" mean on a traceroute log?

2023-04-14 Thread Albretch Mueller
On 4/13/23, Lee wrote: > you should probably start off with > https://archive.nanog.org/sites/default/files/10_Roisman_Traceroute.pdf > A Practical Guide to (Correctly) > Troubleshooting with Traceroute thank you, lbrtchx

Re: What do all those "* * *" mean on a traceroute log?

2023-04-12 Thread Albretch Mueller
On 4/12/23, debian-u...@howorth.org.uk wrote: > I was playing with the addresses listed by Albretch ... On 4/12/23, David Wright wrote: > After googling them, I gave Moxee a call. They answer to a subtly > different name, but it's the same business: a Canadian/US company > that's been

Re: What do all those "* * *" mean on a traceroute log?

2023-04-12 Thread Albretch Mueller
On 4/12/23, Greg Wooledge wrote: > unicorn:~$ traceroute www.google.com > traceroute to www.google.com (142.250.190.4), 30 hops max, 60 byte packets > 1 routerlogin.net (10.0.0.1) 0.413 ms 0.355 ms 0.415 ms > 2 65-131-222-254.mnfd.centurylink.net (65.131.222.254) 38.070 ms 39.776 > ms

SQUASHFS error: Unable to read fragment cache entry ...

2023-04-12 Thread Albretch Mueller
I always use a Debian live DVD while exposed. The thing is that in order to squeeze every minute of attention I possibly can I tend to: a) just close the lid of my laptop b) while keeping the DVD player attached to the laptop c) then, reopen it and continue. That way I avoid like 5 minutes

What do all those "* * *" mean on a traceroute log?

2023-04-12 Thread Albretch Mueller
I have found a few examples and "explanations" but in the cases of the examples I have seen by other people, like: https://serverfault.com/questions/733005/what-does-having-mean-in-the-command-traceroute-and-how-can-you-cope-wit It is not with every site and it is mostly with one hop. I my

Re: gradle wants openjdk-11 even if a newer version is installed? ...

2023-03-29 Thread Albretch Mueller
On 3/29/23, debian-u...@howorth.org.uk wrote: > As others have pointed out, apt-get doesn't work like that. It seems to > me that the gradle package is wrong in having java as a dependency, > since the need can be resolved at run-time rather than install time, > and by a dynamic link. So bug

Re: gradle wants openjdk-11 even if a newer version is installed? ...

2023-03-28 Thread Albretch Mueller
OK this is what the gradle folks told me/us: https://discuss.gradle.org/t/gradle-wants-as-java-version-openjdk-11-even-if-a-newer-version-is-installed/45254/6 Gradle itself would just use the Java from your JAVA_HOME or as fallback from PATH (given you use a version that is compatible with

  1   2   3   4   5   >