Christian's very helpful fix appears to include a small error that
causes Synaptic to fail on attempted startup.  He writes,
> And paste
> APT::Install-Recommends “true";

I think users will have better success if they instead copy and paste
the following line into the 99recommends file that Christian suggests
users create in the /etc/apt/apt.conf.d/ directory:

APT::Install-Recommends "true";

The two lines look the identical, but they're not.  In the version that
Christian typed, the first of the two quotation marks is some kind of
non-standard character, presumably a "smart" or (same) "opening"
quotation mark.  When I tried to use Christian's exact line on my Hardy
system I received this fatal error the next time I tried to start
Synaptic:

E: Syntax error /etc/apt/apt.conf.d/99recommends:2: Extra junk at end of
file

Replacing the non-standard quotation mark with a normal one, as was done
to create the corrected APT line immediately above, solves the problem,
and lets Synaptic start normally.

-- 
Enable auto-install of packages in recommends field by default, like in aptitude
https://bugs.launchpad.net/bugs/8896
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to