Not able to update expedition to latest version due to error on $apt-get update

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
L6 Presenter
100% helpful (1/1)

Question

 

I am getting below errors when issue $sudo apt-get update to update expedition to the latest package, how do I fix it ?

 

Err:14 https://conversionupdates.paloaltonetworks.com expedition-updates/ Packages
Could not open file /var/lib/apt/lists/partial/conversionupdates.paloaltonetworks.com_expedition-updates_Packages.gz - open (13: Permission denied)
Fetched 114 kB in 1s (57.0 kB/s)
Reading package lists... Done
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 https://conversionupdates.paloaltonetworks.com/expedition-updates/Packages Could not open file /var/lib/apt/lists/partial/conversionupdates.paloaltonetworks.com_expedition-updates_Packages.gz - open (13: Permission denied)
E: Some index files failed to download. They have been ignored, or old ones used instead.

 

Answer

 

Run below command:

sudo rm /var/lib/apt/lists/partial/*

Then run below commands for updating Expedition to the latest version:

sudo apt-get update
sudo apt-get install expedition-beta

 

Rate this article:
(1)
Comments
L0 Member

Did not work

 

expedition@Expedition:/var/lib/apt/lists$ sudo rm partial/*
rm: cannot remove 'partial/*': No such file or directory
expedition@Expedition:/var/lib/apt/lists$ ls -l par*
ls: cannot open directory 'partial': Permission denied
expedition@Expedition:/var/lib/apt/lists$ sudo ls -l par*
total 4
lrwxrwxrwx 1 root root 85 Jul 11 2021 conversionupdates.paloaltonetworks.com_expedition-updates_Packages.gz -> /var/lib/apt/lists/conversionupdates.paloaltonetworks.com_expedition-updates_Packages
expedition@Expedition:/var/lib/apt/lists$ pwd
/var/lib/apt/lists
expedition@Expedition:/var/lib/apt/lists$ ls -l
total 198484
-rw-r--r-- 1 root root 0 Jul 10 2021 conversionupdates.paloaltonetworks.com_expedition-updates_Packages
-rw-r----- 1 root root 0 Jul 19 2016 lock
drwx------ 2 _apt root 16384 Feb 3 09:37 partial

L6 Presenter

@ldavis Try below commands:

 

$su  (This will prompt you to enter root password)

$rm /var/lib/apt/lists/partial/*

  • 5223 Views
  • 2 comments
  • 4 Likes
Register or Sign-in
Contributors
Article Dashboard
Version history
Last Updated:
‎10-21-2021 08:38 AM
Updated by: