ShunJianLee
Posts: 68
Joined: Wed Nov 25, 2015 4:43 am

sudo apt upgrade issue

Sun May 01, 2016 5:12 pm

May i know what is the problem occured? thanks

pi@raspberrypi:~ $ sudo apt-get update
Get:1 http://mirrordirector.raspbian.org jessie InRelease [1,733 B]
100% [1 InRelease gpgv 1,733 B] [Waiting for headers]Splitting up /var/lib/apt/lists/partial/mirrordirector.raspbian.org_raspbian_dists_jessie_InRelease into daErr http://mirrordirector.raspbian.org jessie InRelease

Get:2 http://archive.raspberrypi.org jessie InRelease [1,733 B]
100% [2 InRelease gpgv 1,733 B]Splitting up /var/lib/apt/lists/partial/archive.rErr http://archive.raspberrypi.org jessie InReleaseata and signature failed

Fetched 3,466 B in 0s (6,080 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrordirector.raspbian.org jessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.raspberrypi.org jessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

W: Failed to fetch http://mirrordirector.raspbian.org/rasp ... /InRelease

W: Failed to fetch http://archive.raspberrypi.org/debian/d ... /InRelease

W: Some index files failed to download. They have been ignored, or old ones used instead.

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: sudo apt upgrade issue

Sun May 01, 2016 5:46 pm

Looks like some sort of corruption on your SD card...
Is your SD card (almost) full?
Check with

Code: Select all

df -h

ShunJianLee
Posts: 68
Joined: Wed Nov 25, 2015 4:43 am

Re: sudo apt upgrade issue

Mon May 02, 2016 12:16 am

Bro, this is my memory system. How to repair the corrupt files?

pi@raspberrypi:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 6.3G 21G 24% /
devtmpfs 427M 0 427M 0% /dev
tmpfs 431M 0 431M 0% /dev/shm
tmpfs 431M 12M 420M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 431M 0 431M 0% /sys/fs/cgroup
/dev/mmcblk0p1 60M 22M 39M 36% /boot
tmpfs 87M 4.0K 87M 1% /run/user/1000
/dev/sda1 7.3G 4.1G 3.3G 56% /media/pi/NEW VOLUME1

DirkS wrote:Looks like some sort of corruption on your SD card...
Is your SD card (almost) full?
Check with

Code: Select all

df -h

User avatar
Rive
Posts: 586
Joined: Sat Mar 26, 2016 5:21 pm
Location: USA

Re: sudo apt upgrade issue

Mon May 02, 2016 12:18 am

ShunJianLee wrote:Bro, this is my memory system. How to repair the corrupt files
21GB available...

To fix corruption, reinstall your backup image to the sdcard (that is how I do it when needed).
DNPNWO

Return to “Troubleshooting”