09-25-2013 03:53 AM - edited 07-04-2021 12:56 AM
Hello,
I would like to update my Prime Infrastructure installation to the latest 2.0. According to this document I'm trying to install the update
pi_1.2.1.12_update.tar.gz but I always get this error:
PRIME-0000-01/admin# copy ftp://172.16.14.102/pi_1.2.1.12_update.tar.gz disk:/defaultRepo
Username: ftpuser
Password:
PRIME-0000-01/admin# patch install pi_1.2.1.12_update.tar.gz defaultRepo
Save the current ADE-OS running configuration? (yes/no) [yes] ?
Generating configuration...
Saved the ADE-OS running configuration to startup successfully
Initiating Application Patch installation...
Error: unknown encoding at line 1
% Manifest file is invalid
The file's MD5 is correct on the ftp server, and I've copied it many times into defaultRepo, always getting the same error.
Any idea?
Thanks,
Matteo
09-25-2013 06:09 AM
Have a look at this thread:
https://supportforums.cisco.com/thread/2173355
Seems like you have a problem similiar to some users in there.
Sent from Cisco Technical Support iPad App
09-25-2013 07:30 AM
Ok, I've found the solution. The ftp copy was changing the file each time, so the file was always corrupted once in the defaultRepo.
On the ftp server:
# ls -l
-rw-r--r-- 1 root root 11734212 Sep 25 16:19 pi_1.2.1.12_update.tar.gz
On the Prime server, when copied using ftp:
PRIME-0000-01/admin# dir disk:/defaultRepo
11733763 Sep 25 2013 16:21:10 pi_1.2.1.12_update.tar.gz
So, I've copied the file using http, and this solved:
PRIME-0000-01/admin# copy http://172.16.14.144/pi_1.2.1.12_update.tar.gz disk:/defaultRepo
PRIME-0000-01/admin# dir disk:/defaultRepo
11734212 Sep 25 2013 16:23:31 pi_1.2.1.12_update.tar.gz
PRIME-0000-01/admin# patch install pi_1.2.1.12_update.tar.gz defaultRepo
Save the current ADE-OS running configuration? (yes/no) [yes] ?
Generating configuration...
Saved the ADE-OS running configuration to startup successfully
Initiating Application Patch installation...
Patch successfully installed
Thanks anyway!
09-25-2013 04:58 PM
Try tftp. If I remember, there was an issue using FTP.
Sent from Cisco Technical Support iPhone App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide