LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   up2date not working as expected (https://www.linuxquestions.org/questions/linux-newbie-8/up2date-not-working-as-expected-74567/)

johnny13 07-21-2003 09:43 AM

up2date not working as expected
 
hello,

trying to compile amanda backup software on a raidzone but i need a compilar to do so.

So, i was told I can run up2date to download gcc but
up2date has issues. I get this when I run it:

Traceback (innermost last):
File "/usr/sbin/up2date", line 45, in ?
from up2date_client import clap
File "/usr/share/rhn/up2date_client/clap.py", line 18, in ?
popt = __import__("up2datepopt")
ImportError: No module named up2datepopt


I try to run rpm -Uvh on up2date but I get an error
on the command:
saying that it is not a package....


DO I have to edit a config file to configure up2date and how.?

thanks

fancypiper 07-21-2003 09:48 AM

What release of Red Hat are you running? Did you try running this command?

redhat-config-packages

# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

johnny13 07-21-2003 09:55 AM

redhat-config-packages is not found I do a find and it is not there.....

Mathieu 07-21-2003 09:57 AM

Up2Date
 
Instead of using Up2Date, you can try RedCarpet or Apt4RPM.

RedCarpet
http://www.ximian.com/products/redcarpet/

Apt4RPM
http://apt4rpm.sourceforge.net/

fancypiper 07-21-2003 10:14 AM

How to get good answers with your questions about Linux

I still have no idea of which release version of Red Hat you are running. Is it below 7.3? Did you try gnorpm?

:study: RedHat Linux Manuals

dav1x 07-21-2003 11:13 AM

You can install the packages directly from the redhat cds via mounting them, or using redhat-package-installer...

up2date relies on configuration files from

/etc/sysconfig/rhn

editting the file up2date there you can force up2date to ignore packages such as kernel* so that they are NOT installed.
up2date just pulls information from redhat network. If you do not have it configured properly it will not work..

Are you running up2date with X? If you are not you should specify a --nox switch will will prevent x from running. up2date also suffers from the rpm database problems which call for removal of /var/lip/rpm/ __db*

If you need more information on this let me know...
Good Luck

johnny13 07-21-2003 12:55 PM

more info
 
using redhat 7.1


rpm-4.0.2-8

I am trying to install gcc
or if anyone knows where is can get the
binaries for amanda for redhat 7.1

I searched the web but so far no luck

also the hardware is i686!

fancypiper 07-21-2003 01:15 PM

You can use gnorpm to install packages and resolve depencencies. You can install the compiler and developmental packages with that.

Red Hat 7.1 Customization guide - gnorpm

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Find software here
The table of equivalents, replacements, analogs of Windows software in Linux
Freshmeat
Sourceforge
rpmfind


All times are GMT -5. The time now is 09:48 PM.