update-manager fails to upgrade with socks proxy

Bug #897686 reported by Ancho on 2011-11-29
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Undecided
Unassigned
update-manager (Ubuntu)
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.

Ancho (ancho-corp) wrote :
description: updated
Launchpad Janitor (janitor) wrote :

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

Changed in update-manager (Ubuntu):
status: New → Confirmed
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.

dino99 (9d9) wrote :

That version is no more maintained

Changed in update-manager (Ubuntu):
status: Confirmed → Invalid
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:~$

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
---

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

Other bug subscribers