LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-20-2005, 01:39 PM   #1
rpigna
LQ Newbie
 
Registered: Jun 2004
Location: Trento (Italy)
Distribution: Kubuntu 9.10
Posts: 27

Rep: Reputation: 15
Harddrake and RPMdrake suddenly broken


Hi all.

I'm a Mandrake user (10.1) and a couple days ago I've launched my rpmdrake and noticed a lot of packages to be installed (after a month or so). OK, let's start.
Most of packages did install without problems but a certain number of them... failed, giving messages like "Failed to recover the file" or something like this. I decided to do it manually.
I've started to download the packages from rpmfind.net, usually finding a slightly more recent version, and installing them (again with rpmdrake).

At a certain point (I do not remember what I was doing)... frozen. I've killed it, and tried to restart it. No way to restart it. I did a reboot and harddrake gives an error at boot (segmentation fault because of something at line 19 of some file).
Curiously enough, both drakconf and harddrake where in the lists of the things to upgrade. But I did not upgrade them!
Here is the list of manually downloaded (and installed) rpms

alsa-utils-1.0.8-1mdk.i586.rpm
bootsplash-3.1.8-1mdk.i586.rpm
cdrecord-2.01.01-0.a01.6mdk.i586.rpm
console-tools-0.2.3-51mdk.i586.rpm
cpufreq-1.0-14mdk.noarch.rpm
cups-1.1.23-11mdk.i586.rpm
cups-common-1.1.23-11mdk.i586.rpm
cups-drivers-10.2-0.11mdk.i586.rpm
irssi-0.8.9-6mdk.i586.rpm
libalsa2-1.0.8-15mdk.i586.rpm
libalsa2-devel-1.0.8-15mdk.i586.rpm
libalsa-data-1.0.8-15mdk.i586.rpm
libconsole0-0.2.3-51mdk.i586.rpm
libcups2-1.1.23-11mdk.i586.rpm
libgtk-linux-fb-2.0_0-2.4.14-3mdk.i586.rpm
libxorg-x11-6.8.2-7mdk.i586.rpm
libxorg-x11-devel-6.8.2-7mdk.i586.rpm
X11R6-contrib-6.8.2-7mdk.i586.rpm
xorg-x11-6.8.2-7mdk.i586.rpm
xorg-x11-75dpi-fonts-6.8.2-7mdk.i586.rpm
xorg-x11-server-6.8.2-7mdk.i586.rpm
xorg-x11-xauth-6.8.2-7mdk.i586.rpm
xorg-x11-xfs-6.8.2-7mdk.i586.rpm

There are few other rpms installed today connected with the above as perl and xchat.

To be honest, I do not know what half of these packages are about.
Is there a connection between these packages and harddrake and/or drakconf or rpmdrake (or whatever is connected with them?

In case it can help I have installed
harddrake-10.1-27.5.101mdk
rpmdrake-2.1.5-13.1.101mdk
drakconf-10.1-2mdk
 
Old 04-20-2005, 05:42 PM   #2
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
I think the problem here is that you have installed an RPM which is broken, or which requires another RPM to function correctly but didn't tell you or you decided to install it anyway.

What is the *exact* error that you have when trying to load Harddrake/RPMDrake?

Have you by any chance upgraded Perl? I have had a problem when I updated Perl using the official Mandriva RPM's which then broke the Mandriva Control Centre (MCC). Harddrake, RPMDrake, MCC - they all are Perl applications.
 
Old 04-21-2005, 03:16 AM   #3
rpigna
LQ Newbie
 
Registered: Jun 2004
Location: Trento (Italy)
Distribution: Kubuntu 9.10
Posts: 27

Original Poster
Rep: Reputation: 15
you got it

Yes, perl is one of the "few other", I think you got it.
And in fact I have perl-5.8.6-6mdk installed, that's the latest according to rpmfind.

Before that I mess up completely my system, can you please tell me how you exactly fixed this problem? Which packages did you substitute (with perl I suppose at least perl-base ) and which substitute did you install?

Thanks!
 
Old 04-21-2005, 07:07 AM   #4
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
I can't remember off the top of my head as I'm away from my laptop, but I think I used the original rpm command and re-installed two packages, both from the original CD. I think they were 'perl-base' and 'perl'

Be careful though, as you may find that some applications depend on the newer version of perl and *may* not work without it, although I would say that getting the Mandriva tools (RPMDrake, MCC, Harddrake) are more important at the moment.
 
Old 04-21-2005, 08:40 AM   #5
rpigna
LQ Newbie
 
Registered: Jun 2004
Location: Trento (Italy)
Distribution: Kubuntu 9.10
Posts: 27

Original Poster
Rep: Reputation: 15
fixed

I had to "downgrade" 10 packages (about perl, python, xchat, irssi and tkinter whatever they are) but now everything works. Thank you!
 
Old 12-16-2005, 08:47 PM   #6
psymole
LQ Newbie
 
Registered: Mar 2005
Distribution: mandrake 2006 comunity
Posts: 6

Rep: Reputation: 0
I have the same problem as you guys but im a complete new and i dont have a clue about wich packages should i downgrade or how.

Thx in advance
 
Old 12-17-2005, 05:48 AM   #7
rpigna
LQ Newbie
 
Registered: Jun 2004
Location: Trento (Italy)
Distribution: Kubuntu 9.10
Posts: 27

Original Poster
Rep: Reputation: 15
sorry

After so much time... I cannot remember more than what is written in my previous posts. Anyway, maybe you should just think about upgrading everything to Mandriva Free 2006. I suppose this problem is fixed in the new version (although I did not install it yet, I'm still at LE2005.

HopeItHelps
 
Old 12-17-2005, 09:18 PM   #8
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
evidently you have no problems downloading RPMS

Paste all this into a konsole with root privilages (mandriva 2006 packages)

Quote:
Originally Posted by rpigna
urpmi.addmedia upgradeplf-free ftp://ftp.bahcesehir.edu.tr/pub/plf....ke/free/2006.0 with synthesis.hdlist.cz
urpmi.addmedia upgradeplf-nonfree ftp://ftp.bahcesehir.edu.tr/pub/plf....on-free/2006.0 with synthesis.hdlist.cz
urpmi.addmedia --update upgradeupdates ftp://ftp.cise.ufl.edu/pub/mirrors/m.../main_updates/ with media_info/synthesis.hdlist.cz
urpmi.addmedia upgrademain ftp://ftp.cise.ufl.edu/pub/mirrors/m...586/media/main with media_info/synthesis.hdlist.cz
urpmi.addmedia upgradecontrib ftp://anorien.csc.warwick.ac.uk/Mand.../media/contrib with media_info/synthesis.hdlist.cz
urpmi.addmedia upgradejpackage ftp://ftp.cise.ufl.edu/pub/mirrors/m...media/jpackage with media_info/synthesis.hdlist.cz

once that finishes (if any fail use different servers)

urpmi --auto-select
will upgrade every single package you have install and fill in any missing ones


if you want other sources here
http://easyurpmi.zarb.org/index.php?...synth=on#third


but i suggest you use the newest 2006
as you have bunked you system down pretty bad with some new and some old.

and 2006 is bound to be newest and have updated versions
 
Old 12-17-2005, 09:20 PM   #9
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by psymole
I have the same problem as you guys but im a complete new and i dont have a clue about wich packages should i downgrade or how.

Thx in advance
the only way is to either remove or upgrade
http://easyurpmi.zarb.org/index.php?...synth=on#third
 
Old 01-03-2006, 05:15 PM   #10
psymole
LQ Newbie
 
Registered: Mar 2005
Distribution: mandrake 2006 comunity
Posts: 6

Rep: Reputation: 0
thx

thanks for the reply carl0ski i did as you said and got it working now i have to reinstall all the software.

Last edited by psymole; 01-03-2006 at 05:16 PM.
 
Old 01-03-2006, 07:41 PM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,655
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
I use synaptic to check dependents, broken installs and duplicate installed packages.

It requires apt and libapt, and you can customise it for download site sources too.
 
Old 01-03-2006, 08:36 PM   #12
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by GlennsPref
I use synaptic to check dependents, broken installs and duplicate installed packages.

It requires apt and libapt, and you can customise it for download site sources too.

Mandriva has URPMI
if you havent ever used Mandrake
URPMI manages rpms far better than any distro i have used.

Fedora = dependancy hell still
SUSE 10.0 (not quite as simple sources/respotories)
Gentoo - i ended up with a dependancy hell due to a bad package in the tree
 
Old 01-03-2006, 09:59 PM   #13
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
Mandriva has URPMI
if you havent ever used Mandrake
URPMI manages rpms far better than any distro i have used.

Fedora = dependancy hell still
SUSE 10.0 (not quite as simple sources/respotories)
Gentoo - i ended up with a dependancy hell due to a bad package in the tree
I use Centos at work (I know its not the same as Fedora) with yum and it works beautifully. But I'd still prefer urpmi (its faster for one thing). Anyway the problems reported in this thread are because they went to rpmfind.net and got 'slightly newer packages', ie. packages for another version of Mandriva or another distro. So it doesn't matter wether you use synaptic, urpmi or anything else as these systems aren't the problem.
 
Old 01-03-2006, 10:26 PM   #14
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by tkedwards
I use Centos at work (I know its not the same as Fedora) with yum and it works beautifully. But I'd still prefer urpmi (its faster for one thing). Anyway the problems reported in this thread are because they went to rpmfind.net and got 'slightly newer packages', ie. packages for another version of Mandriva or another distro. So it doesn't matter wether you use synaptic, urpmi or anything else as these systems aren't the problem.

i am aware of that :P
i was replying to the suggetion

synaptic to check dependencies (apt and libapt)

urpmi does an incredible job, even when using rpms from other sources eg rpmfind.

urpmi openoffice.rpm

will find all dependancies (even though Openoffice.rpm isnt in the urpmi databade)
then download and install them all.



Ive found The problems usually spawn from applications being installed by other means
ie
rpm -i *.rpm depedancis.rpm
 
  


Reply



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
rpmdrake broken after updating perl. RoaCh Of DisCor Mandriva 5 02-15-2005 06:30 PM
Harddrake si not doing what it should do, please help! 300CDS Mandriva 0 12-17-2003 02:57 PM
Harddrake delvekian Linux - Newbie 1 03-07-2002 12:18 AM
Harddrake phreq Linux - Software 3 07-05-2001 08:09 PM
Harddrake BC Linux - Software 1 02-23-2001 02:29 PM

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

All times are GMT -5. The time now is 11:55 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