New answers tagged

0

If it has intel graphics on the CPU, boot to linux and use the prime-select tool to switch to the intel graphics card. sudo prime-select intel NVIDIA and linux are not very friendly to each other.


1

I can see that you did not create a partition table before creating the RAID. I have the same issue in one of the server with same setup. You can try reassemble the RAID by using "assume clean". I do it every time when the server reboot. sudo mdadm --create --assume-clean --level=0 --raid-devices=2 /dev/md0 /dev/sda /dev/sdc --run If you wish to read more ...


1

I've made an ugly script to somewhat emulate gksudo tested on Fedora 31 works with Alt+F2 Usage ~$ wsudo [cmd] (default is gnome-terminal) code Place the following code in /usr/local/bin/wsudo. You also need to install the gtkdialog package #!/bin/bash [ -z $GTKDIALOG ] && GTKDIALOG=gtkdialog MAIN_DIALOG=' <window> <hbox> &...


1

if using zsh, use zmv For bash: for i in *\ *; do mv -vnT "$i" "${i// /.}" done


1

The man page says that's how it works, it replaces only the first match and no option to overwrite that. man rename: rename will rename the specified files by replacing the first occurrence of expression in their name by replacement. Of course you can script it around: while [ "$(rename -v " " "." *)" ] do true done Debian/Ubuntu uses a totally ...


0

You can use dnf to search for stuff. E.g. dnf list gcc* lists all packages with name starting gcc(be careful with locally resolved globs!), dnf list /usr/bin/ls lists the package containing that file, dnf info gcc gives (more) details on the package called gcc. Check out manual!


5

Per the Fedora Documentation, Fedora comes with the following automated task utilities: cron, anacron, at, and batch. However, it appears that these need to be installed as they do not come included: Installing Cron and Anacron To install Cron and Anacron, you need to install the cronie package with Cron and the cronie-anacron package with ...


0

The rationale is given by resolution of Red Hat bug report 596898. Essentially, static libraries are strongly discouraged, as they force at least relinking if/when a bug is fixed. They consume disk and memory space, particularly for commonly used functionality.


0

You already have the latest version of kernel and kernel-devel installed which is 5.4.18-200. uname -r is still giving you 5.4.13-201 so you need to reboot your machine. When it comes back up, uname -r will give you 5.4.18-200. Load the module with vboxdrv and see if it appears with lsmod | grep vbox. If it doesn't load at boot, create the file /etc/...


1

You can try Settings -> Configure Okular... -> Defaults to restore its settings to the defaults. If this doesn't help, just remove the config and cache files of okular. rm -rf ~/.config/okular* ~/.local/share/okular/ ~/.cache/okular* You can also backup them up in case you need them later for comparison or restoring.


1

Exactly how did you remove the other PV? It looks like as far as LVM knows, the only up-to-date copy of your data is on /dev/sdb1 - all the other copies are virtual and in need of syncing. As a result, you might have to first lvchange --refresh <LV> to get all the accessible PVs into sync. If the other PVs are no longer visible to the system (i.e. ...


0

If you want the classic yumex before dnf became a thing, this is what I did on my Fedora 27 installation (as root): mkdir YUMEX ; cd YUMEX ; wget -c https://archives.fedoraproject.org/pub/archive/fedora/linux/updates/21/x86_64/y/yumex-3.0.17-1.fc21.noarch.rpm ; yum -y install --downloadonly --downloaddir=. yumex-3.0.17-1.fc21.noarch.rpm ; A bunch of Fedora ...


4

The command ln -s /data/work/mywork /home/me puts a softlink inside the /home/me directory. It does not replace your /home/me directory. Once you create the softlink, you need to cd mywork to wget files into the linked directory.


0

unar file.part01.rar It works automatic with multiple parts rar archives in Raspbian


0

In newer versions of sway you can simple put the following lines in your config file: input * xkb_layout "de" # German keyboard layout input * xkb_options "caps:escape" # Make Caps Lock an additional Esc See xkeyboard-config(7) for a list of available layouts and options and Sway#Keymap on the ArchWiki.


0

You can perform a simple downgrade by: sudo dnf downgrade <package-name> For instance: sudo dnf downgrade podman


0

You do not need to move this 100GB space. Just create there partition. Then create this partition PV pvcreate /dev/partition_name then add the PV to the VG vgextend fedora_localhost-live /dev/partition_name And you have 100GB more in your VG


1

I know that this is a old thread, but I just came across the same problem using Fedora in a corporate environment with as proxy server. The link to the issue provided by sourcejedi in his answer got some attention in 2018, where Kevin Kofler stated You need to set the ProxyHTTP= in /etc/PackageKit/PackageKit.conf I tried this, and it actually worked for ...


0

It's probably tpm2-abrmd as discussed in Bug 1731758 - Error calling StartServiceByName for org.freedesktop.fwupd: Timeout was reached. Try removing tpm2-abrmd (not recommend) or wait for it to be upgraded to 2.3.1. You might try this to control it in your way: YUM/DNF Remove Old Kernels on Fedora/CentOS/RHEL.


-1

DNF completions is a piece of garbage developed and crafted by redhat. I do this to remove trash: sudo rm /usr/share/bash-completion/completions/dnf NOTE: You may need this command again after updating/upgrading DNF


0

The problem has resolver itself by waiting for a newer version of the kernel and installing it. I didn't figure out what the root course of the problem was.


0

Same problem here... OK so here is what I have found: ks.cfg way to do it: This is right according to the documentation (how I read it...): part / --size=8000 --grow --fstype=ext4 --encrypted --passphrase=somepassword End result: /dev/vda6 on / type ext4 (rw,relatime,errors=remount-ro) Lovely unencrypted free for all to see! :) Solution: You have to ...


0

We needed to run this script against a fleet of servers so we wrote an Ansible playbook to accomplish this. It adapts several of the concepts in the others answers into a single playbook which will run the commands necessary to generate a report showing inotify watcher usage by PID. $ ansible-playbook \ -i systems-inventory/cluster2.lab1 \ playbooks/...


0

For those coming to this question hoping for a solution that works with CentOS 8.x, I found adding these lines will do the trick: repo --name=centos-updates --mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS --cost=1000 repo --name=appstream-updates --mirrorlist=http://mirrorlist.centos.org/?release=$releasever&...


0

As I understand it, the availability of Java packages in Fedora is as follows: long-term support releases of OpenJDK are available as long as they haven’t reached the end of their life; the latest short-term support release is available as the rolling release package. Thus Fedora 31 currently has OpenJDK 8 (which is still the default), OpenJDK 11, and ...


Top 50 recent answers are included