I am relatively new to Ubuntu, and I am having trouble to install Dropbox under a completely fresh Ubuntu 18.04.
I had the same problem as described in this previous short question I can't install dropbox client: Cannont open libatomic.so.1 i.e. dropbox required the library libatomic1.
Unfortunately, the commmand:
sudo apt install libatomic1
only leads to the following error:
$sudo apt install libatomic1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libatomic1 : Depends: gcc-8-base (= 8-20180414-1ubuntu2) but 8.3.0-6ubuntu1~18.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
As suggested in the command, I ran:
sudo apt update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:3 http://ppa.launchpad.net/texworks/ppa/ubuntu bionic InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Reading package lists... Done
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 6h 42min 11s). 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 6h 43min 16s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 6h 41min 22s). Updates for this repository will not be applied.
How do I fix this? Thank you in advance for your help.
sudo apt update
) a your error message gives out-of-date packages (thus error is valid) (https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=gcc-8-base) – guiverc Dec 24 '19 at 02:19