Difference between revisions of "Apt-get update"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
  
 +
 +
To select specific repositories:
 +
find /etc/apt/sources.list.d -type f -name '*.list' -exec sudo apt-get update -o Dir::Etc::sourcelist="{}" ';'
  
 
  apt-get update -o Dir::Etc::sourcelist=[[/etc/apt/sources.list.d/]]avalanche.list
 
  apt-get update -o Dir::Etc::sourcelist=[[/etc/apt/sources.list.d/]]avalanche.list
Line 16: Line 19:
  
 
  [[W: Some index files failed to download. They have been ignored, or old ones used instead.]]
 
  [[W: Some index files failed to download. They have been ignored, or old ones used instead.]]
 +
 +
 +
{{run apt-get update}}
  
 
== Related ==
 
== Related ==
 
* <code>[[apt-get upgrade]]</code>
 
* <code>[[apt-get upgrade]]</code>
 
* <code>[[apt update]]</code>
 
* <code>[[apt update]]</code>
 +
* [[RUN]]
  
 
== See also ==
 
== See also ==

Latest revision as of 08:37, 24 May 2023

Advertising: