Re: What is a repository? What is a metapackage?

2022-04-16 Thread tomas
On Sat, Apr 16, 2022 at 08:21:57PM +, Andrew M.A. Cater wrote: [...] > In some sense, if you're using synaptic and a desktop environment you've > already lost a minimal install. A very good point, BTW. My daily driver has no synaptic, for example, and yet it is a far cry from a minimal insta

Re: What happened?

2022-04-16 Thread The Wanderer
On 2022-04-16 at 22:32, Nicholas Geovanis wrote: > On Sat, Apr 16, 2022, 6:17 PM Dennis Wicks wrote: > >> When I first installed Debian 10, I installed Win 10 in a >> virtual machine using KVM/QEMU and everything just worked. I >> could copy/paste between host and vm and access host disks >> in

Re: extract values from a string

2022-04-16 Thread Greg Wooledge
On Sat, Apr 16, 2022 at 09:27:52PM -0500, Kent West wrote: > -- data.txt -- > black berry 12 > blue berry 14 > raspberry 9 > huckle berry hound 3 > bare-knuckle sandwich 27 > > -- test.sh -- > #!/bin/bash > > file="data.txt" > > while read -r line; do >productID=$(awk -F' ' '{$NF=""; print $

Re: What happened?

2022-04-16 Thread Nicholas Geovanis
n Sat, Apr 16, 2022, 6:17 PM Dennis Wicks wrote: > When I first installed Debian 10, I installed Win 10 in a > virtual machine using KVM/QEMU and everything just worked. I > could copy/paste between host and vm and access host disks > in the vm. And zfs file systems worked. > > The main problem w

Re: extract values from a string

2022-04-16 Thread Kent West
On Sat, Apr 16, 2022 at 11:01 AM Nicholas Geovanis wrote: > On Fri, Apr 15, 2022, 9:37 PM wilson wrote: > >> Hello >> >> in shell script, how can I use regex to extract values from a string? >> maybe value types transformation should be required. >> >> >> for instance the string: "black berry 12

Re: extract values from a string

2022-04-16 Thread Ash Joubert
On 17/04/2022 12:38, Greg Wooledge wrote: On Sun, Apr 17, 2022 at 12:31:34PM +1200, Ash Joubert wrote: Python is a convenient and scriptable solution for many text processing problems. You can call it from within bash: But you really *shouldn't*. What's the point of writing your script in two

Re: extract values from a string

2022-04-16 Thread Greg Wooledge
On Sun, Apr 17, 2022 at 12:31:34PM +1200, Ash Joubert wrote: > Python is a convenient and scriptable solution for many text processing > problems. You can call it from within bash: But you really *shouldn't*. What's the point of writing your script in two different languages, and having to run tw

Re: extract values from a string

2022-04-16 Thread Ash Joubert
On 17/04/2022 12:31, Ash Joubert wrote: Note the change to your regex: '\' changed to '\\' because bash variable interpolation is used to obtain $X . This could be avoided if single quotes were used, but then you would need another way to access your data, such as reading it from stdin. Actua

Re: extract values from a string

2022-04-16 Thread Ash Joubert
On 16/04/2022 14:37, wilson wrote: in shell script, how can I use regex to extract values from a string? maybe value types transformation should be required. for instance the string: "black berry 12". I want go get the name: black berry [String] the price: 12 [Int] I did this in other language s

What happened?

2022-04-16 Thread Dennis Wicks
When I first installed Debian 10, I installed Win 10 in a virtual machine using KVM/QEMU and everything just worked. I could copy/paste between host and vm and access host disks in the vm. And zfs file systems worked. The main problem was that dpkg would kill the system trying to setup linux

Re: What is a repository? What is a metapackage?

2022-04-16 Thread The Wanderer
On 2022-04-16 at 16:21, Andrew M.A. Cater wrote: > On Sat, Apr 16, 2022 at 08:50:22AM -0500, Richard Owlett wrote: > >> A goal of the Debian installer is to create a system that can be >> used by *ALL* people to use for *ANY* possible purpose. > > The goal of the installer - debian-installer - i

Re: Uninstall grub2 on Sparc T2000

2022-04-16 Thread Dan Ritter
pvilt...@free.fr wrote: > Hello, > > I burned [ > https://cdimage.debian.org/cdimage/ports/current/debian-11.0.0-sparc64-NETINST-1.iso > | debian-11.0.0-sparc64-NETINST-1.iso ] on CdRom for a Sun T2000 (Sun4v) > Used Putty on windows 10 with SerManagement > > Boot OK > Startup OK > Partit

Re: What is a repository? What is a metapackage?

2022-04-16 Thread Andrew M.A. Cater
On Sat, Apr 16, 2022 at 02:24:32PM -0500, Richard Owlett wrote: > On 04/16/2022 09:21 AM, Andrew M.A. Cater wrote: > > On Sat, Apr 16, 2022 at 08:50:22AM -0500, Richard Owlett wrote: > > > A goal of the Debian installer is to create a system that can be used by > > > *ALL* people to use for *ANY* p

Re: What is a repository? What is a metapackage?

2022-04-16 Thread David Wright
On Sat 16 Apr 2022 at 14:31:49 (+), Andy Smith wrote: > On Sat, Apr 16, 2022 at 08:50:22AM -0500, Richard Owlett wrote: > > A goal of the Debian installer is to create a system that can be used by > > *ALL* people to use for *ANY* possible purpose. > > Including yours… > > [problems with Debi

Uninstall grub2 on Sparc T2000

2022-04-16 Thread pviltard
Hello, I burned [ https://cdimage.debian.org/cdimage/ports/current/debian-11.0.0-sparc64-NETINST-1.iso | debian-11.0.0-sparc64-NETINST-1.iso ] on CdRom for a Sun T2000 (Sun4v) Used Putty on windows 10 with SerManagement Boot OK Startup OK Partition not OK(?) : Warnings : Detects 256000 blo

Re: What is a repository? What is a metapackage?

2022-04-16 Thread Brian
On Sat 16 Apr 2022 at 08:50:22 -0500, Richard Owlett wrote: > A goal of the Debian installer is to create a system that can be used by > *ALL* people to use for *ANY* possible purpose. This is your gloss. The goal of d-i is to install Debian. That is its only goal. > I find the resulting system

Re: What is a repository? What is a metapackage?

2022-04-16 Thread Richard Owlett
On 04/16/2022 09:21 AM, Andrew M.A. Cater wrote: On Sat, Apr 16, 2022 at 08:50:22AM -0500, Richard Owlett wrote: A goal of the Debian installer is to create a system that can be used by *ALL* people to use for *ANY* possible purpose. I find the resulting system: 1. consumes more disk space t

Re: extract values from a string

2022-04-16 Thread David Christensen
On 4/16/22 09:47, Nicholas Geovanis wrote: On 4/15/22 19:37, wilson wrote: Hello in shell script, how can I use regex to extract values from a string? maybe value types transformation should be required. for instance the string: "black berry 12". I want go get the name: black berry [Strin

Re: disable IPv6 debian

2022-04-16 Thread Michael Stone
On Fri, Apr 15, 2022 at 08:16:22PM -0400, Greg Wooledge wrote: ls -l .bashrc You've got a command name, and you're passing two string arguments to it. If you feel a need to quote every string argument, then you should be writing it like this: ls "-l" ".bashrc" There's nothing special about t

Re: extract values from a string

2022-04-16 Thread Greg Wooledge
On Sat, Apr 16, 2022 at 06:12:17PM +0200, to...@tuxteam.de wrote: > FWIW, bash has an =~ operator for regex matching whithin [[ ]]. There are > even special variables to pick up the capturing matches. > > Not portable, but arrays (which have been warmly recommended around here) > aren't, either.

Re: extract values from a string

2022-04-16 Thread Nicholas Geovanis
On Sat, Apr 16, 2022, 11:12 AM wrote: > On Sat, Apr 16, 2022 at 11:01:17AM -0500, Nicholas Geovanis wrote: > > On Fri, Apr 15, 2022, 9:37 PM wilson wrote: > > > > > Hello > > > > > > in shell script, how can I use regex to extract values from a string? > > > maybe value types transformation shou

Re: extract values from a string

2022-04-16 Thread tomas
On Sat, Apr 16, 2022 at 11:01:17AM -0500, Nicholas Geovanis wrote: > On Fri, Apr 15, 2022, 9:37 PM wilson wrote: > > > Hello > > > > in shell script, how can I use regex to extract values from a string? > > maybe value types transformation should be required. > > > > > > for instance the string:

Re: disable IPv6 debian

2022-04-16 Thread David Wright
On Sat 16 Apr 2022 at 08:07:09 (-0400), The Wanderer wrote: > On 2022-04-15 at 22:52, Greg Wooledge wrote: > > On Fri, Apr 15, 2022 at 09:47:11PM -0400, The Wanderer wrote: > >> On 2022-04-15 at 20:47, Greg Wooledge wrote: > >>> You're also going to exit your script with the exit status from > >>>

Re: extract values from a string

2022-04-16 Thread Nicholas Geovanis
On Fri, Apr 15, 2022, 9:37 PM wilson wrote: > Hello > > in shell script, how can I use regex to extract values from a string? > maybe value types transformation should be required. > > > for instance the string: "black berry 12". > I want go get the name: black berry [String] > the price: 12 [Int

Re: What is a repository? What is a metapackage?

2022-04-16 Thread Andy Smith
Hello, On Sat, Apr 16, 2022 at 08:50:22AM -0500, Richard Owlett wrote: > A goal of the Debian installer is to create a system that can be used by > *ALL* people to use for *ANY* possible purpose. Including yours… [problems with Debian installer] > I plan to get around these problems by creating

Openbox and multiple screens.

2022-04-16 Thread peter
Hi, This system has two screens. https://wiki.debian.org/Openbox#Files lists ~/.config/openbox/autostart. Autostarting works except that I haven't found a way to configure the location or screen where a new window opens. How is that done? Thx, ... P. --

Re: What is a repository? What is a metapackage?

2022-04-16 Thread Andrew M.A. Cater
On Sat, Apr 16, 2022 at 08:50:22AM -0500, Richard Owlett wrote: > A goal of the Debian installer is to create a system that can be used by > *ALL* people to use for *ANY* possible purpose. > > I find the resulting system: > 1. consumes more disk space than necessary. > 2. consumes excessive ba

What is a repository? What is a metapackage?

2022-04-16 Thread Richard Owlett
A goal of the Debian installer is to create a system that can be used by *ALL* people to use for *ANY* possible purpose. I find the resulting system: 1. consumes more disk space than necessary. 2. consumes excessive bandwidth during installation. [I have a low monthly cap on my internet

Re: disable IPv6 debian

2022-04-16 Thread Greg Wooledge
On Sat, Apr 16, 2022 at 08:07:09AM -0400, The Wanderer wrote: > ...Huh. That's so unintuitive that it hadn't even occurred to me to test > it before posting, but I just did test it (with 'ps', not 'foobar', > because there's a reason why 'ps' would be special for this purpose), > and you're correct

Re: disable IPv6 debian

2022-04-16 Thread Greg Wooledge
On Sat, Apr 16, 2022 at 04:20:15PM +0800, wilson wrote: > does bash shell have the list/array concept? Bash has indexed arrays (since forever) and associative arrays (in version 4.0 and above). > ~$ list="1 2 3 4" > > ~$ for i in $list; do echo $i; done > 1 > 2 > 3 > 4 > > is this a list access

Re: disable IPv6 debian

2022-04-16 Thread The Wanderer
On 2022-04-15 at 22:52, Greg Wooledge wrote: > On Fri, Apr 15, 2022 at 09:47:11PM -0400, The Wanderer wrote: > >> On 2022-04-15 at 20:47, Greg Wooledge wrote: >>> You're also going to exit your script with the exit status from >>> that last grep command. That's probably not what you want. If >

Re: OT EU-based Cloud Service

2022-04-16 Thread 황병희
Dear Andy, Andy Smith writes: > Hello, > > On Sat, Apr 16, 2022 at 03:22:04PM +0900, 황병희 wrote: >> i did get one server located in Frankfurt, Germany. At there i did >> install Postfix under Debian 11 Bullseye. The name is >> <>. Opening ports are 25, 587 and 2525. The >> role is outbound only.

Re: disable IPv6 debian

2022-04-16 Thread Andy Smith
Hello, On Sat, Apr 16, 2022 at 10:39:03AM +0530, didar wrote: > On Fri, Apr 15, 2022 at 10:58:01PM +, Andy Smith wrote: > > If you happen to know their IPv6 addresses and can trust that those > > assignments will remain stable then you may prefer instead to add > > prohibited routes for these,

Re: OT EU-based Cloud Service

2022-04-16 Thread Andy Smith
Hello, On Sat, Apr 16, 2022 at 03:22:04PM +0900, 황병희 wrote: > i did get one server located in Frankfurt, Germany. At there i did > install Postfix under Debian 11 Bullseye. The name is > <>. Opening ports are 25, 587 and 2525. The > role is outbound only. Do be aware that the netblocks of many ch

Re: What do folks use to mirror repositories

2022-04-16 Thread Dieter Rohlfing
Am Fri, 15 Apr 2022 07:03:14 -0400 schrieb Sam : >That's pretty much it. I want to mirror all my updates to a single server on >my LAN and have everything on my LAN apt update from it. This seems more >efficient than having everyone download their own copies. For mirroring a repository I recommen

Re: disable IPv6 debian

2022-04-16 Thread David
On Sat, 16 Apr 2022 at 18:20, wilson wrote: > does bash shell have the list/array concept? Hi, this mailing list is very kind, and as part of that kindness I want to offer you some kind advice. First, no mailing list will have the patience to teach you every feature of a programming language, o