我正在尝试使用 dockerfile 更新 ubuntu 容器。
RUN apt-get update -y
Run Code Online (Sandbox Code Playgroud)
但我收到以下错误。
E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 9h 14min 10s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 9h 14min 16s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 9h 14min 35s). Updates for this repository will not be applied.
Run Code Online (Sandbox Code Playgroud)
我检查了相同问题的其他一些解决方案,例如添加 …
我正在尝试安装 nodejs,但它反复失败。附上日志
$ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
rlwrap
The following NEW packages will be installed:
rlwrap
The following packages will be upgraded:
nodejs
1 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 0 B/4,391 kB of archives. …
Run Code Online (Sandbox Code Playgroud) 尝试使用 dolphin 而不是 Nautilus 时出现以下错误。
"Failed to execute child process "/usr/share/applications/kde4/dolphin.desktop" (Permission denied)"
Run Code Online (Sandbox Code Playgroud)
我用的soultion这让海豚作为默认的文件管理器。请指导我下一步该怎么做。
PS:也尝试更改权限,但没有用。
使用 Ubuntu 12.04