Difference between revisions of "/etc/apt/sources.list"

From wikieduonline
Jump to navigation Jump to search
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Draft}}
 
  
 +
cat /etc/apt/sources.list | grep -v "#" | grep .
 +
 +
cat /etc/apt/sources.list [[/etc/apt/sources.list.d/]]*
 +
[[apt-cache policy]]
 +
 +
  [[sed -Ei]] 's/^# deb-src /deb-src /' [[/etc/apt/]]sources.list
 +
[[apt update]]
 +
[[apt-get source]] PACKAGE
  
 
== Relevant configuration files and directories ==
 
== Relevant configuration files and directories ==
Line 6: Line 13:
 
* <kbd>/etc/apt/sources.list.d/</kbd>: directory with additional source list fragments.
 
* <kbd>/etc/apt/sources.list.d/</kbd>: directory with additional source list fragments.
  
 +
 +
== Errors ==
 +
E: The repository 'http://us-west-2.ec2.archive.ubuntu.com/ubuntu [[kinetic]] Release' [[no longer has a Release file]].
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[apt update]] && [[apt upgrade]]</code>
 
* <code>[[apt update]] && [[apt upgrade]]</code>
 
* <code>[[do-release-upgrade]]</code>, [[Focal]]
 
* <code>[[do-release-upgrade]]</code>, [[Focal]]
 +
* <code>[[apt-cache policy]]</code>
 +
* <code>[[/etc/apt/apt.conf.d/]]</code>
 +
* <code>[[apt-get source]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{apt-get}}
 
* {{APT}}
 
* {{APT}}
  
  
 
[[Category:APT]]
 
[[Category:APT]]

Latest revision as of 11:21, 10 October 2024

Advertising: