Natty is quite old so you'll need to re-point apt-get to an archive
repository. See here:
http://superuser.com/questions/339537/where-can-i-get-therepositories-for-old-ubuntu-versions


On Fri, Apr 11, 2014 at 7:57 PM, Kuk-Hwan Kim <[email protected]
> wrote:

>
> Dear Gem5 user community,
>
> I followed youtube example posted by Ben Payne, Everything went smoothly
> until sudo apt-get update and sudo apt-get install sysbench. apt-get
> installer couldn't fetch item in the source repository.
>
> If somebody has similar experience, is there anybody who can help me out of
> this source fetching issues (after sudo chroot . )? Thank you,
>
>
> root@ubuntu:/# ls
> bin  boot  dev  etc  home  lib  lost+found  media  mnt  opt  proc  root
>  sbin
>  selinux        srv  sys  tmp  usr  var
> root@ubuntu:/# sudo apt-get update
> Ign http://ports.ubuntu.com natty InRelease
> Ign http://ports.ubuntu.com natty Release.gpg
> Ign http://ports.ubuntu.com natty Release
> Ign http://ports.ubuntu.com natty/main armel Packages/DiffIndex
> Ign http://ports.ubuntu.com natty/universe armel Packages/DiffIndex
> Ign http://ports.ubuntu.com natty/main TranslationIndex
> Ign http://ports.ubuntu.com natty/universe TranslationIndex
> Err http://ports.ubuntu.com natty/main armel Packages
>   404  Not Found [IP: 91.189.88.140 80]
> Err http://ports.ubuntu.com natty/universe armel Packages
>   404  Not Found [IP: 91.189.88.140 80]
> Ign http://ports.ubuntu.com natty/main Translation-en_US
> Ign http://ports.ubuntu.com natty/main Translation-en
> Ign http://ports.ubuntu.com natty/universe Translation-en_US
> Ign http://ports.ubuntu.com natty/universe Translation-en
> W: Failed to fetch
> http://ports.ubuntu.com/ubuntu-ports/dists/natty/main/binary-armel/Packages
>  404  Not Found [IP: 91.189.88.140 80]
>
> W: Failed to fetch
>
> http://ports.ubuntu.com/ubuntu-ports/dists/natty/universe/binary-armel/Packages
>  404  Not Found [IP: 91.189.88.140 80]
>
> E: Some index files failed to download. They have been ignored, or old ones
> used instead.
> root@ubuntu:/# sudo apt-get install sysbench
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   libmysqlclient16 mysql-common
> The following NEW packages will be installed:
>   libmysqlclient16 mysql-common sysbench
> 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
> Need to get 1,716 kB/1,783 kB of archives.
> After this operation, 4,018 kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> WARNING: The following packages cannot be authenticated!
>   mysql-common libmysqlclient16 sysbench
> Install these packages without verification [y/N]? y
> Err http://ports.ubuntu.com/ubuntu-ports/ natty/main mysql-common all
> 5.1.54-1ubuntu4
>   404  Not Found [IP: 91.189.88.140 80]
> Err http://ports.ubuntu.com/ubuntu-ports/ natty/main libmysqlclient16
> armel
> 5.1.54-1ubuntu4
>   404  Not Found [IP: 91.189.88.140 80]
> Failed to fetch
>
> http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mysql-5.1/mysql-common_5.1.54-1ubuntu4_all.deb
>  404  Not Found [IP: 91.189.88.140 80]
> Failed to fetch
>
> http://ports.ubuntu.com/ubuntu-ports/pool/main/m/mysql-5.1/libmysqlclient16_5.1.54-1ubuntu4_armel.deb
>  404  Not Found [IP: 91.189.88.140 80]
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to