LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Package manager - all in one (https://www.linuxquestions.org/questions/fedora-35/package-manager-all-in-one-138729/)

gokul 01-26-2004 04:34 AM

Package manager - all in one
 
Is there some equivalent of urpmi(mandrake) in fedora?:(

Iam looking for something that can be configured to look for packages in..

* local harddisk folders
* mounted cdrom images
* cdroms
* online update sites

aptget and yum and up2date are used for online updates.
rpm gui in local CDs only!
there is nothing that looks in local folders, automatically resolves dependencies and installs whatever necessary?

Is there something that can do all this?
What about redcarpet - can it be used for these needs, as an all in one package manager?
or can good old rpm with some parameters do this?:scratch:

gokul 01-27-2004 11:42 AM

since no one has answerd in 24 hrs i'll try to lower my stakes!!
I would be happy to see a package manager in fedora that can look for packages in local media, say, iso images(mounted ofcourse) in addition to its normal operation of looking for packages from the installation cds.

ajmoraal 02-02-2004 04:20 PM

Quote:

Originally posted by gokul
I would be happy to see a package manager in fedora that can look for packages in local media, say, iso images(mounted ofcourse) in addition to its normal operation of looking for packages from the installation cds.
The README of the package manager is in /usr/share/docs/redhat-config-packages*. Here's an extract:
Quote:

redhat-config-packages: This is the primary mode of operation. It is
used to install extra packages from package groups included in Red Hat
Linux. This uses CDs to install the packages by default. You can
instead use a Red Hat Linux installation tree with the option
'-tree=/path/to/tree' or use a directory with Red Hat Linux ISO images
with the option '--isodir=/path/to/dir'.
So it is possible to use ISO's, but it's not very well documented. There's no man page for redhat-config-packages.

Regards,
Arjan

biotek1 02-03-2004 11:30 AM

I believe you can use apt together with synaptic and add a cdrom as a local repository/source .

try this site

www.fedora.us

gokul 02-06-2004 11:18 AM

problems - dependencies
 
I have installed fedora and tried to compile the source code of aptget from fedora's website.

It threw up an error message saying that cannot find libbz2.
However when i checked with rpms.net for the latest libbz2, i found that it was the rpm that i had already installed.(package same as the fedora distribution).

What do i do?

biotek1 02-06-2004 11:56 AM

why do you want to compile it, theres an .rpm file already there for fedora . just download it and install it. then as they recommend edit your sources.list file and add a mirror that is closer to you as the default is hawaii.

heres the link to the rpm.
http://download.fedora.us/fedora/fed...r.3.1.i386.rpm

additional mirrors

http://www.fedora.us/wiki/FedoraMirrorList

gokul 02-08-2004 04:28 AM

I have installed apt-get + synaptic.
Works fine for the online updates. Cool.

But How do i add a local iso image ? or a local directory with RPMS?

biotek1 02-08-2004 12:33 PM

If you are trying to add your fedora cd's to your apt sources.list file, i doubt it will work as they don't have any apt indexes on them. Maybe you should download apt4rpm which is a program that enables you to make apt repo's . I have never used it so I am not sure how it works, but at least theoretically you should be able to use that to make apt repos of your local stuff.

http://apt4rpm.sourceforge.net/

gokul 02-10-2004 08:28 AM

Thanks for the info. Iam already at it.
But I wonder if the fact that I have the ISO images in an NTFS drive will create any problems. Sure I can mount it. But is there something Iam missing?
Well I'll be back with the answers later.

rykel 12-13-2004 01:36 AM

Local Apt-Get Repository
 
Hi,

In order to read RPMs from your hard disk, simply create a folder anywhere and name it RPMS.<something>. Of course, you have to populate it with RPMs downloaded from various places, or your Fedora CD/DVD.

eg. I have mine at /root/RPMS.fc3

Then, in your sources.list found at /etc/apt/, add a RPM-DIR line that directs apt-get to that directory.

eg. rpm-dir file:/ root fc3 <-- Be careful about the spacing!

The syntax is really simple, once you understand that Apt-Get must have the basic 3 distinctions above.
ie. rpm-dir file:[/folder] [folder] [suffix - ie. RPMS.suffix]

Then, run #apt-get update and there! you should be able to install anything from the locally made repository.

Lastly, take note that you can also set up the rpm-dir line through Synaptic.



Cheers,

Rykel
Singapore

Using Fedora Core 3

gokul 12-13-2004 02:42 AM

Yeah that works...
I had my cd as iso images... I hav mounted those on a directory and then addeded it to local repository.
i use synaptic front end too.
Thanks!

FunkyRes 12-13-2004 06:04 AM

I haven't tried it yet - but there's a new package manager called smart or something like that in beta testing that can use apt or yum repositories, has better dependency resolution than apt or yum, can handle cd/dvd media as sources, and allows you to specify a priority (IE packages from A can not replace packages from B)

I think dag packages it for fc3

It is in beta testing though.

yanik 12-13-2004 09:38 AM

I tried it, and I like it very much. Nice GIU, very flexible. Give it a try.

FunkyRes 12-13-2004 11:52 AM

I just tried smart - it's a nice app, but I found no way to tell it to ignore packages, so it won't work for me.

The issue is that I built rpms for giflib - which is API compatible with libungif but uses LZW compression.

Problem is that Fedora built libungif with a tag saying it obsoletes giflib. With yum I can tell yum to exclude libungif and it won't want to replace my giflib, but I can't find a way to do that with smart.

I sent an e-mail to the developer.

yanik 12-13-2004 12:09 PM

is that what you're looking for?

Quote:

Can I lock a package so that Smart will never touch them?
Right-click them in the GUI and choose "Lock this version" or "Lock all versions", as you wish. Or use smart --set lock <package>. Notice that you may lock even packages that are not currently installed. In this case, Smart will never install the locked package.


All times are GMT -5. The time now is 01:33 AM.