problems with apt-get, synaptic and proxy
I have declared my http_proxy and ftp_proxy variables succesfully (wget works just fine), and I also declared the
Code:
Acquire::http::Proxy "http://user:pwd@proxy:port"; apt-get works just fine, but synaptic gives me an error Code:
http://au.archive.ubuntu.com/ubuntu/dists/dapper/main/binary-i386/Packages.gz: 407 Proxy Authentication Required Code:
rpm -qa | grep something |
Open up synaptic and then choose (settings--> preferences--> network) and then define your proxy settings there. All should be well after that has been completed in the proper fashion. Thne you will probably need to issue an sudo apt-get update but all should be fine after that.
|
I was already aware of these synaptic settings to configure proxies, but it doesn't have the option of proxy authentication. I mean, there is not way to give a proxy username and a password. And unfortunately, my proxy needs authentication.
I put user:password@host in the host input field, but it still does not work. |
Found this with a quick search referencing www.google.com/linux
http://www.linuxforums.org/forum/deb...er-ubuntu.html |
It says I should include
Acquire::http::Proxy "http://username:password@proxy:port"; Acquire::ftp::Proxy "ftp://username:password@proxy:port"; in /etc/apt/apt.conf I already said I did that. And I also configured the http_proxy and ftp_proxy environment variables used by wget, just in case (and because I use wget, or course). Why does synaptic has a proxy configuration settings and it doesn't use the one in /etc/apt/apt.conf ??? My apt-get works great from the CLI, but synaptic does not. |
Quote:
regards |
Quote:
regards |
yeah ur trick worked...:)
thank you buddy. |
broken
Quote:
any suggestion? thnx |
I placed domain\username in /etc/apt/apt.conf and in network proxy in GNOME (Ubuntu Edgy). apt-get work flawlessly, but Synaptic not. Anyway, I'm quite comfortable now :)
|
I am quite used to manage software packages from the CLI. I've always have since my old Mandrake/urpmi days. But I still like to use a GUI to browse packages. Taht's why I want synaptic. I can browse packages now, but sometimes while browsing I am just a couple of clicks away from installing something cool I just found. And I cannot. I even have to close Synaptic in order to be able to work with apt-get in the terminal.
I know we have aptitute, but I still don't get how to work with its interface. I just don't understand it. I would be happy with a way to know if a package is installed or not. From the CLI I am able to browse the repositories with "apt-cache search" and "apt-cache show", but this doesn't tell me enough. In synaptic, packages are check-marked (or not) if they are already installed. |
apt-get works, synaptic does not - workaround
Hi there,
I ran into the same problem at work. It looks like gksu is part of the problem. as a work around, add your proxy to /etc/apt/apt.conf adjust the network proxy under system-->preferences to your proxy setup. Set synaptic up with no proxy. start synaptic from the command line with sudo - sudo synaptic. Voila! you can now use synaptic with yuor proxy! |
All times are GMT -5. The time now is 10:59 PM. |