LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 07-03-2009, 10:55 PM   #1
zzypty
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Rep: Reputation: 3
Synaptic unresponsive


Hi!

Whenever I attempt to change the preferences in Synaptic, it stops responding.

I tried running Synaptic from the command line. When it became unresponsive, I checked the command line for any errors. This is the error it gave -
Quote:
Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
I am trying to change the preference in my connection settings from the option for 'connecting through a proxy server' to 'direct connection to the internet'. Is there any way to change these settings from command-line?

I am aware that this is not critical, as I could use the command-line update command -
Quote:
~$ aptitude update
~$ aptitude upgrade/safe-upgrade
But, I find the synaptic packet manager convenient and would like to get it to work.

Thank you
 
Old 07-04-2009, 12:42 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
IIRC: you revers the usual procedure to set up opt-get to work behind a proxy...

rename: /etc/apt/apt.conf.d/proxy

you may need to:

export http_proxy=""
 
Old 07-04-2009, 09:49 AM   #3
zzypty
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Original Poster
Rep: Reputation: 3
Thanks

I am not behind a proxy. I was initially, but now I wish to connect directly to the internet. Since there is no proxy-setting required, I do not need to export http_proxy (or ftp_proxy). However, Synaptic has some different settings (or so it seems) which is causing the problem.

I tried searching for the file - /etc/apt/apt.conf.d/proxy, but it does not exist.

Thanks
Kedar
 
Old 07-05-2009, 01:46 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
synaptic is a front-end for apt-get.
the idea is to reverse what you did to get synaptic to work behind the proxy right.l

But your troubel is that when you try to change back from synaptic > Settings-> Preference -> Network, it hangs. Looks like this bug:
https://bugs.launchpad.net/ubuntu/+s...ic/+bug/298389

This means editing the config files and resetting environment variables.
http://blog.mypapit.net/2006/02/how-...untudebian.htm

You used to have a proxy, which means you used to have proxy settings, which you report you have been unable to remove.

But lets check:

echo $http_proxy

Last edited by Simon Bridge; 07-05-2009 at 01:48 AM.
 
Old 07-07-2009, 08:23 AM   #5
zzypty
LQ Newbie
 
Registered: Mar 2009
Posts: 13

Original Poster
Rep: Reputation: 3
Hi!

Quote:
~$echo $http_proxy
This is expected, because when I update/upgrade from command line, I do not have any problems.

However, the user-interface (synaptic) seems to have some different settings for network. This is set through
Settings --> Preferences --> Network --> settings

I wish to change these settings from the command line. If I attempt to change them through Synaptic itself, I get the above mentioned error.

Thanks for being patient and sorry if I'm not being able to express my problem clearly,
Kedar
 
Old 07-07-2009, 09:17 AM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Ok - you can get updates without synaptic.
This look very much like bug:
https://bugs.launchpad.net/ubuntu/+s...ic/+bug/298389
... mentioned before. Did you read that report?

One user reports that resetting gnome to defaults did the trick: that involved removing
.gnome .gnome2 .gconf .gconfd .metacity
... from the home directory.

I don't see anything explicitly synaptic-related in there.
I also looked for apt, aptitude, apt-get, and update manager. Nothing promising.

Personally, I'd try removing and reinstalling synaptic using aptitude.

I think you need to answer to the bug report with your error message about gtk buttons, and what happens with synaptic reinstall.
 
  


Reply

Tags
gtk, synaptic, warning


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
CRON becoming unresponsive andrewsb333 Linux - Software 1 05-20-2008 11:10 AM
server becomes unresponsive davy2002a Linux - Server 4 11-28-2007 11:42 PM
Unresponsive keyboard bazz Linux - Newbie 3 07-13-2007 06:23 AM
Synaptic Gui ver on Suse 10.0 - error message : "command synaptic not found" suse2166 Linux - Newbie 6 04-04-2006 01:58 AM
unresponsive during login danharris Linux - Newbie 4 12-04-2004 04:32 PM


All times are GMT -5. The time now is 03:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration