LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-14-2010, 05:16 AM   #1
lievendp
Member
 
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Rep: Reputation: 27
x11-common dependency for openssh-server Debian Lenny


Since when do we need x11-common and lots of other dependencies when installing openssh-server?
Was this always the case?
OS: Debian Lenny
 
Old 07-14-2010, 09:00 AM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
From what I can see it doesn't,this is what I'm getting using Testing:

Code:
ade@Pc1:~$ aptitude show openssh-server
Package: openssh-server                  
State: not installed
Version: 1:5.5p1-4
Priority: optional
Section: net
Maintainer: Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>
Uncompressed Size: 819k
Depends: libc6 (>= 2.8), libcomerr2 (>= 1.01), libgssapi-krb5-2 (>= 1.8+dfsg), libkrb5-3 (>= 1.6.dfsg.2),
         libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32), libssl0.9.8 (>= 0.9.8m-1), libwrap0 (>= 7.6-4~),
         zlib1g (>= 1:1.1.4), debconf (>= 1.2.0) | debconf-2.0, openssh-client (= 1:5.5p1-4),
         libpam-runtime (>= 0.76-14), libpam-modules (>= 0.72-9), adduser (>= 3.9), dpkg (>= 1.9.0),
         lsb-base (>= 3.2-13), openssh-blacklist, procps
Recommends: xauth, openssh-blacklist-extra
Suggests: ssh-askpass, rssh, molly-guard, ufw
Conflicts: rsh-client (< 0.16.1-1), sftp, ssh (< 1:3.8.1p1-9), ssh-krb5 (< 1:4.3p2-7), ssh-nonfree (< 2),
           ssh-socks, ssh2
Replaces: openssh-client (< 1:3.8.1p1-11), ssh, ssh-krb5
Provides: ssh-server
Description: secure shell (SSH) server, for secure access from remote machines
 This is the portable version of OpenSSH, a free implementation of the Secure Shell protocol as specified
 by the IETF secsh working group.
I would suggest using the -R option,something like:

Code:
aptitude install -R openssh-server
This makes sure that recommended packages are not installed.
You can also configure apt to do this by default.
See if this makes a difference to what is pulled in for dependencies.
 
Old 07-14-2010, 10:35 AM   #3
lievendp
Member
 
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Original Poster
Rep: Reputation: 27
dependency

thank you for your reply.

I really saw x11-common in the list while installing openssh-server with apt-get.

But when I "show" the package with aptitude or apt, no more sign of x11-common in the dependencies.

Also, when I apt-get install apache2, It installed Mysql-server and a bunch of other "not dependent" packages. Something must be wrong with my machine.

Anyways, now I also get this strange "subprocess post-installation script returned error exit status 139"/ "segmentation fault" when dpkg runs for ssl-cert, it cannot be configured with a segmentation fault, however in a previous install.
I had this issue with a different package.

Also, in a previous install, this problem happened too. and I changed sources to no avail.

Anyways, maybe my installation netinstall iso is no good. I'll try with another one.

regards.
 
Old 07-19-2010, 12:21 AM   #4
E9th
LQ Newbie
 
Registered: Jul 2010
Location: Florida
Distribution: debian, fedora
Posts: 1

Rep: Reputation: 0
Thanks, trooper. I decided it was about time to move my Asterisk servers from etch->lenny, and had the same problem as lievendp with 'apt-get install openssh-server' wanting to pull in unneeded X11 stuff. I'll keep aptitude in mind from now on.
 
Old 07-19-2010, 04:06 AM   #5
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,476

Rep: Reputation: Disabled
Quote:
Originally Posted by E9th View Post
Thanks, trooper. I decided it was about time to move my Asterisk servers from etch->lenny, and had the same problem as lievendp with 'apt-get install openssh-server' wanting to pull in unneeded X11 stuff. I'll keep aptitude in mind from now on.
Moving to Lenny is a good idea as security support ended for Etch in February this year:

http://www.uk.debian.org/News/2010/20100121

The Oldstable release is usually supported for a year after the new
Stable release.So Lenny will be supported for sometime yet.
As for aptitude,the following guide is really useful:

http://algebraicthunk.net/~dburrows/.../rn01re01.html
 
Old 07-19-2010, 09:54 AM   #6
lievendp
Member
 
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Original Poster
Rep: Reputation: 27
I downloaded a fresh netinstallcd and now it works as expected.

thanks trooper for the hint. In the past, the xauth part was never there when I did an aptitude or apt-get install. Probably the default -R was set somewhere.

kind regards.
 
  


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
xfree86-common xserver-common xfonts-base missing in etch/lenny unev_21 Debian 2 09-11-2009 02:12 AM
LXer: How To Upgrade A Debian Etch System (Server & Desktop) To Debian Lenny LXer Syndicated Linux News 0 02-20-2009 04:30 PM
LXer: The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 2] LXer Syndicated Linux News 0 02-19-2009 11:00 AM
X11 tunneling through OpenSSH Problem IRIGHTI Linux - Software 9 11-22-2004 09:56 PM
glibc-common dependency blues... sylk Linux - Software 4 09-19-2003 07:08 PM


All times are GMT -5. The time now is 03: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