Getting invalid release date error when running apt-get update

When I attempt to run

sudo apt-get update

I get the following error message:

$ sudo apt-get update
Get:1 file:/var/cuda-repo-8-0-local  InRelease
Ign:1 file:/var/cuda-repo-8-0-local  InRelease
Get:2 file:/var/libopencv4tegra-repo  InRelease
Ign:2 file:/var/libopencv4tegra-repo  InRelease
Get:3 file:/var/nv-gie-repo-6-rc-cuda8.0  InRelease
Ign:3 file:/var/nv-gie-repo-6-rc-cuda8.0  InRelease
Get:4 file:/var/visionworks-repo  InRelease
Ign:4 file:/var/visionworks-repo  InRelease
Get:5 file:/var/visionworks-sfm-repo  InRelease
Ign:5 file:/var/visionworks-sfm-repo  InRelease
Get:6 file:/var/visionworks-tracking-repo  InRelease
Ign:6 file:/var/visionworks-tracking-repo  InRelease
Get:7 file:/var/cuda-repo-8-0-local  Release [574 B]
Get:8 file:/var/libopencv4tegra-repo  Release [347 B]
Get:9 file:/var/nv-gie-repo-6-rc-cuda8.0  Release [574 B]                      
Get:10 file:/var/visionworks-repo  Release [698 B]                             
Get:11 file:/var/visionworks-sfm-repo  Release [702 B]                         
Get:12 file:/var/visionworks-tracking-repo  Release [707 B]                    
Get:7 file:/var/cuda-repo-8-0-local  Release [574 B]                           
Get:8 file:/var/libopencv4tegra-repo  Release [347 B]                          
Get:9 file:/var/nv-gie-repo-6-rc-cuda8.0  Release [574 B]                      
Get:10 file:/var/visionworks-repo  Release [698 B]                             
Get:11 file:/var/visionworks-sfm-repo  Release [702 B]                         
Get:12 file:/var/visionworks-tracking-repo  Release [707 B]                    
Hit:15 http://packages.ros.org/ros/ubuntu xenial InRelease                     
Hit:18 http://ports.ubuntu.com/ubuntu-ports xenial InRelease                   
Hit:20 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease           
Hit:22 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease          
Hit:23 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu xenial InRelease    
Reading package lists... Done                      
W: file:///var/cuda-repo-8-0-local/Release.gpg: Signature by key 889BEE522DA690103C4B085ED88C3D385C37D3BE uses weak digest algorithm (SHA1)
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_libopencv4tegra-repo_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-repo_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-sfm-repo_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_visionworks-tracking-repo_Release

Not really sure how I can fix this. I have run

sudo apt clean

though that did nothing. I am using Jetpack 2.3.

Did this happen right after flashing with JetPack? Did you attempt to flash again? Also, did you check the time setting on the system? If the time is wrong something like that could happen.

Nope, the I had flashed it a long time ago. I reflashed it, and I haven’t run into the errors again.

Ok so after installing vision works (apt) on the TX1, the same error appears. The dependencies installed are

libvisionworks libvisionworks-dev libvisionworks-docs libvisionworks-nvxio libvisionworks-nvxio-dev libvisionworks-samples
1 Like

There was a thread about this not too long ago, looks like NVidia’s already on the case: [url]https://devtalk.nvidia.com/default/topic/965838/jetson-tx1/unable-to-install-package-libvisionworks-nvxi-jetpack-l4t-2-1-1-32-bit-via-jetpack-2-3-/[/url]

I had the same problem and the following command works for me:

sudo apt-get update && sudo apt-get -y dist-upgrade