I am trying to upgrade the OS on Nexus N9K-C93240-YC-FX2 switches.
Boot mode was switched to LXC.
md5/sha512 hashes of the OS are OK
I get
Pre-upgrade check failed. Return code 0x40930016 (Invalid request).
tl;dr
NEW# install all package bootflash:nx
bootflash:nxos.10.1.2.bin bootflash:nxos64-cs.10.4.2.F.bin
NEW# install all package bootflash:nxos64-cs.10.4.2.F.bin
Installer will perform compatibility check first. Please wait.
Installer is forced disruptive
"Target NXOS image is required to be mentioned with patch option".
Pre-upgrade check failed. Return code 0x40930016 (Invalid request).
NEW# show ver
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2021, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source. This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or
GNU General Public License (GPL) version 3.0 or the GNU
Lesser General Public License (LGPL) Version 2.1 or
Lesser General Public License (LGPL) Version 2.0.
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.
Software
BIOS: version 05.43
NXOS: version 10.1(2)
NEW-nxinf16-1# show boot mode
Current mode is LXC.