Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread Andrei POPESCU
On Vi, 28 mai 21, 02:44:30, Stella Ashburne wrote:
> 
> The reason is that I find it too drastic a step. I chose to disable by 
> doing sudo systemctl disable unattended-upgrades. I did delete the 
> package called 50unattended-upgrades (as mentioned in my original 
> post.)

Installing packages on Debian is so easy that in most cases purging a 
package is a very safe method to disable a specific functionality.

Removing files belonging to a package is typically frowned upon, as this 
can under specific circumstances be like pulling the rug from underneath 
a package (or worse, APT/dpkg).

In the case of configuration files (basically everything that is under 
/etc and a few other places) it can cause unexpected or even unsafe 
behaviour as the software might revert to built-in defaults that could 
be wrong for your system.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: How to capture composite video

2021-05-28 Thread Andrei POPESCU
On Vi, 28 mai 21, 17:00:37, Charlie Gibbs wrote:
> 
> Presumably the Hauppauge card has an audio encoder somewhere;
> I just have to find it.  "ls -l /dev/ds*" shows nothing, and
> "arecord -l" shows:
> 
>  List of CAPTURE Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 2: ALC892 Alt Analog [ALC892 Alt Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 2: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> 
> None of those appear to be part of the Hauppauge card; they're probably
> on the motherboard.  Hmmm, maybe I could use one of them instead...

It's probably the Conexant, unless you know for sure it's on the 
motherboard. Maybe you can tell from the output of lspci with -t and -nn 
or so.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: How to capture composite video

2021-05-28 Thread Charlie Gibbs

On Fri May 28 16:18:42 2021 Dan Ritter  wrote:

> Charlie Gibbs wrote:
>
>> Note the "Audio: no sound" line.  I still have to figure that one out
>> to get beyond silent movies.  Any hints?
>
> Yes: composite video doesn't carry audio at all.  Your VCR has
> either mono or stereo RCA audio output jacks, and you can plug
> them into a stereo RCA-> 1/8" stereo headphone plug or adapter
> cable to bring it into your sound card.  Possibly your video
> capture card has a separate jack for that?
>
> Input 0 is probably RF-frequency NTSC with a tuner to select
> channels.  That's low-quality, but includes audio.
>
> Input 2 is S-Video, which is the best of the available video
> connections if your VCR supports it.  (I have one that does...
> if it still powers up.)

Yes, my card's inputs show up as RF, composite, and S-Video
respectively.  I have composite video coming in just fine.

As for audio, I've run a triple RCA cable (red, white, and yellow) from
the jacks on the VCR to the corresponding jacks on the bracket attached
to my Hauppauge card.  It's the same cable I used to hook the VCR to my
TV, where it worked fine.  The VCR doesn't have S-Video output.

Presumably the Hauppauge card has an audio encoder somewhere;
I just have to find it.  "ls -l /dev/ds*" shows nothing, and
"arecord -l" shows:

 List of CAPTURE Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: ALC892 Alt Analog [ALC892 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

None of those appear to be part of the Hauppauge card; they're probably
on the motherboard.  Hmmm, maybe I could use one of them instead...

BTW there's no need to post copies to my e-mail; I see everything
on the list via the Usenet feed to linux.debian.user.  Thanks.
--
/~\  Charlie Gibbs  |  "Some of you may die,
\ /|  but it's a sacrifice
 X   I'm really at ac.dekanfrus |  I'm willing to make."
/ \  if you read it the right way.  |-- Lord Farquaad (Shrek)



Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread Stella Ashburne
Hello,

Thanks for your help and time. I really appreciate it.

> Sent: Saturday, May 29, 2021 at 2:51 AM
> From: "Greg Wooledge" 
> To: debian-user@lists.debian.org
> Subject: Re: How do I permanently disable unattended downloads of 
> software/security updates?
>
> > Question: What do you mean by "a metapackage is not critically important"? 
> > Would you like to elaborate please?
>
> Take a look at "apt show gnome", for example.
>
> On bullseye, on my platform, the package "gnome" (which is a metapackage)
> has an Installed-Size of 35.8 kB.  It doesn't contain any software.  All
> it really contains are Depends: and Recommends: and Suggests: lines.  If
> you install this package, it will bring in a whole bunch of new packages
> (unless you already installed GNOME, in which case it may do nothing).
>
> Once all of those packages are installed, you can go ahead and remove
> the package named "gnome".  It doesn't do anything.  It's just a metapackage.

Thank you for explaining why a metapackage is not critically important. I'm a 
bit wiser now :)

> Well... OK, I'll tell you how I did it.  It's easily reversible, so it
> won't hurt you.
>
> I did it by creating the file /etc/apt/apt.conf.d/99local with the
> following content (one line):
>
> APT::NeverAutoRemove ".";
>
> What this configuration file does is define a regular expression that
> matches every package, and then tells apt never to autoremove any package
> that matches that regular expression.
>
> If you want to go back to normal, simply remove that file.

Thank you very much for your example.

Best wishes.



Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread Stella Ashburne
Hi

Thanks for your help and time. I really appreciate it.

> Sent: Friday, May 28, 2021 at 8:05 PM
> From: l0f...@tuta.io
> To: "Debian User" 
> Subject: Re: How do I permanently disable unattended downloads of 
> software/security updates?
>
> Correction: I meant if you still have updates/upgrades, then it shouldn't be 
> because of package unattended-upgrades. So you would have to dig somewhere 
> else...

Oh my God, are you telling me that we are not done with this "whatever thing 
you may call it"? I thought I could close this matter..lol

Based on your vast experience of using Linux in general and Debian in 
particular, can you think of any other packages or files that could download 
software and security updates silently in the background?

Best regards.



Re: How to capture composite video

2021-05-28 Thread Joe
On Fri, 28 May 2021 13:45:35 -0400
Dan Ritter  wrote:

> Charlie Gibbs wrote: 
> > [copy of posting to comp.os.linux.misc]
> > 
> > References: 
> > 
> > 
> > On 2021-05-17, Peter 'Shaggy' Haywood 
> > wrote: 
> > > mencoder tv:// -tv \
> > > driver=4vl2:input=1:norm=pal:width=720:height=576:fps=25 \
> > > -endpos 1:30:00 -ovc lavc -oac copy -lavcopts vcodec=mpeg4 \
> > > -o filename.avi  
> > 
> > I finally found the time to do some more experimenting.  The example
> > above is a good starting point.  I found that I can watch VHS tapes
> > (or whatever else is plugged into the composite video input) on my
> > machine with the following command:
> > 
> > mplayer tv:// -tv
> > driver=v4l2:input=1:norm=NTSC-M:width=720:height=480
> > 
> >  Tuner cap: STEREO LANG1 LANG2
> >  Tuner rxs: MONO
> >  Capabilities:  video capture  VBI capture device  tuner  read/write
> > streaming
> >  inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
> >  Current input: 1
> >  Current format: UYVY
> > v4l2: current audio mode is : MONO
> > Audio: no sound
> > 
> > Note the "Audio: no sound" line.  I still have to figure that one
> > out to get beyond silent movies.  Any hints?  
> 
> Yes: composite video doesn't carry audio at all. Your VCR has
> either mono or stereo RCA audio output jacks, and you can plug
> them into a stereo RCA-> 1/8" stereo headphone plug or adapter
> cable to bring it into your sound card. Possibly your video
> capture card has a separate jack for that?

Typically red and white phono connectors are left and right audio,
yellow is composite video. The S-Video connector is normally a four-pin
mini-DIN connector, and also doesn't carry audio.
> 
> Input 0 is probably RF-frequency NTSC with a tuner to select
> channels. That's low-quality, but includes audio.
> 
> Input 2 is S-Video, which is the best of the available video
> connections if your VCR supports it. (I have one that does... if
> it still powers up.)

-- 
Joe



Re: LVM raid0

2021-05-28 Thread Charles Curley
On Fri, 28 May 2021 21:10:03 +0200
john doe  wrote:

> On 5/28/2021 8:58 PM, Gokan Atmaca wrote:
> >> Is your '/etc/crypttab' file properly populated?  
> >
> > There is no encrypted volume.
> >  
> 
> That file (1) needs to be  populated for it to work at boot! :)

No, not if (as M. Atmaca has already stated) there is no encrypted
portion of the system.


> 
> 
> 1)
> https://wiki.archlinux.org/title/Dm-crypt/System_configuration#Mounting_at_boot_time

This article is on DM-crypt, which should be irrelevant to the OP's
situation.

-- 
Does anybody read signatures any more?

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



Re: Weather Report size, icons, radar maps

2021-05-28 Thread Russell L. Harris

On Fri, May 28, 2021 at 01:32:24PM -0500, Greg Marks wrote:

Greg, if you are interested in free real time (no delay) weather radar with
a number of features, take a look at https://www.livewxradar.com/.


Setting "Use custom address for radar map" to https://www.livewxradar.com
does not solve the problem; still nothing shows up in the Radar Map tab
of Weather Report.


Forgive me; I did not mean to suggest LIVEWXRADAR as a solution to
your problem.

But when the forecast is for rough weather, I devote a browser screen
to LIVEWXRADAR for the day or evening, and flip over to it now and
then.  Again, the big advantages are real time display and ability to
zoom in and out.

Local wind and rainfall I monitor with a Davis Vantage Pro2; I use
WEEWX to log data and upload pages to a web site.  


RLH



Re: Weather Report size, icons, radar maps

2021-05-28 Thread Bret Busby

On 29/5/21 2:32 am, Greg Marks wrote:

I have three small questions about the MATE application Weather Report,
version 1.20.3, the MATE panel application for monitoring local weather
conditions.

1. Is there a way to set the default size of the Weather Report window?
The preset default seems to be 58 characters, which is slightly smaller
than the length of the lines in the Forecast tab.

2. Is there a package containing all icons for Weather Report?
For some conditions, such as "broken clouds," no icon is displayed in
the panel.  Various weather icons seem to be installed in subdirectories
of /usr/share/icons/mate, but some conditions appear not to be included
among the icons.

3. In the preferences, "enable radar map" never seems to show anything
under the Radar Map tab.  The manual says that Weather Report downloads
radar maps from www.weather.com, which seems to be a URL for The Weather
Channel, and one must do a bit of searching on that site to find radar
maps.  Can one fix this by selecting "Use custom address for radar map"
in preferences, and if so, what URL should one enter for U.S. radar maps?


Greg, if you are interested in free real time (no delay) weather radar with
a number of features, take a look at https://www.livewxradar.com/.


Setting "Use custom address for radar map" to https://www.livewxradar.com
does not solve the problem; still nothing shows up in the Radar Map tab
of Weather Report.

Best regards,
Greg Marks



I do not know whether this will provide what you want, but, in a web 
browser, you might be interested in going to wunderground.com, and, 
following the link to their wundermap, then, zooming in to your 
location; right down to suburb/location level; even, to street/road level.


Then, go to the dashboard for each of the closest three weather 
stations, and select the one that seems most appropriate.. Also, looking 
at the weather forecast options available, for the particular weather 
station, is interesting; forecast for the next ten days, or, for each 
hour of the current or next day.


I hope that this is helpful.

--
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: LVM raid0

2021-05-28 Thread Reco
Hi.

On Fri, May 28, 2021 at 09:31:06PM +0300, Gokan Atmaca wrote:
> Additionally I found something like the following in the dmesg logs.
> 
...
> [Fri May 28 14:14:22 2021] device-mapper: table: 253:2: raid: Failed
> to run raid array
> [Fri May 28 14:14:22 2021] device-mapper: table: 253:2: raid: Failed
> to run raid array

Chances are your initrd lacks dm-raid kernel module. Try adding it to
/etc/initramfs-tools/modules and rebuild your initrd.
Everything else in this dmesg does not relate to the problem.


> > What would be the reason ?

pvdisplay and vgdisplay would be nice.
And "lsmod | grep ^dm" while we're at it.


Oh, and please disgregard that crypttab advice. crypttab is only good
for something if you're using dm-crypt, and most likely you're not.

Reco



Re: LVM raid0

2021-05-28 Thread Gokan Atmaca
> That file (1) needs to be  populated for it to work at boot! :)

thanks, i didn't know. I will check it. :)

On Fri, May 28, 2021 at 10:10 PM john doe  wrote:
>
> On 5/28/2021 8:58 PM, Gokan Atmaca wrote:
> >> Is your '/etc/crypttab' file properly populated?
> >
> > There is no encrypted volume.
> >
>
> That file (1) needs to be  populated for it to work at boot! :)
>
>
> 1)
> https://wiki.archlinux.org/title/Dm-crypt/System_configuration#Mounting_at_boot_time
>
> --
> John Doe
>



Re: Weather Report size, icons, radar maps

2021-05-28 Thread Greg Marks
> > I have three small questions about the MATE application Weather Report,
> > version 1.20.3, the MATE panel application for monitoring local weather
> > conditions.
> > 
> > 1. Is there a way to set the default size of the Weather Report window?
> > The preset default seems to be 58 characters, which is slightly smaller
> > than the length of the lines in the Forecast tab.
> > 
> > 2. Is there a package containing all icons for Weather Report?
> > For some conditions, such as "broken clouds," no icon is displayed in
> > the panel.  Various weather icons seem to be installed in subdirectories
> > of /usr/share/icons/mate, but some conditions appear not to be included
> > among the icons.
> > 
> > 3. In the preferences, "enable radar map" never seems to show anything
> > under the Radar Map tab.  The manual says that Weather Report downloads
> > radar maps from www.weather.com, which seems to be a URL for The Weather
> > Channel, and one must do a bit of searching on that site to find radar
> > maps.  Can one fix this by selecting "Use custom address for radar map"
> > in preferences, and if so, what URL should one enter for U.S. radar maps?
>
> Greg, if you are interested in free real time (no delay) weather radar with
> a number of features, take a look at https://www.livewxradar.com/.

Setting "Use custom address for radar map" to https://www.livewxradar.com
does not solve the problem; still nothing shows up in the Radar Map tab
of Weather Report.

Best regards,
Greg Marks


signature.asc
Description: PGP signature


Re: LVM raid0

2021-05-28 Thread john doe

On 5/28/2021 8:58 PM, Gokan Atmaca wrote:

Is your '/etc/crypttab' file properly populated?


There is no encrypted volume.



That file (1) needs to be  populated for it to work at boot! :)


1)
https://wiki.archlinux.org/title/Dm-crypt/System_configuration#Mounting_at_boot_time

--
John Doe



Re: LVM raid0

2021-05-28 Thread Gokan Atmaca
> Is your '/etc/crypttab' file properly populated?

There is no encrypted volume.


On Fri, May 28, 2021 at 9:37 PM john doe  wrote:
>
> On 5/28/2021 8:31 PM, Gokan Atmaca wrote:
> > Additionally I found something like the following in the dmesg logs.
> >
> > [Fri May 28 14:14:19 2021] x86/cpu: VMX (outside TXT) disabled by BIOS
> > [Fri May 28 14:14:20 2021] r8169 :06:00.0: unknown chip XID 641
> > [Fri May 28 14:14:22 2021] device-mapper: table: 253:2: raid: Failed
> > to run raid array
> > [Fri May 28 14:14:22 2021] device-mapper: table: 253:2: raid: Failed
> > to run raid array
> > [Fri May 28 14:15:25 2021] hdaudio hdaudioC0D2: Unable to bind the codec
> >
> > On Fri, May 28, 2021 at 9:27 PM Gokan Atmaca  wrote:
> >>
> >> Hello
> >>
> >> I did LVM raid 0. But when reboot the disks come as "inherit".
> >> What would be the reason ?
> >>
> >> lvdisplay
> >>--- Logical volume ---
> >>LV Path/dev/vg2t/lv-st0
> >>LV Namelv-st0
> >>VG Namevg2t
> >>LV UUIDJOfIdw-8uhQ-OvsF-4Sdp-LMDm-NEVv-UMjFDW
> >>LV Write Accessread/write
> >>LV Creation host, time ob, 2021-05-28 10:46:49 -0400
> >>LV Status  NOT available
> >>LV Size1.81 TiB
> >>Current LE 474482
> >>Segments   1
> >>Allocation inherit
> >>Read ahead sectors auto
> >>
> >>--- Logical volume ---
> >>LV Path/dev/vg2t/lv_storage14t
> >>LV Namelv_storage14t
> >>VG Namevg2t
> >>LV UUIDjHbg36-GKU0-Mked-PbMd-Vnio-IPbE-lpGWD4
> >>LV Write Accessread/write
> >>LV Creation host, time ob 2021-05-28 13:41:04 -0400
> >>LV Status  NOT available
> >>LV Size14.50 TiB
> >>Current LE 3801088
> >>Segments   1
> >>Allocation inherit
> >>Read ahead sectors auto
> >>
> >>
> >> Thanls.
> >>
> >>
> >>
> >>
> >> --
> >> ⢀⣴⠾⠻⢶⣦⠀
> >> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> >> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> >> ⠈⠳⣄
> >
>
> Is your '/etc/crypttab' file properly populated?
>
> --
> John Doe
>



Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread Greg Wooledge
On Fri, May 28, 2021 at 08:40:23PM +0200, Stella Ashburne wrote:
> Question: Instead of using "aptitude why unattended-upgrades" command, can I 
> use "apt why unattended-upgrades"?

Well, try it and see.

> I was told many years ago that the command "aptitude" was deprecated.

You were lied to.  aptitude does *many* things that no other tool does.

> Question: What do you mean by "a metapackage is not critically important"? 
> Would you like to elaborate please?

Take a look at "apt show gnome", for example.

On bullseye, on my platform, the package "gnome" (which is a metapackage)
has an Installed-Size of 35.8 kB.  It doesn't contain any software.  All
it really contains are Depends: and Recommends: and Suggests: lines.  If
you install this package, it will bring in a whole bunch of new packages
(unless you already installed GNOME, in which case it may do nothing).

Once all of those packages are installed, you can go ahead and remove
the package named "gnome".  It doesn't do anything.  It's just a metapackage.

> I wish to improve my knowledge of computing. How do I disable autoremove? 
> What is the command to be typed in a terminal?

Well... OK, I'll tell you how I did it.  It's easily reversible, so it
won't hurt you.

I did it by creating the file /etc/apt/apt.conf.d/99local with the
following content (one line):

APT::NeverAutoRemove ".";

What this configuration file does is define a regular expression that
matches every package, and then tells apt never to autoremove any package
that matches that regular expression.

If you want to go back to normal, simply remove that file.



Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread Stella Ashburne
Hello,

Thanks for your help and time. I really appreciate it.

> Sent: Friday, May 28, 2021 at 8:06 PM
> From: "Greg Wooledge" 
> To: debian-user@lists.debian.org
> Subject: Re: How do I permanently disable unattended downloads of 
> software/security updates?
>
> More likely, it was brought in as a recommendation by some desktop
> environment.  One may use "aptitude why unattended-upgrades" to find
> out why it was installed, or more properly, why it's not being marked
> for autoremoval at the current moment.

I'm very certain that I didn't install it manually. In fact, during 
installation of Debian, I specifically chose the option to not upgrade/update 
software automatically.

The package "unattended-upgrades" might have been installed automatically 
because I installed a minimal Gnome desktop environment (I quite like using 
Gnome.)

Question: Instead of using "aptitude why unattended-upgrades" command, can I 
use "apt why unattended-upgrades"? I was told many years ago that the command 
"aptitude" was deprecated.

> However, if the package is marked as a *dependency* of some desktop
> environment, rather than simply a recommendation, then purging the
> undesired package may also try to remove the desktop environment
> metapackage.  And some people panic when that happens, because they
> don't understand that a metapackage is not critically important.

Question: What command can I type in a terminal to find out if the package 
"unattended-upgrades" is a *dependency* of some other packages?

Yeah, I do panic when any metapackage of my Gnome desktop environment is 
removed. Why? My knowledge of computing and Debian is elementary.

Question: What do you mean by "a metapackage is not critically important"? 
Would you like to elaborate please?

>
> (And then it gets even more complicated when you consider autoremove,
> because removing the placeholder metapackage may free up various other
> pieces of the desktop environment -- ones that actually *do* something --
> to be marked for autoremoval.  And that's not desired.)

Thanks for your explanation.
>
> (Personally I solve all of that by disabling autoremoval.  But that's
> just me, and most people seem to like it.)

I wish to improve my knowledge of computing. How do I disable autoremove? What 
is the command to be typed in a terminal?



Re: LVM raid0

2021-05-28 Thread john doe

On 5/28/2021 8:31 PM, Gokan Atmaca wrote:

Additionally I found something like the following in the dmesg logs.

[Fri May 28 14:14:19 2021] x86/cpu: VMX (outside TXT) disabled by BIOS
[Fri May 28 14:14:20 2021] r8169 :06:00.0: unknown chip XID 641
[Fri May 28 14:14:22 2021] device-mapper: table: 253:2: raid: Failed
to run raid array
[Fri May 28 14:14:22 2021] device-mapper: table: 253:2: raid: Failed
to run raid array
[Fri May 28 14:15:25 2021] hdaudio hdaudioC0D2: Unable to bind the codec

On Fri, May 28, 2021 at 9:27 PM Gokan Atmaca  wrote:


Hello

I did LVM raid 0. But when reboot the disks come as "inherit".
What would be the reason ?

lvdisplay
   --- Logical volume ---
   LV Path/dev/vg2t/lv-st0
   LV Namelv-st0
   VG Namevg2t
   LV UUIDJOfIdw-8uhQ-OvsF-4Sdp-LMDm-NEVv-UMjFDW
   LV Write Accessread/write
   LV Creation host, time ob, 2021-05-28 10:46:49 -0400
   LV Status  NOT available
   LV Size1.81 TiB
   Current LE 474482
   Segments   1
   Allocation inherit
   Read ahead sectors auto

   --- Logical volume ---
   LV Path/dev/vg2t/lv_storage14t
   LV Namelv_storage14t
   VG Namevg2t
   LV UUIDjHbg36-GKU0-Mked-PbMd-Vnio-IPbE-lpGWD4
   LV Write Accessread/write
   LV Creation host, time ob 2021-05-28 13:41:04 -0400
   LV Status  NOT available
   LV Size14.50 TiB
   Current LE 3801088
   Segments   1
   Allocation inherit
   Read ahead sectors auto


Thanls.




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




Is your '/etc/crypttab' file properly populated?

--
John Doe



Re: LVM raid0

2021-05-28 Thread Gokan Atmaca
Additionally I found something like the following in the dmesg logs.

[Fri May 28 14:14:19 2021] x86/cpu: VMX (outside TXT) disabled by BIOS
[Fri May 28 14:14:20 2021] r8169 :06:00.0: unknown chip XID 641
[Fri May 28 14:14:22 2021] device-mapper: table: 253:2: raid: Failed
to run raid array
[Fri May 28 14:14:22 2021] device-mapper: table: 253:2: raid: Failed
to run raid array
[Fri May 28 14:15:25 2021] hdaudio hdaudioC0D2: Unable to bind the codec

On Fri, May 28, 2021 at 9:27 PM Gokan Atmaca  wrote:
>
> Hello
>
> I did LVM raid 0. But when reboot the disks come as "inherit".
> What would be the reason ?
>
> lvdisplay
>   --- Logical volume ---
>   LV Path/dev/vg2t/lv-st0
>   LV Namelv-st0
>   VG Namevg2t
>   LV UUIDJOfIdw-8uhQ-OvsF-4Sdp-LMDm-NEVv-UMjFDW
>   LV Write Accessread/write
>   LV Creation host, time ob, 2021-05-28 10:46:49 -0400
>   LV Status  NOT available
>   LV Size1.81 TiB
>   Current LE 474482
>   Segments   1
>   Allocation inherit
>   Read ahead sectors auto
>
>   --- Logical volume ---
>   LV Path/dev/vg2t/lv_storage14t
>   LV Namelv_storage14t
>   VG Namevg2t
>   LV UUIDjHbg36-GKU0-Mked-PbMd-Vnio-IPbE-lpGWD4
>   LV Write Accessread/write
>   LV Creation host, time ob 2021-05-28 13:41:04 -0400
>   LV Status  NOT available
>   LV Size14.50 TiB
>   Current LE 3801088
>   Segments   1
>   Allocation inherit
>   Read ahead sectors auto
>
>
> Thanls.
>
>
>
>
> --
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄



Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread Stella Ashburne
Hello,

> Sent: Friday, May 28, 2021 at 7:43 PM
> From: l0f...@tuta.io
> To: "Debian User" 
> Subject: Re: How do I permanently disable unattended downloads of 
> software/security updates?
>
> 
> unattended-upgrades is not installed by default, so you installed that 
> package at some point because you were interested in applying upgrades 
> automatically.

I'm sorry but your understanding is incorrect. I'm sure I've never installed it 
at any point in the course of using Debisn. I remember very clearly that when I 
first installed Debian on my machine, I did specify that I didn't want 
automatic upgrades.

> Now, you are not interested anymore. So you have chosen to delete the 
> configuration file /etc/apt/apt.conf.d/50unattended-upgrades and disabled the 
> systemd service unattended-upgrades.

I've never wanted upgrades/updates to be automatic.

> No I don't have it, it's installed with the optional package 
> "unattended-upgrades".

I'm very certain that I didn't install the package "unattended-upgrades". My 
knowledge of computing and Debian is elementary so much so that I'd never 
install packages that seem weird or alien to me.

> 
> Strictly speaking, /etc/apt/apt.conf.d/50unattended-upgrades is a file, not a 
> package.
> A package is a combination of files provided for your Debian distribution.
> I just wanted to make sure you didn't talk about removing the 
> "unattended-upgrades" package.

Thanks for your explanation.

> 
> By the way, I think you should not have deleted that file. That's somewhat 
> dirty.

I still have that file because I'd moved it to my removable backup drive. 
Should I restore it? What do you think?

> If you want to make a pause with a package, just stop it and disable it (or 
> tweak the configuration file so there is no real action processed).

Just so you know, my knowledge of Debian and computing is basic/elementary 
(meaning, I don't know how to tweak configuration files...).

> 
> If you are sure not to use some optional package, then remove or even purge 
> it.

You suggest that I purge the optional package "unattended-upgrades" What 
happens if that package is a dependency of some other packages? What commands 
can I type to show that the package "unattended=upgrades" is or isn't a 
dependency of some other packages?

Thanks for your help and time. I really appreciate it.

Best regards.



LVM raid0

2021-05-28 Thread Gokan Atmaca
Hello

I did LVM raid 0. But when reboot the disks come as "inherit".
What would be the reason ?

lvdisplay
  --- Logical volume ---
  LV Path/dev/vg2t/lv-st0
  LV Namelv-st0
  VG Namevg2t
  LV UUIDJOfIdw-8uhQ-OvsF-4Sdp-LMDm-NEVv-UMjFDW
  LV Write Accessread/write
  LV Creation host, time ob, 2021-05-28 10:46:49 -0400
  LV Status  NOT available
  LV Size1.81 TiB
  Current LE 474482
  Segments   1
  Allocation inherit
  Read ahead sectors auto

  --- Logical volume ---
  LV Path/dev/vg2t/lv_storage14t
  LV Namelv_storage14t
  VG Namevg2t
  LV UUIDjHbg36-GKU0-Mked-PbMd-Vnio-IPbE-lpGWD4
  LV Write Accessread/write
  LV Creation host, time ob 2021-05-28 13:41:04 -0400
  LV Status  NOT available
  LV Size14.50 TiB
  Current LE 3801088
  Segments   1
  Allocation inherit
  Read ahead sectors auto


Thanls.




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



Re: How to capture composite video

2021-05-28 Thread Dan Ritter
Charlie Gibbs wrote: 
> [copy of posting to comp.os.linux.misc]
> 
> References:  
> 
> On 2021-05-17, Peter 'Shaggy' Haywood  wrote:
> 
> > mencoder tv:// -tv \
> > driver=4vl2:input=1:norm=pal:width=720:height=576:fps=25 \
> > -endpos 1:30:00 -ovc lavc -oac copy -lavcopts vcodec=mpeg4 \
> > -o filename.avi
> 
> I finally found the time to do some more experimenting.  The example
> above is a good starting point.  I found that I can watch VHS tapes
> (or whatever else is plugged into the composite video input) on my
> machine with the following command:
> 
> mplayer tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480
> 
>  Tuner cap: STEREO LANG1 LANG2
>  Tuner rxs: MONO
>  Capabilities:  video capture  VBI capture device  tuner  read/write
> streaming
>  inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
>  Current input: 1
>  Current format: UYVY
> v4l2: current audio mode is : MONO
> Audio: no sound
> 
> Note the "Audio: no sound" line.  I still have to figure that one out
> to get beyond silent movies.  Any hints?

Yes: composite video doesn't carry audio at all. Your VCR has
either mono or stereo RCA audio output jacks, and you can plug
them into a stereo RCA-> 1/8" stereo headphone plug or adapter
cable to bring it into your sound card. Possibly your video
capture card has a separate jack for that?

Input 0 is probably RF-frequency NTSC with a tuner to select
channels. That's low-quality, but includes audio.

Input 2 is S-Video, which is the best of the available video
connections if your VCR supports it. (I have one that does... if
it still powers up.)


-dsr-



Re: trouble with debconf

2021-05-28 Thread IL Ka
On Fri, May 28, 2021 at 7:54 PM Patrice Duroux 
wrote:

>
> I have finally found the source of this trouble.
> The absence of /var/lib/cdebconf directory after a bad manipulation.


https://packages.debian.org/sid/cdebconf

# apt install cdebconf

This is a folder to store answers for debconf:
https://www.debian.org/releases/stretch/mips/apbs03.html


Re: How to capture composite video

2021-05-28 Thread deloptes
Charlie Gibbs wrote:

> Note the "Audio: no sound" line.  I still have to figure that one out
> to get beyond silent movies.  Any hints?

mplayer is complex application - you need some time to study the
documentation

for audio you are missing the audio driver, you can try adding

-ao alsa:noblock:audiorate=48000:device=duplex

or for TV

mplayer tv:// -tv
driver=v4l2:input=1:norm=NTSC-M:width=720:height=480:forceaudio:immediatemode=0:adevice=/dev/dsp1:amode=1:forcechan=2:audiorate=44100:audioid=1:volume=75

it all depends how the hardware is set

these are some ideas I used successfully in the past



Re: How to capture composite video

2021-05-28 Thread Charlie Gibbs

[copy of posting to comp.os.linux.misc]

References:  

On 2021-05-17, Peter 'Shaggy' Haywood  wrote:

> mencoder tv:// -tv \
> driver=4vl2:input=1:norm=pal:width=720:height=576:fps=25 \
> -endpos 1:30:00 -ovc lavc -oac copy -lavcopts vcodec=mpeg4 \
> -o filename.avi

I finally found the time to do some more experimenting.  The example
above is a good starting point.  I found that I can watch VHS tapes
(or whatever else is plugged into the composite video input) on my
machine with the following command:

mplayer tv:// -tv driver=v4l2:input=1:norm=NTSC-M:width=720:height=480

Here's what gets written when I tee stdout:

MPlayer 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski 
 comment: first try, more to come ;-)
Selected device: pcHDTV HD5500 HDTV
 Tuner cap: STEREO LANG1 LANG2
 Tuner rxs: MONO
 Capabilities:  video capture  VBI capture device  tuner  read/write 
streaming
 supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 = PAL-BG; 
4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 = PAL-60; 10 
= SECAM-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;

 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 1
 Current format: UYVY
v4l2: current audio mode is : MONO
==
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 720x480 => 720x480 Packed UYVY
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==
Audio: no sound
Starting playback...
V:   0.0   1/  1 ??% ??% ??,?% 0 0 [counts up]

v4l2: 137 frames successfully processed, 0 frames dropped.

Exiting... (Quit)

Note the "Audio: no sound" line.  I still have to figure that one out
to get beyond silent movies.  Any hints?

If I get the parameters wrong (which I did a lot while trying to get
the aspect ratio right), my screen and keyboard lock up.  The machine
is still alive, though; I can ssh in from another machine and send
a kill -HUP to mplayer's PID, and it does an orderly shutdown and
releases everything.

Once I get sound working, the next step is to persuade mencoder
to write the video to a file.  I tried adding the other parameters
you mentioned above, starting with -ovc, but I get the message:

Unable to open '/dev/dsp': No such file or directory.

It's really upset about this; the message appears three times.
And indeed, /dev/dsp doesn't exist.  How do I get one?

--
/~\  Charlie Gibbs  |  They don't understand Microsoft
\ /|  has stolen their car and parked
 X   I'm really at ac.dekanfrus |  a taxi in their driveway.
/ \  if you read it the right way.  |-- Mayayana



Re: trouble with debconf

2021-05-28 Thread Patrice Duroux


I have finally found the source of this trouble.
The absence of /var/lib/cdebconf directory after a bad manipulation. 
And then even trying to reinstall the debconf package did not (re)create this
folder, so any package that rdepends to debconf is falling and also debconf it-
self.
Which package should I have reinstall to get it back?



 



Re: Gtk4 Package Support?

2021-05-28 Thread Brian Sammon
On Thu, 27 May 2021 11:54:36 -0400
Dan Ritter wrote:

> libgtk-4-0 is currently in "experimental" which means that it is
> both unstable and buggy. You can certainly install it and try it
> out, but you shouldn't depend on it just yet. If it goes
> smoothly, then it could be in the next stable release, in about
> 2 years.
> 
> https://packages.debian.org/experimental/libgtk-4-0

Probably better to use libgtk-4-1, which is based on an upstream-stable release:

https://packages.debian.org/experimental/libgtk-4-1

The warnings about depending on experimental packages still apply.



Re: firefox file list

2021-05-28 Thread Peter Ehlert



On 5/28/21 5:33 AM, fxkl47BF wrote:

i'm using debian 10.9 and firefox 88.0.1
how do i get firefox to show dot files in file listings

use the check box at the top right of the file window "show hidden objects"







Re: firefox file list

2021-05-28 Thread fxkl47BF
‐‐‐ Original Message ‐‐‐
On Friday, May 28, 2021 7:33 AM, fxkl47BF  wrote:

> i'm using debian 10.9 and firefox 88.0.1
> how do i get firefox to show dot files in file listings

i just found it so i'll answer my own question
right click on the file list



firefox file list

2021-05-28 Thread fxkl47BF
i'm using debian 10.9 and firefox 88.0.1
how do i get firefox to show dot files in file listings



Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread Greg Wooledge
On Fri, May 28, 2021 at 01:43:59PM +0200, l0f...@tuta.io wrote:
> OK, here is my understanding of your situation.
> 
> unattended-upgrades is not installed by default, so you installed that 
> package at some point because you were interested in applying upgrades 
> automatically.

More likely, it was brought in as a recommendation by some desktop
environment.  One may use "aptitude why unattended-upgrades" to find
out why it was installed, or more properly, why it's not being marked
for autoremoval at the current moment.

> If you are sure not to use some optional package, then remove or even purge 
> it.

Agreed.  This is the preferred approach most of the time.

However, if the package is marked as a *dependency* of some desktop
environment, rather than simply a recommendation, then purging the
undesired package may also try to remove the desktop environment
metapackage.  And some people panic when that happens, because they
don't understand that a metapackage is not critically important.

(And then it gets even more complicated when you consider autoremove,
because removing the placeholder metapackage may free up various other
pieces of the desktop environment -- ones that actually *do* something --
to be marked for autoremoval.  And that's not desired.)

(Personally I solve all of that by disabling autoremoval.  But that's
just me, and most people seem to like it.)



Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread l0f4r0
28 mai 2021, 13:43 de l0f...@tuta.io:

> I think you won't update/upgrade automatically anymore (by the way you say 
> you haven't noticed this behavior so far), but time will confirm.
>
Correction: I meant if you still have updates/upgrades, then it shouldn't be 
because of package unattended-upgrades. So you would have to dig somewhere 
else...

l0f4r0



Re: Web log analysis

2021-05-28 Thread Alexandre Rossi
Hi,

> In this case, Richard seems to be looking for analysis of the
> web server logs he has already collected.
> 
> analog
> awfful
> awstats
> goaccess
> logstalgia
> logswan
> visitors
> webalizer

analog, awfful, awstats, visitors and webalizer seem unmaintained.

logstalgia is an Xorg app that displays log stats in retro videogame
fashion.

logswan only outputs JSON so needs to be fed into somtehing else
to produce graphs.

Of those, only goaccess seems to be maintained. It complies with
many of your requirements, although analysing data over long periods
is not straightforward. I use it to produce one static report per month
and it suits my basic needs.

Cheers,

Alex



Re: How do I permanently disable unattended downloads of software/security updates?

2021-05-28 Thread l0f4r0
Hi,

OK, here is my understanding of your situation.

unattended-upgrades is not installed by default, so you installed that package 
at some point because you were interested in applying upgrades automatically.

Now, you are not interested anymore. So you have chosen to delete the 
configuration file /etc/apt/apt.conf.d/50unattended-upgrades and disabled the 
systemd service unattended-upgrades.

Next, you have rebooted and indeed the service and configuration file have not 
been loaded (see service status 'inactive' and  
'APT::Periodic::Unattended-Upgrade "0"').

I think you won't update/upgrade automatically anymore (by the way you say you 
haven't noticed this behavior so far), but time will confirm.

See below some remarks.


28 mai 2021, 02:44 de rewe...@gmx.com:

>> What you call "package" is actually a simple file right?
>>
> Yes, it is a file that contains a lot of programming code or what you would 
> call scripting language. The default path is /etc/apt/apt.conf.d/. I guess 
> every one who installs Debian 10.9 should have it too, yourself included.
>
No I don't have it, it's installed with the optional package 
"unattended-upgrades".

Strictly speaking, /etc/apt/apt.conf.d/50unattended-upgrades is a file, not a 
package.
A package is a combination of files provided for your Debian distribution.
I just wanted to make sure you didn't talk about removing the 
"unattended-upgrades" package.

By the way, I think you should not have deleted that file. That's somewhat 
dirty.

If you want to make a pause with a package, just stop it and disable it (or 
tweak the configuration file so there is no real action processed).

If you are sure not to use some optional package, then remove or even purge it.

>> But the service is still currently running right?
>>
> I don't know how to answer your question because my knowledge of computing 
> and Linux is basic/elementary.
>
OK, actually you can know it thanks to the command just below

>> systemctl status unattended-upgrades
>>
> Below is the result:
>
> unattended-upgrades.service - Unattended Upgrades Shutdown
>  Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; disabled; ve
>  Active: inactive (dead)
>  Docs: man:unattended-upgrade(8)
>
OK, the service is not running.

>> Can you provide us with the following command results?
>>
>> cat /etc/apt/apt.conf.d/10periodic
>>
> Below is the result of cat /etc/apt/apt.conf.d/10periodic
>
> APT::Periodic::Download-Upgradeable-Packages "0";
> APT::Periodic::Unattended-Upgrade "0";
>
0 means "No" here.

>> cat /etc/apt/apt.conf.d/00aptitude
>>
> Below is the result of cat /etc/apt/apt.conf.d/00aptitude
>
> Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
>
>> You confirm that you never ran something like the following?
>>
>> sudo apt remove unattended-upgrades
>> sudo apt purge unattended-upgrades
>>
> Yes, I confirm that I have never issued the following one of two commands, 
> viz.:
>
> sudo apt remove unattended-upgrades
> sudo apt purge unattended-upgrades
>
> The reason is that I find it too drastic a step. I chose to disable by doing 
> sudo systemctl disable unattended-upgrades. I did delete the package called 
> 50unattended-upgrades (as mentioned in my original post.)
>
Understood but see my above remark.

>> What give you the next commands please?
>>
>> apt-config dump | grep -i unatt
>>
> Below is the result of apt-config dump | grep -i unatt
>
> APT::Periodic::Unattended-Upgrade "0";
>
>> apt-config dump | grep -i APT::Periodic
>>
> Below is the result of apt-config dump | grep -i APT::Periodic
>
> APT::Periodic "";
> APT::Periodic::Download-Upgradeable-Packages "0";
> APT::Periodic::Unattended-Upgrade "0";
>
Good for you ("0" again).

>> NB: Have you rebooted and observed the same behavior since your posts?
>>
> After rebooting, I have no opportunity to observe the same behavior since my 
> posts because there are no software/security updates that are relevant to my 
> Debian system at the time of writing this email. Based on my past experience, 
> Debian only downloads software/security updates for my kernel and the 
> installed packages. The installed packages on my system are minimal. I'll 
> have to wait patiently for the next software/security updates for my 
> installed packages.
>
Ok, let's wait and see then.
You can remove the package "unattended-upgrades" if you want via `sudo apt 
remove` or `sudo apt purge`.


Best regards,
l0f4r0