Mint 11 proxy change problems

Bug #783140 reported by Rui Castro
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

MintUpdate still doesn't work, I'm using 4.3 in Mint 11 RC

I have a proxy at work and no proxy at home, so in the network proxy app I have two profiles, a home and work profile. At work i have a proxy server with a port. When i use the home profile at home all work great (yes I do press apply to all) but than i put my machine in standby and than turn it on at work, go into the network proxy app and change it to the work profile. Now I try the mint update and it says theres no network. In Mint 11 the mint update now doesn’t have the proxy configuration but theres one bug, only the port is being changed not the proxy server address for example in the package manager settings. Only after a reboot all is well, sometimes.

This is also a issue in the LMDE edition too, but theres no apply to all button, have to reboot machine.

Like I said this isn’t a Mint 11 issue but all mints. Mint 10, i change manually the package manager the proxy, and when i press update on the mint update all works but the automatic mint update checker doesn’t… which makes me believe that since it should be working as root, maybe i still need to change something manually (which I shouldn’t be doing).

Its seems to me that the network proxy app most be missing some change or maybe because the file is locked some how. I have had success sometimes by quiting the mint update app and waiting a while (1 hour) than do a network proxy change, than load up mint update, and sometimes it works. I’m guessing some configuration file is being locked.

But today, think I have found the fix.

If I change the proxy with “Network Proxy”, Mint Update will not work.

But if I first exit Mint Update and than terminate this process: /usr/lib/linuxmint/mintUpdate/mintUpdate.py

And now change the Network Proxy, all works well.

I think its mintUpdate.py is not being updated.

hope this can be fixed in the Mint 11 version. Hope this helps, thx.

Revision history for this message
Rui Castro (ruifcastro) wrote :

New update

Sadly I think the network proxy still has a problem, after a reboot MintUpdate didn't work after i had changed the proxy.

I did a ps -ef|grep -i "mintupdate"

and saw this:

rfcastro 1861 1 0 22:11 ? 00:00:00 gksudo --message Please enter your password to start the update manager /usr/lib/linuxmint/mintUpdate/mintUpdate.py show

looks like the mintupdate that runs as root, needs a password but nothing appeared, maybe the bug is here. The Network proxy app when it asks for credencials is not changing everything

Oh and now that that i'm at another location with another proxy server, but this one has a login and password for the proxy, Network Proxy has the detail button where I can put it but MintUpdate just doesn't accept it.

Revision history for this message
Rui Castro (ruifcastro) wrote :

This proxy bug is so bad, I went into package manager and it still had the old proxy I had changed with network proxy app, now MintUpdate started to work again (before this i and killed the above process).... till tomorrow when i change it again, arrrrr

Revision history for this message
Rui Castro (ruifcastro) wrote :

Some more update, since i change my work place, I now have a proxy that has authentication. Mintupdate works when i do a manual reload but its automatic system give me a error. I also noticed that sudo apt-get update also gave out a proxy authentication error. So i guess the problem may be on the root side, so I investigated the /etc/apt/apt.conf file. And now I now the problem, in the "network proxy" app i do have the right proxy and authentication (details button on the right) but for some reason it doesn't change the apt.conf file. I even have the proxy and authentications info in the package manager which helped the manual reload of mintupdate but not the automatic one.

So the bug is in the apt.conf, "network update" only updates the proxy server but doesn't put the autentication info. For example:

My "network proxy" info:

proxy is: proxy.address.pt
port: 8080
user: <email address hidden>
pwd: VeryBadPwd

the apt.conf file looks like this:
Arquire::http::proxy "http://proxy.address.pt:8080/"
Arquire::ftp::proxy "http://proxy.address.pt:8080/"
Arquire::https::proxy "http://proxy.address.pt:8080/"

and should look like this:
Arquire::http::proxy "http://<email address hidden>:<email address hidden>:8080/"
Arquire::ftp::proxy "http://<email address hidden>:<email address hidden>:8080/"
Arquire::https::proxy "http://<email address hidden>:<email address hidden>:8080/"

I guess me setting the package manage by hand also is a bug becuase "Network proxy" should of changed it too.

Hope this helps. Mint would be great to be friendly at local work places.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.