Linux News

Coreutils problem with sha1sum and other digests

Linux Questions - Fri, 03/24/2023 - 17:33
Hi,

I've just been hit by a bug in md5sum/sha1sum from coreutils-9.2.

Essentially, in certain circumstances, a digest manifest, when checked against a changed file, will print OK. The utility still reports an error at the end of the run, but in big manifests, it's a pain finding the failing file.

Here's a trivial script showing the problem:

Code: #!/bin/bash

TMPFS_DIR=$(mktemp -d --suffix=-coreutils-prob --tmpdir=$(/bin/pwd))
cd "$TMPFS_DIR"
echo "aaaa" > a.txt
echo "bbbb" > b.txt
sha1sum *.txt > sha1s.txt
sha1sum -c sha1s.txt
echo "cccc" > b.txt
echo "After file change in b.txt"
sha1sum -c sha1s.txt With output:
Code: $ sh sha1bad.sh
a.txt: OK
b.txt: OK
After file change in b.txt
a.txt: OK
b.txt: OK
sha1sum: WARNING: 1 computed checksum did NOT match It seems this has already been fixed in:

git://git.sv.gnu.org/coreutils
commit: 76f2fb627118a26c25003dbd98c22c153b7ee1d2

but it's not been part of a release tag.

Apologies if this has already been reported.

===Rich
Categories: Software and Help

packagetools question

Linux Questions - Fri, 03/24/2023 - 17:29
I build signal-desktop from source. The vanilla build process following the official directions produces a .deb package, which I then convert to a .txz using deb2tgz. The packages install just fine but when upgrade time comes, using upgradepkg I get the following error:

upgradepkg ./signal-desktop_6.12.0-beta.1_amd64.txz

Error: there is no installed package named signal-desktop_6.12.0-beta.1_amd64.
(looking for /var/lib/pkgtools/packages/signal-desktop_6.12.0-beta.1_amd64)

and of course.. signal desktop IS installed, as a quick ls of /var/log/packages/ reveals:

ls /var/log/packages/ | grep signal

signal-desktop_6.11.0-beta.1_amd64

Until now I have just forced the upgrade using '%' with upgradepkg, but I would like to modify the package so that it upgrades simply & correctly, like almost all other slackware packages. Honestly, signal is the only package that makes me do this. Is there something I can add to the package (doinstall.sh?) that would make it update correctly?

I just need to be pointed in a direction here. Signal has a complicated build process with a lot of dependencies and frameworks involved. It's a right proper Charlie Foxtrot, but in the end it still produces useable packages. At the same time, it's not the usual ./config && make && make_install build process that I am dealing with here, so I don't expect anyone to martyr themselves figuring out the exact process to correct this issue.

All I need is to be pointed in a direction here. I suspect something is missing from a .deb that is present in a correctly made slackware package, and adding that missing thing would probably correct this issue.

Or, can I add an entry for signal-desktop to the package database directly?

I just need some suggestions here, I can do the heavy lifting myself. As I said, the build process for signal is a fussy, finicky CF, but it's a good product so I put up with the BS that comes with design decisions made by the upstream developers.

.
Categories: Software and Help

Ubuntu 20.04.6 LTS to Re-Enable Support for Secure Boot Systems

Linux Today News - Fri, 03/24/2023 - 17:00

Ubuntu 20.04.6 LTS is here as the sixth and probably last point release to the long-term supported Ubuntu 20.04 LTS Focal Fossa operating system.

The post Ubuntu 20.04.6 LTS to Re-Enable Support for Secure Boot Systems appeared first on Linux Today.

Categories: General News

LXer: A Screenshot Tour & Walkthrough of New Ubuntu Installer

Linux Questions - Fri, 03/24/2023 - 16:54
Published at LXer:

Screenshot tour & highlights of the new Ubuntu desktop installer - Subiquity.

Read More...
Categories: Software and Help

A Screenshot Tour & Walkthrough of New Ubuntu Installer

LXer Linux News - Fri, 03/24/2023 - 16:45
Screenshot tour & highlights of the new Ubuntu desktop installer - Subiquity.
Categories: General News

All HD slow, poor performance, bad data throughput

Linux Questions - Fri, 03/24/2023 - 15:54
Hello experts!
I don't understand why all my HDs are so slow under Linux.
AHCI is selected in the BIOS and not IDE, but the throughput is so low. I am using and old motherboard "IP35 Pro" with a ICH9R controller.

Please take a look at the CMD below. I ask for help! Thx a lot!

root@openmediavault:~# dmesg | grep "SATA link"
[ 2.982689] ata1: SATA link down (SStatus 0 SControl 300)
[ 2.986696] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.986716] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.986731] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.986744] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.986758] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

root@openmediavault:~# sudo smartctl -i /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-6.0.0-0.deb11.6-amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Red
Device Model: WDC WD40EFRX-68N32N0
Serial Number: WD-WCC7K5JKYRLY
LU WWN Device Id: 5 0014ee 266f1ec14
Firmware Version: 82.00A82
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Fri Mar 24 21:37:51 2023 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

root@openmediavault:~# hdparm -i /dev/sda
/dev/sda:
Model=WDC WD40EFRX-68N32N0, FwRev=82.00A82, SerialNo=WD-WCC7K5JKYRLY
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
(maybe): CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=7814037168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-1,2,3,4,5,6,7
* signifies the current active mode

root@openmediavault:~# sudo hdparm --direct -tT /dev/sda
/dev/sda:
Timing O_DIRECT cached reads: 528 MB in 2.00 seconds = 263.80 MB/sec
Timing O_DIRECT disk reads: 548 MB in 3.00 seconds = 182.67 MB/sec

root@openmediavault:~# dd if=/dev/sda of=diskbench bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.95197 s, 180 MB/s


root@openmediavault:~# sudo hdparm --direct -tT /dev/sda
/dev/sda:
Timing O_DIRECT cached reads: 534 MB in 2.01 seconds = 266.22 MB/sec
Timing O_DIRECT disk reads: 550 MB in 3.00 seconds = 183.20 MB/sec


Thx for your help!
SB
Categories: Software and Help

Unable to install Ubuntu or any other distro on PC

Linux Questions - Fri, 03/24/2023 - 15:27
Windows is installed on following PC, but Linux install fails. I have tried multiple distros, all of the installers have stucked on logo screen.

CPU
Intel Pentium E5200 @ 2.50GHz
Wolfdale 45nm Technology
RAM
3,00GB Dual-Channel DDR2 @ 403MHz (6-6-6-18)
Motherboard
ASUSTeK Computer INC. P5QL/EPU (LGA775)
Graphics
K-700 (1024x768@85Hz)
1024MB ATI Radeon HD 4600 Series (Sapphire/PCPartner)
Storage
465GB SAMSUNG HD502HJ ATA Device (SATA )
Optical Drives
HL-DT-ST DVDRAM GSA-4167B ATA Device
Audio
High Definition Audio
Categories: Software and Help

NVIDIA 530.41.03 Graphics Driver Brings Better Xfce Support

Linux Today News - Fri, 03/24/2023 - 15:00

Highlights of NVIDIA 530.41.03 include compatibility for Linux kernels that ship with indirect branch tracking support. Learn more here.

The post NVIDIA 530.41.03 Graphics Driver Brings Better Xfce Support appeared first on Linux Today.

Categories: General News

LXer: RustDesk � virtual / remote desktop software

Linux Questions - Fri, 03/24/2023 - 14:30
Published at LXer:

RustDesk is remote desktop allowing maintenance of computers and other devices. The software aims for simplicity and ease-of-use, being designed to work out of the box.

Read More...
Categories: Software and Help

RustDesk – virtual / remote desktop software

LXer Linux News - Fri, 03/24/2023 - 14:16
RustDesk is remote desktop allowing maintenance of computers and other devices. The software aims for simplicity and ease-of-use, being designed to work out of the box.
Categories: General News

A Screenshot Tour and Walkthrough of New Ubuntu Installer

Linux Today News - Fri, 03/24/2023 - 13:00

Check out this picture walkthrough of the new Ubuntu installer to install Ubuntu desktop, coming in Ubuntu 23.04 Lunar Lobster release.

The post A Screenshot Tour and Walkthrough of New Ubuntu Installer appeared first on Linux Today.

Categories: General News

Chrome context menus unpost immediately, Slackware64 15.0, Chrome stable_current_amd64

Linux Questions - Fri, 03/24/2023 - 12:55
The Chrome browser "File" menu (Alt+F or the vertical ellipsis button) and all right-button context menus unpost immediately after being posted. It's impossible to use them because they unpost too quickly to click on. The problem in my case is window manager specific. I use twm (Tom's Window Manager).

No associated messages in the session logfile.

A Google search reveals other people have had a similar issue. My experience with the various solutions I found is:
  • Turning off the Chrome option Use hardware acceleration when available did not help.
  • Restarting Chrome is a temporary solution if it works at all. When it does work, moving, resizing, or lowering the Chrome window brings the problem back.
  • Trying another window manager worked around the problem. The issue does not arise when I use mwm (Motif Window Manager).

Chrome 111.0.5563.64 installed using upgradepkg from google-chrome*.txz.
This is created by slackware64-15.0/extra/google-chrome/google-chrome.SlackBuild.
The slackbuild derives it from google-chrome-stable_current_amd64.deb.
Categories: Software and Help

How to Know if my Debian Buster version is LTS supported

Linux Questions - Fri, 03/24/2023 - 12:45
Hi,

I am currently using Debian buster 10.12 which I have installed from debian-10.12.0-i386-netinst.iso

I have below queries:

1. How can I know if my version of Debian buster is LTS supported using terminal ?
2. Are are version of Debian are LTS supported . Just change in /etc/apt/sources.list is required after End of Life to get future security patch updates ?
Categories: Software and Help

How to Install WildFly Java Application Server with Nginx on Ubuntu 22.04

HowToForge - Fri, 03/24/2023 - 12:18
Wildfly is a simple, lightweight, and flexible application runtime used to build Java applications. This tutorial will show you how to install Wildfly with Nginx as a reverse proxy on Ubuntu 22.04.
Categories: Software and Help

How to Install Nginx on Fedora Linux

Linux Today News - Fri, 03/24/2023 - 12:00

Discover how to quickly and effortlessly install Nginx on your Fedora Linux system with just a few simple steps.

The post How to Install Nginx on Fedora Linux appeared first on Linux Today.

Categories: General News

LXer: GNOME 44 �Kuala Lumpur� Officially Released, This Is What�s New

Linux Questions - Fri, 03/24/2023 - 11:51
Published at LXer:

The GNOME Project proudly announced today the release and general availability of the GNOME 44 desktop environment series, a major update that brings several new features and lots of improvements.

Read More...
Categories: Software and Help

GNOME 44 “Kuala Lumpur” Officially Released, This Is What’s New

LXer Linux News - Fri, 03/24/2023 - 11:48
The GNOME Project proudly announced today the release and general availability of the GNOME 44 desktop environment series, a major update that brings several new features and lots of improvements.
Categories: General News

How to Install Golang on Fedora Linux

Linux Today News - Fri, 03/24/2023 - 11:00

Follow these simple steps to install Golang on your Fedora Linux system, and boost your programming skills.

The post How to Install Golang on Fedora Linux appeared first on Linux Today.

Categories: General News

Script to backup the essential configuration files

Linux Questions - Fri, 03/24/2023 - 10:43
It's RHEL8.
I've ran this script from RH in the past which tar'ed all the system config files and sent them to RH for diagnosis. I remember it was very comprehensive. I am looking for something similar. Or if anyone has that script, would be great.
Making some changes to the system (STIG remediation) and want to make sure I can recover if things go wrong.

Files like /etc/fstab, /etc/hosts, network configuration stuff in /etc/ and much more, volume group configuration.
Categories: Software and Help

How to Install a Non-Snap Version of Firefox on Ubuntu 22.04

Linux Today News - Fri, 03/24/2023 - 10:00

Having issues with Snap-based Firefox? Then, check out how to ditch the Snap version of Firefox for the classic Firefox on Ubuntu 22.04.

The post How to Install a Non-Snap Version of Firefox on Ubuntu 22.04 appeared first on Linux Today.

Categories: General News

Pages