我想升级,但我在下面得到这个:
它应该在今天 4 月 21 日发布我不明白吗?
我已经从 Ubuntu 20.10 升级到 21.04,现在当我运行时:
sudo apt update
sudo apt-get upgrade
我在下面收到与 PostFix 相关的此错误。
我怎么解决这个问题?
Hit:1 http://archive.ubuntu.com/ubuntu hirsute InRelease
Hit:2 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu hirsute-backports InRelease
Hit:4 http://archive.ubuntu.com/ubuntu hirsute-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
gcc-10-base:i386 gnome-shell-extension-desktop-icons libaom0:i386 libaribb24-0:i386 libasync-mergepoint-perl libavcodec-extra58:i386 libavutil56:i386
libboost-date-time1.71.0 libboost-filesystem1.71.0 libboost-iostreams1.71.0 libboost-locale1.71.0 libboost-python1.71.0 libbrlapi0.7 libcodec2-0.9:i386
libdav1d4:i386 libfuture-perl libgdk-pixbuf-xlib-2.0-0:i386 libgdk-pixbuf2.0-0:i386 libgomp1:i386 libio-async-loop-epoll-perl libio-async-perl libisl22 libjs-sizzle
libjuh-java libjurt-java liblibreoffice-java liblinux-epoll-perl libmetrics-any-perl libmp3lame0:i386 libmysqlclient21 libmysqlclient21:i386 libnuma1:i386
libopencore-amrnb0:i386 libopencore-amrwb0:i386 liborcus-0.15-0 liborcus-parser-0.15-0 libperl5.30 libperl5.30:i386 libpgm-5.2-0 libpodofo0.9.6 libpoppler102
libpoppler102:i386 libpython3.8-dev libraw19 libre2-8 libreadline5 libridl-java libsereal-perl libshine3:i386 libsnappy1v5:i386 libsnmp35 libsnmp35:i386
libsoxr0:i386 libspeex1:i386 libstd-rust-1.47 libstruct-dumb-perl libswresample3:i386 libtest-fatal-perl libtest-metrics-any-perl libtest-refcount-perl
libtwolame0:i386 libunoloader-java libvdpau1:i386 libvo-amrwbenc0:i386 libvpx6:i386 libwavpack1:i386 libwebpmux3:i386 libx264-160:i386 libx265-192:i386
libxml-writer-perl libxvidcore4:i386 libzvbi0:i386 linux-headers-5.8.0-49 linux-headers-5.8.0-49-generic linux-image-5.8.0-49-generic linux-modules-5.8.0-49-generic
linux-modules-extra-5.8.0-49-generic mesa-vdpau-drivers:i386 mysql-common node-ansi-align node-arrify node-bl node-bluebird node-boxen node-builtin-modules
node-call-limit node-camelcase node-ci-info node-cli-boxes node-cliui node-co node-concat-stream node-config-chain node-configstore node-cross-spawn
node-crypto-random-string node-cyclist node-debbundle-es-to-primitive node-decamelize node-decompress-response node-deep-extend node-define-properties
node-detect-indent node-detect-newline node-dot-prop node-duplexer3 node-duplexify node-editor node-end-of-stream node-errno node-es-abstract node-es6-promise
node-execa node-find-up node-flush-write-stream node-from2 node-fs-vacuum node-genfun node-get-caller-file node-get-stream node-got node-has-symbol-support-x
node-has-to-string-tag-x node-import-lazy node-invert-kv node-is-buffer node-is-npm node-is-obj node-is-object node-is-path-inside node-is-plain-obj
node-is-retry-allowed node-is-stream node-isurl node-jquery node-json-buffer node-kind-of node-latest-version node-lazy-property node-lcid node-libnpx
node-locate-path node-lodash node-lodash-packages node-lowercase-keys node-make-dir node-mem node-merge-stream node-mimic-fn node-mimic-response node-minimist
node-mississippi node-npm-run-path node-object-inspect node-os-locale node-os-tmpdir node-p-cancelable node-p-finally node-p-is-promise node-p-limit node-p-locate
node-p-timeout node-package-json node-parallel-transform node-path-exists node-path-is-inside node-pify node-prepend-http node-proto-list node-prr node-pseudomap
node-pump node-pumpify node-qw node-rc node-registry-auth-token node-registry-url node-require-directory node-require-main-filename node-semver-diff node-sha
node-shebang-command node-shebang-regex node-slide node-sorted-object node-stream-each node-stream-iterate node-stream-shift node-strict-uri-encode node-strip-eof
node-strip-json-comments node-term-size node-through2 node-timed-out node-typedarray node-uid-number node-unique-string node-unpipe node-url-parse-lax
node-url-to-options node-which-module node-widest-line node-wrap-ansi node-xdg-basedir node-xtend node-y18n node-yargs node-yargs-parser ocl-icd-libopencl1:i386
perl-modules-5.30 python3.8 python3.8-dev python3.8-minimal python3.8-venv shim ure-java vdpau-driver-all:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up postfix (3.5.6-1) ...
Postfix (main.cf) configuration was not changed. If you need to make changes,
edit /etc/postfix/main.cf (and others) as needed. To view Postfix
configuration values, see postconf(1).
After modifying main.cf, be sure to run 'systemctl reload postfix'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: kubernetes-worker..
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: kubernetes-worker..
dpkg: error processing package postfix (--configure):
installed postfix package post-installation script subprocess returned error exit status 75
Processing triggers for libc-bin (2.33-0ubuntu5) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
我正在使用 Ubuntu 20.10,我正在尝试获取最新的签名密钥,当我这样做时,我得到了这些行:
root@kubernetes-worker:/home/jonteyh# curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2537 100 2537 0 0 14016 0 --:--:-- --:--:-- --:--:-- 14094
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
我在这里收到一条apt-key
已弃用的警告消息。我该如何解决这个问题?
有什么方法我应该删除文件trusted.gpg.d
或编辑它?
我尝试过使用 sudo apt-get update 和 sudo apt-get upgrade。我得到这个错误与 kubernetes 错误:我已经尝试使用以下以下命令:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
但它没有奏效!我怎样才能解决这个问题?是不是我必须以某种方式拿到钥匙?
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu disco InRelease
Hit:3 https://download.docker.com/linux/ubuntu focal InRelease
Hit:4 http://apt.postgresql.org/pub/repos/apt groovy-pgdg InRelease
Hit:5 http://archive.ubuntu.com/ubuntu groovy InRelease
Hit:6 http://ppa.launchpad.net/kritalime/ppa/ubuntu disco InRelease
Get:7 http://archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB]
Ign:8 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:9 http://repo.vivaldi.com/stable/deb stable Release
Get:11 http://archive.ubuntu.com/ubuntu groovy-backports InRelease [101 kB]
Hit:12 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
Get:13 http://archive.ubuntu.com/ubuntu groovy-security InRelease [110 kB]
Hit:14 https://download.sublimetext.com apt/stable/ InRelease
Get:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease [9 383 B]
Hit:15 https://packagecloud.io/AtomEditor/atom/any any InRelease
Get:17 http://archive.ubuntu.com/ubuntu groovy-updates/main amd64 DEP-11 Metadata [40,7 kB]
Get:18 http://archive.ubuntu.com/ubuntu groovy-updates/universe amd64 DEP-11 Metadata [104 kB]
Get:19 http://archive.ubuntu.com/ubuntu groovy-updates/multiverse amd64 DEP-11 Metadata [2 468 B]
Get:20 http://archive.ubuntu.com/ubuntu groovy-backports/universe amd64 DEP-11 Metadata [600 B]
Get:21 http://archive.ubuntu.com/ubuntu groovy-security/main amd64 DEP-11 Metadata [4 676 B]
Get:22 http://archive.ubuntu.com/ubuntu groovy-security/universe amd64 DEP-11 Metadata [4 564 B]
Err:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <[email protected]> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB
Reading package lists... Done
W: GPG error: https://packages.cloud.google.com/apt kubernetes-xenial InRelease: The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <[email protected]> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB
E: The repository 'http://apt.kubernetes.io kubernetes-xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details
当我做
sudo apt-get update
sudo apt-get upgrade
我在下面收到这些错误:
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu disco InRelease
Hit:3 http://archive.ubuntu.com/ubuntu groovy InRelease
Ign:4 http://repo.vivaldi.com/stable/deb stable InRelease
Ign:6 http://archive.ubuntu.com/ubuntu groovy-updates InRelease
Hit:7 http://repo.vivaldi.com/stable/deb stable Release
Hit:8 https://download.docker.com/linux/ubuntu focal InRelease
Hit:5 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
Hit:9 http://apt.postgresql.org/pub/repos/apt groovy-pgdg InRelease
Ign:10 http://archive.ubuntu.com/ubuntu groovy-backports InRelease
Ign:11 http://archive.ubuntu.com/ubuntu groovy-security InRelease
Hit:12 http://archive.ubuntu.com/ubuntu groovy-updates Release
Hit:13 http://archive.ubuntu.com/ubuntu groovy-backports Release
Hit:14 http://archive.ubuntu.com/ubuntu groovy-security Release
Hit:15 https://download.sublimetext.com apt/stable/ InRelease
Hit:16 https://packagecloud.io/AtomEditor/atom/any any InRelease
Reading package lists... Done
W: Conflicting distribution: http://archive.ubuntu.com/ubuntu groovy InRelease (expected groovy but got groovy-pgdg)
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't support architecture 'i386'
W: Skipping acquire of configured file 'restricted/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu groovy InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
下面我有我的sources.list
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ disco main restricted
# # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu groovy main restricted
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu groovy-updates main restricted
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu groovy universe
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco universe
deb http://archive.ubuntu.com/ubuntu groovy-updates universe
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu groovy multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://archive.ubuntu.com/ubuntu groovy-updates multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu groovy-backports main restricted universe multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu disco partner
# deb-src http://archive.canonical.com/ubuntu disco partner
deb http://archive.ubuntu.com/ubuntu groovy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://archive.ubuntu.com/ubuntu groovy-security universe
# deb-src http://security.ubuntu.com/ubuntu disco-security universe
deb http://archive.ubuntu.com/ubuntu groovy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu disco-security multiverse
# deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable # disabled on upgrade to eoan disabled on upgrade to focal
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main # disabled on upgrade to eoan disabled on upgrade to focal
deb-src [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main # disabled on upgrade to focal disabled on upgrade to groovy
deb https://cli-assets.heroku.com/branches/stable/apt ./ # disabled on upgrade to eoan disabled on upgrade to groovy
# deb-src https://cli-assets.heroku.com/branches/stable/apt ./
# deb https://deb.torproject.org/torproject.org focal main # disabled on upgrade to eoan disabled on upgrade to focal
# deb https://dl.winehq.org/wine-builds/ubuntu/ focal main # disabled on upgrade to eoan disabled on upgrade to focal
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ disco main
# deb [trusted=yes] https://repo.vivaldi.com/archive/deb/ stable main # disabled on upgrade to eoan disabled on upgrade to focal
# deb-src https://repo.vivaldi.com/deb [trusted=yes] https://repo.vivaldi.com/archive/deb/ stable mainarchive/deb/ stable main
# deb-src https://repo.vivaldi.com/archive/deb/ stable main
# deb-src [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ focal main # disabled on upgrade to focal
# deb-src https://repo.vivaldi.com/archive/deb/ stable main
# deb [arch=i386,amd64] http://repo.vivaldi.com/stable/deb/ stable main
# deb-src [arch=i386,amd64] http://repo.vivaldi.com/stable/deb/ stable main
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable
# deb-src https://repo.vivaldi.com/archive/deb/ stable main
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
# deb http://apt.kubernetes.io/ kubernetes-xenial main # disabled on upgrade to groovy
# deb-src http://apt.kubernetes.io/ kubernetes-xenial main
我该如何解决这些错误,或者它与我的硬件有关?
我sudo apt update
在终端中运行等等,然后我得到了这个错误。我无法复制和粘贴此错误代码,所以我想知道可能是什么问题。是权限问题还是其他问题?
An error occurred, please run Package Manager from the right-click menu
or apt-get in a terminal to see what is wrong
错误信息:
Error: Opening the cache (E:can not open /var/lib/apt/lists/download.docker.com linux_ubuntu_dists_focal InRelease
- fopen (13: Permission denied),
E:The package lists or status file could not be parsed or opened.
This usually means that your installed packages have unmet dependencies.
当我尝试 sudo apt-get update 和 sudo apt-get upgrad 时,出现以下错误: 发生这些错误:
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1 811 B]
Hit:2 http://archive.ubuntu.com/ubuntu groovy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu groovy-updates InRelease
Hit:4 http://ppa.launchpad.net/git-core/ppa/ubuntu disco InRelease
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Hit:6 http://archive.ubuntu.com/ubuntu groovy-backports InRelease
Hit:7 http://archive.ubuntu.com/ubuntu groovy-security InRelease
Ign:8 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:9 http://apt.postgresql.org/pub/repos/apt groovy-pgdg InRelease
Hit:10 http://repo.vivaldi.com/stable/deb stable Release
Hit:11 http://packages.microsoft.com/repos/code stable InRelease
Hit:13 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease
Hit:14 https://download.sublimetext.com apt/stable/ InRelease
Get:12 https://packages.cloud.google.com/apt kubernetes-xenial InRelease [9 383 B]
Hit:16 https://packagecloud.io/AtomEditor/atom/any any InRelease
Reading package lists... Done
E: Repository 'http://dl.google.com/linux/chrome/deb stable InRelease' changed its 'Origin' value from 'kubernetes-xenial' to 'Google LLC'
E: Repository 'http://dl.google.com/linux/chrome/deb stable InRelease' changed its 'Label' value from 'kubernetes-xenial' to 'Google'
N: Repository 'http://dl.google.com/linux/chrome/deb stable InRelease' changed its 'Version' value from '' to '1.0'
N: Repository 'http://dl.google.com/linux/chrome/deb stable InRelease' changed its 'Suite' value from 'kubernetes-xenial' to 'stable'
E: Repository 'http://dl.google.com/linux/chrome/deb stable InRelease' changed its 'Codename' value from 'kubernetes-xenial' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
问题是什么?
当我只运行 sudo apt-get updata 和 sudo apt-get upgrade 时,我在下面收到此错误:
Setting up sssd-common (2.3.1-3ubuntu4) ...
Warning: found usr.sbin.sssd in /etc/apparmor.d/force-complain, forcing complain mode
Warning from /etc/apparmor.d/usr.sbin.sssd (/etc/apparmor.d/usr.sbin.sssd line 59): Caching disabled for: 'usr.sbin.sssd' due to force complain
sssd-autofs.service is a disabled or a static unit not running, not starting it.
sssd-nss.service is a disabled or a static unit not running, not starting it.
sssd-pam.service is a disabled or a static unit not running, not starting it.
sssd-ssh.service is a disabled or a static unit not running, not starting it.
sssd-sudo.service is a disabled or a static unit not running, not starting it.
A dependency job for sssd-autofs.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-nss.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-pam-priv.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-pam.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-ssh.socket failed. See 'journalctl -xe' for details.
A dependency job for sssd-sudo.socket failed. See 'journalctl -xe' for details.
我的问题是这个错误很危险,或者我的电脑太旧了,这个错误意味着什么我只是想知道我不能做什么或者这意味着什么?
当我尝试将我的 Ubuntu 19.10 升级到 20.04 时,我遇到了这个问题。
[tor apr 23 18:45:46] Jonathan@Whats next?:~$ sudo apt install update-manager-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
update-manager-core is already the newest version (1:19.04.8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[tor apr 23 18:46:09] Jonathan@Whats next?:~$ do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1 554 B]
Get:2 Upgrade tool [1 344 kB]
Fetched 1 346 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'
Reading cache
Segmentation fault
[tor apr 23 18:46:50] Jonathan@Whats next?:~$
我怎样才能解决这个问题?
当我启动我的 Postgresql 需要一段时间,我收到这个奇怪的错误消息,我认为这个文件已损坏?
[tis jan 28 20:03:56] Jonathan@Whats next?:~$ sudo systemctl start postgresql
[sudo] password for jonteyh:
[tis jan 28 20:04:25] Jonathan@Whats next?:~$ sudo -u postgres -i
ö
-bash: /etc/profile: line 14: syntax error near unexpected token `)'
-bash: /etc/profile: line 14:
-Strange characters
-bash-5.0$ ö
-bash: ö: command not found
-bash-5.0$ psql
psql (11.5 (Ubuntu 11.5-1))
Type "help" for help.
postgres=#
我该如何解决下面的这个错误?
-bash: /etc/profile: line 14: syntax error near unexpected token `)'
-bash: /etc/profile: line 14:
当我执行 cat /etc/profile: 我在终端中得到这个奇怪的字符时,如下所示:
当我在下面运行此命令时:
sudo -u postgres psq
我在下面收到此错误消息:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
如何启动 postgreSql 并修复此错误?
我在下面试过这个。
按 Ctrl+Alt+T 打开终端。
键入命令 sudo nano /etc/apt/sources.list 。在此文件中,搜索 vivaldi 存储库。
现在,将该行替换为:
deb [trusted=yes] https://repo.vivaldi.com/archive/deb/ stable main 现在,按 Ctrl+X,然后按 y,然后按 Enter 保存文件。
最后,更新包列表:
sudo apt 更新
但我明白了
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://se.archive.ubuntu.com/ubuntu eoan InRelease
Hit:3 http://ppa.launchpad.net/git-core/ppa/ubuntu eoan InRelease
Hit:4 http://se.archive.ubuntu.com/ubuntu eoan-updates InRelease
Hit:5 http://se.archive.ubuntu.com/ubuntu eoan-backports InRelease
Get:6 http://security.ubuntu.com/ubuntu eoan-security InRelease [97,5 kB]
Hit:7 https://dl.winehq.org/wine-builds/ubuntu eoan InRelease
Hit:8 http://dl.google.com/linux/chrome/deb stable Release
Hit:9 https://deb.nodesource.com/node_12.x eoan InRelease
Hit:10 http://ppa.launchpad.net/kritalime/ppa/ubuntu eoan InRelease
Hit:11 http://archive.canonical.com/ubuntu disco InRelease
Hit:12 https://deb.torproject.org/torproject.org eoan InRelease
Ign:13 https://repo.vivaldi.com/archive/deb stable InRelease
Hit:14 https://cli-assets.heroku.com/apt ./ InRelease
Hit:15 http://ppa.launchpad.net/linrunner/tlp/ubuntu eoan InRelease
Get:16 http://security.ubuntu.com/ubuntu disco-security InRelease [97,5 kB]
Ign:17 https://repo.vivaldi.com/archive/deb stable Release
Ign:18 https://repo.vivaldi.com/archive/deb stable/main all Packages
Hit:19 https://download.sublimetext.com apt/stable/ InRelease
Ign:20 https://repo.vivaldi.com/archive/deb stable/main i386 Packages
Ign:21 https://repo.vivaldi.com/archive/deb stable/main amd64 Packages
Ign:23 https://repo.vivaldi.com/archive/deb stable/main Translation-en
Ign:24 https://repo.vivaldi.com/archive/deb stable/main Translation-en_US
Ign:25 https://repo.vivaldi.com/archive/deb stable/main all DEP-11 Metadata
Ign:26 https://repo.vivaldi.com/archive/deb stable/main amd64 DEP-11 Metadata
Ign:27 https://repo.vivaldi.com/archive/deb stable/main DEP-11 48x48 Icons
Ign:28 https://repo.vivaldi.com/archive/deb stable/main DEP-11 64x64 Icons
Hit:22 https://packagecloud.io/AtomEditor/atom/any any InRelease
Ign:29 https://repo.vivaldi.com/archive/deb stable/main amd64 c-n-f Metadata
Ign:30 https://repo.vivaldi.com/archive/deb stable/main all c-n-f Metadata
Ign:18 https://repo.vivaldi.com/archive/deb stable/main all Packages
Ign:20 https://repo.vivaldi.com/archive/deb stable/main i386 Packages
Ign:21 https://repo.vivaldi.com/archive/deb stable/main amd64 Packages
Ign:23 https://repo.vivaldi.com/archive/deb stable/main Translation-en
Ign:24 https://repo.vivaldi.com/archive/deb stable/main Translation-en_US
Ign:25 https://repo.vivaldi.com/archive/deb stable/main all DEP-11 Metadata
Ign:26 https://repo.vivaldi.com/archive/deb stable/main amd64 DEP-11 Metadata
Ign:27 https://repo.vivaldi.com/archive/deb stable/main DEP-11 48x48 Icons
Ign:28 https://repo.vivaldi.com/archive/deb stable/main DEP-11 64x64 Icons
Ign:29 https://repo.vivaldi.com/archive/deb stable/main amd64 c-n-f Metadata
Ign:30 https://repo.vivaldi.com/archive/deb stable/main all c-n-f Metadata
Ign:18 https://repo.vivaldi.com/archive/deb stable/main all Packages
Ign:20 https://repo.vivaldi.com/archive/deb stable/main i386 Packages
Get:32 http://security.ubuntu.com/ubuntu eoan-security/main amd64 DEP-11 Metadata [204 B]
Ign:21 https://repo.vivaldi.com/archive/deb stable/main amd64 Packages
Get:33 http://security.ubuntu.com/ubuntu eoan-security/universe amd64 DEP-11 Metadata [1 672 B]
Get:34 http://security.ubuntu.com/ubuntu eoan-security/universe DEP-11 48x48 Icons [7 096 B]
Ign:23 https://repo.vivaldi.com/archive/deb stable/main Translation-en
Get:35 http://security.ubuntu.com/ubuntu eoan-security/universe DEP-11 64x64 Icons [6 242 B]
Ign:24 https://repo.vivaldi.com/archive/deb stable/main Translation-en_US
Ign:25 https://repo.vivaldi.com/archive/deb stable/main all DEP-11 Metadata
Ign:26 https://repo.vivaldi.com/archive/deb stable/main amd64 DEP-11 Metadata
Ign:27 https://repo.vivaldi.com/archive/deb stable/main DEP-11 48x48 Icons
Ign:28 https://repo.vivaldi.com/archive/deb stable/main DEP-11 64x64 Icons
Ign:29 https://repo.vivaldi.com/archive/deb stable/main amd64 c-n-f Metadata
Ign:30 https://repo.vivaldi.com/archive/deb stable/main all c-n-f Metadata
Ign:18 https://repo.vivaldi.com/archive/deb stable/main all Packages
Ign:20 https://repo.vivaldi.com/archive/deb stable/main i386 Packages
Ign:21 https://repo.vivaldi.com/archive/deb stable/main amd64 Packages
Ign:23 https://repo.vivaldi.com/archive/deb stable/main Translation-en
Ign:24 https://repo.vivaldi.com/archive/deb stable/main Translation-en_US
Ign:25 https://repo.vivaldi.com/archive/deb stable/main all DEP-11 Metadata
Ign:26 https://repo.vivaldi.com/archive/deb stable/main amd64 DEP-11 Metadata
Ign:27 https://repo.vivaldi.com/archive/deb stable/main DEP-11 48x48 Icons
Ign:28 https://repo.vivaldi.com/archive/deb stable/main DEP-11 64x64 Icons
Ign:29 https://repo.vivaldi.com/archive/deb stable/main amd64 c-n-f Metadata
Ign:30 https://repo.vivaldi.com/archive/deb stable/main all c-n-f Metadata
Ign:18 https://repo.vivaldi.com/archive/deb stable/main all Packages
Ign:20 https://repo.vivaldi.com/archive/deb stable/main i386 Packages
Ign:21 https://repo.vivaldi.com/archive/deb stable/main amd64 Packages
Ign:23 https://repo.vivaldi.com/archive/deb stable/main Translation-en
Ign:24 https://repo.vivaldi.com/archive/deb stable/main Translation-en_US
Ign:25 https://repo.vivaldi.com/archive/deb stable/main all DEP-11 Metadata
Ign:26 https://repo.vivaldi.com/archive/deb stable/main amd64 DEP-11 Metadata
Ign:27 https://repo.vivaldi.com/archive/deb stable/main DEP-11 48x48 Icons
Ign:28 https://repo.vivaldi.com/archive/deb stable/main DEP-11 64x64 Icons
Ign:29 https://repo.vivaldi.com/archive/deb stable/main amd64 c-n-f Metadata
Ign:30 https://repo.vivaldi.com/archive/deb stable/main all c-n-f Metadata
Ign:18 https://repo.vivaldi.com/archive/deb stable/main all Packages
Ign:20 https://repo.vivaldi.com/archive/deb stable/main i386 Packages
Ign:21 https://repo.vivaldi.com/archive/deb stable/main amd64 Packages
Ign:23 https://repo.vivaldi.com/archive/deb stable/main Translation-en
Ign:24 https://repo.vivaldi.com/archive/deb stable/main Translation-en_US
Ign:25 https://repo.vivaldi.com/archive/deb stable/main all DEP-11 Metadata
Ign:26 https://repo.vivaldi.com/archive/deb stable/main amd64 DEP-11 Metadata
Ign:27 https://repo.vivaldi.com/archive/deb stable/main DEP-11 48x48 Icons
Ign:28 https://repo.vivaldi.com/archive/deb stable/main DEP-11 64x64 Icons
Ign:29 https://repo.vivaldi.com/archive/deb stable/main amd64 c-n-f Metadata
Ign:30 https://repo.vivaldi.com/archive/deb stable/main all c-n-f Metadata
Ign:18 https://repo.vivaldi.com/archive/deb stable/main all Packages
Err:20 https://repo.vivaldi.com/archive/deb stable/main i386 Packages
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 23.111.9.47 443]
Ign:21 https://repo.vivaldi.com/archive/deb stable/main amd64 Packages
Ign:23 https://repo.vivaldi.com/archive/deb stable/main Translation-en
Ign:24 https://repo.vivaldi.com/archive/deb stable/main Translation-en_US
Ign:25 https://repo.vivaldi.com/archive/deb stable/main all DEP-11 Metadata
Ign:26 https://repo.vivaldi.com/archive/deb stable/main amd64 DEP-11 Metadata
Ign:27 https://repo.vivaldi.com/archive/deb stable/main DEP-11 48x48 Icons
Ign:28 https://repo.vivaldi.com/archive/deb stable/main DEP-11 64x64 Icons
Ign:29 https://repo.vivaldi.com/archive/deb stable/main amd64 c-n-f Metadata
Ign:30 https://repo.vivaldi.com/archive/deb stable/main all c-n-f Metadata
Fetched 210 kB in 16s (13,4 kB/s)
Reading package lists... Done
E: Failed to fetch https://repo.vivaldi.com/archive/deb/dists/stable/main/binary-i386/Packages Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 23.111.9.47 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
我能做些什么来解决这两个问题
这是我的文件 nano /etc/apt/sources.list
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ di>
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://se.archive.ubuntu.com/ubuntu/ eoan main restricted
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates main restricted
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://se.archive.ubuntu.com/ubuntu/ eoan universe
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco universe
deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates universe
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://se.archive.ubuntu.com/ubuntu/ eoan multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://se.archive.ubuntu.com/ubuntu/ eoan-updates multiverse
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://se.archive.ubuntu.com/ubuntu/ eoan-backports main restricted univers>
# deb-src http://se.archive.ubuntu.com/ubuntu/ disco-backports main restricted >
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu disco partner
deb-src http://archive.canonical.com/ubuntu disco partner
deb http://security.ubuntu.com/ubuntu eoan-security main restricted
deb-src http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://security.ubuntu.com/ubuntu eoan-security universe
deb-src http://security.ubuntu.com/ubuntu disco-security universe
deb http://security.ubuntu.com/ubuntu eoan-security multiverse
deb-src http://security.ubuntu.com/ubuntu disco-security multiverse
# deb [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable # disab>
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main # disabl>
deb-src [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
# deb https://cli-assets.heroku.com/branches/stable/apt ./ # disabled on upgrad>
deb-src http://security.ubuntu.com/ubuntu disco-security multiverse
# deb [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable # disab>
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main # disabl>
deb-src [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
# deb https://cli-assets.heroku.com/branches/stable/apt ./ # disabled on upgrad>
# deb-src https://cli-assets.heroku.com/branches/stable/apt ./
deb https://deb.torproject.org/torproject.org eoan main # disabled on upgrade t>
deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main # disabled on upgrade t>
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ disco main
# deb [trusted=yes] https://repo.vivaldi.com/archive/deb/ stable main # disable>
# deb-src https://repo.vivaldi.com/deb [trusted=yes] https://repo.vivaldi.com/a>
# deb-src https://repo.vivaldi.com/archive/deb/ stable main
# deb-src [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu disco stable
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ eoan main
# deb-src https://repo.vivaldi.com/archive/deb/ stable main
E: 获取失败 1)
https://repo.vivaldi.com/archive/deb/dists/stable/main/binary-i386/Packages 证书验证失败:证书不受信任。证书链使用过期证书。无法握手:证书验证出错。[IP: 23.111.9.47 443] E: 部分索引文件下载失败。它们已被忽略,或者使用旧的。
2)
证书验证失败:证书不受信任。证书链使用过期证书。无法握手:证书验证出错。[IP:23.111.9.47 443]
Hit:1 http://archive.canonical.com/ubuntu disco InRelease
Hit:2 http://se.archive.ubuntu.com/ubuntu eoan InRelease
Hit:3 http://se.archive.ubuntu.com/ubuntu eoan-updates InRelease
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://se.archive.ubuntu.com/ubuntu eoan-backports InRelease
Hit:6 https://deb.nodesource.com/node_12.x eoan InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable Release
Ign:8 https://repo.vivaldi.com/archive/deb stable InRelease
Hit:9 https://dl.winehq.org/wine-builds/ubuntu eoan InRelease
Hit:11 http://ppa.launchpad.net/git-core/ppa/ubuntu eoan InRelease
Hit:10 https://cli-assets.heroku.com/apt ./ InRelease
Hit:12 https://deb.torproject.org/torproject.org eoan InRelease
Hit:13 http://security.ubuntu.com/ubuntu eoan-security InRelease
Err:14 https://repo.vivaldi.com/archive/deb stable Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 23.111.9.47 443]
Hit:15 http://ppa.launchpad.net/kritalime/ppa/ubuntu eoan InRelease
Hit:16 http://security.ubuntu.com/ubuntu disco-security InRelease
Hit:17 http://ppa.launchpad.net/linrunner/tlp/ubuntu eoan InRelease
Hit:18 https://download.sublimetext.com apt/stable/ InRelease
Hit:19 https://packagecloud.io/AtomEditor/atom/any any InRelease
Reading package lists... Done
我得到这个错误有人知道吗?
E: The repository 'https://repo.vivaldi.com/archive/deb stable Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
这些术语是什么意思?
这是否意味着我不能使用这个特定的 Ubuntu 版本或其他什么?
有人知道它是否存在一些适用于最新 Ubuntu 版本 19.10 的 ppa 包源,当我从 Ubuntu 19.04 升级到 19.10 时我遇到了问题,我没有工作?
我正在尝试在包含这些文件的目录中的 ubuntu 上执行此操作。
server_darwin_amd64 server_linux_amd64 server_windows_amd64.exe
当我在下面发出这个命令时
./server_darwin_amd64 --www=../../FEF-UdaciMeals-Backbone
我得到这个错误。
bash:./server_darwin_amd64:无法执行二进制文件:执行格式错误
我应该下载一些程序来解决这个问题吗?