Difference between revisions of "Apt-get update"
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
apt-get update
apt-get install apt-get upgrade
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-cache
The following signatures were invalid
W: Some index files failed to download. They have been ignored, or old ones used instead.
FROM ubuntu:20.04 RUN apt-get update \ && apt-get install -y --no-install-recommends mysql-client \ && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["mysql"]
Related[edit]
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: