02-05-2018 10:58 PM - edited 03-08-2019 01:43 PM
Hi Experts,
I'm trying to upgrade C3850-48P but it gives below error - Can you please assist what is the issue.
Note: Switch was rolled back before few months
Switch#show flash:
-#- --length-- ---------date/time--------- path
2 2097152 Feb 05 2018 21:59:40.0000000000 +00:00 nvram_config
3 79110340 Jan 05 2015 20:09:14.0000000000 +00:00 cat3k_caa-base.SPA.03.03.04SE.pkg
4 6521532 Jan 05 2015 20:09:15.0000000000 +00:00 cat3k_caa-drivers.SPA.03.03.04SE.pkg
5 34530288 Jan 05 2015 20:09:14.0000000000 +00:00 cat3k_caa-infra.SPA.03.03.04SE.pkg
6 34856268 Jan 05 2015 20:09:14.0000000000 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ4.pkg
7 25172880 Jan 05 2015 20:09:14.0000000000 +00:00 cat3k_caa-platform.SPA.03.03.04SE.pkg
8 77445952 Jan 05 2015 20:09:15.0000000000 +00:00 cat3k_caa-wcm.SPA.10.1.140.0.pkg
9 65301 Sep 28 2017 04:15:03.0000000000 +00:00 memleak.tcl
10 76 Sep 28 2017 04:14:47.0000000000 +00:00 boothelper.log
11 1247 Feb 05 2018 22:11:07.0000000000 +00:00 packages.conf.01-
12 4096 Sep 28 2017 03:25:57.0000000000 +00:00 core
13 4096 Sep 28 2017 03:18:27.0000000000 +00:00 core/modules
14 1 Sep 28 2017 03:40:57.0000000000 +00:00 core/.callhome
15 328157104 Feb 01 2018 04:00:50.0000000000 +00:00 cat3k_caa-universalk9.SPA.03.07.04.E.152-3.E4.bin
16 111 Sep 28 2017 04:14:23.0000000000 +00:00 bootloader_evt_handle.log
17 4096 Sep 28 2017 03:18:25.0000000000 +00:00 .prst_sync
18 4096 Sep 28 2017 03:18:27.0000000000 +00:00 .rollback_timer
19 4096 Sep 28 2017 04:14:45.0000000000 +00:00 dc_profile_dir
20 169223 Sep 28 2017 04:14:45.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
21 169223 Sep 28 2017 04:05:45.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt.bkp
22 4096 Sep 28 2017 03:18:37.0000000000 +00:00 gs_script
23 4096 Sep 28 2017 03:19:10.0000000000 +00:00 .installer
948146176 bytes available (591429632 bytes used)
Switch#
Switch#$ flash:cat3k_caa-universalk9.SPA.03.07.04.E.152-3.E4.bin new
Preparing install operation ...
[1]: Starting install operation
[1]: % File /flash/packages.conf.01- appears to be a rollback file. Operation aborted.
11-15-2021 10:51 PM
Has anybody solved this issue? I'm running into the same thing trying to upgrade 3850 after there was a rollback last year.
11-15-2021 11:58 PM
- Your install command has a an installation file with a .bin extension normally I would assume to be .pkg file in that command.
M.
11-16-2021 07:47 AM
NO, his command is correct, you download the .bin file from Cisco website (there is NO .pkg files to download), the "software install" command will extract the .pkg files from the .bin file and add them to the flash
11-16-2021 08:26 AM
- Could you use both the new and force options on the end of the command (as per documentation)
M.
11-16-2021 08:56 AM
yes used the new and force option but still got the same result;
3850#software install file flash:cat3k_caa-universalk9.16.12.05b.SPA.bin new force Preparing install operation ... [1]: Copying software from active switch 1 to switch 2 [1]: Finished copying software to switch 2 [1 2]: Starting install operation [1]: % File /flash/packages.conf.00- appears to be a rollback file. Operation aborted. [2]: % File /flash/packages.conf.00- appears to be a rollback file. Operation aborted. [1]: % An internal error was encountered. Operation aborted. [2]: % An internal error was encountered. Operation aborted.
11-16-2021 09:15 AM
- What is the output of show version ?
M.
11-17-2021 07:33 AM
3850#sh ver Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.04.E RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Sat 13-Feb-16 03:45 by prod_rel_team Cisco IOS-XE software, Copyright (c) 2005-2015 by cisco Systems, Inc. All rights reserved. Certain components of Cisco IOS-XE software are licensed under the GNU General Public License ("GPL") Version 2.0. The software code licensed under GPL Version 2.0 is free software that comes with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such GPL code under the terms of GPL Version 2.0. (http://www.gnu.org/licenses/gpl-2.0.html) For more details, see the documentation or "License Notice" file accompanying the IOS-XE software, or the applicable URL provided on the flyer accompanying the IOS-XE software. ROM: IOS-XE ROMMON BOOTLDR: CAT3K_CAA Boot Loader (CAT3K_CAA-HBOOT-M) Version 4.68, RELEASE SOFTWARE (P) 3850 uptime is 7 weeks, 1 day, 14 hours, 56 minutes Uptime for this control processor is 7 weeks, 1 day, 15 hours, 2 minutes System returned to ROM by reload at 20:25:05 EDT Mon Sep 27 2021 System restarted at 20:33:06 EDT Mon Sep 27 2021 System image file is "flash:packages.conf.00-" Last reload reason: Reload command This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. License Level: Ipservices License Type: Permanent Next reload license Level: Ipservices cisco WS-C3850-48T (MIPS) processor with 4194304K bytes of physical memory. Processor board ID 4 Virtual Ethernet interfaces 104 Gigabit Ethernet interfaces 8 Ten Gigabit Ethernet interfaces 2048K bytes of non-volatile configuration memory. 4194304K bytes of physical memory. 252000K bytes of Crash Files at crashinfo:. 252000K bytes of Crash Files at crashinfo-2:. 1611414K bytes of Flash at flash:. 1611414K bytes of Flash at flash-2:. 0K bytes of Dummy USB Flash at usbflash0-2:. 0K bytes of Dummy USB Flash at usbflash0:. 0K bytes of at webui:. Base Ethernet MAC Address : Motherboard Assembly Number : Motherboard Serial Number : Model Revision Number : Z0 Motherboard Revision Number : B0 Model Number : WS-C3850-48T System Serial Number : Switch Ports Model SW Version SW Image Mode ------ ----- ----- ---------- ---------- ---- * 1 56 WS-C3850-48T 03.06.04.E cat3k_caa-universalk9 INSTALL 2 56 WS-C3850-48T 03.06.04.E cat3k_caa-universalk9 INSTALL Switch 02 --------- Switch uptime : 7 weeks, 1 day, 15 hours, 2 minutes Base Ethernet MAC Address : Motherboard Assembly Number : Motherboard Serial Number : Model Revision Number : Z0 Motherboard Revision Number : B0 Model Number : WS-C3850-48T System Serial Number : Configuration register is 0x102
11-17-2021 10:20 AM
- You may try to safe the configuration externally with tftp or scp , then factory reset; install the intended software version and then restore the configuration which you saved earlier.
M.
11-17-2021 10:39 AM
This device is in production, so I cannot do that, its better to set up a replacement to swap out.
11-17-2021 12:11 PM
11-21-2021 08:13 PM
Can you do a show run | include boot? also, is there really not a packages.conf file in flash:? I see you have the packages.conf.01 file, but not the packages.conf file itself. Also your version output shows your image file being "flash:packages.conf.00" (probably the shadow copy from the rollback) rather than the flash:packages.conf file itself. If you verify that you don't have the right packages.conf file, it may be worth trying to delete the packages.conf.01 file and then doing a software expand command of the bin file. It should recreate the packages.conf. You can do a "more flash:packages.conf.01" to see what's in the file before you delete it.
11-22-2021 08:15 AM
So I was able to get a 3850 in lab to test and recreate the issue; I had previously upgraded from IOS XE 3.4.6 to 16.12.5b; then I did the below steps;
- the boot command had to be changed back to “boot system switch all flash:packages.conf”
- Finally the box was reloaded with “reload” command and the box came up successfully with the new IOS 16.12.5b
03-21-2024 08:49 AM - edited 03-21-2024 11:01 AM
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