Closed abizermamnoon closed 1 month ago
Did you try to apt-get update
first?
NOTE: Flagging that there was a deleted comment in this thread with a link to a file with malware. Other repo's on github are being targeted too, described here: https://github.com/comfyanonymous/ComfyUI/issues/4616. If you ran the linked executable file, you may want to apply a power drill to your storage media. Here is a VirusTotal scan for the curious.
I got this error:
(venv) amamnoon@abizer:~/cs_181/proj/docsum$ sudo apt-get update
[sudo] password for amamnoon:
Sorry, try again.
[sudo] password for amamnoon:
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Reading package lists... Done
E: Release file for http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease is not valid yet (invalid for another 7h 25min 24s). Updates for this repository will not be applied.
E: Release file for http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease is not valid yet (invalid for another 7h 44min 3s). Updates for this repository will not be applied.
So I asked chatGPT, and this is what it told me to do and it worked: The error you are seeing indicates that your system clock is out of sync with the repository's timestamp. This can happen if your system's date and time settings are incorrect, which prevents apt from correctly verifying the release files.
To fix this issue, you need to synchronize your system clock with an accurate time source.
Using timedatectl:
If you're using systemd-timesyncd (default on many modern Ubuntu systems), you can run:
$ sudo timedatectl set-ntp true
This command will enable automatic time synchronization.
You can verify the current status with:
$ timedatectl status
Using ntpdate:
If you prefer to use ntpdate, you can install it and sync your clock manually:
$ sudo apt-get install ntpdate
$ sudo ntpdate time.nist.gov
This will synchronize your system clock with the NIST time server.
$ date
Make sure it is aligned with the correct current time for your time zone.
$ sudo apt-get update
Closing because it looks like this is resolved.
I was trying to input a pdf file into groq:
So I tried downloading the dependencies:
I then did the following: