Ubuntu :: Lucid Update - Parse Error In File

May 22, 2010

I successfully installed ubuntu but I cant install its updates, heres the prob:
dpkg: parse error, in file '/var/lib/dpkg/available' near line 19410 package 'initscripts': missing version

View 2 Replies


ADVERTISEMENT

Ubuntu :: Error Dpkg: Parse Error, In File '/var/lib/dpkg/available' Near Line 2 Package 'x11proto-core-dev'

Sep 18, 2010

When I tried to upgrade my xubuntu 10.04 , I got this error

dpkg: parse error, in file '/var/lib/dpkg/available' near line 2 package 'x11proto-core-dev': value for `status' field not allowed in this context E: Sub-process /usr/bin/dpkg returned an error code (2)

View 5 Replies View Related

General :: Use Apt An Error Occurs: Dpkg: Parse Error In File '/var/lib/dpkg/status'

Aug 8, 2010

when i try to use apt an error occurs: dpkg: parse error, in file '/var/lib/dpkg/status' near line 27317 package 'virtualbox-3.0': error in Version string `3.0.4-50677_Debian_lenny': invalid character in revision number E: Sub-process /usr/bin/dpkg returned an error code (2)

i tried to :

1- replace the file status with status-old
2- replace it with all the backups located in /var/backups/

and the same error occurs

View 4 Replies View Related

Ubuntu :: Lucid Lynx Update Error

Jun 28, 2010

When Ubuntu tries to update I get an error message saying it was unable to synchronize files in the repositories and an older index will be used.

View 2 Replies View Related

Ubuntu Installation :: Apt-get Update Lucid-security GPG Error

Jun 11, 2011

I get this error when running apt-get update on Ubuntu 10.04.1 Server. Never got it before today, apt-get update is always error-free, unless there are connection issues.

Quote:

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://security.ubuntu.com lucid-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: Failed to fetch [URL]..Some index files failed to download, they have been ignored, or old ones used instead.

View 4 Replies View Related

Programming :: Parse Error: Syntax Error, Unexpected '@' In Php Code

Jun 14, 2011

Parse error: syntax error, unexpected '@' in C:xampphtdocsminippromail.php on line 8 .......its not recognizing the '@' symbol. heres the code im working with

<?php $receiver = myfriend@ourmail.co.in; $subject = wish; $content = Hi! My dear friend how are you.; $sender = myself@ ourmail.co.in ; $headers = From: $sender; mail($receiver,$subject, $content,$headers); echo Mail has been sent successfully.; ?>

View 1 Replies View Related

General :: Parse File From Remote Server To Caculate Count Of String Existence In That File?

Aug 30, 2010

I need to parse the file of same name which exist on different servers and calculate the count of string existed in both files.Say a file abc.log exist on 2 servers.I want to search for string "test" on both files and calculate the total count of search string's existence.For example if file abc.log on server 1 has string "test" 2 times
and file abc.log on server 2 has string "test" 4 times.then the output will beStringName : Countexampletest : 6 timesNote : I have created the password less connectivity using ssh-keygen.

View 2 Replies View Related

Ubuntu Installation :: Lucid: Restoring Grub2 (dual Boot) - Error "error File Not Found Grub Rescue"

Apr 30, 2010

After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.

[Code]...

View 9 Replies View Related

Ubuntu Installation :: Dpkg --configure -a Gives Parse Error?

Sep 3, 2010

I killed a stalled apt-get safe-upgrade, which left lock-files on my system. I followed this guide to clean it up:

http://ubuntuforums.org/showthread.p...highlight=lock

and have done the following:

sudo rm /var/lib/dpkg/lock
sudo rm -r /tmp/*
now, when I try:
sudo dpkg --configure -a

i get: dpkg: parse error, in file '/var/lib/dpkg/updates/0006' near line 0: newline in field name `#padding'

the file var/lib/dpkg/updates/0006 contains nothing but lines of '#padding'

System: Freshly installed 10.04 64bit, 2.6.32-21-generic

View 2 Replies View Related

Programming :: Parse Error In Php Code?

Jan 20, 2011

I am novice. I am trying to create one email form. But i am getting "Parse error: parse error in F:estwampwwwsendmail.php on line 43"

Code:
<?php
if(isset($_POST['email'])) {

[code]....

View 3 Replies View Related

Ubuntu Installation :: Re-installed Lucid, Got Error: File Not Found And Grub Rescue Prompt?

May 13, 2011

Short story: upgraded to Natty, slowed graphics, re-installed Lucid, got Error: file not found and grub rescue prompt

Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================

[code]....

View 1 Replies View Related

Programming :: PHP Parse Error Using WAMP Server?

Apr 19, 2010

I have a basic HTML file set up which allows my to input some data. I have a MySql database set up behind the scenes with a table for this information to go in. When I click the submit button in my HTML file this PHP file opens and it comes up with "Parse error: parse error in C:wampwwwcomp39xinsert_student.php on line 32"Here is my code I am using in the PHP file:-

<html>
<head>
<title>COMP 39x FInal Year Project - Student Added?</title>

[code]....

View 2 Replies View Related

Ubuntu :: Failed To Parse Existing X Config File?

Apr 5, 2010

When I try to save my X configuration file.. it says "Failed to parse existing X config file '/etc/X11/xorg.conf'!"

I've already deleted my current xorg.conf and created a new one using sudo nvidia-xconfig and run NVIDIA X server settings using gksudo nvidia-settings but still can't save..I am using 32-bit Ubuntu 9.10 and my video card is NVIDIA FX 5500..

View 9 Replies View Related

General :: (standard_in) 1: Parse Error Setting Variable With Bc?

Jul 19, 2011

I'm trying to define a variable, CHAN, by dividing another variable, FREQ, by a number. FREQ is a value from a file (called header.txt). What I think I'm doing with this bit of code is reading a number from header.txt whose location is specified by the head and tails, assigning it to FREQ and then defining CHAN with bc.

Code:
#!/bin/bash
while read FREQ

[code]....

View 2 Replies View Related

Programming :: Get Parse Error When Connect The Page With A Database

Jan 27, 2011

I'm creating a comment form for a website but when I try to connect the page with a database it gives me a parse error. here are the codes I wrote:

[Code]....

View 1 Replies View Related

Slackware :: Namespace Error : Failed To Parse QName 'xml:'

May 12, 2011

My only problem with Slackware 64 13.37 is that Crossover Linux doesn't seem to install correctly. It claims successful installation, but several lines of these errors occur:

Code:

Use of "goto" to jump into a construct is deprecated at /home/x/cxoffice/lib/perl/XML/SAX/PurePerl/Reader/Stream.pm line 56.
/home/x/.local/share/mime/packages/cxassoc-cxgames-0.xml:6: namespace error : Failed to parse QName 'xml:'

[code]....

Then, when I try to restore certain cxoffice "bottles," I get the following messages:

Code:

Unhandled exception

or

Code:

wine: Unimplemented function user32.dll.DialogBoxParamW called at address 0x7b8402f9 (thread 00f2), starting debugger... Everything worked fine in Slackware64 13.1.

View 6 Replies View Related

Ubuntu Multimedia :: Failed To Parse Existing X Config File

Feb 5, 2010

since i reformatted my new hard drive i have been having issues saving my config file when i tried to save to x configuration file it says: Failed to parse existing X config file '/etc/X11/xorg.conf'.i used to be able to open the file as root and copy over the old x config with the new one but it wont let me even preview the changes until i click save to x configuration file. anyone know how i can fix this error? i tried uninstalling and that didn't help.

View 2 Replies View Related

General :: Parse Through File Using Array Variables

Apr 26, 2011

I need to parse through a file which contains timestamps of transactions. What I am trying to do is come up with a Max Transactions Per Second (TPS) value. I was thinking that creating an array variable would be the way to go, but I'm having problems determining even how to start.

View 4 Replies View Related

Programming :: Parse A File Containing Billions Of Records?

Nov 17, 2010

I have to parse a file containing billions of records and populate them in the Data structure. I have used a lot of C++ class and creating objects of the class I am storing the information retrieved by parsing the file.

Now as the file become huge and number of objects become very large my code is getting bad_alloc error as it is not finding any space avalable in the heap for allocating new object.

Is there any way to parse the file?

View 7 Replies View Related

Programming :: Parse The File Correctly With Python

Nov 27, 2010

I'm currently curios with my python program which the basic goal is to parse the character in mytestfile;let's see the code

Code:
f=open('/home/andrewraharjo/Desktop/snort.log','r')
j=f.read()

[code]...

View 3 Replies View Related

Programming :: Read A File And Parse A String In C++

Jul 26, 2010

I need to read a file and parse a string. I know in Perl there is the split command. Is there something similar to that in C++?

View 6 Replies View Related

Ubuntu :: Can't Open/parse The Config File /etc/clamav/freshclam.conf?

Mar 11, 2010

I have installed ClamAV 0.95.3 into Ubuntu 9.10 (i386) fully patched
I am behind an authenticating proxy, so I've entered these details into freshclam.conf:
HTTPProxyServer myproxy.com
HTTPProxyPort 1234
HTTPProxyUsername myusername
HTTPProxyPassword mypass
code....

So I changed the perms to 0700 (user is clamav).
Now I get:
$ sudo freshclam
ERROR: Can't open/parse the config file /etc/clamav/freshclam.conf

I checked DNS resolution with this (which I found in a thread somewhere):
# host database.clamav.net
database.clamav.net is an alias for db.local.clamav.net.
db.local.clamav.net is an alias for db.other.clamav.net.
db.other.clamav.net has address 193.1.193.64
db.other.clamav.net has address 130.59.10.36
- I presume the installation can find the update site?

View 3 Replies View Related

Ubuntu Installation :: E:Unable To Parse Package File /var/lib/dpkg/status (1)

Mar 31, 2010

I'm running ubuntu 9.04 and was happy because I finally got the screen resolution to be a good size, but now I can't update anything or even upgrade ubuntu.The message I get is

Quote:

Could Not Initialize Package Information

An unresolvable problem occured while initializing the package information.Please report this bug against the 'update-manager' package and include the following error message:

'E:Unable to parse package file /var/lib/dpkg/status (1), E:The package lists or status file could not be parsed or opened.'

I've also had issues with installing new programs (specifically tried Boxee (64bit ver) and Last.fm Scrobbler), but was thinking these issues might be related to the updage-manager error.

View 4 Replies View Related

General :: Script To Read File And Parse Log Message

Apr 5, 2010

I am working on the script to parsing the specific message like "aaaa" in multiple log files like N1-***,N2-***,N3-***..The script is to find the list of lof files which contains the message "aaaa" and export the list into excel filE.

View 4 Replies View Related

Programming :: Parse And Modify File Without Creating A Copy?

Nov 4, 2010

I don't think this is a "perl one-liner" of find and replace. I'm trying to auto-fill some information in a listing of files. The simplest example is that in the files the following exists:

I would want the script to find this and populate it with something like -- Date : 20101004-1758

I have a few more similar fields to autofill, and I'd like to do this from within a larger perl script I'm developing to process these files. So, how I perform in-place file modification from within a perl script?

View 3 Replies View Related

Programming :: Perl Read File And Parse Blocks?

Aug 21, 2010

I am trying to make a perl script which reads data from a file and parse it. The data in the file has the following syntax

Code:
Device Physical Name : Not Visible
Device Symmetrix Name : 1234
Device Serial ID : N/A
Attached BCV Device : N/A
Device Capacity

[Code]...

Each unique record starts with "Device Physical Name". So, I have a set of records within "Device Physical Name". I want to read this set of records starting from "Device Physical Name" and ends up till next "Device Physical Name". Offcourse FS is ":", and I just want to print/or later put info in a csv file.

View 14 Replies View Related

Programming :: When Parse A XML File - Should Rely On The Order Of Elements?

Feb 24, 2010

When I parse a XML file, should I rely on the order of elements?

For example say we have:

Should I rely on the above order?

Would the following still be valid:

I'm trying to find out if a well formed XML document should have an ordered structure, or if it's still valid XML if it has no order.

View 7 Replies View Related

Programming :: Assigning Structure Object's Variable Outside Main() Gives Parse Error

Sep 2, 2010

Kindly take a look at the code below :

Code:
#include <stdio.h>
struct test
{
int i;
int j;

[Code]....

why i am getting this error. I know the error is occuring because i have assigned values to obj.i and obj.j outside main(). But i want to know why do that result in an error. From my part i have created an object 'obj' of stucture 'test' and assigned values to its variables.

View 7 Replies View Related

Programming :: Parse.c:1638: Error: Dereferencing Pointer To Incomplete Type

May 15, 2011

I am playing around with a new chat program and I have errors that I can not figure out. Here is what I am getting.

parse.c:1638: error: dereferencing pointer to incomplete type
parse.c:1638: error: dereferencing pointer to incomplete type
parse.c:1638: error: dereferencing pointer to incomplete type

here is the code:

if (scan->jail_timeout == 0 && scan->location == prison)
{
command_type |= HIGHLIGHT;
tell_player(scan, " After serving your sentence you are flung out"

[code]....

View 6 Replies View Related

General :: Writing A Script To Parse Information From A Text File?

Apr 29, 2011

Go to a specified directory and open a log file and parse out specific information and dump it into another text file.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved