Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    I need some help !!!!

    Reply
    Ammar Hamdan | # 1 | 2012-10-06, 00:40 | Report

    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 ???

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
      

     
    jd4200 | # 2 | 2012-10-06, 00:45 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jd4200; 2012-10-06 at 00:53.

     
    Ammar Hamdan | # 3 | 2012-10-06, 01:12 | Report

    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"; 
    ~ $

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jd4200 | # 4 | 2012-10-06, 01:24 | Report

    You've definitely got some sort of proxy set up for apt.
    Originally Posted by
    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to jd4200 For This Useful Post:
    Ammar Hamdan, Mentalist Traceur, MINKIN2, reinob, Sourav.dubey, Wikiwide

     
    Ammar Hamdan | # 5 | 2012-10-06, 01:50 | Report

    WoOoW...problem has been solved & catalogs working perfectly

    I think this problem caused by tor..

    THANK YOU FOR YOUR HELP !!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jd4200 | # 6 | 2012-10-06, 01:56 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to jd4200 For This Useful Post:
    MINKIN2, Wikiwide

     
    Ammar Hamdan | # 7 | 2012-10-06, 02:05 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Ammar Hamdan For This Useful Post:
    Wikiwide

     
    skate_boy92 | # 8 | 2012-11-11, 13:54 | Report

    I have the same problem. How to remove the line which contains proxy 127.0.0.1?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    sifo | # 9 | 2012-11-11, 19:49 | Report

    @skate_boy92

    Read post #7 and use any text editor and remove the proxy lines...

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout