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

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
  cat /etc/apt/sources.list | grep -v "#"
+
  cat /etc/apt/sources.list | grep -v "#" | grep .
  
 
  cat /etc/apt/sources.list [[/etc/apt/sources.list.d/]]*
 
  cat /etc/apt/sources.list [[/etc/apt/sources.list.d/]]*

Revision as of 09:57, 14 March 2024

cat /etc/apt/sources.list | grep -v "#" | grep .
cat /etc/apt/sources.list /etc/apt/sources.list.d/*
apt-cache policy

Relevant configuration files and directories

  • /etc/apt/sources.list[1]: Configuration files with locations to fetch packages from.
  • /etc/apt/sources.list.d/: directory with additional source list fragments.


Related terms

See also

  • https://wiki.debian.org/SourcesList
  • Advertising: