DevHeads.net

Postings by fred smith

RPMDB problem

When doing yum operations I get this message at the end of whatever
yum was doing:

** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
brscan4-0.4.8-1.x86_64 is a duplicate with brscan4-0.4.3-1.x86_64

It is true, if I do "rpm -qa | grep brscan" it shows two of them.

what's the best/proper way to deal with this?
-remove both, reinstall one?
-remove one? which one? I don't see a feature in rpm (or yum) for
removing a single one of duplicate packages. How?

Thanks in advance!

Fred

conflicts in updating to CR repo

Note, first of all I haven't actually updated, I'm just running "yum update"
to see what conflicts, if any, I get so I can be prepared when the final
7.7 release happens.

I've traditionally used the nvidia packages from elrepo, but recently
enabled rpmfusion (back when I started using 7.x, I disabled rpmfusion
because it took them a looooong time to get a EL7 repository up).

I use the priority plugin in yum, and have elrepo at priority 50
and rpmfusion at priority 60, so the elrepo nvidia packages
should "win", but yum seems to be confused about which packages
to use.

So now when doing yum

failing to install LibreOffice 6.3.0.4

As in subject, am attempting to install latest LibreOffice on C7.

unpack all the rpm files, type "yum install *.rpm", or "yum localinstall *.rpm"
and yum spews the list of filenames (with the word "examining" in front
of each file) then says "nothing to do".

what the hey?

I tried "yum clean all" but it didn't help.

I also verified the sha256sum of the download.

Anyone got any good advice?

thanks in advance!

Fred

another bizarre thing...

Hi all!

I'm stuck on something really bizarre that is happening to a product
I "own" at work. It's a C program, built on CentOS, runs on CentOs or
RHEL, has been in circulation since the early 00's, is in use at
hundreds of sites.

recently, at multiple customer sites it has started just going away.
no core file (yes, ulimit is configured), nothing in any of its
(several) log files. it's just gone.

running it under strace until it dies reveals that every thread has
been given a SIGKILL.

How does one figure out who deliverd a SIGKILL?

odd network question

I know this is OT, but I'm not sure where else to ask. I can hope for fogiveness! :)

My home router sends its logs to the rsyslog on my desktop system, and
from there I can learn all kinds of interesting (or disturbing) things.
I've written a really horrid shellscript (about 20 things piped together
with a temp file in the middle) to give me the count of DROP events for
specific incoming ports.

virusscan a RPM file?

Hi all!

At work we've developed a package that we ship as an RPM. We also have
a requirement to virusscan everything we ship.

The company uses AVG antivirus on Windows. It can find and scan all
the files in a zip file, but it scans only the RPM itself, not its
contents.

Anybody out thre know if RH (or Centos) has any tools for scanning
contentss of files such as RPM that have other things embedded inside
them?

Thanks in advance!

Fred

multilib problem during "yum update"

I'm hoping someone can point me to what is wrong here, I can't figure it
out.

running "yum update" on my C7.6 box I get:

Resolving Dependencies
--> Running transaction check
---> Package glibc-debuginfo.x86_64 0:2.17-260.el7_6.4 will be updated
---> Package glibc-debuginfo.x86_64 0:2.17-260.el7_6.5 will be an update
---> Package glibc-debuginfo-common.x86_64 0:2.17-260.el7_6.4 will be updated
---> Package glibc-debuginfo-common.x86_64 0:2.17-260.el7_6.5 will be an update
---> Package google-chrome-stable.x86_64 0:74.0.3729.157-1 will be updated
---> Package google-chrome-stable.x86_64 0:74.0

JavaFX on C7 ?

Hi all!

I'm getting:

Error: JavaFX runtime components are missing, and are required to run this application

for a certain Java app.

I'm hoping someone can tell me what bits and pieces I need to install
(and maybe where to find them) so I can satisfy that app's appetite
without screwing up my system.

Thanks in advance!

Fred

PS:

I see openjfx at openjfx.io. I assume that if this version is appropriate
for C7, that I need the one containing the jmods, not the SDK?

Again, clues will be much appreciated!

http error when updating 7.5 ==> 7.6

Was just doing a (very) belated update on a 7.5 system and ran into
this set of errors:

================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
polkit x86_64 0.112-18.el7_6.1 updates 168 k
polkit-devel x86_64 0.112-18.el7_6.1 updates 42 k
polkit-docs noarch 0.112-18.el7_6.1 updates 251 k

Transaction Summar

odd messages at boot time

I'm getting these messages during boot:

error: failure reading sector 0xfc from 'hd4'
error: failure reading sector 0xe0 from 'hd4'
error: failure reading sector 0x0 from 'hd4'
error: failure reading sector 0xfc from 'hd5'
error: failure reading sector 0xe0 from 'hd5'
error: failure reading sector 0x0 from 'hd5'

they pop up soon after the Grub menu with a message to press ENTER to
continue, and it times out in a few seconds if I don't press ENTER.

bare-metal backup before update--options?

Hi all!

I'm a "nervous nellie", I have not yet updated my 7.5 desktop to 7.6
because (1) it has an Nvidia card, and (2) I've heard of problems
upgrading on top of software RAID (using RAID1 with 2 drives).

I need to upgrade it to stay secure, and I want to do a bare-metal backup
first (so I can put it all back as it now is, in case it explodes in my
face), so I'm trying to figure out the safest way to do that. Here are
the choices as I see them, I'd appreciate comments/thoughts:

1. boot from live DVD and manually reassemble the RAID array (how
would I do that?)
2.

OT: but if anyone here knows...

I know this is offtopic, but I hope someone here can give me some
guidance.

I'm attempting to build sleepyhead (not even on Centos, so it is
really OT) and I hit this error:

Project ERROR: Unknown module(s) in QT: help
Makefile:44: recipe for target 'sub-sleepyhead-make_first-ordered' failed
make: *** [sub-sleepyhead-make_first-ordered] Error 3

I don't know anything about using QT, and I've spent hours trying to
find a solution to this.

there is a qt5help module and it is installed, and I haven't been smart
enough to figure out what else this needs.

thanks in advance!

upgrading 7.5 ==> 7.6

hI ALL!

There have been a large enough number of people posting here about difficulties when upgrading from 7. to 7.6 that I'm being somewhat paranoid about it.

I have several machines to upgrade, but so far the only one I've dared
to work on (least critical if it goes bad) is my new-to-me-but-used
laptop.

First I did a 'dd' backup of the whole drive onto an external USB drive
then did the upgrade. Since I use the Mate desktop, I enabled the
epel testing repo (per postings on Mate troubles at the time of the
upgrade).

Result: Boots to GDM just fine, but Mate is a black screen.

off-topic question about RDP to Win-10

I have a win10 VM in virtualbox on my Linux (C7) desktop. I CAN connect
to it with rdesktop 1.8.3 (now rather old, but it's the latest release),
but cannot connect with remmina or krdc. Both of them just hang for a
while then say they can't connect.

Curiously, they all will connect to the win10 box in my office.

They don't show any other useful information, and I don't know where
to go to figure this out. Anyone out there have any ideas they can share?

thanks in advance!

Fred

touchpad problem

Hi all!

I have a new-to-me (i.e., used) laptop and am having a problem making
the touchpad behave.

It is an old HP Elitebook 8530p, and I THINK it has a synaptics
touchpad. But I don't remember how to get more specifics than that
on Linux, lspci, lsusb and lshw don't tell me anything helpful.
lsmod doesn't list anything containing "syn" or "synaptics".

Anyway, I've installed C7 on the laptop and pretty much everything
works just as I expect it to, but even though I configure the touchpad
for two-finger-scrolling, it simply won't do it.

last failed login...

Hi all!

I just (well, a few days ago) installed C7 on a new-to-me (used) laptop,
and notice something I've not noticed before, either on my personal
desktop, or other C7 machines I use:

every time I log in, it gives me a message something like "last failed
login <timestamp>", where the date and time it gives are RIGHT NOW, just
at the time I'm logging in (which succeeds).

Anybody know why that would be happening?

BTW, using the Mate desktop, but did not change the DM, so I think
it is still GDM.

Thanks in advance!

Fred

fingerprint reader on C-7 ???

Hi all!

I just got a new (to me) used laptop (HP EliteBook 8530p) and find that
it has a fingerprint reader.

Wondering if it could be made to work for me (Centos-7) I did a lot
of googling (well, actually duck-duck-go-ing) and found a ton of hits
on either setting it up in Windoze, or others wondering if it can be
used in Linux.

Screensavers on Centos-7

Hi all!

I keep having problems with screensaver(s) on Centos-7.

I have in the past liked Xscreensaver, so I've installed it and tried
to suppress whatever other screensaver is on the system. Xscreensaver
works fine for a day or 20 then quits working. After a lengthy battle
I gave up and removed it.

I'm now trying mate-screensaver, which does the same thing!

when I say "quits working" I mean just that. one night it goes to a
black screen (as configured) then a minute or two later the power manager
shuts off the screen.

odd popups

Occasionally and without any action on my part, I get a popup
saying I need to authenticate in order to read others' actions.
I have no clue what this is for, so I always reject them.
Anyone got a clue?

Image attached.

Yum dependency failure installing latest LibreOffice

I've been bashing my head on the wall for 2 or 3 hours for something that
should be (and has been, in the past) simple.

Trying to install the latest LibreOffice downloaded from Libreoffice.org.
I had 6.0.1.1 and downloaded 6.4.0.2, and kept getting dependency errors:

--> Running transaction check
---> Package libobasis6.0-base.x86_64 0:6.0.4.2-2 will be installed
---> Package libobasis6.0-calc.x86_64 0:6.0.4.2-2 will be installed
---> Package libobasis6.0-core.x86_64 0:6.0.4.2-2 will be installed
--> Processing Dependency: libreoffice6.0-ure <= 6.0.4.2-2 for package: libobasis6.0-core-6.0.4.

Yum list installed lies to me

when I do "yum list installed" I get a lot of stuff, including this excerpt:

wqy-zenhei-fonts.noarch 0.9.46-11.el7 @anaconda
wvdial.x86_64 1.61-9.el7 @anaconda
wxBase.x86_64 2.8.12-20.el7 @epel
wxBase3.x86_64 3.0.2-15.el7 @epel
wxGTK.x86_64 2.8.12-20.el7 @epel
wxGTK-gl.x86_64

using Skype on C-7

Hi

I've whined about this before, but now I feel the overwhelming urge
to whine some more. Forgiveness begged... :)

I've spent some very frustrating times trying to get a microphone
to work when doing skype calls.

According to the various sound tools available on Centos all the various
mics I have (built into webcam, analog headset, USB headset)produce
sound just fine.

but when using skype there are too many different knobs one can turn
to actually make it work.

dmarc auth on incoming email

Just reading up on DMARC, toying with setting it up to auth against
incoming emails. (but not configure my domain to use dmarc, or at least
not yet)

ran into an article about opendmarc, which is available on epel. but
when I took a look at the opendmarc website and the git pages it
doesn't appear to have been updated in several years.

while I see that it is still available from epel, I wonder if anyone
knows the project status? Is it still active? are there any other
viable alternatives?

thanks in advance!

Fred

question re: ls oddity

Hi all!

I use Centos-7 all the time.

spectre variant 2

Hi all!

I'm running an up-to-date Centos-7 on an AMD Vishera 6300, 6 core CPU.

I note that when I run the redhat script to test for spectre & meltdown
I get this result for variant 2:

Variant #2 (Spectre): Vulnerable
CVE-2017-5715 - speculative execution branch target injection
- Kernel with mitigation patches: OK
- HW support / updated microcode: NO
- IBRS: Not disabled on kernel commandline
- IBPB: Not disabled on kernel commandline

and when I run the one from github I get this:

CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2'
* Mitigated according to the /sy

latest skype (version 8.16.0.4) on Centos 7

Hi all!

I've finally been reduced to having to install Skype on my Linux box.
I resisted for years, but now ended up trying it.

and while the latest RPM installs just fine, it refuses to acknowledge
that I have a microphone!

In fact I have two: 1 in the USB web cam (it finds the cam), the second
in a Plantronics USB headset, which works fine but not with skype.
it is as if it doesn't exist.

So, when I connect to someone I can hear them, see them, and they can
see me, but I'm producing no sound output.

All the web hits I can find for nonfunctional microphone on the web
are for Ubuntu.

sqlinux weirdness

Every now and then I get an alert like this one. I have no clue what this
"rear" subsystem is, or why madam would be trying to write to its log
file.

Anyone using GQRX in Centos-7, for SDR ?

I gave myself a toy, one of those cheap USB Software Define Radios, and
would like to use it on my C7 box.

modestly priced laptop for C7

I'm looking to replace my (old, creaky) netbook (Acer Aspire One D255e,
a screaming dual core 1.6 GHz Atom, and a whole 2 gigs of RAM) with
something faster but not too large.

RH software collections

Off topic, since it is a RH question, but I'm hoping someone here can
point me to the right place to pursue this:

We need an official RH build of nginx that contains the lua module(s),
but the nginx builds in the rh scl repository do not.

So, I'm looking for how to make an appropriate contact to inquire if
RH could add lua to their current nginx build for the software collections

I haven't a clue how to approach this, so any guidance would be great!

thanks in advance!