Page 1 of 1

Line editing in xfce

Posted: Mon Dec 04, 2017 9:21 pm
by Jack054
How do I edit out a stray "2" from the line "/etc/apt/apt.conf.d/00recommends in xfce18.2"?

I cannot download app updates or open some other functions because of the stray "2" (I don't know how the "2" got entered on the line)
Thanks
Jack054

Re: Line editing in xfce

Posted: Tue Dec 05, 2017 12:31 am
by silfox2000

Code: Select all

sudo nano /etc/apt/apt.conf.d/00recommends
After editing Ctrl+O for saving and Ctrl+X for exiting.
Mine contains 2 lines:

Code: Select all

APT::Install-Recommends "false";
Aptitude::Recommends-Important "false";

Re: Line editing in xfce

Posted: Tue Dec 05, 2017 1:34 am
by all41
APT::Install-Recommends "false";
Aptitude::Recommends-Important "false";

Yes--same here

Re: Line editing in xfce

Posted: Tue Dec 05, 2017 5:36 am
by Pjotr
Off topic: if I were you, I'd set Install-Recommends to "true"....
https://sites.google.com/site/easylinux ... g-software
(item 1.2.1, left column)

And many people find the graphical text editor xed, easier to use than nano:

Code: Select all

gksudo xed /etc/apt/apt.conf.d/00recommends

Re: Line editing in xfce

Posted: Tue Dec 05, 2017 8:19 am
by silfox2000
Pjotr wrote:Off topic: if I were you, I'd set Install-Recommends to "true"....
Thanks for the tip.