Comment 13 for bug 368361

Revision history for this message
Sb (sb56637) wrote : Re: [Bug 368361] Re: apt-get Bash Autocompletion Not Working

On 04/29/2009 04:01 PM, James Westby wrote:
> On Wed, 2009-04-29 at 20:37 +0000, Sb wrote:
>
>>> can you try a "apt-cache pkgname gnome-" without the sudo and tell us if
>>> you have a result?
>>>
>>>
>> Without the sudo it says "E: Opening configuration file
>> /etc/apt/apt.conf - ifstream::ifstream (13 Permission denied)"
>>
>
> That's the issue then.
>
> If you make this file world-readable (after checking there is nothing
> sensitive in there) then it should work.
>
> Thanks,
>
> James
>
>

Sure enough, I did a "sudo chmod 777 /etc/apt/apt.conf" and it works.
So it would appear that a deb package or a post-install script in the
alternate install CD is wrongly setting the permissions on that file.

Thanks a lot!