Updating Expedition VM beyond 1.1.57.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Updating Expedition VM beyond 1.1.57.1

L2 Linker

My Expedition VM is currently running version 1.1.57.1.

 

I happened to notice from the Expedition release notes that there are hot fixes up to version 1.1.79.1.

 

I attempted the regular Expedition VM update and it didn't seem to get me anywhere. I've included the output when I attempt to update Expedition below. I couldn't locate any documentation on the LIVEcommunity for a similar issue.

 

Has the Expedition VM stopped receiving further updates?

 

Any help on this is appreciated.

 

expedition@Expedition:~$ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 0s (301 kB/s)
Reading package lists... Done
expedition@Expedition:~$ sudo apt-get install expedition-beta
Reading package lists... Done
Building dependency tree
Reading state information... Done
expedition-beta is already the newest version (1.1.57.1).
0 upgraded, 0 newly installed, 0 to remove and 604 not upgraded.
expedition@Expedition:~$ sudo bash /var/www/html/OS/BPA/updateBPA306.sh
gpg: keyring `/tmp/tmpfem5rf_s/secring.gpg' created
gpg: keyring `/tmp/tmpfem5rf_s/pubring.gpg' created
gpg: requesting key 6A755776 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpfem5rf_s/trustdb.gpg: trustdb created
gpg: key 6A755776: public key "Launchpad PPA for deadsnakes" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 0s (264 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.7 is already the newest version (3.7.9-1+xenial1).
0 upgraded, 0 newly installed, 0 to remove and 604 not upgraded.
WARNING: Skipping best-practice-assessment-ngfw-pano as it is not installed.
Requirement already up-to-date: lxml in /usr/local/lib/python3.7/dist-packages (4.5.2)
Requirement already up-to-date: matplotlib in /usr/local/lib/python3.7/dist-packages (3.3.1)
Requirement already satisfied, skipping upgrade: certifi>=2020.06.20 in /usr/local/lib/python3.7/dist-packages (from matplotlib) (2020.6.20)
Requirement already satisfied, skipping upgrade: numpy>=1.15 in /usr/local/lib/python3.7/dist-packages (from matplotlib) (1.17.4)
Requirement already satisfied, skipping upgrade: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /usr/local/lib/python3.7/dist-packages (from matplotlib) (2.4.5)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib) (2.8.1)
Requirement already satisfied, skipping upgrade: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib) (0.10.0)
Collecting pillow>=6.2.0
Using cached Pillow-7.2.0-cp37-cp37m-manylinux1_x86_64.whl (2.2 MB)
Requirement already satisfied, skipping upgrade: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib) (1.1.0)
Requirement already satisfied, skipping upgrade: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.1->matplotlib) (1.10.0)
Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/python3.7/dist-packages (from kiwisolver>=1.0.1->matplotlib) (41.6.0)
Installing collected packages: pillow
Attempting uninstall: pillow
Found existing installation: Pillow 5.4.1
Uninstalling Pillow-5.4.1:
Successfully uninstalled Pillow-5.4.1
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

bpa 3.21.3 requires Pillow<=5.4.1, but you'll have pillow 7.2.0 which is incompatible.
Successfully installed pillow-7.2.0
The directory '/home/expedition/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/expedition/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pip
Downloading https://files.pythonhosted.org/packages/5a/4a/39400ff9b36e719bdf8f31c99fe1fa7842a42fa77432e584f707a5... (1.5MB)
100% |████████████████████████████████| 1.5MB 3.3MB/s
bpa 3.21.3 has requirement Pillow<=5.4.1, but you'll have pillow 7.2.0 which is incompatible.
Installing collected packages: pip
Found existing installation: pip 20.2.2
Uninstalling pip-20.2.2:
Successfully uninstalled pip-20.2.2
Successfully installed pip-20.2.2
ln: failed to create symbolic link '/usr/local/bin/python3': File exists
ln: failed to create symbolic link '/usr/local/bin/pip3': File exists
Collecting Pillow<=5.4.1
Using cached Pillow-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB)
Installing collected packages: Pillow
Attempting uninstall: Pillow
Found existing installation: Pillow 7.2.0
Uninstalling Pillow-7.2.0:
Successfully uninstalled Pillow-7.2.0
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

matplotlib 3.3.1 requires pillow>=6.2.0, but you'll have pillow 5.4.1 which is incompatible.
Successfully installed Pillow-5.4.1
Processing /var/www/html/OS/BPA/best_practice_assessment_ngfw_pano-master.zip
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Requirement already satisfied, skipping upgrade: Pillow<=5.4.1 in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (5.4.1)
Requirement already satisfied, skipping upgrade: lxml in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (4.5.2)
Requirement already satisfied, skipping upgrade: pandas>=0.22.0 in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (0.25.3)
Requirement already satisfied, skipping upgrade: dataclasses in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (0.6)
Requirement already satisfied, skipping upgrade: iptools in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (0.7.0)
Requirement already satisfied, skipping upgrade: PyMySQL in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (0.9.3)
Requirement already satisfied, skipping upgrade: seaborn in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (0.9.0)
Requirement already satisfied, skipping upgrade: XlsxWriter in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (1.2.5)
Requirement already satisfied, skipping upgrade: pendulum in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (2.0.5)
Requirement already satisfied, skipping upgrade: svglib<=0.9.0 in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (0.9.0)
Requirement already satisfied, skipping upgrade: requests in /usr/lib/python3/dist-packages (from BPA==3.21.3) (2.9.1)
Requirement already satisfied, skipping upgrade: SQLAlchemy in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (1.3.11)
Requirement already satisfied, skipping upgrade: xlrd in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (1.2.0)
Requirement already satisfied, skipping upgrade: six in /usr/lib/python3/dist-packages (from BPA==3.21.3) (1.10.0)
Requirement already satisfied, skipping upgrade: reportlab<=3.5.18 in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (3.5.18)
Requirement already satisfied, skipping upgrade: Jinja2 in /usr/local/lib/python3.7/dist-packages (from BPA==3.21.3) (2.10.3)
Requirement already satisfied, skipping upgrade: python-dateutil>=2.6.1 in /usr/local/lib/python3.7/dist-packages (from pandas>=0.22.0->BPA==3.21.3) (2.8.1)
Requirement already satisfied, skipping upgrade: pytz>=2017.2 in /usr/local/lib/python3.7/dist-packages (from pandas>=0.22.0->BPA==3.21.3) (2019.3)
Requirement already satisfied, skipping upgrade: numpy>=1.13.3 in /usr/local/lib/python3.7/dist-packages (from pandas>=0.22.0->BPA==3.21.3) (1.17.4)
Requirement already satisfied, skipping upgrade: scipy>=0.14.0 in /usr/local/lib/python3.7/dist-packages (from seaborn->BPA==3.21.3) (1.3.2)
Requirement already satisfied, skipping upgrade: matplotlib>=1.4.3 in /usr/local/lib/python3.7/dist-packages (from seaborn->BPA==3.21.3) (3.3.1)
Requirement already satisfied, skipping upgrade: pytzdata>=2018.3 in /usr/local/lib/python3.7/dist-packages (from pendulum->BPA==3.21.3) (2019.3)
Requirement already satisfied, skipping upgrade: tinycss2>=0.6.0 in /usr/local/lib/python3.7/dist-packages (from svglib<=0.9.0->BPA==3.21.3) (1.0.2)
Requirement already satisfied, skipping upgrade: cssselect2>=0.2.0 in /usr/local/lib/python3.7/dist-packages (from svglib<=0.9.0->BPA==3.21.3) (0.2.2)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /usr/local/lib/python3.7/dist-packages (from Jinja2->BPA==3.21.3) (1.1.1)
Requirement already satisfied, skipping upgrade: certifi>=2020.06.20 in /usr/local/lib/python3.7/dist-packages (from matplotlib>=1.4.3->seaborn->BPA==3.21.3) (2020.6.20)
Requirement already satisfied, skipping upgrade: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /usr/local/lib/python3.7/dist-packages (from matplotlib>=1.4.3->seaborn->BPA==3.21.3) (2.4.5)
Requirement already satisfied, skipping upgrade: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib>=1.4.3->seaborn->BPA==3.21.3) (1.1.0)
Requirement already satisfied, skipping upgrade: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib>=1.4.3->seaborn->BPA==3.21.3) (0.10.0)
Requirement already satisfied, skipping upgrade: webencodings>=0.4 in /usr/local/lib/python3.7/dist-packages (from tinycss2>=0.6.0->svglib<=0.9.0->BPA==3.21.3) (0.5.1)
Requirement already satisfied, skipping upgrade: setuptools>=39.2.0 in /usr/local/lib/python3.7/dist-packages (from tinycss2>=0.6.0->svglib<=0.9.0->BPA==3.21.3) (41.6.0)
Building wheels for collected packages: BPA
Building wheel for BPA (PEP 517) ... done
Created wheel for BPA: filename=BPA-3.21.3-py3-none-any.whl size=2232529 sha256=fb9d6b843703f54a4f81b22b7e4a6359e4f9749e420fbe19d3462f6a24673dae
Stored in directory: /root/.cache/pip/wheels/c3/c1/c1/03a40ae23b0210b5bfa1961f3d65264c9b62e4218ddb58d2d9
Successfully built BPA
Installing collected packages: BPA
Attempting uninstall: BPA
Found existing installation: BPA 3.21.3
Uninstalling BPA-3.21.3:
Successfully uninstalled BPA-3.21.3
Successfully installed BPA-3.21.3
expedition@Expedition:~$

 

1 accepted solution

Accepted Solutions

Instead of using the Legacy VM, I would suggest creating a VM with Ubuntu 16.04 and using the installer.

In the main page of this Live Community Site you will find a video showing how to perform the installation

View solution in original post

4 REPLIES 4

L5 Sessionator

This is because the repository where the installed is located changed between those versions.

 

There is a post in the live community explaining how to update your repository, but I could even better advise you to install a new Expedition VM if you do not have projects that you should maintain and keep working on.

@dgildelaig 

 

Thank you for your prompt response. So, do I just download the new VM using the "Get the Legacy Expedition VM" link at https://live.paloaltonetworks.com/t5/expedition-migration-tool/ct-p/migration_tool ?

Instead of using the Legacy VM, I would suggest creating a VM with Ubuntu 16.04 and using the installer.

In the main page of this Live Community Site you will find a video showing how to perform the installation

Yeah, I figured when I couldn't upload the Legacy VM...Lol.

  • 1 accepted solution
  • 5306 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!