LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-22-2016, 12:47 PM   #1
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
auto remove suggests and recommends


I would like to automatically remove all the suggests and recommends from an existing debian installation as well as prevent them from loading during aptitude updates.

Last edited by utanja; 01-22-2016 at 12:49 PM. Reason: spelling corrections
 
Old 01-23-2016, 02:38 AM   #2
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
For the second part of your question, add these to /etc/apt/apt.conf (you may have to create the file first)
Code:
$ cat /etc/apt/apt.conf
APT::Install-Suggests "0";
APT::Install-Recommends "0";
 
1 members found this post helpful.
Old 01-23-2016, 07:56 PM   #3
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by jim_p View Post
For the second part of your question, add these to /etc/apt/apt.conf (you may have to create the file first)
Code:
$ cat /etc/apt/apt.conf
APT::Install-Suggests "0";
APT::Install-Recommends "0";
Thanks for the second part but I want to autoremove the existing recommends/suggests as well.
 
Old 01-27-2016, 12:58 PM   #4
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by utanja View Post
I would like to automatically remove all the suggests and recommends from an existing debian installation as well as prevent them from loading during aptitude updates.
Thank you Jim_P for that information but I am still looking for a method to automatically remove installed recommends and suggests.

The information you provided was very helpful in preventing recommends and suggests from installing but I have a load of them already installed which I would like to remove
 
Old 01-27-2016, 01:19 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
utanja, what did your searches inside apt documentation reveal? where are you stuck? we will be willing to help you with that.
 
Old 01-28-2016, 12:55 AM   #6
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
After some googling, I came up to this (the last post)

http://askubuntu.com/questions/24447...alled-packages
 
1 members found this post helpful.
Old 01-28-2016, 02:12 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
...and again somebody managed to get a complete handout instead of showing some effort.
but, yeah, whatever, good find jim_p!
 
Old 01-29-2016, 10:35 AM   #8
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by ondoho View Post
...and again somebody managed to get a complete handout instead of showing some effort.
but, yeah, whatever, good find jim_p!
Even though English is not my primary language,I will not lower myself to reply
 
Old 01-29-2016, 02:39 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
you also didn't lower yourself to mark this thread [SOLVED]...
 
Old 02-05-2016, 06:08 PM   #10
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Original Poster
Rep: Reputation: 32
solved

I mark this solved
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggests for recompile the kernel . nomikos Linux - General 2 02-14-2011 10:12 AM
Recommends for cf install? rasav Linux - Newbie 1 04-06-2009 08:00 AM
printer system recommends? bigearsbilly Solaris / OpenSolaris 2 11-28-2006 06:43 AM
suggests scenario for HA sheikhsa Linux - Networking 1 10-04-2006 07:28 AM
aptitude - get missing recommends nexisvi Debian 0 11-04-2004 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration