LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   KPackageKit not finding correct IP address (https://www.linuxquestions.org/questions/linux-newbie-8/kpackagekit-not-finding-correct-ip-address-826404/)

leongoogs 08-15-2010 05:37 PM

KPackageKit not finding correct IP address
 
Hi
I have installed Kubuntu Lucid x86 10.4 LTS for the first time. Has anyone got a link that explains how KPackageKit gets the IP address of the repositories? I can install packages using sudo apt-get install xxx OK . KpackageKit tells me I have updates from the repositories. I can select them all and apply , but I get an error that it can't find the repository under a 192.168.100.129:8080 address . Which is not a surprise . I am using mirror.optus.net as a repository and can ping it fine on the command line. So is there somewhere else that KPackageKit maps IP addreses ? I have tried another mirror mirror.aarnet.edu.au and got similar results. My local sub-net is not 192.168.100 and have tried setting fixed IP on the local sub-net and different DHCP addresses and still the same error.

sem007 08-16-2010 10:21 AM

can you post content of source.list

Code:

cat /etc/apt/source.list

leongoogs 08-17-2010 04:57 AM

source list
 
# deb cdrom:[Kubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100427)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://mirror.optus.net/ubuntu/ lucid main restricted
deb-src http://mirror.optus.net/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.optus.net/ubuntu/ lucid-updates main restricted
deb-src http://mirror.optus.net/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirror.optus.net/ubuntu/ lucid universe
deb-src http://mirror.optus.net/ubuntu/ lucid universe
deb http://mirror.optus.net/ubuntu/ lucid-updates universe
deb-src http://mirror.optus.net/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirror.optus.net/ubuntu/ lucid multiverse
deb-src http://mirror.optus.net/ubuntu/ lucid multiverse
deb http://mirror.optus.net/ubuntu/ lucid-updates multiverse
deb-src http://mirror.optus.net/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirror.optus.net/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://mirror.optus.net/ubuntu/ lucid-security main restricted
deb-src http://mirror.optus.net/ubuntu/ lucid-security main restricted
deb http://mirror.optus.net/ubuntu/ lucid-security universe
deb-src http://mirror.optus.net/ubuntu/ lucid-security universe
deb http://mirror.optus.net/ubuntu/ lucid-security multiverse
deb-src http://mirror.optus.net/ubuntu/ lucid-security multiverse
# deb http://34.52.53.34/ubuntu/plf/ lucid free non-free
# deb-src http://34.52.53.34/ubuntu/plf/ lucid free non-free
# deb http://34.52.53.34/ubuntu/freecontrib/ lucid free non-free
# deb-src http://34.52.53.34/ubuntu/freecontrib/ lucid free non-free
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu lucid main

leongoogs 08-17-2010 04:59 AM

Different error now .
 
Error Type:
Error Value: coercing to Unicode: need string or buffer, exceptions.SystemError found
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2216, in
main()
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2213, in main
run(args, options.single)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2175, in run
backend.dispatcher(args)
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 699, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 606, in dispatch_command
self.refresh_cache(force)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 202, in _locked_cache
func(*args, **kwargs)
File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1498, in refresh_cache
format_string(error.message))
File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 723, in format_string
txt = unicode(text, encoding, errors='replace')

sem007 08-17-2010 05:09 AM

Code:

http://kubuntuforums.net/forums/index.php?topic=3112757
Hope this help

leongoogs 08-21-2010 02:45 AM

Still no go :(
 
I did manual configuration of the internet connection to isolate any issues there . That got me back to the IP addressing error.
My stateoveride file has

root mlocate 2755 /usr/bin/mlocate
hplip root 755 /var/run/hplip


I don't have gnokii installed.
So I am back for it looking to 192.168.100.129:8080:
for some reason? I have tried 3 different repositories
and it still looks for the same IP address.

I did notice something a bit wacky when I click on the network
manager widget and bring up the connections list and right click to get
properties for the local wired connection the nameserver IP address prints backwards ? Last Octet first and so on.

PS .

Found problem/solution . There is provision a proxy setting in Knetwork manager. This had been set to the 192.168.100.129 address from another network I had used. So command line did not use that proxy so that's why it worked.


All times are GMT -5. The time now is 04:36 PM.