Jump to content

urpmi hell


Guest simplesi
 Share

Recommended Posts

Guest simplesi

Hi,

 

I have Mandrake 10.0 Community installed on a web-accessible server, and I'm trying to keep it up to date - but it's giving me hell.

 

I gather I can auto-update any installed packages using urpmi --auto-select

Alas, this first tells me that some packages can't be installed, then tries to uninstall half the packages on my system - I don't want to get rid of them! I want to upgrade them. This is a live server - I can't afford to re-install it all.

 

Any suggestions? And yes, I have updated the urpmi sources.

 

Simon

 

Here's the output (ouch!):

 

[root@hostname root]# urpmi --auto-select
Some package requested cannot be installed:
ghostscript-7.07-19.2.100mdk.i586
libnas2-devel-1.6b-1mdk.i586
libpango1.0_0-devel-1.2.5-3mdk.i586
libwmf0.2_7-0.2.8-6mdk.i586
libxfree86-devel-4.3-32.3.100mdk.i586
mandrakegalaxy-10.0-16mdk.i586 (Y/n) Y
The following packages have to be removed for others to be upgraded:
OpenOffice.org-1.1.2-8.100mdk.i586 (due to unsatisfied OpenOffice.org-l10n == 1.1.2, due to missing ghostscript)
OpenOffice.org-help-en-1.1.2-8.100mdk.i586 (due to unsatisfied OpenOffice.org == 1:1.1.2)
OpenOffice.org-l10n-en-1.1.2-8.100mdk.i586 (due to missing urw-fonts, due to missing fonts-ttf-vera, due to unsatisfied OpenOffice.org == 1:1.1.2)
XFree86-4.3-32.3.100mdk.i586 (due to unsatisfied libxfree86 == 4.3-32.3.100mdk)
XFree86-75dpi-fonts-4.3-32.3.100mdk.i586 (due to missing chkfontpath[*])
XFree86-server-4.3-32.3.100mdk.i586 (due to missing XFree86-xfs)
XFree86-xfs-4.3-32.3.100mdk.i586 (due to missing chkfontpath[*])
chkfontpath-1.9.10-1mdk.i586 (due to missing XFree86-xfs)
cups-drivers-1.1-138.2.100mdk.i586 (due to unsatisfied ghostscript >= 7.05)
dia-0.92.2-2mdk.i586 (due to missing XFree86-ISO8859-2-75dpi-fonts)
fonts-ttf-decoratives-1.3-13mdk.noarch (due to unsatisfied chkfontpath >= 1.4.1)
fonts-ttf-vera-1.10-2mdk.noarch (due to missing chkfontpath[*])
fonts-ttf-west_european-1.3-13mdk.noarch (due to unsatisfied chkfontpath >= 1.4.1)
foomatic-db-3.0.1-0.20040828.1.1.100mdk.i586 (due to missing ghostscript, due to missing printer-filters)
ghostscript-7.07-19.2.100mdk.i586 (due to unsatisfied urw-fonts >= 1.1)
ghostscript-module-X-7.07-19.2.100mdk.i586 (due to missing ghostscript[*])
giftrans-1.12.2-13mdk.i586 (due to missing XFree86)
gnome-print-0.37-5mdk.i586 (due to missing urw-fonts[*])
gnucash-1.8.8-2mdk.i586 (due to missing libgnomeprint.so.15, due to missing libgtkhtml-1.1.so.3, due to missing libgnc-app-file-gnome.so.0, due to missing libgncmodule.so.0, due to unsatisfied libgnucash0 >= 1.8.8-2mdk)
gnucash-hbci-1.8.8-2mdk.i586 (due to missing libgncmod-engine.so.0, due to missing libgncmod-generic-import.so.0, due to unsatisfied gnucash == 1.8.8-2mdk, due to missing libgncgnome.so.0, due to missing libgncmodule.so.0)
gnucash-ofx-1.8.8-2mdk.i586 (due to missing libgncmod-engine.so.0, due to missing libgncmod-generic-import.so.0, due to unsatisfied gnucash == 1.8.8-2mdk, due to missing libgncmodule.so.0)
gv-3.5.8-31mdk.i586 (due to missing ghostscript-module-X)
hylafax-4.1.8-2.1.100mdk.i586 (due to unsatisfied ghostscript >= 5.5)
hylafax-client-4.1.8-2.1.100mdk.i586 (due to missing hylafax)
kdegraphics-kghostview-3.2-15.5.100mdk.i586 (due to missing ghostscript, due to missing ghostscript-module-X)
kdevelop-3.0.0-10mdk.i586 (due to missing XFree86-devel)
libMesaGLU1-devel-5.0.2-2mdk.i586 (due to missing devel(libGL), due to missing devel(libX11))
libbonoboui2_0-devel-2.4.3-4mdk.i586 (due to missing devel(libICE), due to missing devel(libSM), due to missing devel(libX11), due to missing devel(libXext), due to missing devel(libXft), due to missing devel(libXi), due to missing devel(libXinerama), due to missing devel(libXrandr), due to missing devel(libXrender), due to missing devel(libpango-1.0), due to missing devel(libpangoft2-1.0), due to missing devel(libpangox-1.0), due to missing devel(libpangoxft-1.0), due to unsatisfied libgnomecanvas2-devel >= 1.116.0, due to missing devel(libgnomecanvas-2))
libglade2.0_0-devel-2.0.1-6mdk.i586 (due to missing devel(libX11), due to missing devel(libXext), due to missing devel(libXft), due to missing devel(libXi), due to missing devel(libXrandr), due to missing devel(libXrender), due to missing devel(libpango-1.0), due to missing devel(libpangox-1.0), due to missing devel(libpangoxft-1.0))
libgnomecanvas2_0-devel-2.4.0-2mdk.i586 (due to missing devel(libX11), due to missing devel(libXext), due to missing devel(libXft), due to missing devel(libXi), due to missing devel(libXinerama), due to missing devel(libXrandr), due to missing devel(libXrender), due to missing devel(libpango-1.0), due to missing devel(libpangoft2-1.0), due to missing devel(libpangox-1.0), due to missing devel(libpangoxft-1.0))
libgnomeprint15-0.37-5mdk.i586 (due to unsatisfied gnome-print >= 0.37-5mdk)
libgnomeui2_0-devel-2.4.0.1-3mdk.i586 (due to missing devel(libICE), due to missing devel(libSM), due to missing devel(libX11), due to missing devel(libXext), due to missing devel(libXft), due to missing devel(libXi), due to missing devel(libXinerama), due to missing devel(libXrandr), due to missing devel(libXrender), due to unsatisfied libbonoboui2-devel >= 2.1.1, due to missing devel(libbonoboui-2), due to missing devel(libpango-1.0), due to missing devel(libpangoft2-1.0), due to missing devel(libpangox-1.0), due to missing devel(libpangoxft-1.0), due to unsatisfied libgnomecanvas2-devel >= 2.0.0, due to missing devel(libgnomecanvas-2))
libgnucash0-1.8.8-2mdk.i586 (due to missing libgncmod-app-file.so.0, due to missing libgncmod-backend-file.so.0, due to missing libgncmod-engine.so.0, due to missing libgncmod-gnome-search.so.0, due to missing libgncmod-ledger-core.so.0, due to missing libgncmod-report-gnome.so.0, due to missing libgncmod-report-system.so.0)
libgtkhtml1.1_3-1.1.10-4mdk.i586 (due to missing libgnomeprint.so.15)
libkdevelop3-devel-3.0.0-10mdk.i586 (due to missing devel(libGL), due to missing devel(libICE), due to missing devel(libSM), due to missing devel(libX11), due to missing devel(libXcursor), due to missing devel(libXext), due to missing devel(libXft), due to missing devel(libXi), due to missing devel(libXinerama), due to missing devel(libXmu), due to missing devel(libXrandr), due to missing devel(libXrender), due to missing devel(libXt), due to missing devel(libaudio))
libnas2-devel-1.6b-1mdk.i586 (due to missing devel(libICE), due to missing devel(libSM), due to missing devel(libX11), due to missing devel(libXt))
libpango1.0_0-devel-1.2.5-3mdk.i586 (due to missing devel(libX11), due to missing devel(libXext), due to missing devel(libXft), due to missing devel(libXrender))
libwmf-0.2.8-6mdk.i586 (due to missing libwmf-0.2.so.7, due to missing libwmflite-0.2.so.7)
libwmf0.2_7-0.2.8-6mdk.i586 (due to missing urw-fonts, due to unsatisfied libwmf == 0.2.8-6mdk)
libxfree86-devel-4.3-32.3.100mdk.i586 (due to unsatisfied XFree86-libs == 4.3-32.3.100mdk)
mandrakegalaxy-10.0-16mdk.i586 (due to unsatisfied xinitrc >= 2.4.4-72mdk)
printer-filters-1.0-138.2.100mdk.i586 (due to missing ghostscript[*])
urw-fonts-2.0-11mdk.noarch (due to missing chkfontpath[*])
xinitrc-2.4.8-1mdk.noarch (due to unsatisfied XFree86 >= 3.3.5-12mdk)
xpdf-3.00-5.4.100mdk.i586 (due to missing urw-fonts) (y/N) N

 

[moved from Software by spinynorman - welcome aboard :)]

Link to comment
Share on other sites

Based on the error messages it looks like you have only a partial install of XFree86, the X server packages. That's possible if it was your intention to set up your server without a GUI environment. If so, you would need to install the XFree86 pacakge to keep urpmi happy. If not, then its possible your RPM database is shot. You can check for individual packages that you think should be installed by using "rpm -q <package-name>". If things don't look right, you may want to rebuild your rpm database using "rpm --rebuilddb".

 

I'm assuming you have your urpmi repository information set up correctly. If not, see the Easy-Urpmi link at the top of the page. Finally, make sure you run "urpmi.update -a" to bring your repository information up-to-date before running "urpmi --auto-select".

Link to comment
Share on other sites

Guest simplesi

Thanks for your quick response.

 

XFree86 is definately installed and working - there's an X session open in front of me right now! I recently updated my urpmi setting using easy urpmi - and still no luck.

 

On your instructions, I have tried rebuilding the RPM database and then updating my sources, but I'm still getting exactly the same problem:

 

[root@hostname root]# rpm --rebuilddb
[root@hostname root]# urpmi.update -a
examining MD5SUM file
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.plf-free.cz]
examining MD5SUM file
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.plf-nonfree.cz]
retrieving source hdlist (or synthesis) of "main"...
...retrieving done
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.main.cz]
retrieving source hdlist (or synthesis) of "contrib"...
...retrieving done
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.contrib.cz]
retrieving source hdlist (or synthesis) of "jpackage"...
...retrieving done
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.jpackage.cz]
retrieving source hdlist (or synthesis) of "club"...
...retrieving done
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.club.cz]
[root@hostname root]# urpmi --auto-select
Some package requested cannot be installed:
ghostscript-7.07-19.2.100mdk.i586
libnas2-devel-1.6b-1mdk.i586
libpango1.0_0-devel-1.2.5-3mdk.i586
libwmf0.2_7-0.2.8-6mdk.i586
libxfree86-devel-4.3-32.3.100mdk.i586
mandrakegalaxy-10.0-16mdk.i586 (Y/n) Y
The following packages have to be removed for others to be upgraded:
OpenOffice.org-1.1.2-8.100mdk.i586 (due to missing ghostscript, due to unsatisfied OpenOffice.org-l10n == 1.1.2)

... and so on

 

Any ideas? I'm currently running an unpatched server, so I need to do something quickly - even if it is an install from scratch - which would seem somewhat excessive and time consuming!

Link to comment
Share on other sites

Guest simplesi

Well, I just removed all my sources, went to easy urpmi, and found that there are no main or contrib sources for 10.0 community any more... What's happened?

 

How do I upgrade to 10.1? Can I just change the sources? Or should I choose 'community' instead?

 

Sorry - now I'm very confused.

 

Simon

Link to comment
Share on other sites

especially for a server. This seems rather like a nuclear warhead to crack a nut situation, though. Unless you really want to upgrade to 10.1, let's see if we can't fix 10.0 first. The anorien mirror - anorien.csc.warwick.ac.uk - still has 10.0 Official at least (and I think CE). Set up urpmi sources for main and contrib from there, and let's try this again. Maybe it'll work straight away if you use Official instead of CE this time; if so, great. If not, does urpmi --auto-select -v give you any information on *why* it can't install the new packages? Does urpmi --auto-select --keep -v work? --keep prevents urpmi from removing packages; it won't do any upgrades or whatever that would cause packages to be removed. I'm not sure if it was implemented in 10.0, though.

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...