Line editing in xfce

Forum rules
Before you post please read how to get help
Post Reply
Jack054
Level 1
Level 1
Posts: 19
Joined: Sun Oct 15, 2017 10:30 pm

Line editing in xfce

Post by Jack054 » Mon Dec 04, 2017 9:21 pm

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

User avatar
silfox2000
Level 2
Level 2
Posts: 98
Joined: Fri Sep 08, 2017 8:13 am

Re: Line editing in xfce

Post by silfox2000 » Tue Dec 05, 2017 12:31 am

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";

all41
Level 15
Level 15
Posts: 5546
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Line editing in xfce

Post by all41 » Tue Dec 05, 2017 1:34 am

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

Yes--same here

User avatar
Pjotr
Level 21
Level 21
Posts: 13149
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Line editing in xfce

Post by Pjotr » Tue Dec 05, 2017 5:36 am

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
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
silfox2000
Level 2
Level 2
Posts: 98
Joined: Fri Sep 08, 2017 8:13 am

Re: Line editing in xfce

Post by silfox2000 » Tue Dec 05, 2017 8:19 am

Pjotr wrote:Off topic: if I were you, I'd set Install-Recommends to "true"....
Thanks for the tip.

Post Reply

Return to “Xfce”