aptdaemon does not support proxy settings

Bug #446069 reported by Claus Frein
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Fix Released
High
Unassigned
update-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm behind a firewall and can connect to the internet via a proxy, which i have configured in gnome.

Proxy-aware applications like Synaptic use it, update-manager does not.

Message is:
---
Updating cache

Downloading 0B of 4B
---

And after moment:
"Failed to download repository information"

> dpkg -l update-manager
update-manager 1:0.125.6

Claus Frein (cfrein)
affects: ubuntu → update-manager (Ubuntu)
description: updated
Michael Vogt (mvo)
Changed in aptdaemon (Ubuntu):
status: New → Confirmed
importance: Undecided → High
milestone: none → ubuntu-9.10
summary: - update-manager does not use proxy from gnome
+ aptdaemon does not support proxy settings
Revision history for this message
Giovanni Mellini (merlos) wrote :

I had same problem.
Applying proxy settings "System Wide" force aptdeamon to use proxy settings so update-manager can connect to Internet.

I think that users expect that aptdeamon uses proxy settings without pushing "Apply System Wide" button, as older Ubuntu versions.

Giovanni

Revision history for this message
Wagner Nobres (wagner.nobres) wrote :

Giovanni. This workaround doesn't work if you need proxy authentication. I just changed proxy configuration and set authentication on "Network Proxy" clicking "Apply System Wide" and also changed inside Synaptics. Update-manager still doesn't work even after rebooting. I'm able to use Firefox and Synaptics fine.

Revision history for this message
Wagner Nobres (wagner.nobres) wrote :

update-manager error message: 407 Proxy Authentication Required.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

I will add an HttpProxy and FtpProxy property to the org.debian.apt.Transaction interface.

Changed in aptdaemon (Ubuntu):
status: Confirmed → In Progress
Michael Vogt (mvo)
Changed in aptdaemon (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aptdaemon - 0.10+bzr259-0ubuntu1

---------------
aptdaemon (0.10+bzr259-0ubuntu1) karmic; urgency=low

  * debian/patches/aptd_http_proxy.patch:
    - add basic http proxy proxy support (LP: #446069)
  * dropped patches:
    - debian/patches/aptd_locking_fixes.patch
    - debian/patches/fix_syslog_crash.patch
    Both got accepted upstream (no other changes in r259)

 -- Michael Vogt <email address hidden> Fri, 09 Oct 2009 10:16:49 +0200

Changed in aptdaemon (Ubuntu):
status: Fix Committed → Fix Released
Michael Vogt (mvo)
Changed in update-manager (Ubuntu):
status: New → Fix Released
Revision history for this message
Wagner Nobres (wagner.nobres) wrote :

Is there a workaround so i can run update-manager to get this fix?

Thanks in advance.

Revision history for this message
to be removed (liw) wrote :

@Wagner Nobres: You can run apt-get from the terminal:

sudo apt-get update
sudo apt-get upgrade

Revision history for this message
Wagner Nobres (wagner.nobres) wrote : Re: [Bug 446069] Re: aptdaemon does not support proxy settings

Thank you Lars! It worked.

I just had to open /etc/apt/apt.conf and add the username and password to
the http_proxy variable also.

Thank you!

On Fri, Oct 9, 2009 at 10:35 AM, Lars Wirzenius <email address hidden> wrote:

> @Wagner Nobres: You can run apt-get from the terminal:
>
> sudo apt-get update
> sudo apt-get upgrade
>
> --
> aptdaemon does not support proxy settings
> https://bugs.launchpad.net/bugs/446069
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “aptdaemon” package in Ubuntu: Fix Released
> Status in “update-manager” package in Ubuntu: Fix Released
>
> Bug description:
> I'm behind a firewall and can connect to the internet via a proxy, which i
> have configured in gnome.
>
> Proxy-aware applications like Synaptic use it, update-manager does not.
>
> Message is:
> ---
> Updating cache
>
> Downloading 0B of 4B
> ---
>
> And after moment:
> "Failed to download repository information"
>
>
> > dpkg -l update-manager
> update-manager 1:0.125.6
>
>
>

--
Wagner Nobres
<email address hidden>

WagnerVox Live: http://wagnervox.blogspot.com/

“O mais engraçado nos homens de hoje em dia é que eles gastam toda a sua
saúde para ganhar dinheiro, e depois no final de sua vida, gastam todo o seu
dinheiro para recuperar sua saúde. E assim, vivem a vida pensando no futuro,
e se esquecem do presente, vivem como se estivessem mortos, e morrem como se
nunca tivessem vivido…” - Dalai Lama

Revision history for this message
David Harper (inquisitivedave) wrote :

Hi,

I'm using the 0.10+bzr259-0ubuntu1 package released above, but Update Manager still throws 407 Authentication Errors, even after clicking the "Apply System-wide" button again, and a reboot.

Again, Synaptic is working fine but all the other apt programs don't work.

Thanks,
Dave

Revision history for this message
David Harper (inquisitivedave) wrote :

It seems to be working now. Thanks for all your help.

Revision history for this message
Wagner Nobres (wagner.nobres) wrote :

Thank you very much. It is working now!

On Wed, Oct 14, 2009 at 5:58 AM, David Harper <email address hidden>wrote:

> It seems to be working now. Thanks for all your help.
>
> --
> aptdaemon does not support proxy settings
> https://bugs.launchpad.net/bugs/446069
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “aptdaemon” package in Ubuntu: Fix Released
> Status in “update-manager” package in Ubuntu: Fix Released
>
> Bug description:
> I'm behind a firewall and can connect to the internet via a proxy, which i
> have configured in gnome.
>
> Proxy-aware applications like Synaptic use it, update-manager does not.
>
> Message is:
> ---
> Updating cache
>
> Downloading 0B of 4B
> ---
>
> And after moment:
> "Failed to download repository information"
>
>
> > dpkg -l update-manager
> update-manager 1:0.125.6
>
>
>

--
Wagner Nobres
<email address hidden>

WagnerVox Live: http://wagnervox.blogspot.com/

“O mais engraçado nos homens de hoje em dia é que eles gastam toda a sua
saúde para ganhar dinheiro, e depois no final de sua vida, gastam todo o seu
dinheiro para recuperar sua saúde. E assim, vivem a vida pensando no futuro,
e se esquecem do presente, vivem como se estivessem mortos, e morrem como se
nunca tivessem vivido…” - Dalai Lama

Revision history for this message
Wagner Nobres (wagner.nobres) wrote :

Update manager is working now but i got the same problem on "Ubuntu Software
Center". Same problem. 407 Error.

Should i open a new issue or we can work on this one?

Thanks

Wagner

On Thu, Oct 15, 2009 at 11:27 AM, Wagner Nobres <email address hidden>wrote:

> Thank you very much. It is working now!
>
> On Wed, Oct 14, 2009 at 5:58 AM, David Harper <email address hidden>wrote:
>
>> It seems to be working now. Thanks for all your help.
>>
>> --
>> aptdaemon does not support proxy settings
>> https://bugs.launchpad.net/bugs/446069
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in “aptdaemon” package in Ubuntu: Fix Released
>> Status in “update-manager” package in Ubuntu: Fix Released
>>
>> Bug description:
>> I'm behind a firewall and can connect to the internet via a proxy, which i
>> have configured in gnome.
>>
>> Proxy-aware applications like Synaptic use it, update-manager does not.
>>
>> Message is:
>> ---
>> Updating cache
>>
>> Downloading 0B of 4B
>> ---
>>
>> And after moment:
>> "Failed to download repository information"
>>
>>
>> > dpkg -l update-manager
>> update-manager 1:0.125.6
>>
>>
>>
>
>
> --
> Wagner Nobres
> <email address hidden>
>
>
> WagnerVox Live: http://wagnervox.blogspot.com/
>
> “O mais engraçado nos homens de hoje em dia é que eles gastam toda a sua
> saúde para ganhar dinheiro, e depois no final de sua vida, gastam todo o seu
> dinheiro para recuperar sua saúde. E assim, vivem a vida pensando no futuro,
> e se esquecem do presente, vivem como se estivessem mortos, e morrem como se
> nunca tivessem vivido…” - Dalai Lama
>

--
Wagner Nobres
<email address hidden>

WagnerVox Live: http://wagnervox.blogspot.com/

“O mais engraçado nos homens de hoje em dia é que eles gastam toda a sua
saúde para ganhar dinheiro, e depois no final de sua vida, gastam todo o seu
dinheiro para recuperar sua saúde. E assim, vivem a vida pensando no futuro,
e se esquecem do presente, vivem como se estivessem mortos, e morrem como se
nunca tivessem vivido…” - Dalai Lama

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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