Ubuntu – What happened to /etc/apt/apt.conf

11.04aptPROXY

I was browsing through the apt folder to try my proxy settings and I was unable to find the apt.conf file in Ubuntu 11.04. Is there any alternative file for it?

Adding proxy settings to 99-synaptic in apt.conf.d does not help as it gets overwritten everytime I restart the system.

Best Answer

The /etc/apt/apt.conf file is still read if it exists. The apt configuration provided by packages is installed as separate files in /etc/apt/apt.conf.d/ so that it can be added and updated independent of any local changes you make in the main configuration file.

So if you have local configuration changes, just create the file.

Related Question