Unable to Update the Best Practices packages

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

Unable to Update the Best Practices packages

L1 Bithead

My expedition is running on version 1.1.66, but I do not have any Best Practices packages.

Executing sudo bash /var/www/html/OS/BPA/updateBPA306.sh produces a lot of warnings and errors:

expedition@expedition:~$ sudo bash /var/www/html/OS/BPA/updateBPA306.sh
[sudo] password for expedition:
Cannot add PPA: 'ppa:~deadsnakes/ubuntu/ppa'.
ERROR: '~deadsnakes' user or team does not exist.
Hit:2 http://ppa.launchpad.net/adiscon/v8-stable/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Ign:4 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease
Ign:5 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial Release
Get:6 http://sgp1.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial InRelease [4,623 B]
Ign:7 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages.diff/Index
Ign:8 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main i386 Packages.diff/Index
Hit:9 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Ign:10 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en_US
Ign:12 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en.diff/Index
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Ign:14 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
Ign:15 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en_US
Get:16 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Ign:17 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en
Ign:14 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
Ign:15 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
Ign:11 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en_US
Ign:17 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en
Ign:14 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
Ign:15 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
Ign:18 https://conversionupdates.paloaltonetworks.com expedition-updates/ InRelease
Ign:11 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en_US
Ign:17 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en
Ign:14 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
Ign:15 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
Ign:19 https://conversionupdates.paloaltonetworks.com expedition-updates/ Release
Ign:11 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en_US
Ign:17 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en
Ign:14 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
Ign:15 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main i386 Packages
Ign:10 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main all Packages
Ign:20 https://conversionupdates.paloaltonetworks.com expedition-updates/ Packages.diff/Index
Ign:11 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en_US
Ign:17 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en
Err:14 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages
  403  Forbidden
Ign:15 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main i386 Packages
Ign:21 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en_US
Ign:17 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en
Ign:22 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en
Ign:23 https://conversionupdates.paloaltonetworks.com expedition-updates/ Packages
Ign:21 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en_US
Ign:22 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en
Ign:23 https://conversionupdates.paloaltonetworks.com expedition-updates/ Packages
Ign:21 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en_US
Ign:22 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en
Ign:23 https://conversionupdates.paloaltonetworks.com expedition-updates/ Packages
Ign:21 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en_US
Ign:22 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en
Hit:23 https://conversionupdates.paloaltonetworks.com expedition-updates/ Packages
Ign:21 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en_US
Ign:22 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en
Ign:21 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en_US
Ign:22 https://conversionupdates.paloaltonetworks.com expedition-updates/ Translation-en
Hit:1 https://www.rabbitmq.com/debian testing InRelease
Fetched 330 kB in 54s (5,999 B/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'https://conversionupdates.paloaltonetworks.com expedition-updates/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/xenial/main/binary-amd64/Packages  403  Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3.7-2to3' for regex 'python3.7'
Note, selecting 'python3.7-tk' for regex 'python3.7'
Note, selecting 'python3.7-gdbm' for regex 'python3.7'
Note, selecting 'libpython3.7-stdlib' for regex 'python3.7'
Note, selecting 'python3-gdbm' instead of 'python3.7-gdbm'
Note, selecting 'python3-tk' instead of 'python3.7-tk'
python3-gdbm is already the newest version (3.6.5-3~16.04.york4).
The following additional packages will be installed:
  blt libtcl8.6 libtk8.6 libxft2 libxss1 tk8.6-blt2.5
Suggested packages:
  blt-demo tcl8.6 tk8.6 tix python3-tk-dbg
The following NEW packages will be installed:
  blt libtcl8.6 libtk8.6 libxft2 libxss1 python3-tk tk8.6-blt2.5
0 upgraded, 7 newly installed, 0 to remove and 110 not upgraded.
Need to get 34.2 kB/2,226 kB of archives.
After this operation, 8,682 kB of additional disk space will be used.
Err:1 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 python3-tk amd64 3.6.5-3~16.04.york4
  403  Forbidden
E: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/pool/main/p/python3-stdlib-extensions/python3-tk_3.6.5-3~16.04.york4_amd64.deb  403  Forbidden

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Skipping best-practice-assessment-ngfw-pano as it is not installed.
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f03c57981d0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/lxml/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f03c57986a0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/lxml/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f03c5798390>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/lxml/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f03c57985f8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/lxml/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f03c5798a58>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/lxml/
Requirement already up-to-date: lxml in /usr/local/lib/python3.6/dist-packages (4.2.5)
Collecting matplotlib
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f73690ab240>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/matplotlib/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f73690abf28>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/matplotlib/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f73690ab048>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/matplotlib/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f73690ab908>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/matplotlib/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f73690ab0f0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/matplotlib/
  Could not find a version that satisfies the requirement matplotlib (from versions: )
No matching distribution found for matplotlib
sudo: python3.7: command not found
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
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d28318668>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pillow/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d28318ba8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pillow/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d28318da0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pillow/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d283185f8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pillow/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d28318278>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/pillow/
  Could not find a version that satisfies the requirement Pillow<=5.4.1 (from versions: )
No matching distribution found for Pillow<=5.4.1
Processing /var/www/html/OS/BPA/best_practice_assessment_ngfw_pano-master.zip
  Installing build dependencies ... error
  Complete output from command /usr/bin/python3.6 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9ttge4l7 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel:
  Collecting setuptools
    Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc284b37d68>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/
    Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc284b376d8>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/
    Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc284b37588>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/
    Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc284b377f0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/
    Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc284b37400>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/
    Could not find a version that satisfies the requirement setuptools (from versions: )
  No matching distribution found for setuptools

  ----------------------------------------
Command "/usr/bin/python3.6 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9ttge4l7 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel" failed with error code 1 in None
expedition@expedition:~$

How can I repair this (without starting from scratch?).

0 REPLIES 0
  • 2406 Views
  • 0 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!