LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-13-2010, 09:15 AM   #16
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860

In order to fix this, we need a working connection. The urpmi is failing because of missing files, probably lost during the failed update.

You didn't tell me if this is a wired or wireless connection. Which is it?
 
Old 04-13-2010, 05:39 PM   #17
nickcommandlinenewbie
LQ Newbie
 
Registered: Apr 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Hi Cliff
Sorry to have missed that, yes its wired
Thanks Nick
 
Old 04-13-2010, 06:14 PM   #18
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
What I would like you to do, is bring up eth0 with a 'ifconfig eth0 up', then run 'ifconfig eth0'. I want to make sure you get an IP address from the router.

If you do, then run the command 'netstat -r' This will show us the routing info. There should be a default route set.

It should look like this :

Quote:
netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.x.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.x.y 0.0.0.0 UG 0 0 0 eth0
Could you also post what is in the /etc/resolv.conf file. It should have the IP addresses of the name servers you use.

Post that, and we'll see where we go from there.
 
Old 04-13-2010, 06:30 PM   #19
nickcommandlinenewbie
LQ Newbie
 
Registered: Apr 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Any secuity risks in posting details?

netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.x.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
default 192.168.x.y 0.0.0.0 UG 0 0 0 eth0

No loopback line
Do I give the .x.y details?

cat /etc/resolv.conf

nameserver 192.168.x.y (same)

ifconfig eth0

inet addr 192.168.x.z (last number different)

However running ‘urpmi –auto-update’ I managed to install 8 out of 16 updates before getting error messages, so I assume the connection is working
What do I do about the elusive libxml2.so.2 file?

Last edited by nickcommandlinenewbie; 04-13-2010 at 06:58 PM.
 
Old 04-14-2010, 06:53 AM   #20
mecelec415
Member
 
Registered: Jan 2008
Location: Noble Park ,Victoria, Australia
Distribution: Mageia
Posts: 183
Blog Entries: 2

Rep: Reputation: 23
dont know if its too late but any way.
Does XFdrake fix the xserver so you can use the package manager.
can kde4 start from the promt?
i sometimes start kde4 as root su -
 
Old 04-14-2010, 09:37 AM   #21
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
If you can install some packages, your link must be working.

Security risks. It is not a good practise to post real IP address on a public forum. At some point I read the posting guide lines, and it is not recommended. When you run NAT, the IP's I would post are used thousands of times by thousands of users. There is little real risk, why take any? The real IP's are not needed to solve most issues. We don't post any personal data either. Enough said.

O.K. libxml2.so.2 is installed by a package named libxml2_2 ( for 32 bit systems ) and lib64xml2_2 for 64 bit systems.

If you can get online again, try this,

Quote:
urpmi lib64xml2_2
Package lib64xml2_2-2.7.6-1mdv2010.0.x86_64 is already installed
My system is 64 bit. If your is 32 bit, just take the 64 out. If the package got deleted, it should install it. Give it a go, and see what happens.
 
Old 04-14-2010, 07:07 PM   #22
nickcommandlinenewbie
LQ Newbie
 
Registered: Apr 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Hi Cliff,

urpmi libxml2_2

returns
unable to access synthesis file of “Restricted i586 65624”, medium ignored
unable to access synthesis file of “Restricted Updates i586 70355”, medium ignored
Package libxml2_2-2.7.3-2.1mdv2009.1.i586 is already installed

managed to install some more packages (8/13) with
'urpmi --auto-update'
Installation then failed with libdecore

thanks
Nick
 
Old 04-15-2010, 09:24 AM   #23
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
I'm going to suggest you re-build the rpm data base. Here are the instructions. You will need to be root to do so.

Quote:
Rebuild your database

If the database becomes inconsistent (an inconsistency can lead rpm to tell you that a "package is already installed" when it is actually not, and vice-versa).

rm -rf /var/lib/rpm/__db*
rpm --rebuilddb
After the data base is rebuilt, try to install libxml2_2 again. See what happens. You can also try another auto-update.

I have never see the medium ignored messages. I'll see if I can find an answer there.
 
Old 04-15-2010, 06:26 PM   #24
nickcommandlinenewbie
LQ Newbie
 
Registered: Apr 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Hi Cliff

rm -rf /var/lib/rpm/__db*

returned to the prompt apparently immediately

rpm –rebuilddb

took a while before returning to the prompt, so presumably ran successfully.

urpmi libxml2_2

then gave the identical output as yesterday

'urpmi --auto-update'

Resulted in the same output as yesterdays second try, failing to install the remaining 5 packages

Last error message:
Installation failed:
libdecore4 = 30000000:3.5.10-4.4mdv2009.0 is needed by kdelibs-common-30000000:3.5.10-4.4mdv2009.0.586
(as in post 13)

then after restarting, next morning:

urpmi libxml2_2
gives same result

'urpmi --auto-update'
succeeded in installing 24/28 packages failing again with libdecore

thanks
Nick

Last edited by nickcommandlinenewbie; 04-16-2010 at 02:33 AM.
 
Old 04-16-2010, 09:14 AM   #25
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Well, I'm out of ideas, sorry about that. At this point I think you have two choices.

First, you could see help, here -->http://mandrivausers.org/index.php?act=Login&CODE=00

You would be best off joining the board. Open a problem, and point back to this thread. It may save someone with more knowledge some time.

Second, you could do a clean install. I do not recommend upgrading, especially on a system that is not running correctly.

There is still a possibility you have hardware problems communicating. ( Just a guess on my part ).

Sorry I can not help more.
 
Old 04-16-2010, 05:23 PM   #26
nickcommandlinenewbie
LQ Newbie
 
Registered: Apr 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Hi Cliff,
Thanks for all your help.
Not quite sure which course to take yet. Tempted to do both using a third partition but I guess that might just exacerbate hardware communication problems.
I learnt a lot anyway.
Thanks again
Nick

Last edited by nickcommandlinenewbie; 04-16-2010 at 05:55 PM.
 
  


Reply

Tags
nvidia



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enter graphical mode (run level 5) command line (run lenel 3) edmondgyampoh Linux - Newbie 3 05-15-2009 06:33 PM
How to load KDE(or any gui) from command line goatfromwinnipeg Mandriva 13 04-24-2008 10:48 AM
Run command on forced shutdown LinuxBlackBox Linux - Software 3 10-10-2006 07:50 PM
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 03:31 AM
How can I go to the windows screen from the command line on suse, on run level 3? abefroman SUSE / openSUSE 1 05-08-2005 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration