maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   OpenSSH 1:4.7p1-12.maemo1 (https://talk.maemo.org/showthread.php?t=21185)

Ed_ 2008-06-22 14:10

OpenSSH 1:4.7p1-12.maemo1
 
Hi,

I've just put OpenSSH 1:4.7p1-12.maemo1 into extras-devel for gregale, bora and chinook.

Almost all changes in this release candidate are taken from Debian.

Please, test it and report your findings. If no bugs are found I'll release it to extras and maemo/donwloads in near future.

BR,
Ed

Saturn 2008-06-24 23:20

Re: OpenSSH 1:4.7p1-12.maemo1
 
Hi, thanks for the update.

in my n800, os2008 I got this message:
Code:

/home/user # apt-get install openssh openssh-client openssh-common
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  openssh-server
Suggested packages:
  ssh-askpass xbase-clients
The following packages will be upgraded:
  openssh openssh-client openssh-common openssh-server
4 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 692kB of archives.
After unpacking 86.0kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  openssh-server openssh-client openssh-common openssh
Install these packages without verification [y/N]? y
Get:1 http://repository.maemo.org chinook/free openssh-server 1:4.7p1-12.maemo1 [173kB]
Get:2 http://repository.maemo.org chinook/free openssh-client 1:4.7p1-12.maemo1 [440kB]
Get:3 http://repository.maemo.org chinook/free openssh-common 1:4.7p1-12.maemo1 [77.1kB]
Get:4 http://repository.maemo.org chinook/free openssh 1:4.7p1-12.maemo1 [2474B]
Fetched 692kB in 3s (178kB/s)
(Reading database ... 22385 files and directories currently installed.)
Preparing to replace openssh-server 1:4.7p1-2.maemo2 (using .../openssh-server_1%3a4.7p1-12.maemo1_armel.deb) ...
Unpacking replacement openssh-server ...
Preparing to replace openssh-client 1:4.7p1-2.maemo2 (using .../openssh-client_1%3a4.7p1-12.maemo1_armel.deb) ...
Unpacking replacement openssh-client ...
Preparing to replace openssh-common 1:4.7p1-2.maemo2 (using .../openssh-common_1%3a4.7p1-12.maemo1_armel.deb) ...
Unpacking replacement openssh-common ...
Preparing to replace openssh 1:4.7p1-2.maemo2 (using .../openssh_1%3a4.7p1-12.maemo1_all.deb) ...
Unpacking replacement openssh ...
Setting up openssh-common (4.7p1-12.maemo1) ...
Setting up openssh-server (4.7p1-12.maemo1) ...
invoke-rc.d: not a symlink: "/etc/rc2.d/S20ssh"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S20ssh"
dpkg: error processing openssh-server (--configure):
 subprocess post-installation script returned error exit status 102
Setting up openssh-client (4.7p1-12.maemo1) ...

dpkg: dependency problems prevent configuration of openssh:
 openssh depends on openssh-server (= 1:4.7p1-12.maemo1); however:
  Package openssh-server is not configured yet.
dpkg: error processing openssh (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 openssh-server
 openssh
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

if I remember correctly the previous time I tried to update (some months ago) I had the same messages. and did a clean re-installation. Is there a way to avoid it this time?

thanks again.

Ed_ 2008-06-29 15:01

Re: OpenSSH 1:4.7p1-12.maemo1
 
Unfortunately I can't reproduce this behaviour on my tablet. I'll try again and if I find what's happening I'll fix it.
Can you describe your system, please? Which IT OS do you use? Do you have some something unusual installed?

Thanks,

Saturn 2008-06-29 16:31

Re: OpenSSH 1:4.7p1-12.maemo1
 
Quote:

Originally Posted by Ed_ (Post 197320)
Unfortunately I can't reproduce this behaviour on my tablet. I'll try again and if I find what's happening I'll fix it.
Can you describe your system, please? Which IT OS do you use? Do you have some something unusual installed?

Thanks,

Thanks for trying.

My system; n800, dual booting, with rotate. os2008...50-2 and have restored from backup.

The flash partition has only few programs, python, and rotate. The mmc boot has a lot of stuff. The same behaviour happen with the last update too on both partitions..
This time I only installed the update in the mmc.

If it helps, I can provide any info from the non updated yet partition or try something that will provide you with more info. (I plan to upgrade in the next few days to diablo, so not a problem if things break.)

Ed_ 2008-06-30 19:31

Re: OpenSSH 1:4.7p1-12.maemo1
 
It seems that files in your /etc/rc2.d/ are not symlinks. Most probably it has nothing to do with openssh. Something is broken on your system. Every file in /etc/rc2.d/ has to be symlink to file in /etc/init.d/.
so, quick fix for openssh installation issue would be to replace files to symlinks manually and then install the package. Proper solution is to find out when symlinks became files in there and how it happened.

Saturn 2008-07-01 11:41

Re: OpenSSH 1:4.7p1-12.maemo1
 
Quote:

Originally Posted by Ed_ (Post 197792)
It seems that files in your /etc/rc2.d/ are not symlinks. Most probably it has nothing to do with openssh. Something is broken on your system. Every file in /etc/rc2.d/ has to be symlink to file in /etc/init.d/.
so, quick fix for openssh installation issue would be to replace files to symlinks manually and then install the package. Proper solution is to find out when symlinks became files in there and how it happened.

Hi,

I continue simply out of curiosity. If you have more important stuff to do feel free to ignore. ;)

All seem to me as symlinks.

Code:

/etc/rc2.d $ ls -all
total 12
drwxr-xr-x  2 root root 4096 2008-03-25 22:19 .
drwxr-xr-x 67 root root 8192 2008-07-01 11:28 ..
lrwxrwxrwx  1 root root  20 2008-03-26 15:41 K00zzinitdone -> ../init.d/zzinitdone
lrwxrwxrwx  1 root root  24 2008-03-26 15:41 S12fb-progress.sh -> ../init.d/fb-progress.sh
lrwxrwxrwx  1 root root  14 2008-03-26 15:41 S20dbus -> ../init.d/dbus
lrwxrwxrwx  1 root root  29 2008-03-26 15:41 S20osso-applet-display -> ../init.d/osso-applet-display
lrwxrwxrwx  1 root root  13 2008-03-26 15:41 S20ssh -> ../init.d/ssh
lrwxrwxrwx  1 root root  13 2008-03-26 15:41 S21mce -> ../init.d/mce
lrwxrwxrwx  1 root root  18 2008-03-26 15:41 S21x-server -> ../init.d/x-server
lrwxrwxrwx  1 root root  21 2008-03-26 15:41 S22af-services -> ../init.d/af-services
lrwxrwxrwx  1 root root  18 2008-03-26 15:41 S24dsp-init -> ../init.d/dsp-init
lrwxrwxrwx  1 root root  24 2008-03-26 15:41 S25bme-dbus-proxy -> ../init.d/bme-dbus-proxy
lrwxrwxrwx  1 root root  21 2008-03-26 15:41 S25multimediad -> ../init.d/multimediad
lrwxrwxrwx  1 root root  13 2008-03-26 15:41 S26esd -> ../init.d/esd
lrwxrwxrwx  1 root root  29 2008-03-26 15:41 S26osso-systemui-early -> ../init.d/osso-systemui-early
lrwxrwxrwx  1 root root  17 2008-03-26 15:41 S30ke-recv -> ../init.d/ke-recv
lrwxrwxrwx  1 root root  22 2008-03-26 15:41 S41product-code -> ../init.d/product-code
lrwxrwxrwx  1 root root  24 2008-03-26 15:41 S45maemo-launcher -> ../init.d/maemo-launcher
lrwxrwxrwx  1 root root  20 2008-03-26 15:41 S50af-startup -> ../init.d/af-startup
lrwxrwxrwx  1 root root  24 2008-03-26 15:41 S51hildon-desktop -> ../init.d/hildon-desktop
lrwxrwxrwx  1 root root  17 2008-03-26 15:41 S53dnsmasq -> ../init.d/dnsmasq
lrwxrwxrwx  1 root root  19 2008-03-26 15:41 S54gpsdriver -> ../init.d/gpsdriver
lrwxrwxrwx  1 root root  18 2008-03-26 15:41 S54libgpsbt -> ../init.d/libgpsbt
lrwxrwxrwx  1 root root  21 2008-03-26 15:41 S56bluez-utils -> ../init.d/bluez-utils
lrwxrwxrwx  1 root root  16 2008-03-26 15:41 S57btcond -> ../init.d/btcond
lrwxrwxrwx  1 root root  18 2008-03-26 15:41 S58wlancond -> ../init.d/wlancond
lrwxrwxrwx  1 root root  17 2008-03-26 15:41 S59osso-ic -> ../init.d/osso-ic
lrwxrwxrwx  1 root root  22 2008-03-26 15:41 S60af-base-apps -> ../init.d/af-base-apps
lrwxrwxrwx  1 root root  23 2008-03-26 15:41 S61osso-systemui -> ../init.d/osso-systemui
lrwxrwxrwx  1 root root  17 2008-03-26 15:41 S70obexsrv -> ../init.d/obexsrv
lrwxrwxrwx  1 root root  16 2008-03-26 15:41 S99alarmd -> ../init.d/alarmd
lrwxrwxrwx  1 root root  32 2008-03-26 15:41 S99hildon-update-notifier -> ../init.d/hildon-update-notifier
lrwxrwxrwx  1 root root  15 2008-03-26 15:41 S99hulda -> ../init.d/hulda
lrwxrwxrwx  1 root root  28 2008-03-26 15:41 S99mediaplayer-daemon -> ../init.d/mediaplayer-daemon
lrwxrwxrwx  1 root root  28 2008-03-26 15:41 S99metalayer-crawler0 -> ../init.d/metalayer-crawler0
lrwxrwxrwx  1 root root  17 2008-03-26 15:41 S99ttyusb0 -> ../init.d/ttyusb0
lrwxrwxrwx  1 root root  20 2008-03-26 15:41 S99zzinitdone -> ../init.d/zzinitdone
/etc/rc2.d $


Ed_ 2008-07-01 19:23

Re: OpenSSH 1:4.7p1-12.maemo1
 
And if you try to install openssh-server on your system you get this error?
invoke-rc.d: not a symlink: "/etc/rc2.d/S20ssh"

Unbelievable!

Can you check if /etc/init.d/ssh exists? ls -s /etc/init.d/ssh

Saturn 2008-07-01 23:03

Re: OpenSSH 1:4.7p1-12.maemo1
 
Quote:

Originally Posted by Ed_ (Post 198215)
And if you try to install openssh-server on your system you get this error?
invoke-rc.d: not a symlink: "/etc/rc2.d/S20ssh"

Unbelievable!

Can you check if /etc/init.d/ssh exists? ls -s /etc/init.d/ssh

Yes, it exists.

Code:

~ $ ls -s /etc/init.d/ssh
4 /etc/init.d/ssh
~ $

I've solved it, or better managed to complete the installation.
Simply by;
mv S20ssh S20ssh.old
apt-get install openssh-server
mv S20ssh.old S20ssh

All seem to work now..
Thanks again.


All times are GMT. The time now is 16:52.

vBulletin® Version 3.8.8