Removing old kernels attempts to remove more than kernels...
by George R Goffe
Hi,
I am attempting to remove old kernels from my system but "dnf erase <kernel-package>" wants to remove much more than just that kernel package. I wrote a bug at bugzilla.redhat.com but have gotten nowhere. This is the bug URL: 1761024 – removing old kernels wants to remove more than kernel packages
1761024 – removing old kernels wants to remove more than kernel packages
I want to keep the oldest kernel and remove the "newer" kernels. I don't want to just use "rpm --nodeps -e". That has gotten me into trouble in the past. I think that confuses dnf and then things just go downhill from there. rpm -Va --nofiles --nodigest starts producing error messages about dependencies missing.
Here's a partial list of packages that dnf wants to remove:
Removing dependent packages:
ImageMagick-c++-devel x86_64 1:6.9.10.67-1.fc32 @rawhide 401 k
ImageMagick-devel x86_64 1:6.9.10.67-1.fc32 @rawhide 499 k
OpenEXR-devel x86_64 2.3.0-4.fc31 @rawhide 563 k
alien noarch 8.95-11.fc31 @rawhide 218 k
annobin x86_64 8.81-1.fc32 @rawhide 189 k
arts-devel x86_64 8:1.5.10-44.fc31 @rawhide 1.5 M
clang x86_64 9.0.0-1.fc32 @rawhide 1.6 M
debhelper noarch 12.6.1-1.fc32 @rawhide 1.3 M
dh-autoreconf noarch 19-6.fc31 @rawhide 19 k
Any/all help/hints/tips/suggestions will be appreciated.
Thanks,
George...
2 years, 6 months
Random module?
by John M. Harris Jr
I installed `fish` with `dnf install fish`, but somehow I ended up getting a
module? Anyone know what's going on there?
--
John M. Harris, Jr.
Splentity
2 years, 6 months
Laser printers that work out of the box
by Sam Varshavchik
My printer's is on its last legs. I'm having some trouble finding a printer
that's currently widely available on sale (US) and which appears as
"works perfectly" on http://www.openprinting.org/printers/
I did find some Lexmark model, but when I check up on the replacement toner
cartridges, they're priced in the $200 range (!). Apparently Lexmark uses a
lockout chip on their toner cartridges, so you can use only OEM replacement
toners.
Has anyone gotten a laser printer recently, which worked out of the box
without any fiddling, or downloading any blobs?
2 years, 6 months
ansbile-freeipa client install
by Andrew Meyer
Hello I have setup ansible to use install freeipa client on my CentOS 7/8 machines. I am able to get the packages installed however when it goes through the configuration I am getting the following:
TASK [ipaclient : Install - Ensure that IPA client packages are installed] ******************************************************************************************************************************************************************
ok: [10.150.10.15]
TASK [ipaclient : Install - Set ipaclient_servers] ******************************************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Set ipaclient_servers from cluster inventory] *******************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Check that either principal or keytab is set] *******************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Set default principal if no keytab is given] ********************************************************************************************************************************************************************
ok: [10.150.10.15]
TASK [ipaclient : Install - IPA client test] ************************************************************************************************************************************************************************************************
ok: [10.150.10.15]
TASK [ipaclient : Install - Cleanup leftover ccache] ****************************************************************************************************************************************************************************************
ok: [10.150.10.15]
TASK [ipaclient : Install - Configure NTP] **************************************************************************************************************************************************************************************************
changed: [10.150.10.15]
TASK [ipaclient : Install - Disable One-Time Password for on_master] ************************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Test if IPA client has working krb5.keytab] *********************************************************************************************************************************************************************
ok: [10.150.10.15]
TASK [ipaclient : Install - Disable One-Time Password for client with working krb5.keytab] **************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Keytab or password is required for otp] *************************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Get One-Time Password for client enrollment] ********************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Report error for OTP generation] ********************************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Store the previously obtained OTP] ******************************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Check if principal and keytab are set] **************************************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Install - Check if one of password or keytabs are set] ********************************************************************************************************************************************************************
fatal: [10.150.10.15]: FAILED! => {"changed": false, "msg": "At least one of password or keytabs must be specified"}
TASK [ipaclient : Install - Restore original admin password if overwritten by OTP] **********************************************************************************************************************************************************
skipping: [10.150.10.15]
TASK [ipaclient : Cleanup leftover ccache] **************************************************************************************************************************************************************************************************
ok: [10.150.10.15]
PLAY RECAP **********************************************************************************************************************************************************************************************************************************
10.150.10.15 : ok=10 changed=1 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0
I am not sure that I am using the correct variables in ansible-vault for the keytabs:
ipaadmin_password1: password1234
ipadm_password1: password1234
ipaserver_realm1: TEST.EXAMPLE
ipaserver_domain1: test.example
ipaclient_principal1: admin
ipaclient_password1: password1234
Should the variable be 'ipaadmin_principal1:' ? Also should this be the password?
And I want to skip installing the ntp client would this be the correct way to do it?
ansible-playbook --ask-vault-pass --extra-vars 'ansible/passwd.yml' ansible-freeipa/playbooks/install-client.yml --limit=10.150.10.15 --user=user123 -e "ipaclient_no_ntp=no"
2 years, 6 months
Unable to install molecule
by Sudheer Satyanaraana
Hello,
I am unable to install the package molecule:
$ sudo dnf install python3-molecule
Last metadata expiration check: 0:01:47 ago on Wednesday 23 October 2019
01:11:04 PM IST.
Error:
Problem: conflicting requests
- nothing provides python3.7dist(colorama) = 0.3.9 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(ansible-lint) = 3.4.23 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(click) = 6.7 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(click-completion) = 0.3.1 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(flake8) = 3.5.0 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(pbr) = 4.1.0 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(psutil) = 5.4.6 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(python-gilt) = 1.2.1 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(pyyaml) = 3.13 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(six) = 1.11.0 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(tabulate) = 0.8.2 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(testinfra) = 1.16.0 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(tree-format) = 0.1.2 needed by
python3-molecule-2.19-2.fc30.noarch
- nothing provides python3.7dist(yamllint) = 1.11.1 needed by
python3-molecule-2.19-2.fc30.noarch
(try to add '--skip-broken' to skip uninstallable packages)
$ cat /etc/fedora-release
Fedora release 30 (Thirty)
What could be wrong?
-
Sudheer S
2 years, 6 months
F30: latest kernel no external monitor
by Gianluca Cecchi
Hello,
executed "dnf update" after about 15 days of inactivity.
Updates has brought in kernel 5.2.8-200.fc30.x86_64
But after reboot the system is not able to detect (in the sense of no
monitor connection at all seen) when connecting a 24" Dell monitor using an
usb-c to hdmi adapter on my laptop and then connecting an HDMI-to-dvi cable
to the monitor, that I normally used before.
Tried to reboot two times without effect.
As soon as I restart with previous kernel 5.1.20-300.fc30.x86_64, external
monitor detection and usage is ok again.
This is in default Gnome environment and Wayland.
Eg in gnome terminal I have:
$ loginctl show-session 2 -p Type
Type=wayland
and
$ echo $WAYLAND_DISPLAY
wayland-0
Anyone else with similar problems?
If you point me on how to get related log lines in journal in both working
and not working configurations, I can get more info.
Seen on several threads that with Xwayland and gnome-shell not so easy to
see startup log files...
Thanks in advance,
Gianluca
2 years, 7 months
Re: Can mke2fs -c -c be restarted
by George R Goffe
Thanks for the responses.
Richard: it takes that long because of the "-c -c" option. As Berend says, it runs badblocks which "beats up a block at a time" writing/reading patterns... looking for errors. The man page for mke2fs is helpful.
Berend: THANK YOU FOR YOUR RESPONSE! I of course, didn't think of that. All I can say is WOW! Two weeks. I used to do this as a matter of course on ALL new drives but 2TB and above became prohibitively lengthy. I tried it on a 4TB drive IIRC and something like 85 hours comes to mind. That might have been a 2TB drive though. Life is too short. Sigh.
As for using USB, I have several docking stations in use on a laptop, USB3.0... I have had drives "go away" and "come back" as other drive letters IF i make them too busy. I have written several bug reports on this, mostly on bugzilla.redhat.com. Things are getting better stability wise but didn't get much response from anyone. Even tried kernel.org... NO RESPONSE there. Sigh. I think it's the kernel reacting to prolonged delays in command execution... the system "thinks" the drive is gone due to a timeout of some kind and goes into error recovery... At least this is what it looks like. It is pure conjecture on my part though. Like the guy who complained to the Dr., "My arm hurts when I do that" to which the Dr. says, "Then don't do that". I don't make the drives as busy... doesn't hurt as much. Sigh...
Again, THANKS to all who responded.
George...
On Sat, 2019-10-19 at 10:29 +0000, George R Goffe via users wrote:
> Hi,
>
> I have a 2TB HDD with a possibly major problem. I have cleared the
> data from it and have tried to run "mke2fs -t ext4 -j /dev/sdc1" but
> after 24 hours it had just finished the 0xaa phase and started
> reading when the drive seemingly dropped ready and was re-assigned as
> a new device to /dev/sdf. Argh. I did get an ended message with an
> ending block number. I'd like to restart at that point in time and
> continue the media check. I don't see anything in the mke2fs man page
> though.
>
> Has anyone seen or heard of a way to do this?
mkfs -c just runs badblocks with the appropriate parameters. You can
specify how many blocks to skip, for example badblocks /dev/sdc1 1234.
You'll need to specify the block size correctly to badblocks, and
you'll want badblocks -o /tmp/blocklist to save the bad blocks so mkfs
-l /tmp/blocklist reads it back. To get the block size, format it
without -c and look at the output or use dumpe2fs.
Doing this over a USB2 cable took me two weeks last time I tried, for a
4TB drive. I hope it's faster for you.
(related note: I find normal 2 and 4TB USB drives highly unreliable.)
2 years, 7 months
HP DL-5170DN Printer not working
by Aaron Gray
I installed the standard driver but my printer is coming up with :-
ERROR NAME:
undefined
COMMAND:
-2345X@PJL
OPERAND STACK:
Looking like its a BR-Script3 issiue
--
Aaron Gray
Independent Open Source Software Engineer, Computer Language Researcher,
Information Theorist, and amateur computer scientist.
2 years, 7 months
Re: too-nearly-full filesystem '/'. (was upgrade problem: space on
'/' filesystem.) (home user
by George R Goffe
Hi,
Just my 2 cents.
first: I'm sure you remember that even if you find a huge file and remove it, the space it occupies will not be available IF the file is still open. I had a /var file system full some time ago and it was /var/log/messages that was HUGE. Removing it didn't help until I recycled syslogd.
second: Here's a function in my .bashrc that I use recursively on a filesystem that's getting close to being full. It's VERY helpful to me and I don't have to type a lot. :-)
dus ()
{
echo $sorttmp $sortmem;
case $# in
0)
/usr/bin/du -xs -- .??* * 2> /dev/null | sort -k1nr | more
;;
*)
/usr/bin/du -xs -- $* 2> /dev/null | sort -k1nr | more
;;
esac
}
George...
2 years, 7 months
Can mke2fs -c -c be restarted
by George R Goffe
Hi,
I have a 2TB HDD with a possibly major problem. I have cleared the data from it and have tried to run "mke2fs -t ext4 -j /dev/sdc1" but after 24 hours it had just finished the 0xaa phase and started reading when the drive seemingly dropped ready and was re-assigned as a new device to /dev/sdf. Argh. I did get an ended message with an ending block number. I'd like to restart at that point in time and continue the media check. I don't see anything in the mke2fs man page though.
Has anyone seen or heard of a way to do this?
Best regards,
George...
2 years, 7 months