Skip to content

Instantly share code, notes, and snippets.

@lupupaulsv
Created March 26, 2019 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lupupaulsv/0e5d01d131deba6003a35641012e7ee4 to your computer and use it in GitHub Desktop.
Save lupupaulsv/0e5d01d131deba6003a35641012e7ee4 to your computer and use it in GitHub Desktop.
root@18124f226937:/etc/apt# apt update
Get:1 http://apt.postgresql.org jessie-pgdg InRelease [56.5 kB]
Get:2 http://security.debian.org jessie/updates InRelease [44.9 kB]
Get:3 https://deb.nodesource.com jessie InRelease [4584 B]
Get:4 https://deb.nodesource.com jessie/main Sources [20 B]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [822 kB]
Get:6 https://deb.nodesource.com jessie/main amd64 Packages [767 B]
Get:7 http://apt.postgresql.org jessie-pgdg/main amd64 Packages [200 kB]
Ign http://httpredir.debian.org jessie InRelease
Ign http://httpredir.debian.org jessie-updates InRelease
Hit http://httpredir.debian.org jessie Release.gpg
Ign http://httpredir.debian.org jessie-updates Release.gpg
Hit http://httpredir.debian.org jessie Release
Ign http://httpredir.debian.org jessie-updates Release
Get:8 http://httpredir.debian.org jessie/main amd64 Packages [9098 kB]
Err http://httpredir.debian.org jessie-updates/main amd64 Packages
Err http://httpredir.debian.org jessie-updates/main amd64 Packages
Err http://httpredir.debian.org jessie-updates/main amd64 Packages
Err http://httpredir.debian.org jessie-updates/main amd64 Packages
Err http://httpredir.debian.org jessie-updates/main amd64 Packages
404 Not Found
Fetched 10.2 MB in 9s (1127 kB/s)
W: Size of file /var/lib/apt/lists/apt.postgresql.org_pub_repos_apt_dists_jessie-pgdg_main_binary-amd64_Packages.gz is not what the server reported 199743 200587
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
@lupupaulsv
Copy link
Author

root@b1f6bc6b2cab:/# apt
apt 1.0.9.8 for amd64 compiled on Apr 13 2015 12:50:11
Usage: apt [options] command

CLI for apt.
Basic commands:
list - list packages based on package names
search - search in package descriptions
show - show package details

update - update list of available packages

install - install packages
remove - remove packages

upgrade - upgrade the system by installing/upgrading packages
full-upgrade - upgrade the system by removing/installing/upgrading packages

edit-sources - edit the source information file

@lupupaulsv
Copy link
Author

root@b1f6bc6b2cab:/# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
Pinned packages:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment