Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

Workload: Linux CB Launcher Updates Fail To Fetch Version 1.2.0

Workload: Linux CB Launcher Updates Fail To Fetch Version 1.2.0

Environment

 
  • Workload: All supported versions
  • VMware vCenter: All supported versions

 

Symptoms

 
  • CB launcher for Workloads version 1.2 could not be fetched on Ubuntu and RPM based machines
  • Package update fails with “BADSIG 75C009EA8A6A826D VMware, Inc.” errors
  • CB Launcher downloads fails as it could not find expected launcher version in packages.vmware.com
$ sudo apt install cblauncher
The following packages were automatically installed and are no longer required:
…
…
…
After this operation, 0 B of additional disk space will be used.
Err:1 https://packages.vmware.com/cb/cblauncher/latest/ubuntu xenial/main amd64 cblauncher amd64 1.2.0
404 Not Found [IP: 104.88.200.26 443]
E: Failed to fetch https://packages.vmware.com/cb/cblauncher/latest/ubuntu/dists/xenial/main/binary-amd64/cblauncher_1.2.0-19323996_amd64.deb 404 Not Found [IP: 104.88.200.26 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
$

 

Cause

 
  • CBLauncher 1.2.0 version was rolled back and removed from VMWare servers
  • Due to several levels of caching involved (server, CDN, endpoint), updating repos are still picking version 1.2.0 from caches

Resolution

 

For Ubuntu based system:

  1. Edit cbluncher repo file. Copy the URL line and change 'latest' to 'recent'. Comment out ‘latest’ baseurl line. It will be used to restore when a newer version of cblauncher is released

            After edit, file will look like this

 
$ sudo cat /etc/apt/sources.list.d/cblauncher.list

# deb [arch=amd64] https://packages.vmware.com/cb/cblauncher/latest/ubuntu xenial main
deb [arch=amd64] https://packages.vmware.com/cb/cblauncher/recent/ubuntu xenial main

       2. Apt update and check policy of cblauncher to confirm it shows the latest GA version
$ sudo apt update
$ apt policy cblauncher
Expected output with the workaround: 
cblauncher:
   Installed: (none)
   Candidate: 1.1.0
   Version table:
  	1.1.0 500
  	500 https://packages.vmware.com/cb/cblauncher/recent/ubuntu xenial/main amd64 Packages

      3. Previous command will show the latest GA version like, 'Candidate: 1.1.0', this will install that version
$ sudo apt install cblauncher
 

For RPM based system:

  1. Edit /etc/yum.repos.d/cblauncher.repo. Copy baseurl line and change 'latest' to 'recent'.Comment out ‘latest’ baseurl line. It will be used to restore when the newer version of cblauncher is released

            After edit, file will look like this

 
$ sudo cat /etc/yum.repos.d/cblauncher.repo
 [repo-cblauncher]
 name=cblauncher repo
 #baseurl=https://packages.vmware.com/cb/cblauncher/latest/
 baseurl=https://packages.vmware.com/cb/cblauncher/recent/
 enabled=1
 gpgcheck=1

       2. Update yum repos with following command ( -v is for verbose) :
 
$ sudo yum update -v
$ sudo install cblauncher

      3. This will show the GA version, in this case 1.1.0 is installed

Labels (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎06-02-2022
Views:
948
Contributors