Difference between revisions of "/etc/apt/sources.list"
Jump to navigation
Jump to search
↑ https://wiki.debian.org/SourcesList
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
+ | 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 == | ||
Line 11: | Line 21: | ||
* <code>[[do-release-upgrade]]</code>, [[Focal]] | * <code>[[do-release-upgrade]]</code>, [[Focal]] | ||
* <code>[[apt-cache policy]]</code> | * <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
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[edit]
- /etc/apt/sources.list[1]: Configuration files with locations to fetch packages from.
- /etc/apt/sources.list.d/: directory with additional source list fragments.
Errors[edit]
E: The repository 'http://us-west-2.ec2.archive.ubuntu.com/ubuntu kinetic Release' no longer has a Release file.
Related terms[edit]
apt update && apt upgrade
do-release-upgrade
, Focalapt-cache policy
/etc/apt/apt.conf.d/
apt-get source
See also[edit]
apt-get [ install | upgrade | update | source ], /etc/apt/sources.list
APT
:wajig
,apt-cache
,add-apt-repository
PPA,apt
[install
|remove
|purge | show | list | changelog
|update
|upgrade
],do-release-upgrade
,apt-mark
,apt full-upgrade
,sources.list
, APT Automatic updates,unattended-upgrade
,apt-transport-https
,apt-get update
,/etc/apt/
,/etc/apt/apt.conf.d/50unattended-upgrades
,/etc/apt/apt.conf.d/
,/etc/apt/apt.conf.d/20auto-upgrades
,apt-file, apt-utils
Advertising: