[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [cobalt-users] Can't install RaQ4-All-System-0.0.1-7657.pkg



Hi Matt,

thanks a lot.

That did it :-)))


Bye,
Gunther


-----Ursprüngliche Nachricht-----
Von: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]Im Auftrag von Matt Brown
Gesendet: Mittwoch, 24. April 2002 02:58
An: cobalt-users@xxxxxxxxxxxxxxx
Betreff: RE: [cobalt-users] Can't install RaQ4-All-System-0.0.1-7657.pkg


> 22:17:01 (21.71 KB/s) - `RaQ4-All-System-0.0.1-7657.pkg' saved [4090/4090]
> [root admin]# /usr/local/sbin/cobalt_upgrade
> RaQ4-All-System-0.0.1-7657.pkg
> Unable to Patch Files.
> 4015 Error in installation script upgrade_me
> [root admin]# ls
> RaQ4-All-System-0.0.1-7657.pkg  Up2date.sh  Updater  Updater.tgz  status
> [root admin]#
>
>
> What's wrong ??
>
> When using the webinterface the same error occurs.

If you get the message 'le to patch files' when trying to apply this patch
via the gui the fix below will get the update installed, I had the same
problem with this package when getting my new box ready to co-lo.

*****
FROM THE COBALT KNOWLEDGE BASE  :-)
****

Q. How do you fix the "le to patch files" error when I'm trying to install
updates through the browser interface


A. This error is usually caused by a previous, failed attempt to install an
update. Part of the update had been installed at one point, and this is
preventing the installation to finish.

To fix this, first FTP the update to the server and place it in /home/tmp
Then do the following:

Telnet to the server as admin and su - to root.
cd into the directory with the update
Untar the update using this command:
tar -xzvf "filename.pkg" without the quotes.
View the upgrade_me script.
Run the commands in the script replacing "$UPGRADE_DIR" with /home/tmp
The next step will be to create a .md5lst file for the update:
Edit a new file and call it "package name".md5lst. For example
RaQ4-All-System-0.0.1-7657-0.0.1-7657.md5lst for update
RaQ4-All-System-0.0.1-7657.pkg
In the file put:
NAME: package name
URL:
An example of "package name" would be RaQ4-All-System Release 0.0.1-7657 for
RaQ4-All-System-0.0.1-7657.pkg
Place the file in the directory /var/lib/cobalt
Here is an example using RaQ4-All-System-0.0.1-7657.pkg which is the
FrontPage update for the RaQ4:
cd /home/tmp
tar -xzvf RaQ4-All-System-0.0.1-7657.pkg
less upgrade_me
Find the line "/usr/bin/patch -b -z .pkgsave -p0 <
$UPGRADE_DIR/patches/frontpage.patch >> /var/cobalt/adm.log 2>&1", change
$UPGRADE_DIR to /home/tmp and execute the line:
/usr/bin/patch -b -z .pkgsave -p0 < /home/tmp/patches/frontpage.patch >>
/var/cobalt/adm.log 2>&1
Find the line "/usr/bin/patch -b -z .pkgsave -p0 <
$UPGRADE_DIR/patches/mvsite6655.patch >> /var/cobalt/adm.log 2>&1" change
$UPGRADE_DIR TO /home/tmp and execute the line:
/usr/bin/patch -b -z .pkgsave -p0 < /home/tmp/patches/mvsite6655.patch >>
/var/cobalt/adm.log 2>&1

Now create the .md5lst file, in this case using pico as the editor:
pico -w RaQ4-All-System-0.0.1-7657-0.0.1-7657.md5lst
In the file type:
NAME: RaQ4-All-System Release 0.0.1-7657
URL:
Move the file using:
mv RaQ4-All-System-0.0.1-7657-0.0.1-7657.md5lst /var/lib/cobalt
After that the rest of the udpates can be installed.
--

Matt Brown

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users