Active Topics

 


Reply
Thread Tools
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#1
my phone cannot update catalogs

that's what xterminal shows :



Code:
Nokia-N900:~# apt-get update 
Err http://repository.maemo.org fremantle Release.gpg 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/non-free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle Release.gpg 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/non-free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle-1.3 Release.gpg 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle-1.3/free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle-1.3/non-free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle Release.gpg 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/non-free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle Release.gpg 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/non-free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle Release.gpg 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://repository.maemo.org fremantle/non-free Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://marmistrz.net63.net fremantle Release.gpg 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Err http://marmistrz.net63.net fremantle/meecolay Translation-en_US 
Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 
Ign https://downloads.maemo.nokia.com ./ Release.gpg 
Ign https://downloads.maemo.nokia.com ./ Translation-en_US 
Ign https://downloads.maemo.nokia.com ./ Release.gpg 
Ign https://downloads.maemo.nokia.com ./ Translation-en_US 
Ign https://downloads.maemo.nokia.com ./ Release.gpg 
Ign https://downloads.maemo.nokia.com ./ Translation-en_US 
Ign https://downloads.maemo.nokia.com ./ Release 
Ign https://downloads.maemo.nokia.com ./ Release 
Ign https://downloads.maemo.nokia.com ./ Release 
Ign https://downloads.maemo.nokia.com ./ Packages 
Ign https://downloads.maemo.nokia.com ./ Packages 
Ign https://downloads.maemo.nokia.com ./ Packages 
Err https://downloads.maemo.nokia.com ./ Packages 
couldn't connect to host 
Err https://downloads.maemo.nokia.com ./ Packages 
couldn't connect to host 
Err https://downloads.maemo.nokia.com ./ Packages 
couldn't connect to host 
Reading package lists... Done 
W: Failed to fetch http://repository.maemo.org/community/dists/fremantle/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/community/dists/fremantle/free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/community/dists/fremantle/non-free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/community-testing/dists/fremantle/non-free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle-1.3/non-free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle/free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras/dists/fremantle/non-free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras-devel/dists/fremantle/non-free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras-testing/dists/fremantle/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras-testing/dists/fremantle/free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://repository.maemo.org/extras-testing/dists/fremantle/non-free/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://marmistrz.net63.net/repository/dists/fremantle/Release.gpg Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch http://marmistrz.net63.net/repository/dists/fremantle/meecolay/i18n/Translation-en_US.gz Could not connect to 127.0.0.1:8118 (127.0.0.1). - connect (111 Connection refused) 

W: Failed to fetch https://downloads.maemo.nokia.com/fremantle/ssu/apps/./Packages couldn't connect to host 

W: Failed to fetch https://downloads.maemo.nokia.com/fremantle/ssu/003/./Packages couldn't connect to host 

W: Failed to fetch https://downloads.maemo.nokia.com/fremantle1.2/ovi/./Packages couldn't connect to host 

W: Some index files failed to download, they have been ignored, or old ones used instead. 
W: You may want to run apt-get update to correct these problems 
Nokia-N900:~#


these screenshots from HAM & FAM

any advice ???
Attached Images
  
 
jd4200's Avatar
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#2
Your phone seems to be trying to connect through a proxy to 127.0.0.1 (localhost; which is your phone).
Are you running, or have you set up any sort of proxying program such as privoxy, tor, etc?

In terminal run the following two commands, and post the output:
echo $http_proxy
-and-
apt-config dump
__________________
BTC:
19ePiXZUdxqNAq9tStLzZV4dduSQeGPJzj

Last edited by jd4200; 2012-10-06 at 00:53.
 
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#3
Thank you for your quick response


first code:

Code:
echo $http_proxy
>>>>nothing happened<<<<

the second code shows :

Code:
~ $ apt-config dump 
APT ""; 
APT::Architecture "armel"; 
APT::Build-Essential ""; 
APT::Build-Essential:: "build-essential"; 
APT::Install-Recommends "0"; 
APT::Install-Suggests "0"; 
APT::Acquire ""; 
APT::Acquire::Translation "environment"; 
APT::NeverAutoRemove ""; 
APT::NeverAutoRemove:: "^linux-image.*"; 
APT::NeverAutoRemove:: "^linux-restricted-modules.*"; 
Dir "/"; 
Dir::State "var/lib/apt/"; 
Dir::State::lists "lists/"; 
Dir::State::cdroms "cdroms.list"; 
Dir::State::userstatus "status.user"; 
Dir::State::status "/var/lib/dpkg/status"; 
Dir::Cache "var/cache/apt/"; 
Dir::Cache::archives "archives/"; 
Dir::Cache::srcpkgcache "srcpkgcache.bin"; 
Dir::Cache::pkgcache "pkgcache.bin"; 
Dir::Etc "etc/apt/"; 
Dir::Etc::sourcelist "sources.list"; 
Dir::Etc::sourceparts "sources.list.d"; 
Dir::Etc::vendorlist "vendors.list"; 
Dir::Etc::vendorparts "vendors.list.d"; 
Dir::Etc::main "apt.conf"; 
Dir::Etc::parts "apt.conf.d"; 
Dir::Etc::preferences "preferences"; 
Dir::Bin ""; 
Dir::Bin::methods "/usr/lib/apt/methods"; 
Dir::Bin::dpkg "/usr/bin/dpkg"; 
Acquire ""; 
Acquire::Queue-Mode "access"; 
Acquire::https ""; 
Acquire::https::Verify-Peer "false"; 
Acquire::Retries "0"; 
Acquire::HTTP ""; 
Acquire::HTTP::Proxy "http://127.0.0.1:8118"; 
DPkg ""; 
DPkg::Post-Invoke ""; 
DPkg::Post-Invoke:: "if [ -x /usr/sbin/docpurge ]; then /usr/sbin/docpurge; else exit 0; fi"; 
~ $
 
jd4200's Avatar
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#4
You've definitely got some sort of proxy set up for apt.
Acquire::HTTP::Proxy "http://127.0.0.1:8118";
Try running:
unset http_proxy
-and then-
apt-get update

Does it work now?

If not, have a look at the contents of the files: /etc/apt/apt.conf, and the files within /etc/apt/apt.conf.d/ for a line that mentions "proxy" or "127.0.0.1" and remove them
__________________
BTC:
19ePiXZUdxqNAq9tStLzZV4dduSQeGPJzj
 

The Following 6 Users Say Thank You to jd4200 For This Useful Post:
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#5
WoOoW...problem has been solved & catalogs working perfectly

I think this problem caused by tor..

THANK YOU FOR YOUR HELP !!!
 
jd4200's Avatar
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#6
Originally Posted by Ammar Hamdan View Post
WoOoW...problem has been solved & catalogs working perfectly

I think this problem caused by tor..

THANK YOU FOR YOUR HELP !!!
Try rebooting and then re-run apt-get update.
If all works ok, then great.

If not, and you get the original issue, you can either keep executing "unset http_proxy" every time you reboot, or track down which config file is setting the proxy.
__________________
BTC:
19ePiXZUdxqNAq9tStLzZV4dduSQeGPJzj
 

The Following 2 Users Say Thank You to jd4200 For This Useful Post:
Ammar Hamdan's Avatar
Posts: 34 | Thanked: 12 times | Joined on Apr 2012 @ Damascus/Syria
#7
the problem was in /etc/apt/apt.conf.d/00maemo file.. that there was a line contains proxy 127.0.0.1 so I removed it & Everything is working o.k now

btw.. THX again for your advice
 

The Following User Says Thank You to Ammar Hamdan For This Useful Post:
Posts: 121 | Thanked: 60 times | Joined on Jun 2012
#8
I have the same problem. How to remove the line which contains proxy 127.0.0.1?
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#9
@skate_boy92

Read post #7 and use any text editor and remove the proxy lines...
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Reply


 
Forum Jump


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