Wie kann man mit apt-cacher Mint und Google Chrome cachen?
393
dangonfast
Ich habe einen apt-cacher-ng
Server, der läuft. Ich sage apt
, es zu benutzen:
» cat /etc/apt/apt.conf.d/01proxy Acquire::http { Proxy "http://apt-cacher.mine"; };
Welche Art von Arbeit ist:
» sudo apt update Err:1 http://dl.google.com/linux/chrome/deb stable InRelease 503 DNS error for hostname linux: Name or service not known. If linux refers to a configured cache repository, please check the corresponding configuration file. [IP: 10.13.13.102 80] Err:2 http://packages.linuxmint.com tara InRelease 503 DNS error for hostname dists: Name or service not known. If dists refers to a configured cache repository, please check the corresponding configuration file. [IP: 10.13.13.102 80] Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease Get:5 http://archive.canonical.com/ubuntu bionic InRelease [242 kB] Hit:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Fetched 242 kB in 3s (88,6 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 6 packages can be upgraded. Run 'apt list --upgradable' to see them. W: Skipping acquire of configured file 'partner/i18n/Translation-en_US' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'partner' (component misspelt in sources.list?) W: Skipping acquire of configured file 'partner/dep11/Components-amd64.yml' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'partner' (component misspelt in sources.list?) W: Skipping acquire of configured file 'partner/cnf/Commands-amd64' as repository 'http://archive.canonical.com/ubuntu bionic InRelease' doesn't have the component 'partner' (component misspelt in sources.list?) W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease 503 DNS error for hostname linux: Name or service not known. If linux refers to a configured cache repository, please check the corresponding configuration file. [IP: 10.13.13.102 80] W: Failed to fetch http://packages.linuxmint.com/dists/tara/InRelease 503 DNS error for hostname dists: Name or service not known. If dists refers to a configured cache repository, please check the corresponding configuration file. [IP: 10.13.13.102 80] W: Some index files failed to download. They have been ignored, or old ones used instead.
Es scheint, dass die apt-cacher-ng
nicht wissen linuxmint
und google
. Es weiß davon (Standard-Konfiguration):
# Repository remapping. See manual for details. # In this example, some backends files might be generated during package # installation using information collected on the system. # Examples: Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian Archives Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu Archives Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol # Debian Volatile Archives Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # incomplete, please create this file or specify preferred mirrors here Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please create this file or specify preferred mirrors here Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch Linux Remap-fedora: file:fedora_mirrors # Fedora Linux Remap-epel: file:epel_mirrors # Fedora EPEL Remap-slrep: file:sl_mirrors # Scientific Linux Remap-gentoo: file:gentoo_mirrors.gz /gentoo ; file:backends_gentoo # Gentoo Archives
Wie kann ich Remap
Einträge für Linux Mint und Google Chrome definieren? Sie haben folgende Definitionen:
» cat /etc/apt/sources.list.d/google-chrome.list ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Und:
» cat /etc/apt/sources.list.d/official-package-repositories.list # Do not edit this file manually, use Software Sources instead. deb http://packages.linuxmint.com tara main upstream import backport #id:linuxmint_main deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ bionic partner
0 Antworten auf die Frage
Verwandte Probleme
-
3
Hat Chrome etwas Ähnliches zu den Suchbegriffen in Opera?
-
3
Wo befindet sich Google Chrome Crash Dump?
-
13
Wie bekomme ich eine neue Browsersitzung, wenn Sie in Firefox / Chrome eine neue Registerkarte oder...
-
8
Anzeigen von XML im Chrome-Browser
-
5
Suchfeld in Chrome
-
6
Firebug-ähnliche Anwendung für Chrom?
-
2
Gibt es eine Möglichkeit, alle Registerkarten in Chrome mit einem Lesezeichen zu versehen?
-
4
Wie kann ich Chrome-Abstürze beheben?
-
3
Wie verwende ich Greasemonkey-Skripte in Chrome?
-
4
Was ist die Funktion "Inspect Element" in Google Chrome?