LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Harddrake and RPMdrake suddenly broken (https://www.linuxquestions.org/questions/mandriva-30/harddrake-and-rpmdrake-suddenly-broken-315384/)

rpigna 04-20-2005 01:39 PM

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

CragStar 04-20-2005 05:42 PM

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.

rpigna 04-21-2005 03:16 AM

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!

CragStar 04-21-2005 07:07 AM

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.

rpigna 04-21-2005 08:40 AM

fixed
 
I had to "downgrade" 10 packages (about perl, python, xchat, irssi and tkinter whatever they are) but now everything works. Thank you!

psymole 12-16-2005 08:47 PM

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

rpigna 12-17-2005 05:48 AM

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

carl0ski 12-17-2005 09:18 PM

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

carl0ski 12-17-2005 09:20 PM

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

psymole 01-03-2006 05:15 PM

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

GlennsPref 01-03-2006 07:41 PM

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.

carl0ski 01-03-2006 08:36 PM

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

tkedwards 01-03-2006 09:59 PM

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.

carl0ski 01-03-2006 10:26 PM

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


All times are GMT -5. The time now is 11:15 PM.