LinuxQuestions.org
Visit Jeremy's Blog.
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 12-15-2013, 05:37 PM   #1
TheCobra
LQ Newbie
 
Registered: Jul 2013
Distribution: Debian Jessie, Crunchbang
Posts: 15

Rep: Reputation: Disabled
Openbox package issues in Debian Testing


I am setting up a lightweight server for minecraft using Debian Testing and when I use "apt-get install openbox" or "aptitude install openbox" I am met with 731MB of dependencies. I knew this wasn't right but I tried installing it anyway and it installed Gnome 3.8 with openbox replacing the default wm.

My questions are: Is this some kind of dependency glitch with the package? Is it repeatable on your system? If this is not a bug, but done explicitly, how do I get around this and/or what are alternatives to openbox?
 
Old 12-15-2013, 06:02 PM   #2
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Posts: 198

Rep: Reputation: 33
I am not using Testing, but this thread might be of interest to you, even though it pertains to Sid: http://forums.debian.net/viewtopic.p...&hilit=openbox
 
Old 12-15-2013, 06:46 PM   #3
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,915

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
Yup, there has been a lot of chatter about this on the CrunchBang forums (take a visit there, if you haven't already, lots of good openbox info ). I haven't tried it personally, but the solution I've seen mentioned is to install without the "recommends."

The bottom line is that, if you are going to use a "Testing" distro, you must be prepared to read the forums and bug reports, and prepare yourself for the occasional bug/wrinkle/inconvenience.
 
Old 12-16-2013, 01:01 AM   #4
m.a.l.'s pa
Member
 
Registered: Oct 2007
Location: albuquerque
Posts: 198

Rep: Reputation: 33
See: http://crunchbang.org/forums/viewtopic.php?id=30928

And: http://crunchbang.org/forums/viewtopic.php?id=30691
 
Old 12-16-2013, 09:58 PM   #5
TheCobra
LQ Newbie
 
Registered: Jul 2013
Distribution: Debian Jessie, Crunchbang
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thank you all for the information, it seems to be doing this for the openjdk-7-jre package as well. Can you recommend newsletters/forums/etc I should lurk for information of this type (other than this one, of course).
 
Old 12-18-2013, 07:17 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,216

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
Hi,

is apt configured to automatically install recommended and/or suggested packages? If so you can disable this behaviour by adding the following lines to your /etc/apt/apt.conf
Code:
Apt::Install-Recommends "false";
Apt::Install-Suggests "false";
Evo2.
 
Old 12-19-2013, 01:25 AM   #7
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,203

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by evo2 View Post
Hi,

is apt configured to automatically install recommended and/or suggested packages? If so you can disable this behaviour by adding the following lines to your /etc/apt/apt.conf
Code:
Apt::Install-Recommends "false";
Apt::Install-Suggests "false";
Evo2.
This is ALWAYS a good idea. The recomended packages and suggested packages will be listed under the headings "Recomended Packages" and Suggested Packages. You, therefore, have the option of installing them manually if you think you need them.

In your current situation, if you do not want to reinstall then leave apt configured as is, run;
Code:
apt-get purge gnome
This will not get rid of all of it but will get rid of most of it. You can pull up Synaptic and dig through it for other unneeded packages after that.

Then add the prohibition of recommends and suggested package.

Or reinstall and make sure that the prohibition is in place before you add anything too the base install.

My question is; did you install using the Debian testing image? Debian testing images all use the Debian testing installer. I suggest, and I think most folks here would do the same, if you want to actually run Jessie or Sid, get the Wheezy netinstall image. Install it with nothing but the base install. Do a version upgrade of it to Jessie and then complete your install manually.

Make sure you configure apt the way you want it before doing version upgrades from the Wheezy base.

When doing your version upgrade and start to add the rest of the install, READ what is going to be installed. I know, it is not the most exciting reading but you can save yourself some future work by doing so.
 
1 members found this post helpful.
Old 12-19-2013, 01:33 AM   #8
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,216

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
Hi,
Quote:
Originally Posted by widget View Post
I suggest, and I think most folks here would do the same, if you want to actually run Jessie or Sid, get the Wheezy netinstall image. Install it with nothing but the base install. Do a version upgrade of it to Jessie and then complete your install manually.
I Concur. When wanting to run unstable (or testing), start with a minimal stable install, then upgrade to unstable (or testing).

Evo2.
 
Old 12-22-2013, 04:27 PM   #9
TheCobra
LQ Newbie
 
Registered: Jul 2013
Distribution: Debian Jessie, Crunchbang
Posts: 15

Original Poster
Rep: Reputation: Disabled
There is no apt.conf that came with the system I installed but I will add one and what Evo2 and widget recommended to prevent the behavior. And yes I did use a Testing iso. The Testing isos I have used have been hit or miss working so I will use the technique you talked about in the future, but I will hopefully not need another reinstall as the command "apt-get install --no-install-recommends" worked for the packages that were affected.

The bigger question I have is why is gnome-openbox-session a recommended dependency that will be downloaded using the default config?
 
Old 12-22-2013, 10:38 PM   #10
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,203

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by TheCobra View Post
There is no apt.conf that came with the system I installed but I will add one and what Evo2 and widget recommended to prevent the behavior. And yes I did use a Testing iso. The Testing isos I have used have been hit or miss working so I will use the technique you talked about in the future, but I will hopefully not need another reinstall as the command "apt-get install --no-install-recommends" worked for the packages that were affected.

The bigger question I have is why is gnome-openbox-session a recommended dependency that will be downloaded using the default config?
I would like to know that too.

I am using Sid so can't speak, now, of testing, to lazy to look it up right now, will check when I get on one of my testing installs tomorrow, but in the Sid repos both openbox gnome and kde session packages are suggests rather than recommends.

By that I would think that if you got openbox-gnome-session installed you should have gotten the kde version too. Now that would be a pretty big install if it installed all of gnome and kde with your openbox install.

apt.conf is a file that just needs the correct text in it. You can simply use any text editor and create the file. If you write down the text so you remember it (which I don't right now) you can use nano from the tty promt to do this before installing anything.

I must say that I have installs of Debian that I installed openbox on using the netinstall image. I have never gotten any gnome packages that I did not ask for.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: How to install a single package from Debian SID or Debian Testing on a stable system LXer Syndicated Linux News 0 11-22-2012 04:42 PM
Upgrade of package "dirmngr" on Debian Testing fails PasBern Linux - Software 12 07-24-2012 03:57 PM
debian testing vs debian stable with testing repositories? wanas Debian 5 02-28-2009 10:23 PM
Debian Lenny (Testing) issues: memory/RAM and cpufreq SuSE_Lamer Debian 11 10-31-2008 03:49 PM
Setup as getting debian testing files from ftp - will it stay with testing BrianHenderson Debian 2 09-02-2004 06:06 PM


All times are GMT -5. The time now is 08:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration