[Bug 820383] Re: package-data-downloader fails if apt is configured to use an http proxy that only supports package downloading
ATorre
820383 at bugs.launchpad.net
Wed Jun 12 15:15:48 UTC 2013
Just to show a workaround. It's really *UGLY* but worked for me:
1.- Download manually
http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_xx.x.x.x.orig.tar.gz
2.- Make you root (sudo -i, su -, etc)
3.- Make a backup of /usr/bin/update-notifier/package-data-downloader:
cp /usr/bin/update-notifier/package-data-downloader /usr/bin/update-notifier/package-data-downloader.bak
4.- Edit /usr/bin/update-notifier/package-data-downloader and replace
this line:
dest_file = urllib.urlretrieve(files[i])[0]
by this one:
dest_file = urllib.urlretrieve("/path/to/your/file/adobe-
flashplugin_xx.x.x.x.orig.tar.gz")[0]
5.- Reinstall flashplugin-installer package:
apt-get install --reinstall flashplugin-installer
6.- Recover the original package-data-downloader file:
mv /usr/bin/update-notifier/package-data-downloader.bak /usr/bin/update-notifier/package-data-downloader
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/820383
Title:
package-data-downloader fails if apt is configured to use an http
proxy that only supports package downloading
Status in “update-notifier” package in Ubuntu:
Triaged
Bug description:
Description: Ubuntu oneiric (development branch)
Release: 11.10
ttf-mscorefonts-installer:
Installato: 3.3ubuntu3
Candidato: 3.3ubuntu3
Tabella versione:
*** 3.3ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ oneiric/multiverse i386 Packages
100 /var/lib/dpkg/status
I have ONLY an apt-proxy defined here
cat /etc/apt/apt.conf.d/proxy
Acquire::http::proxy "http://192.168.100.58:3142/";
i must temporary move the /etc/apt/apt.conf.d/proxy then do a
sudo dpkg-reconfigure ttf-mscorefonts-installer
to get the font installer ignore the DEB proxy... and can get the
fonts via web...
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ttf-mscorefonts-installer 3.3ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic i686
Architecture: i386
Date: Wed Aug 3 11:06:15 2011
PackageArchitecture: all
ProcEnviron:
LANGUAGE=it_IT:en
PATH=(custom, user)
LANG=it_IT.UTF-8
SHELL=/bin/bash
SourcePackage: msttcorefonts
UpgradeStatus: Upgraded to oneiric on 2011-06-07 (56 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/820383/+subscriptions
More information about the foundations-bugs
mailing list