Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
February 09, 2012, 01:38:03 PM
News: Glomation introduced new wireless ready low cost GESBC-9260S
Pages: [1]
Topic Tools  
Read December 31, 2009, 04:11:55 PM #0
smithsamuelm

apt-get update problem with lenny distribution



But on the Glomation board with the Lenny distro I get an error.
I have googled it but can't find a solution. The closest are errors in the sources.list url or
a mirror that is down, but the exact same sources.list works on my other board.

So I am thinking it is something deeper maybe having to do with the kernel or the type of armel processor.


sources.list

$ cat sources.list
deb http://http.us.debian.org/debian lenny main contrib non-free
deb http://ftp://ftp.us.debian.org/debian lenny main contrib non-free

deb http://http.us.debian.org/debian squeeze main contrib non-free
deb http://ftp://ftp.us.debian.org/debian squeeze main contrib non-free

This is what happens when I apt-get update on the 9260 Lenny

# apt-get update
# apt-get update
Hit http://http.us.debian.org lenny Release.gpg
Hit http://http.us.debian.org squeeze Release.gpg
Hit http://http.us.debian.org lenny Release
Hit http://ftp://ftp.us.debian.org lenny Release.gpg
Hit http://http.us.debian.org squeeze Release
Hit http://ftp://ftp.us.debian.org squeeze Release.gpg
Hit http://ftp://ftp.us.debian.org lenny Release
Hit http://ftp://ftp.us.debian.org squeeze Release
Ign http://http.us.debian.org lenny/main Packages/DiffIndex
Ign http://http.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://http.us.debian.org lenny/non-free Packages/DiffIndex
Hit http://http.us.debian.org lenny/main Packages
Hit http://http.us.debian.org lenny/contrib Packages
Hit http://http.us.debian.org lenny/non-free Packages
Get:1 http://ftp://ftp.us.debian.org lenny/main Packages/DiffIndex
Ign http://ftp://ftp.us.debian.org lenny/main Packages/DiffIndex
Get:2 http://ftp://ftp.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp://ftp.us.debian.org lenny/contrib Packages/DiffIndex
Get:3 http://ftp://ftp.us.debian.org lenny/non-free Packages/DiffIndex
Ign http://ftp://ftp.us.debian.org lenny/non-free Packages/DiffIndex
Hit http://ftp://ftp.us.debian.org lenny/main Packages
Hit http://ftp://ftp.us.debian.org lenny/contrib Packages
Hit http://ftp://ftp.us.debian.org lenny/non-free Packages
W: Failed to fetch http://http.us.debian.org/debian/dists/squeeze/Release  Unable to find expected entry  main/binary-arm/Packages in Meta-index file (malformed Release file?)

W: Failed to fetch http://ftp://ftp.us.debian.org/debian/dists/squeeze/Release  Unable to find expected entry  main/binary-arm/Packages in Meta-index file (malformed Release file?)

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


This is what happens on a (Cirrus EP9301) Lenny board

# apt-get update
Get:1 http://http.us.debian.org lenny Release.gpg [1032B]
Get:2 http://http.us.debian.org squeeze Release.gpg [835B]
Get:3 http://http.us.debian.org lenny Release [73.6kB]
Get:4 http://http.us.debian.org squeeze Release [89.5kB]
Ign http://http.us.debian.org lenny/main Packages/DiffIndex
Ign http://http.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://http.us.debian.org lenny/non-free Packages/DiffIndex
Get:5 http://http.us.debian.org lenny/main Packages [5132kB]
Get:6 http://ftp://ftp.us.debian.org lenny Release.gpg [1032B]
Get:7 http://ftp://ftp.us.debian.org squeeze Release.gpg [835B]
Get:8 http://ftp://ftp.us.debian.org lenny Release [73.6kB]
Get:9 http://ftp://ftp.us.debian.org squeeze Release [89.5kB]
Get:10 http://http.us.debian.org lenny/contrib Packages [64.0kB]
Get:11 http://http.us.debian.org lenny/non-free Packages [71.4kB]
Get:12 http://http.us.debian.org squeeze/main Packages/DiffIndex [2038B]
Get:13 http://http.us.debian.org squeeze/contrib Packages/DiffIndex [2023B]
Get:14 http://http.us.debian.org squeeze/non-free Packages/DiffIndex [2023B]
Get:15 http://ftp://ftp.us.debian.org lenny/main Packages/DiffIndex
Get:16 http://http.us.debian.org squeeze/main Packages [5956kB]
Ign http://ftp://ftp.us.debian.org lenny/main Packages/DiffIndex
Get:17 http://ftp://ftp.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp://ftp.us.debian.org lenny/contrib Packages/DiffIndex
Get:18 http://ftp://ftp.us.debian.org lenny/non-free Packages/DiffIndex
Ign http://ftp://ftp.us.debian.org lenny/non-free Packages/DiffIndex
Get:19 http://ftp://ftp.us.debian.org lenny/main Packages [5132kB]
Get:20 http://ftp://ftp.us.debian.org lenny/contrib Packages [64.0kB]
Get:21 http://ftp://ftp.us.debian.org lenny/non-free Packages [71.4kB]
Get:22 http://ftp://ftp.us.debian.org squeeze/main Packages/DiffIndex [2038B]
Get:23 http://http.us.debian.org squeeze/contrib Packages [43.6kB]
Get:24 http://ftp://ftp.us.debian.org squeeze/contrib Packages/DiffIndex [2023B]
Get:25 http://http.us.debian.org squeeze/non-free Packages [78.4kB]
Get:26 http://ftp://ftp.us.debian.org squeeze/non-free Packages/DiffIndex [2023B]
Get:27 http://ftp://ftp.us.debian.org squeeze/main Packages [5956kB]
Get:28 http://ftp://ftp.us.debian.org squeeze/contrib Packages [43.6kB]
Get:29 http://ftp://ftp.us.debian.org squeeze/non-free Packages [78.4kB]
Fetched 23.0MB in 7min32s (50.9kB/s)
Reading package lists... Done

 
Read December 31, 2009, 05:40:43 PM #1
smithsamuelm

Re: apt-get update problem with lenny distribution

I found the problem

apt-config dump on the glomation debian gives the wrong architecture
...
APT::Architecture "arm";

On my other board I get

APT::Architecture "armel";

When add
APT::Architecture "armel";
to a file in
 /etc/apt/apt.conf.d/

then the apt-get update with squeeze in the sources.list works.

Since there was no explicit config file that I can find that set the architecture I am guessing
it was something set at build time.

I don't know if this makes the distro problematic since I need armel (EABI) not arm (OABI)

Whoever generated the distro. Could you remake it with the architecture set to armel?
 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re