LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2010, 05:37 PM   #1
leongoogs
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 8.0, Mandrake 9.1 9.2
Posts: 23

Rep: Reputation: 16
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.

Last edited by leongoogs; 08-21-2010 at 02:20 AM.
 
Old 08-16-2010, 10:21 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
can you post content of source.list

Code:
cat /etc/apt/source.list
 
Old 08-17-2010, 04:57 AM   #3
leongoogs
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 8.0, Mandrake 9.1 9.2
Posts: 23

Original Poster
Rep: Reputation: 16
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
 
Old 08-17-2010, 04:59 AM   #4
leongoogs
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 8.0, Mandrake 9.1 9.2
Posts: 23

Original Poster
Rep: Reputation: 16
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')
 
Old 08-17-2010, 05:09 AM   #5
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Code:
http://kubuntuforums.net/forums/index.php?topic=3112757
Hope this help
 
Old 08-21-2010, 02:45 AM   #6
leongoogs
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 8.0, Mandrake 9.1 9.2
Posts: 23

Original Poster
Rep: Reputation: 16
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.

Last edited by leongoogs; 08-22-2010 at 10:33 PM. Reason: Found solution
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Address Space Randomization on 2.6.28-15-generic ubuntu 9.04. Finding base address nullprocess Linux - Security 1 09-15-2009 12:56 AM
Address Space Randomization on 2.6.28-15-generic ubuntu 9.04. Finding base address nullprocess Linux - Kernel 1 09-14-2009 08:31 PM
Address Space Randomization on 2.6.28-15-generic ubuntu 9.04. Finding base address nullprocess Linux - Kernel 0 09-14-2009 10:45 AM
Iptables - Finding the correct way? muppski Linux - Networking 1 07-18-2005 08:14 AM
Finding Correct Moniter Settings jakobie Linux - Hardware 4 11-29-2004 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration