UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why is that I can work with apt-get in the command line, but I cannot work with synaptic's GUI? On the other hand, I would stay with apt-get all the time as I am not afraid of the CLI, but I have to go into synaptic to browse the repositories for things I might find useful. Is there a way to query from the CLI the repositories with keywords to be matched against package name and/or description? Can I query from the CLI the packages I have installed on my system? Perhaps something like
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.
Last edited by brianthegreat; 06-12-2006 at 12:05 PM.
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 userassword@host in the host input field, but it still does not work.
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.
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.
I've just installed ubuntu 6.06 LTS and have the same problem. It seems apt-get and synaptic just ignore the apt.conf file. Only setting http_proxy variable helps (tested only for apt-get). Synaptic nows about proxy, it connects to it, but the proxy requires authentication and synaptic fails to provide any credentials althrough I've set them in apt.conf and through System->Preferences->Network Proxy->Detail. It seems to me like a bug.
I've just installed ubuntu 6.06 LTS and have the same problem. It seems apt-get and synaptic just ignore the apt.conf file. Only setting http_proxy variable helps (tested only for apt-get). Synaptic nows about proxy, it connects to it, but the proxy requires authentication and synaptic fails to provide any credentials althrough I've set them in apt.conf and through System->Preferences->Network Proxy->Detail. It seems to me like a bug.
Finally, It seems I've found the problem. When you set proxy address and credentials using System->Preferences->Network Proxy the system sets environmental variable http_proxy using only address settings (e.g: http_proxy="hostort") and ignores the credentials. The environmental variable overrides settings in apt.conf so when apt-get connects to the proxy without credentials it gets HTTP 407 error. The solution is to avoid setting proxy configuration using System->Preferences->Network Proxy and set proxy in apt.conf only.
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.