Difference between revisions of "/etc/apt/sources.list"
Jump to navigation
Jump to search
↑ https://wiki.debian.org/SourcesList
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
[[sed -Ei]] 's/^# deb-src /deb-src /' [[/etc/apt/]]sources.list | [[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 11: | 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 == |
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: