Results 1 to 8 of 8
First of all, I have a problem with my VPN, running CentOS.
Well, the problem is a read-only file allocated in "/etc/yum.repos.d", which is corrupted and makes imposible the use ...
- 11-15-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 5
Help with a read-online file!
First of all, I have a problem with my VPN, running CentOS.
Well, the problem is a read-only file allocated in "/etc/yum.repos.d", which is corrupted and makes imposible the use of yum, the package manager.
The problem is I cant modify or delete this file, not even when I'm logged in as root. Here's the error given:
Code:rm: can't remove «lxlabs.repo»: Not allowed Operation
I don't know what to do, I ran out of ideas :S
Help please, thank you.
- 11-15-2011 #2
Are those special characters in that name I see? Try using double quotations around the filename.
linux user # 503963
- 11-15-2011 #3Just Joined!
- Join Date
- Nov 2011
- Posts
- 5
I think those characters are printed in the error message, I mean, the file's name does not contain them.
I tried the doouble quotations thing and have the same problem :/.
Thanks for the attention by the way.
- 11-15-2011 #4
What if you pass yum the old -disablerepo=reponame? Does yum still not work?
linux user # 503963
- 11-15-2011 #5Just Joined!
- Join Date
- Nov 2011
- Posts
- 5
Thats a good idea but It dosnt work either, its like yum can't even initialize. Heres the error:
Code:yum -disablerepo="lxlabs.repo" Loaded plugins: fastestmirror Config Error: File contains no section headers. file: file://///etc/yum.repos.d/lxlabs.repo, line: 1 'dditional packages that may be useful\n'
- 11-15-2011 #6
Can you do anything else to that file? cat? vim?
maybeis it flagged as immutable?Code:echo 0 > lxlabs.repo
linux user # 503963
- 11-16-2011 #7Just Joined!
- Join Date
- Nov 2011
- Posts
- 5
When I run that it says:
And what is that immutable flag? :SCode:-bash: lxlabs.repo: Permission denied
- 11-16-2011 #8Just Joined!
- Join Date
- Nov 2011
- Posts
- 5
Wow thank you!
Appaently it had the immutable flag, I unflaged it and now I'm able to edit it.


Reply With Quote