Jump to content

Problems after having used EasyUrpmi


Guest Martijn
 Share

Recommended Posts

Guest Martijn

After having followed the guidelines in easyURPMI as described in the RPM faq i can not use the KDE packaging tools (Browse software, install software, etc..) anymore.

 

Does anybody know how to recover from this?

 

I also tried to upgrade apache and php by performing the urpmi apache2-mod_php command and now my apache failed to start also,. When i try to start Apache it gives the following error:

 

Starting httpd2: Syntax error on line 3 of /etc/httpd/conf.d/70_mod_php.conf:

Cannot load /etc/httpd/2.0/extramodules/mod_php4.so into server: /etc/httpd/2.0/extramodules/mod_php4.so: undefined symbol: php_sprintf

 

I anybody can help this newbie, thanks in advance.

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Guest FuguFondue

After using urpmi, I too have somehow screwed up my ability to use Mandrakeupdate. I will be interested to see how your problem is resolved.

Link to comment
Share on other sites

Guest Martijn

Well, having having tried urpmi on commandline i get the following error:

 

Can't locate URPM.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i386-linux

/usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux

/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5

/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.6

/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4

/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.1

/usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.5/urpm.pm line 16.

BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/urpm.pm line 16.

Compilation failed in require at /usr/sbin/urpmi line 22.

BEGIN failed--compilation aborted at /usr/sbin/urpmi line 22.

 

So i just screwed up the whole urpmi

 

I am still very interested in a solution.

Link to comment
Share on other sites

What is your version of Mandriva and the output of the following command?

$ cat /etc/urpmi/urpmi.cfg

Link to comment
Share on other sites

Guest Martijn

I have Mandrake 10.1 and this is the result of the cat command:

 

# generated Tue May 31 21:10:26 2005

{

}

 

Installation\ CD\ 1\ (cdrom1) removable://mnt/cdrom/media/main {

hdlist: hdlist.Installation CD 1 (cdrom1).cz

key-ids: 70771ff3

removable: /dev/hdc

with_hdlist: ../../media/media_info/hdlist1.cz

}

 

Installation\ CD\ 2\ (cdrom2) removable://mnt/cdrom/media/main2 {

hdlist: hdlist.Installation CD 2 (cdrom2).cz

key-ids: 70771ff3

removable: /dev/hdc

with_hdlist: ../../media/media_info/hdlist2.cz

}

 

Installation\ CD\ 3\ (cdrom3) removable://mnt/cdrom/media/main3 {

hdlist: hdlist.Installation CD 3 (cdrom3).cz

key-ids: 70771ff3

removable: /dev/hdc

with_hdlist: ../../media/media_info/hdlist3.cz

}

 

update_source http://ftp.nluug.nl/ftp/pub/os/Linux/distr....1/main_updates {

hdlist: hdlist.update_source.cz

key-ids: 22458a98

list: list.update_source

synthesis

update

with_hdlist: media_info/synthesis.hdlist.cz

}

 

plf-free ftp://plf.time4t.net/pub/plf/mandrake/free/10.2 {

hdlist: hdlist.plf-free.cz

key-ids: caba22ae

list: list.plf-free

with_hdlist: hdlist.cz

}

 

plf-nonfree ftp://plf.time4t.net/pub/plf/mandrake/non-free/10.2 {

hdlist: hdlist.plf-nonfree.cz

key-ids: caba22ae

list: list.plf-nonfree

with_hdlist: hdlist.cz

}

 

updates ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...05/main_updates {

hdlist: hdlist.updates.cz

key-ids: 22458a98

list: list.updates

update

with_hdlist: media_info/hdlist.cz

}

 

main ftp://ftp.nluug.nl/pub/os/Linux/distr/Man...i586/media/main {

hdlist: hdlist.main.cz

key-ids: 70771ff3

with_hdlist: media_info/hdlist.cz

}

 

jpackage ftp://ftp.nluug.nl/pub/os/Linux/distr/Man.../media/jpackage {

hdlist: hdlist.jpackage.cz

key-ids: c431416d

with_hdlist: media_info/hdlist.cz

Link to comment
Share on other sites

You've got sources configured for 2005 main, updates, and both plf (10.2 is the same as 2005). Probably, updating to some of the 2005 packages has hosed your perl-urpm. I have heard of that problem before, so searching on that error message at google might turn something up about that. As to how many packages of 2005 you have installed and how to recover from that, maybe look at this: http://forum.mandrivaclub.com/viewtopic.php?p=140223#140223

Link to comment
Share on other sites

Add to the above that KDE has no packaging tools, unless you have set kpackage managing URPMI (it isn't set by default on Mandy). Most likely you mean MCC's package manager, which is perl based- and it seems you somehow borked perl by mixing 10.1, 10.2 and/or Cooker sources (the above output shows mixed 10.1 and LE2005 repositories, which is a no-no).

A fix is not trivial, as removing a perl installation to install the correct version will bring up loads of dependencies' issues.

Maybe the simplest way is reinstalling from scratch, and in the future NEVER mix different Mandrake's revisions in your urpmi sources.

Link to comment
Share on other sites

Guest Martijn

Thanks for the help. I indeed found loads of links with Google. What i don't understand is that i chose the right (10.1) version on the easyurpmi site.

 

And yes, having read everything i am thinking about reinstalling from scratch after having backed up all my data.

 

Thanks a lot.

Link to comment
Share on other sites

A caveat on the Easyurpmi site configurator: there are buttons, 'Proceed to step 2', 'Proceed to step 3' that are not obiously so and they need to be pressed after you make the choice(s) for that section, or the configurator will use the default settings, which are for the latest, I believe.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...