Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

LXDE apt-get fails 404 Error

Altera_Forum
Honored Contributor I
802 Views

Hi, 

 

I am using the LXDE image from the terasic website. When I do apt-get update, it fails with 404 errors. It is not a connectivity issue (I can connect to the internet). I believe it to be a problem in the /etc/apt/sources.list file, which currently contains: 

 

 

deb http://ports.ubuntu.com/ubuntu-ports/ quantal main universe 

deb-src http://ports.ubuntu.com/ubuntu-ports/ quantal main universe  

 

 

The error I get is: 

 

 

Err http://ports.ubuntu.com quantal/main Sources 404 Not Found 

Err http://ports.ubuntu.com quantal/universe 404 Not Found 

Err http://ports.ubuntu.com quantal/main armhf Packages 404 Not Found 

etc... 

 

 

Is there a way to fix this so that apt-get actually functions? 

 

 

Thanks, 

Mike
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
107 Views

<edit> 

optional: set date: 

ntpdate pool.ntp.org 

</edit> 

 

vi /etc/apt/sources.list 

 

Change contents to:- 

 

deb http://old-releases.ubuntu.com/ubuntu/ quantal main universe 

deb-src http://old-releases.ubuntu.com/ubuntu/ quantal main universe
Altera_Forum
Honored Contributor I
107 Views

After some further digging around I managed to fix this problem properly:- 

 

Delete all lists of downloaded packages:- 

 

cd /var/lib/apt/lists rm * 

 

Update package lists:- 

apt-get update 

 

Upgrade:- 

apt-get upgrade 

Probably libssl1.0.0 will be upgraded from 1.0.1c-3ubuntu2.5~linaro1 to 1.0.1c-3ubuntu2.5~linaro2 

 

Optional, Install SSH & change passwd: 

 

apt-get install openssh-server passwd
Reply