Bug 246571 - apt-get does not work with proxy
Summary: apt-get does not work with proxy
Status: RESOLVED DOWNSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 05:25 UTC by rohit raj
Modified: 2010-08-03 11:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rohit raj 2010-08-03 05:25:46 UTC
Version:           unspecified (using KDE 4.4.2) 
OS:                Linux

I have recently upgraded from kubuntu 9.10 to kubuntu 10.04 using apt-get. My internet works. Kpackagekit works. I have set the necessary http_proxy variables and ftp_proxy variables in .bashrc and /etc/profile.d/proxy.sh . But apt-get fails in kubuntu 10.04 with following error

[code]

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/i18n/Translation-en_IN.bz2  Unable to connect to in.archive.ubuntu.com:http:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/lucid-updates/restricted/i18n/Translation-en_IN.bz2  Unable to connect to in.archive.ubuntu.com:http:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/i18n/Translation-en_IN.bz2  Unable to connect to in.archive.ubuntu.com:http:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/lucid-updates/multiverse/i18n/Translation-en_IN.bz2  Unable to connect to in.archive.ubuntu.com:http:
[/code]

Kpackagekit works but if i try to install software recommended in update notifier same error happens

Reproducible: Always
Comment 1 kdebugs 2010-08-03 09:45:50 UTC
You are here on the KDE bugtracker. You speak about apt-get. KDE is by no means related to Debian's package system (APT). As far as it regards your problem: 

You may use "export http_proxy" or - alternatively - configure /etc/apt/apt.conf.d/whatever and put there

Acquire::http::Proxy "http://proxy.adresse.de:port";
Acquire::ftp::Proxy "http://proxy.adresse.de:port";
Comment 2 Christoph Feck 2010-08-03 11:11:43 UTC
apt-get is not part of the KDE Software Compilation. Please report this bug to https://bugs.launchpad.net/ubuntu/