Thread: error while trying to update package sources
the following error message given when try update package sources:
what do?code:w:failed fetch cdrom://ubuntu 11.04 _natty narwhal_ - release i386 (20110427)/dists/natty/main/binary-i386/packages please use apt-cdrom make cd-rom recognized apt. apt-get update cannot used add new cd-roms , w:failed fetch cdrom://ubuntu 11.04 _natty narwhal_ - release i386 (20110427)/dists/natty/restricted/binary-i386/packages please use apt-cdrom make cd-rom recognized apt. apt-get update cannot used add new cd-roms , w:failed fetch http://ppa.launchpad.net/shawn-p-huang/dev/ubuntu/dists/oneiric/main/source/sources 404 not found , w:failed fetch http://ppa.launchpad.net/shawn-p-huang/dev/ubuntu/dists/oneiric/main/binary-i386/packages 404 not found , w:failed fetch http://ppa.launchpad.net/shawn-p-huang/ppa/ubuntu/dists/oneiric/main/source/sources 404 not found , w:failed fetch http://ppa.launchpad.net/shawn-p-huang/ppa/ubuntu/dists/oneiric/main/binary-i386/packages 404 not found , e:some index files failed download. have been ignored, or old ones used instead.
hi
open terminal , type (or copy , paste; case important).
that small l after grep , 0 after xargs. enter password. not echoed screen.code:grep -lz "shawn-p-huang" /etc/apt/sources.list.d/* | xargs -0 sudo rm
copy , paste
lastlycode:sudo sed -i 's/^deb cdrom*/#deb cdrom/' /etc/apt/sources.list
kind regardscode:sudo apt-get update
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] error while trying to update package sources
Ubuntu
Comments
Post a Comment