maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Status of the Maemo.org repositories (https://talk.maemo.org/showthread.php?t=101216)

tvandorffy 2021-06-16 16:03

Re: Status of the Maemo.org repositories
 
Quote:

Originally Posted by bencoh (Post 1572087)
Hi everyone,

The server hosting maemo.muarf.org is currently down. I have a copy of the repositories stored on another server, but I still need to configure it properly to bring maemo.muarf.org back online.

Sorry about the downtime :(

Hi Bencoh,

It would be great if you could bring muarf back online.
The more option we have, the better! :-)

Thanks a lot,

Tamas

ceene 2021-06-17 08:03

Re: Status of the Maemo.org repositories
 
The 301 Moved Permanently are probably due to you having http://maemo.linenoise.info/ as server, which redirects you to https://maemo.linenoise.info

It's possible that apt-get doesn't want to follow the 301 redirect, but you may probably bypass that by modifying your sources.list to reflect the real address, which is using SSL, so try to replace http://maemo.linenoise.info/ with https://maemo.linenoise.info and let's see what happens.

Quote:

Originally Posted by tvandorffy (Post 1572086)
Hi Ceene,

Many thanks for doing so! But I am still getting the "301 Moved Permanently" messages when I am doing an apt-get update.
(Just to be sure I tested, then rebooted and tested again....)

Code:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get update
Hit http://repository.maemo.org fremantle-1.3 Release.gpg
Ign http://repository.maemo.org fremantle-1.3/free Translation-en_US
Ign http://repository.maemo.org fremantle-1.3/non-free Translation-en_US
Ign http://maemo.linenoise.info ./ Release.gpg
Ign http://maemo.linenoise.info ./ Translation-en_US
Ign http://maemo.linenoise.info ./ Release.gpg
Ign http://maemo.linenoise.info ./ Translation-en_US
Ign http://maemo.linenoise.info ./ Release.gpg
Ign http://maemo.linenoise.info ./ Translation-en_US
Hit http://repository.maemo.org fremantle-1.3 Release
Ign http://maemo.linenoise.info ./ Release
Ign http://maemo.linenoise.info ./ Release
Ign http://maemo.linenoise.info ./ Release
Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
Ign http://maemo.linenoise.info ./ Packages
Ign http://maemo.linenoise.info ./ Packages
Ign http://maemo.linenoise.info ./ Packages
Hit http://repository.maemo.org fremantle-1.3/free Packages
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Err http://maemo.linenoise.info ./ Packages
  301 Moved Permanently
Err http://maemo.linenoise.info ./ Packages
  301 Moved Permanently
Err http://maemo.linenoise.info ./ Packages
  301 Moved Permanently
W: Failed to fetch http://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle/ssu/apps/./Packages  301 Moved Permanently

W: Failed to fetch http://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle1.2/ovi/./Packages  301 Moved Permanently

W: Failed to fetch http://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle/ssu/mr0/./Packages  301 Moved Permanently

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

(This error also can be seen in the App Manager app too in red.)

So now, that the certificate problem is solved, there is this other one that @nieldk mentioned, maybe this causes the "301 moved permanently problem".



Unfortuanely I am not an expert at this, so I cannot form my own opinion....
But I am happy to test! :-)

Tamas


tvandorffy 2021-06-17 21:53

Re: Status of the Maemo.org repositories
 
Hi Ceene,

Thanks for your response. I've tried out what you have recommended and now, we face another error message:

Code:

Err https://maemo.linenoise.info ./ Packages
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Err https://maemo.linenoise.info ./ Packages
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Err https://maemo.linenoise.info ./ Packages
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
W: Failed to fetch https://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle/ssu/apps/./Packages  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

W: Failed to fetch https://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle1.2/ovi/./Packages  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

W: Failed to fetch https://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle/ssu/mr0/./Packages  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

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

I googled this a bit and - if I understand it correctly - the problem seems to be that the openssl (or wget?) that my phone has might be a little outdated.

dpkg -l openssl reports openssl as: 0.9.8n-1+maemo4+0m5

Might not be the problem at all, I tought I would mention it anyway...

Hope this helps!

Tamas

ceene 2021-06-18 05:37

Re: Status of the Maemo.org repositories
 
Quote:

Originally Posted by tvandorffy (Post 1572094)
Hi Ceene,

Thanks for your response. I've tried out what you have recommended and now, we face another error message:

Code:

Err https://maemo.linenoise.info ./ Packages
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Err https://maemo.linenoise.info ./ Packages
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Err https://maemo.linenoise.info ./ Packages
  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
W: Failed to fetch https://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle/ssu/apps/./Packages  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

W: Failed to fetch https://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle1.2/ovi/./Packages  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

W: Failed to fetch https://maemo.linenoise.info/downloads.maemo.nokia.com/fremantle/ssu/mr0/./Packages  error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

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

I googled this a bit and - if I understand it correctly - the problem seems to be that the openssl (or wget?) that my phone has might be a little outdated.

dpkg -l openssl reports openssl as: 0.9.8n-1+maemo4+0m5

Might not be the problem at all, I tought I would mention it anyway...

Hope this helps!

Tamas

Damn! I had forgotten about the Maemo 5 problems with modern SSL certificates. So, ok, don't sweat it. I'll remove SSL from this directory and we'll be done with it; so please go back to http://maemo.linenoise.info instead of https://

It should definitely work now.

Maemish 2021-06-18 05:48

Re: Status of the Maemo.org repositories
 
Does this help with CSSU devel repos enabled?


apt-get install maemosec-certman-common-ca

apt-get install libssl1.1

apt-get install openssl

c_rehash /etc/certs/common-ca

apt-get install libqt4-core

tvandorffy 2021-06-18 09:15

Re: Status of the Maemo.org repositories
 
Hi Ceene,

Ok, reverting back to the http addresses...

Tamas

tvandorffy 2021-06-18 09:17

Re: Status of the Maemo.org repositories
 
UPDATE:
I have found the libssl1.1 package.
My phone did not have CSSU installed, so I did not have the CSSU devel repo installed. But since linenoise seemed to work (appart from the gpg errors below) in the end, I installed it and got my CSSU devel repo. :-)

I installed everything, but this gpg error remained.

-----------------------------------------------------------------------------------------

Hi Maemish,

I looked, but I am unable to find libssl1.1
The latest I was able to find is libssl0.9.8_0.9.8zh


I looked amongst other places:
http://repository.maemo.org/communit...ree/o/openssl/
http://repository.maemo.org/extras-d...s/libssl0.9.7/

Here is what I was able to do:
I installed maemosec-certman-common-ca_0.2.0+0m5_all.deb
from http://maemo.linenoise.info/download...antle/ssu/mr0/
(I did not check if this version was newer but I got no error message)

then I did: c_rehash /etc/certs/common-ca
Changed the urls back to http and
tried apt-get update again and now I get:

Code:

/home/user # apt-get update
Hit http://repository.maemo.org fremantle-1.3 Release.gpg
Ign http://repository.maemo.org fremantle-1.3/free Translation-en_US
Ign http://repository.maemo.org fremantle-1.3/non-free Translation-en_US
Get:1 http://maemo.linenoise.info ./ Release.gpg [198B]
Ign http://maemo.linenoise.info ./ Translation-en_US
Get:2 http://maemo.linenoise.info ./ Release.gpg [198B]
Ign http://maemo.linenoise.info ./ Translation-en_US
Get:3 http://maemo.linenoise.info ./ Release.gpg [198B]
Ign http://maemo.linenoise.info ./ Translation-en_US
Hit http://repository.maemo.org fremantle-1.3 Release
Hit http://maemo.linenoise.info ./ Release
Hit http://maemo.linenoise.info ./ Release
Hit http://maemo.linenoise.info ./ Release
Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.3/free Packages
Get:4 http://maemo.linenoise.info ./ Release [507B]
Ign http://maemo.linenoise.info ./ Release
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Get:5 http://maemo.linenoise.info ./ Release [507B]
Get:6 http://maemo.linenoise.info ./ Release [507B]
Ign http://maemo.linenoise.info ./ Packages/DiffIndex
Hit http://maemo.linenoise.info ./ Packages
Ign http://maemo.linenoise.info ./ Release
Ign http://maemo.linenoise.info ./ Packages/DiffIndex
Hit http://maemo.linenoise.info ./ Packages
Ign http://maemo.linenoise.info ./ Release
Ign http://maemo.linenoise.info ./ Packages/DiffIndex
Hit http://maemo.linenoise.info ./ Packages
Fetched 2115B in 3s (626B/s)
Reading package lists... Done
W: GPG error: http://maemo.linenoise.info ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
W: GPG error: http://maemo.linenoise.info ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
W: GPG error: http://maemo.linenoise.info ./ Release: The following signatures were invalid: KEYEXPIRED 1349249546 KEYEXPIRED 1349249546 KEYEXPIRED 1349249546
W: You may want to run apt-get update to correct these problems
/home/user #



All times are GMT. The time now is 02:37.

vBulletin® Version 3.8.8