After freeing some space after a flash cleanup, another error.
The error will cause to fill up the flash and i must delete the created files manually.
Preparing install operation ...
[1]: Starting install operation
[1]: Expanding bundle flash:cat3k_caa-universalk9.16.12.08.SPA.bin
[1]: Copying package files
[1]: Package files copied
[1]: Finished expanding bundle flash:cat3k_caa-universalk9.16.12.08.SPA.bin
[1]: Verifying and copying expanded package files to flash:
[1]: Verified and copied expanded package files to flash:
[1]: % Failed to create candidate tree. Operation aborted.
[1]: % An internal error was encountered. Operation aborted.
The error will cause to fill up the flash and i must delete the expanded package files manually.
running flash cleanup will recommend to delete including the new copied image.
copy the list of recommended files to be delted adn type "no" and press enter.
delete the listed files manually, keeping the new ios image.
Run the software installation again and add new force this time.
Switch# software install file flash:cat3k_caa-universalk9.16.12.08.SPA.bin new force
proceed with reload:
verify the updated after a reload:
Switch#show ver | i INSTALL
* 1 32 WS-C3850-24P 16.12.08 CAT3K_CAA-UNIVERSALK9 INSTALL
Then do a flash cleanup:
Before flash cleanup:
Switch#show flash:
-#- --length-- ---------date/time--------- path
2 2097152 Oct 20 2022 22:18:23.0000000000 +00:00 nvram_config
3 4096 Oct 20 2022 21:55:23.0000000000 +00:00 tech_support
4 15305 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/igmp-snooping.tcl
5 1612 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/igmpsn_dump.tcl
6 13515 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/mld-snooping.tcl
7 1612 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/mldsn_dump.tcl
8 15241 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/multicast.tcl
9 6284 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/multicast_dump.tcl
10 6718 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/multicast_ipv6.tcl
11 1365 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/platform-fabric-iid-ethernet.tcl
12 2107 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/platform-fabric-iid-ipv4.tcl
13 2109 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/platform-fabric-iid-ipv6.tcl
14 2729 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv4.tcl
15 2757 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv6.tcl
16 52402 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/platform-fabric-vrf-source.tcl
17 612 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/platform-fabric.tcl
18 1548 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/platform_evpn_vxlan.tcl
19 21852 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/port.tcl
20 3270 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/port_dump.tcl
21 7317 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/port_utils.tcl
22 15655 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/stack.tcl
23 4938 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/stackwise-virtual.tcl
24 38541 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/unicast.tcl
25 12653 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/unicast_dump.tcl
26 5162 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/unicast_ipv6.tcl
27 2864 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/unicast_ipv6_dump.tcl
28 336 Oct 20 2022 22:03:36.0000000000 +00:00 tech_support/utils.tcl
29 12829 Oct 20 2022 11:45:33.0000000000 +00:00 cfa.text
30 76 Oct 20 2022 22:03:40.0000000000 +00:00 boothelper.log
31 4096 Feb 26 2019 19:18:47.0000000000 +00:00 virtual-instance
32 66 Oct 20 2022 21:55:44.0000000000 +00:00 boothelper.old
33 4096 Oct 20 2022 22:14:40.0000000000 +00:00 .dbpersist
34 4096 Oct 20 2022 22:18:24.0000000000 +00:00 .dbpersist/DMI_STATE_DB
35 14942 Oct 20 2022 22:18:23.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB
36 86 Oct 20 2022 22:18:24.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB.meta
37 330 Oct 20 2022 22:18:24.0000000000 +00:00 .dbpersist/stats
38 1236 Feb 26 2019 19:03:01.0000000000 +00:00 packages.conf.00-
39 545 Oct 20 2022 22:05:16.0000000000 +00:00 rdope.log
40 23020160 Oct 20 2022 21:50:17.0000000000 +00:00 cat3k_caa-webui.16.12.08.SPA.pkg
41 4780 Oct 20 2022 21:50:21.0000000000 +00:00 packages.conf
42 4096 Oct 20 2022 22:03:19.0000000000 +00:00 .installer
43 4096 Oct 20 2022 21:55:28.0000000000 +00:00 .installer/issu_crash
44 629 Oct 20 2022 22:03:22.0000000000 +00:00 bootloader_evt_handle.log
45 4096 Feb 24 2019 12:58:18.0000000000 +00:00 core
46 4096 Oct 28 2017 21:49:40.0000000000 +00:00 core/modules
47 1 Oct 20 2022 22:35:33.0000000000 +00:00 core/.callhome
48 33627 Feb 24 2019 12:21:02.0000000000 +00:00 core/kernel.rp_RP-EDISON_0_20190224092352.txt
49 111222631 Feb 24 2019 12:23:52.0000000000 +00:00 core/kernel.rp_RP-EDISON_0_20190224092352.core.flat.gz
50 33686 Feb 24 2019 12:38:21.0000000000 +00:00 core/kernel.rp_RP-EDISON_0_20190224094058.txt
51 99627551 Feb 24 2019 12:40:58.0000000000 +00:00 core/kernel.rp_RP-EDISON_0_20190224094058.core.flat.gz
52 33686 Feb 24 2019 12:55:26.0000000000 +00:00 core/kernel.rp_RP-EDISON_0_20190224095818.txt
53 113815429 Feb 24 2019 12:58:18.0000000000 +00:00 core/kernel.rp_RP-EDISON_0_20190224095818.core.flat.gz
54 4096 Oct 20 2022 21:55:23.0000000000 +00:00 .prst_sync
55 331 Oct 20 2022 22:03:36.0000000000 +00:00 .prst_sync/log
56 37 Oct 20 2022 22:05:34.0000000000 +00:00 .prst_sync/reload_history
57 4096 Oct 28 2017 21:49:41.0000000000 +00:00 .rollback_timer
58 4096 Oct 20 2022 22:03:36.0000000000 +00:00 dc_profile_dir
59 281129 Oct 20 2022 22:03:36.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
60 281129 Oct 20 2022 21:55:24.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt.bkp
61 410435 Oct 20 2022 22:03:36.0000000000 +00:00 dc_profile_dir/dc_embedded_profiles.txt
62 410435 Oct 20 2022 22:03:36.0000000000 +00:00 dc_profile_dir/dc_embedded_profiles.txt.bkp
63 4096 Oct 28 2017 21:49:50.0000000000 +00:00 gs_script
64 132108 Oct 20 2022 22:03:58.0000000000 +00:00 memleak.tcl
65 0 Oct 20 2022 22:05:04.0000000000 +00:00 rdope_out.txt
66 35 Feb 27 2019 16:29:23.0000000000 +00:00 pnp-tech-time
67 14794 Feb 27 2019 16:29:37.0000000000 +00:00 pnp-tech-discovery-summary
68 916 Oct 19 2022 17:18:31.0000000000 +00:00 vlan.dat
69 20097668 Oct 20 2022 21:50:01.0000000000 +00:00 cat3k_caa-guestshell.16.12.08.SPA.pkg
70 4096 Feb 26 2019 19:18:47.0000000000 +00:00 vman_fdb
71 32791733 Oct 20 2022 21:50:01.0000000000 +00:00 cat3k_caa-rpbase.16.12.08.SPA.pkg
72 401236604 Oct 20 2022 21:50:15.0000000000 +00:00 cat3k_caa-rpcore.16.12.08.SPA.pkg
73 3418756 Oct 20 2022 21:50:15.0000000000 +00:00 cat3k_caa-srdriver.16.12.08.SPA.pkg
74 2097152 Oct 20 2022 22:18:23.0000000000 +00:00 nvram_config_bkup
75 4096 Oct 20 2022 22:05:27.0000000000 +00:00 onep
76 4096 Oct 20 2022 22:05:27.0000000000 +00:00 onep/apps-cli
77 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store
78 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file
79 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file/f
80 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file/f/fb
81 211 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file/f/fb/fbdb00b653a3412a841145c1b89a0d2e.cache
82 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file_lock
83 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file_lock/3
84 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file_lock/3/3b
85 0 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file_lock/3/3b/3b00d2e4d13f1aa79dc0cf3a34b6561175a0fc46.lock
86 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file_lock/1
87 4096 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file_lock/1/1b
88 0 Feb 26 2019 19:20:22.0000000000 +00:00 wnweb_store/container_file_lock/1/1b/1b87628f190693104723d1f22d502c001cb0d7dd.lock
89 6535 Feb 27 2019 15:54:41.0000000000 +00:00 wnweb.tgz
724692992 bytes available (814882816 bytes used)
Switch#request platform software package clean
This operation may take several minutes...
Running command on switch 1
Cleaning up unnecessary package files
No path specified, will use booted path flash:packages.conf
Cleaning flash:
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
cat3k_caa-guestshell.16.12.08.SPA.pkg
File is in use, will not delete.
cat3k_caa-rpbase.16.12.08.SPA.pkg
File is in use, will not delete.
cat3k_caa-rpcore.16.12.08.SPA.pkg
File is in use, will not delete.
cat3k_caa-srdriver.16.12.08.SPA.pkg
File is in use, will not delete.
cat3k_caa-webui.16.12.08.SPA.pkg
File is in use, will not delete.
packages.conf
File is in use, will not delete.
done.
The following files will be deleted:
[switch 1]:
/flash/packages.conf.00-
Do you want to proceed? [y/n]y
[switch 1]:
Deleting file flash:packages.conf.00- ... done.
SUCCESS: Files deleted.
After the Flash Cleanup:
Switch#dir flash:
Directory of flash:/
38722 -rw- 2097152 Oct 20 2022 22:18:23 +03:00 nvram_config
38726 drwx 4096 Oct 20 2022 21:55:23 +03:00 tech_support
38725 -rw- 12829 Oct 20 2022 11:45:33 +03:00 cfa.text
38765 -rw- 76 Oct 20 2022 22:03:40 +03:00 boothelper.log
38723 drwx 4096 Feb 26 2019 19:18:47 +03:00 virtual-instance
38733 -rw- 66 Oct 20 2022 21:55:44 +03:00 boothelper.old
38766 drwx 4096 Oct 20 2022 22:14:40 +03:00 .dbpersist
38768 -rw- 545 Oct 20 2022 22:05:16 +03:00 rdope.log
38744 -rw- 23020160 Oct 20 2022 21:50:17 +03:00 cat3k_caa-webui.16.12.08.SPA.pkg
38739 -rw- 4780 Oct 20 2022 21:50:21 +03:00 packages.conf
61953 drwx 4096 Oct 20 2022 22:03:19 +03:00 .installer
38729 -rw- 629 Oct 20 2022 22:03:22 +03:00 bootloader_evt_handle.log
69697 drwx 4096 Feb 24 2019 12:58:18 +03:00 core
77441 drwx 4096 Oct 20 2022 21:55:23 +03:00 .prst_sync
11 drwx 4096 Oct 28 2017 21:49:41 +03:00 .rollback_timer
7745 drwx 4096 Oct 20 2022 22:03:36 +03:00 dc_profile_dir
7747 drwx 4096 Oct 28 2017 21:49:50 +03:00 gs_script
38730 -rw- 132108 Oct 20 2022 22:03:58 +03:00 memleak.tcl
38767 -rw- 0 Oct 20 2022 22:05:04 +03:00 rdope_out.txt
38724 -rw- 35 Feb 27 2019 16:29:23 +03:00 pnp-tech-time
38728 -rw- 14794 Feb 27 2019 16:29:37 +03:00 pnp-tech-discovery-summary
38732 -rw- 916 Oct 19 2022 17:18:31 +03:00 vlan.dat
38740 -rw- 20097668 Oct 20 2022 21:50:01 +03:00 cat3k_caa-guestshell.16.12.08.SPA.pkg
46465 drwx 4096 Feb 26 2019 19:18:47 +03:00 vman_fdb
38741 -rw- 32791733 Oct 20 2022 21:50:01 +03:00 cat3k_caa-rpbase.16.12.08.SPA.pkg
38742 -rw- 401236604 Oct 20 2022 21:50:15 +03:00 cat3k_caa-rpcore.16.12.08.SPA.pkg
38743 -rw- 3418756 Oct 20 2022 21:50:15 +03:00 cat3k_caa-srdriver.16.12.08.SPA.pkg
38769 -rw- 2097152 Oct 20 2022 22:18:23 +03:00 nvram_config_bkup
38770 drwx 4096 Oct 20 2022 22:05:27 +03:00 onep
69705 drwx 4096 Feb 26 2019 19:20:22 +03:00 wnweb_store
38747 -rw- 6535 Feb 27 2019 15:54:41 +03:00 wnweb.tgz
1621966848 bytes total (724697088 bytes free)