Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Systems > Linux / BSD / OS X

Reply
 
LinkBack Thread Tools Display Modes
Old 03-20-2003, 06:29 PM   #1 (permalink)
yamaha_r6
Registered User
 
Join Date: Mar 2003
Location: Motor City
Posts: 3
yamaha_r6 is on a distinguished road
My first RPM distro (help with RPM)

Ok, I've recently switched to Suse from Gentoo because I'm trying to convince my company to do the same. I needed knowledge on Suse prior to proposing it.

My problem though is with rpm. I know how to do rpm -ivh yadda-yadda.rpm however, I encountered my first problem today.

I tried to install galeon 1.2.6 rpm but I keep getting a dependency error (requires mozilla 1.1). I prevously install mozilla 1.1 as well as 1.3 via tar/net install (I didn't use rpm because there isn't an RPM for Suse).

How do i configure RPM so that it knows where mozilla 1.1 is? I could compile galeon and avoid this quarndry, but for future reference its a good thing to know. Where is the rpm config file and rpm database, and how do I update this information to reflect my system configuration?

Thanks in advance for your help.
yamaha_r6 is offline   Reply With Quote
Old 03-23-2003, 12:59 AM   #2 (permalink)
do_guh_new
Registered User
 
do_guh_new's Avatar
 
Join Date: Jun 2002
Location: Ormond Beach Florida
Posts: 16
do_guh_new is on a distinguished road
Send a message via Yahoo to do_guh_new
Hello,

First off I would bet a rpm for drake and/or redhat would work just fine with suse. As far as this dependency goes, Im afraid you're gonna have to install the mozilla rpm. Certain rpm packages will accept a previously built/installed tarball then again some look specifically for a certain rpm package. Another way around this is trying to install the tarball of galeon, surely that would see your mozilla installation. As far as logs go for rpm's installed on a system, I would assume they would be somewhere in /var I'm not sure has redhat has an app for viewing all your logs. (pretty cool app by the way) Sorry I couldnt be of more assistance. Take care
do_guh_new is offline   Reply With Quote
Old 03-25-2003, 12:31 AM   #3 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
If you installed through a tar-ball, then just make a fake rpm file, which holds the needed info, and rpm -i that file, then the database will think it has installed the dependency through rpm, where in fact you did it through a tar-ball.

A simple one could look like this:
Code:
Name:          mozilla
Version:       1.3
Release:       1
Summary:       The mozilla fake package
Copyright:     GPL
Group:         Amusements
BuildRoot:     /tmp/%{name}-%{version}
Packager:      Kenneth 'Redhead' Nielsen <e@mail.no>
Vendor:        Kenneth 'Redhead' Nielsen <e@mail.no>
%description
Getting tired of having a million dependencies probs.
%prep
%setup
%build
%install
%clean
%files
%changelog
* Tue Feb 25 2003 Kenneth 'Redhead' Nielsen <e@mail.no>
- Made this fake rpm file.
Just save that as mozilla.src.rpm, and run: rpm -bb mozilla.src.rpm
then it will create a .<arc>.rpm file which you can install and fool the rpm database into thinking mozilla version 1.3 is installed.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 03-25-2003, 01:27 AM   #4 (permalink)
do_guh_new
Registered User
 
do_guh_new's Avatar
 
Join Date: Jun 2002
Location: Ormond Beach Florida
Posts: 16
do_guh_new is on a distinguished road
Send a message via Yahoo to do_guh_new
Quote:
If you installed through a tar-ball, then just make a fake rpm file, which holds the needed info, and rpm -i that file, then the database will think it has installed the dependency through rpm, where in fact you did it through a tar-ball. A simple one could look like this: code: Name: mozilla Version: 1.3 Release: 1 Summary: The mozilla fake package Copyright: GPL Group: Amusements BuildRoot: /tmp/%{name}-%{version} Packager: Kenneth 'Redhead' Nielsen <e@mail.no> Vendor: Kenneth 'Redhead' Nielsen <e@mail.no> %description Getting tired of having a million dependencies probs. %prep %setup %build %install %clean %files %changelog * Tue Feb 25 2003 Kenneth 'Redhead' Nielsen <e@mail.no> - Made this fake rpm file. Just save that as mozilla.src.rpm, and run: rpm -bb mozilla.src.rpm then it will create a .<arc>.rpm file which you can install and fool the rpm database into thinking mozilla version 1.3 is installed.
brilliant!!
do_guh_new is offline   Reply With Quote
Old 03-25-2003, 01:30 AM   #5 (permalink)
yamaha_r6
Registered User
 
Join Date: Mar 2003
Location: Motor City
Posts: 3
yamaha_r6 is on a distinguished road
Hey, thanks a lot. That is exactly what I was looking for...
yamaha_r6 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distro for End-Users & Administration Ease? Admin Linux / BSD / OS X 5 03-06-2004 01:54 AM
it's time for a new *nix distro sde Lounge 5 06-22-2003 05:51 PM


All times are GMT -8. The time now is 11:34 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting