Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

fix failed to fetch in apt-get update

This error can happen when fetching the latest repositories during "apt-get update" was interrupted, and a subsequent "apt-get update" is not able to resume the interrupted fetch. In this case, remove the content in /var/lib/apt/lists before retrying "apt-get update".

$ sudo rm -rf /var/lib/apt/lists/*
$ sudo apt-get update
If the above does not solve the problem, use the following commands instead.

$ sudo rm -R /var/lib/apt/lists/partial/*
$ sudo apt-get update
Comment

PREVIOUS NEXT
Code Example
Shell :: find out which procses is using port linux 
Shell :: CocoaPods specs repository is too out-of-date to satisfy dependencies. 
Shell :: iis stop 
Shell :: how to delete a remote branch in git 
Shell :: how to change git remote url 
Shell :: git load all submodules 
Shell :: ip address ubuntu 
Shell :: npm install mongoose error npm ERR! code ENOSELF 
Shell :: How to remove (uninstall) AnyDesk app in Modicia Linux 
Shell :: check flutter version of project from command line 
Shell :: upgrade keras version 
Shell :: ubuntu dconf editor install 
Shell :: compare two folders recursively linux 
Shell :: the remote end hung up unexpectedly fatal: 
Shell :: could not connect to development server 
Shell :: download draw.io for ubuntu 
Shell :: how to reload docker nginx 
Shell :: mpeg-4 aac decoder plugin for linux download 
Shell :: force yarn to reinstall all packages 
Shell :: adb server kill and start 
Shell :: Unrecognized command "eject" 
Shell :: install ssh ubuntu 20.04 
Shell :: install monodevelopment arch linux 
Shell :: reverse an array in bash scripting 
Shell :: git untrack file 
Shell :: install k3s 
Shell :: see git ignored files 
Shell :: install docker on debian 
Shell :: how to commit code to bitbucket first time 
Shell :: flutter add windows support to existing app 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =