Search found 50 matches

by drknut
2021/05/15 16:12:02
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Prevent yum to change the content of /etc/yum.repos.d
Replies: 7
Views: 6542

Re: Prevent yum to change the content of /etc/yum.repos.d

jlehtone wrote:
2021/05/15 15:51:19
The yum-config-manager is fully functional unless the input data is garbage.
Your are totally right. I plead guilty of not RTFM.

You probably never do that, so feel free to throw the first stone.

Anyway, I sincerely appreciate the help you provided to a poor sinner. Thanx again.
by drknut
2021/05/15 12:13:46
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Prevent yum to change the content of /etc/yum.repos.d
Replies: 7
Views: 6542

Re: [SOLVED] Prevent yum to change the content of /etc/yum.repos.d

The "solution" posted above, based on yum-config-manager, doesn't work at all. Why ? because the enable/disable function needs a line with "enabled =" in the target section. yum-config-manager doesn't add such a line if it is missing. So my final solution is, so far :-( for f in /etc/yum.repos.d/Cen...
by drknut
2021/05/15 11:37:45
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Prevent yum to change the content of /etc/yum.repos.d
Replies: 7
Views: 6542

Re: Prevent yum to change the content of /etc/yum.repos.d

Yum-utils has tool for it: sudo yum-config-manager --disable base updates extras It works, but it disables all repos having sections like [base] [updates] [extra], so it disables my custom repos too. Luckily there is an option (-c) to specify the config file. One at time, because it fails on duplic...
by drknut
2021/05/15 03:40:43
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Prevent yum to change the content of /etc/yum.repos.d
Replies: 7
Views: 6542

Re: Prevent yum to change the content of /etc/yum.repos.d

TrevorH wrote:
2021/05/15 03:29:00
It will however, put them back if they are removed.
That's my problem. But I see an easy solution : let these files in place and edit them enable=1 => enable=0.

Do you see a better solution ?
by drknut
2021/05/15 02:14:10
Forum: CentOS 7 - Software Support
Topic: [SOLVED] Prevent yum to change the content of /etc/yum.repos.d
Replies: 7
Views: 6542

[SOLVED] Prevent yum to change the content of /etc/yum.repos.d

Dear All, In my /etc/yum.repos.d directory, the default .repo files (e.g. CentOS-Base.repo) are replaced by custom files pointing to a local repository. Sometimes, when doing an update, yum reinstalls the default .repo files. Is there a way to protect the content of /etc/yum.repos.d while keeping th...
by drknut
2020/11/11 23:19:08
Forum: CentOS 7 - Software Support
Topic: NEOVIM : extra 'q' on prompt
Replies: 4
Views: 833

Re: NEOVIM : extra 'q' on prompt

Basically where I'd put TERM=xterm-256color, now I put TERM=ansi-256color, and nvim works w/o that annoying prompt issue. I solved it with TERM=konsole. ;) After that, another problem showed up : adding "set paste" in my "init.vim" broke the default "statusline" (no more line/column). For 20+ years...
by drknut
2020/11/02 05:07:01
Forum: CentOS 7 - Software Support
Topic: NEOVIM : extra 'q' on prompt
Replies: 4
Views: 833

NEOVIM : extra 'q' on prompt

Hello All, On a fresh install of neovim (0.3.0), when I type ':' to go to the command line, I get the normal colon character followed by the letter 'q'. I get a command line beginning with ':q' instead of ':' This letter has no effect on the command entered. That is - if I press the Enter key, I go ...
by drknut
2020/10/20 01:12:37
Forum: CentOS 7 - General Support
Topic: is it safe to "systemctl stop plymouth-start"?
Replies: 2
Views: 418

[SOLVED] is it safe to "systemctl stop plymouth-start"?

Solved for me with

Code: Select all

yum remove plymouth*
Use at your own risk.
by drknut
2020/09/26 09:12:15
Forum: CentOS 7 - General Support
Topic: is it safe to "systemctl stop plymouth-start"?
Replies: 2
Views: 418

is it safe to "systemctl stop plymouth-start"?

what's the purpose of plymouth once the system has booted ?