CentOS 5 :: Error: File Contains No Section Headers
Jul 23, 2009
After install CentOS 5.3, when execute yum update in a terminal, with root I had this error:
yum update
Loaded plugins: fastestmirror
Config Error: File contains no section headers.
file: file://///etc/yum.repos.d/CentOS-Media.repo, line: 17
' #file:///media/cdrom/
'
I think I have something wrong with the repositories but I'm not sure.
I installed VMWare WorkStation 7.x.x . When It started that I have taken "Kernel Header" error and It want to enter path of Kernel. I tried many commands ;
Actually, It uses same kernel but VMWare is not working. I searched about Kernel Headers error when run VMWare on Internet. But I couldn't solve my problem.
Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :
You maybe know that VirtualBox has an "immutable" feature for HDD images. I.e. setup the system, if the stuff is in place, you can set the image to IMMUTABLE to prevent any changes to the image. Differences are written to a separated image. So on the next boot you'll see that all the (unintended) changes are gone and the "old" system is up & running again. I run an old SuSE 10.3 on a write-protected SD-IDE-Adapter. Changing and playing with RPMs is a mess due to around 50 changes I had to do to make that work. Is there any option to mount an SD-card as RO and having all the changes written to e.g. /dev/sda3? To make it clear: I thought about something like a RAID-X system, but could not find any description on how to setup a raidtab.
Code: Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty-updates_universe_i18n_Translation-en E: The package lists or status file could not be parsed or opened. Get this kind of error while trying to update Natty.
I have an error message that I do not understand nor know how to resolve:
E: encountered a section with no Package:header E: Problem with MergeList/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_b inary-i386_Packages E: The package lists or status file could not be parsed or opened. E: _cache>open() failed, please report.
I hope this is simple for some of you!!! I do not have a clue what this means, I'm pathetic.
I was reading over and checking the How to section on the Wiki for Postfix TLS / SASL. I followed it completely and everything seems to be working fine however I am confused about the following section:
smtpd_tls_security_level = may smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com.cert[code].....
########## some text text also includes empty lines ########## some more text ##########
Basically all sections are separated by 10 hashes and I need to somehow only print all lines in the last section (the "some more text" part in the example above"). I tried all kind of things with sed and awk but I didn't find any way to identify the last "section".
But the system run into problem with WLAN, and I've search in this site and sombody posted in here: [URL] It's almost the same, the different is the card I use is TP-LINK. Then I decided to remove the newly installed kernel:
I have a huge log file of around 3.5 GB and would like to sample random sections in the middle of say 10 MB for the purpose of debugging what my application is doing.
I could use head or tail commands to get the beginning or end of the file, how can I grab an arbitrary portion from the middle of the file? I guess I could do something like head -n 1.75GB | tail -n 10MB but that seems clumsy and I'd need to determine line numbers for the midpoint of the file to get 1.75GB and 10MB line counts.
I have a program that needs kernel headers. The machine is running CentOS release 5.4 (Final). uname -r output: 2.6.18-164.9.1.el5 When I try to do a - yum install kernel-devel or kernel-headers I get: kernel-headers i386 2.6.18-194.3.1.el5 updates 1.0 M Why don't they match?
I Recently set up a dedicated server using CentOS as a new Linux wing of my Web services hosting business. To provision online varios Tucows services (names, blogs etc.) I need to use the Perl API provided by Tucows/OpenSRS. The API requires various extra perl modules including XML::Parser - without which the API will not function.
I was able to add with PPM to my Windows servers no problem but it will not install in CentOS.
As best I can tell the cause may be missing headers and libs for the c compile of Expat - required to build XML::Parser so after days of hunting I found your repository holds package expat-devel which claims to hold libs and headers for Expat similar to libexpat1-dev on other dists. I used YUM with success but although 3 libs were installed no headers were installed.
Is there a reason these headers are not included? I have downloaded them manually but am afraid of breaking something. Is there a reason I should not attempt to install with these headers? Is CentOS capable of using the Parser modules?
2.6.18-194.8.1.el5xen is the reported kernel that I'm running while the headers that are installed are listed as 2.6.18-194.8.1.el5-i686. I assume these are the same, or at least close enough that it shouldn't matter.
However, when I run vmware-config-tools.pl to configure it it says it cannot find the kernel headers. I've tried pointing it to /usr/src/2.6.18-194.8.1.el5-i686/ and /usr/src/2.6.18-194.8.1.el5-i686/include (not sure which of the two I'm supposed to do as online instructions contradict one another) it says that is invalid and there seems to be no way to force it since it just complains without letting me use it anyway. What can I do? Running centos 5 btw on vmware workstation 7.
I've been trying to install Vmware Workstation and keep getting an error about Kernel Headers missing! Although I am pretty sure I have the headers installed for my system. It's looking for the PAE version of my headers which I believe it doesn't exist!
I am trying to install kcachegrind and during the ./configure phase I got the following error: Checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
Now I guess I have QT installed and I tried to do the following: ./configure --with-qt-includes=/usr/lib64/qt4/include but that did not work either.. actually checking further I found that the folder include is missing in usr/lib64/qt4/ !!!!
I am trying to build Pidgin on my Lucid install and on running configure, I get the following:
Quote:
configure: error: You must have GLib 2.4.0 or newer development headers installed to build.
If you have these installed already you may need to install pkg-config so I can find them. I tried installing pkg-config, but it's already in its newest version. I then tried going to the following website
[URL]
and downloaded and extracted glib on my computer. That changed nothing. I was hoping someone could tell me what's going on here. I just tried the this:
Quote:
sudo apt-get install libgtk2.0-0
and got
Quote:
libgtk2.0-0 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I need help about the error in my website. I have the following error....
Code: user warning: Got error 134 from storage engine query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'theme_registry:database1' in /var/www/html/web/includes/cache.inc on line 26.
We've been using CentOS on our servers for many years, and remain happy customers. Been considering also using CentOS for desktops, since there's some advantages in standardisation. Also wondering whether CentOS really does belong on desktop. Perhaps its instructive that there's no "Desktop" section in these CentOS forums. Maybe a message buried there.
I'm finding that CentOS 5.6 desktop can do most things we need, except support Ipod connection for podcasts. FLOSS weekly and SecurityNow are part of regular entertainment. gpodder is good in other 'nixes, but seems difficult to install in CentOS. Should I pursue this, or keep using another distro for daily desktops?
I have downloaded the following kickstart file for installing minimal < 300 MB space centOS 5.2. I have created a Virtual Machine for Linux and attempting to install CentOS.here is my kickstart file:
I issued "yum update" and the process ended with a transaction check error(see below). Running rpm_check_debug Running Transaction Test Finished Transaction Test
Transaction Check Error: file /usr/share/backgrounds/images/default-5_4.jpg from install of oracle-logos-4.9.17-6.noarch conflicts with file from package desktop-backgrounds-basic-2.0-41.el5.centos.noarch file /usr/share/backgrounds/images/default-dual-wide.jpg from install of oracle-logos-4.9.17-6.noarch conflicts with file from package desktop-backgrounds-basic-2.0-4 [code]...
I installed Oracle Database on this server few months ago. I see in /etc/yum.repos.d directory a public-yum-el5.repo file with entries pointing to Oracle which must have come from that installation. Now how do I proceed from here?
I have a Dell precision M50 which has the NVIDIA Quadro4 500 GoGL. When I upgraded from 10.04 to 10.10 the proprietary NVIDIA driver stopped working. At that time I found a simple solution which was to replace in the xorg.conf file the line in the Section "Device":