update-manager fails to upgrade with socks proxy

Bug #897686 reported by Ancho
72
This bug affects 16 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm trying to upgrade from natty to oneiric using do-release-upgrade. The problem is that I have internet only through socks using a local shh tunnel connection created by using: ssh -g -D 8888 user@ip. The tunnel works great with firefox and using tsocks or proxychains with other applications, also works with do-release-upgrade at first stage, but after the "downloading upgrade tool" it clears the screen and seems like a call to apt-get or synaptic (or is it aptitude?) and all the connections tries keeps failing.
I've tried replacing apt-get in /usr/bin with a script that invokes first proxychains with parameters apt-get and $@, but that doesn't work either.

http://ubuntuforums.org/showthread.php?p=11488156#post11488156

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: update-manager 1:0.150.5
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Tue Nov 29 10:49:31 2011
GConfNonDefault:
 /apps/update-manager/check_new_release_ignore=
 /apps/update-manager/first_run=false
 /apps/update-manager/show_details=true
 /apps/update-manager/window_size=(1600,876)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=es_PY:en
 LANG=es_PY.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to natty on 2011-11-29 (0 days ago)

See also bug 651229.

Revision history for this message
Ancho (ancho-corp) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
gkforcare (gerke-forcare) wrote :

I ran into this when I want trying to upgrade from 12.10 to 13.04 and I needed to use a socks-proxy during that upgrade. It did work for apt-get but not for the update-manager.

Revision history for this message
dino99 (9d9) wrote :

That version is no more maintained

Changed in update-manager (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
fedorowp (fedorowp) wrote :

This bug is still present in Ubuntu 16.04.1 LTS with the latest updates.

user@computer:~$ lsb_release -a;date;sudo tsocks do-release-upgrade;date
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Wed Dec 14 17:21:22 EST 2016
Checking for a new Ubuntu release
No new release found
Wed Dec 14 17:21:42 EST 2016
user@computer:~$

Revision history for this message
fedorowp (fedorowp) wrote :

/etc/update-manager/release-upgrades:
---
# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=normal
---

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
dino99 (9d9)
tags: added: xenial
removed: natty
Revision history for this message
Sergey Spiridonov (sena-hurd) wrote :

This bug is still present in Ubuntu 20.04 LTS with the latest updates.

do-release-upgrade can not use apt socks5h proxy settings.

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.