Re: [newbie] Upgrading via RPMs
On Mon, 22 Oct 2001 14:04:57 -0500, Joseph Zitt [EMAIL PROTECTED] wrote: On Mon, Oct 22, 2001 at 01:45:14PM +1000, Sridhar Dhanapalan wrote: 2. urpmi Mandrake have developed their own dependency resolution utility, urpmi. It can be accessed via the command line or through the Mandrake Software Manager. This looks promising, but attempts to run it fail with: /usr/bin/perl: error while loading shared libraries: /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/rpmtools/rpmtools.so: undefined symbol: rpmSetVerbosity 4. rpm-get A command-line app designed to be similar to apt-get. It has been written specifically for Mandrake and Red Hat systems, and is part of the official Mandrake distribution. Also promising. One thing I'm not clear on with it: I have the RPMs from Mandrake 8.1 in a directory locally, copied from ISOs. (I tried to upgrade from 8.0 to 8.1 from the ISOs but it died horribly, apparently because it no longer supports my video card, which is working beautifully under 8.0.) Is there a way to point rpm-get to look there rather than out at an FTP site? Looking in /etc/rpm-get.conf was not particularly enlightening. $ rpm -ql rpm-get /etc/rpm-get.conf /sbin/dep-check.sh /sbin/rpm-dep.sh /sbin/rpm-fle2pkg.sh /sbin/rpm-get /sbin/rpm-get-configure /usr/share/doc/rpm-get-1.4 /usr/share/doc/rpm-get-1.4/AUTHORS /usr/share/doc/rpm-get-1.4/BUGS /usr/share/doc/rpm-get-1.4/Changes /usr/share/doc/rpm-get-1.4/LICENSE /usr/share/doc/rpm-get-1.4/README /usr/share/man/man1/rpm-get.1.bz2 /var/rpm-get Take a look at the README file. -- Sridhar Dhanapalan It is easy to be blinded to the essential uselessness of computers by the sense of accomplishment you get from getting them to work at all. -- Douglas Adams Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Upgrading via RPMs
On Mon, Oct 22, 2001 at 10:50:05PM +0200, H.J.Bathoorn wrote: On Mon, 2001-10-22 at 21:04, Joseph Zitt wrote: Is there a way to point rpm-get to look there rather than out at an FTP site? Looking in /etc/rpm-get.conf was not particularly enlightening. try the following commands -- urpmi.removemedia and/or urpmi.addmedia as su/root and without . This won't be enough to initiate the commands but the thus found 'help texts' are clear enough. Don't forget man urpmi :o) How would running man urpmi or either of those urpmi.* commands help with a problem related to rpm-get? -- | ~The only thing that is not art is inattention~ --- Marcel Duchamp | | [EMAIL PROTECTED] http://www.metatronpress.com/jzitt | | Latest CD: Jerusaklyn http://www.mp3.com/josephzitt | | Comma: Voices of New MusicSilence: the John Cage Discussion List | Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Upgrading via RPMs
On Sun, 21 Oct 2001 19:38:02 -0500, Joseph Zitt [EMAIL PROTECTED] wrote: In trying to upgrade any but the most trivial software via RPM, I invariably get stuck in apparent deadly embraces where everything demands different version of everything else, and each of a pair of RPMs demands that the other be installed before it can be. Am I missing something? Am I taking warning messages too seriously? Is there something that I'm not understanding that I should? I've looked at all the documentation that I can find, but remain mystified and frustrated. Welcome to 'dependency hell', the largest known problem with RPM. Open source software prides itself on its high level of code reuse, leading to more rapid development and higher quality code. However, this requires all dependencies to be satisfied for an app to work 100%. The result is a complex web of dependencies which can be extremely annoying to resolve. There are four main ways to solve this: 1. The manual method This involves finding dependencies manually as required. http://www.rpmfind.net/ can be very useful for this purpose. 2. urpmi Mandrake have developed their own dependency resolution utility, urpmi. It can be accessed via the command line or through the Mandrake Software Manager. 3. apt-get Debian have developed the powerful apt-get system to do a similar job to urpmi. It has been ported to RPM from Debian's native DEB package format, and distributions like Conectiva use it as their main update tool. It has some problems with Mandrake and Red Hat RPMS, so is not part of the official distribution (it may be in Contribs). 4. rpm-get A command-line app designed to be similar to apt-get. It has been written specifically for Mandrake and Red Hat systems, and is part of the official Mandrake distribution. -- Sridhar Dhanapalan Help Microsoft stamp out software piracy. Give GNU/Linux to a friend today. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com