I use Redhat for a few remote firewall and standalone servers where I do
not bother to install X on the system. Also I am many times supporting
these machines remotely over ssh regardless of X being installed or not.
Up2date, even in batch mode, requires the existance of X. This makes it
impossible to use on several of the systems I administer. Unfortunately the
change to gpg signatures, while a GoodThing(tm), breaks freshrpms, the
other such tool that came out a while back.
This leaves me with -no- way to remotely upgrade packages on a Redhat 6.1
I don't know if the following patch fixes *all* the dependencies on X, but it
fixes at least one that I discovered while attempting to use up2date in batch
mode last night -- it prevents up2date from trying to update the GUI progres bar
when that progress bar doesn't exist.
--- /usr/share/up2date/client.py Wed Nov 3 15:21:48 1999
+++ /tmp/up2date/client.py Thu Dec 16 06:30:26 1999
@@ -134,23 +134,22 @@
def setProgress(self, amount, total):
+ if not self.gui:
- if not self.gui:
- if total != 0:
- i = (amount + 1.0) / total
- if i > 1:
- i = 1.0
- elif i < 0:
- i = 0
+ if total != 0:
+ i = (amount + 1.0) / total
+ if i > 1:
+ i = 1.0
+ elif i < 0:
i = 0
+ i = 0
fixed for 6.2.