Comment 34 for bug 154349

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

@Dmitrijs: did you test it as root or a normal user ?
A normal user won't be allowed to write to /etc/apt/apt.conf.d and a message is printed to stderr. However it's working correctly as root but still disappointing for a normal user since the setting is lost upon restart.

An improved version would be to load/save from the system's setting if run as superuser and from user's preferences if run as a normal user.

As a side note, Dmitrijs, could you please file a new report for the crash with a backtrace if apport doesn't trigger please. Thanks in advance.