maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   no "screen" command for maemo? (https://talk.maemo.org/showthread.php?t=62279)

extendedping 2010-09-14 17:53

no "screen" command for maemo?
 
I know it is availabe via easy debian, but I don't see it in app manager or via apt_cache search.

No way to get this very usefull linux command?

timoph 2010-09-14 17:57

Re: no "screen" command for maemo?
 
the program seems live in the SDK repo

http://maemo.org/packages/view/screen/

clasificado 2010-09-15 06:01

Re: no "screen" command for maemo?
 
take in account that the sdk repo isnt optified.

For something small like screen, is not a problem.

But dont get used to that repo, or you could have a full rootfs in no time

extendedping 2010-09-17 16:45

Re: no "screen" command for maemo?
 
thanks guys I tried adding these to repos at the bottom of this file...

deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/002 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb http://repository.maemo.org/extras-testing fremantle free non-free
deb http://my.arava.co.il/~matan/repo/binary/ ./
deb http://moff.mozilla.com/latest/maemo/multi/ chinook release
deb http://download.videolan.org/pub/videolan/maemo fremantle free
deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free
deb http://repository.maemo.org/ fremantle/<token-code> nokia-binaries

hildon-application-manager.list (END)

then I run this (after running apt-get update)

Nokia-N900:/etc/apt/sources.list.d# apt-get install screen
Reading package lists... Done
Building dependency tree
Reading state information... Done
screen is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
screen: Depends: libncursesw5 (>= 5.7-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Nokia-N900:/etc/apt/sources.list.d#

so I run this and see a similar package...do I remove it and try installing the above one or will I wreck my system? am I doing this correctly to get screen installed?

Nokia-N900:/etc/apt/sources.list.d# dpkg -l | grep -i libncu
ii libncurses5 5.7+20081213-1.maemo1+0m5 Shared libraries for terminal handling
Nokia-N900:/etc/apt/sources.list.d#

timoph 2010-09-17 17:06

Re: no "screen" command for maemo?
 
you could try installing the package with dpkg (ignoring the deps) along with the other ncurces package to see if the packages are the same. Having said that I think the best solution would be to package screen and possible needed deps into extras-devel (safer option than the sdk repo).

in anycase I wouldn't recommend adding the sdk repo into the device's sources.list. Enabling it might cause you hard to fix problems.

MohammadAG 2010-09-17 19:58

Re: no "screen" command for maemo?
 
Try apt-get install libncursesw5

extendedping 2010-09-17 22:01

Re: no "screen" command for maemo?
 
thanks much it worked....would it be smart to comment out those repos now?

clasificado 2010-09-17 23:36

Re: no "screen" command for maemo?
 
yes. if you have a problem someday, and you come here with those repos enabled, everything will be harder

timoph 2010-09-18 08:53

Re: no "screen" command for maemo?
 
oh. forgot that apt on the device isn't that good in installing deps. I usually just append the packages needed to the install script. e.g apt-get install screen libncursesw5

and yep I'd recommend commenting out the sdk repos.

lma 2010-09-18 09:26

Re: no "screen" command for maemo?
 
Quote:

Originally Posted by extendedping (Post 819064)
Code:

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Big hint there. Doesn't anyone read error messages any more?

extendedping 2010-09-18 09:36

Re: no "screen" command for maemo?
 
does where I ask if installing the similar package will wreck my system (the similar package being the library)
perhaps indicate to you that I had read the error message? but was being cautious as a relative newbie who did not want to overwrite a possibly important library?

or dont people read posts anymore?

lma 2010-09-18 10:32

Re: no "screen" command for maemo?
 
Ah, touché. My apologies :-(

It should be safe to mix libncurses5 & libncursesw5 on the same system, as the libraries have different named and so the binaries that depend on them won't get mixed up (should be easy to confirm with ldd). It is a bit wasteful though (they come from the same source package, just configured with/without wide character support) especially since the tools repo isn't optified.

extendedping 2010-09-18 10:49

Re: no "screen" command for maemo?
 
on a strenge note it looks like all those sdk repos that I put in hildon-application-manager.list are just gone, not in the file anymore.

any idea why they would just get taken out of that file?

lma 2010-09-18 11:13

Re: no "screen" command for maemo?
 
I think if you add them by manually editing the file, the application manager will get rid of them next time it refreshes. The "master" list is kept in /etc/hildon-application-manager/catalogues.

syake 2012-10-28 02:18

Re: no "screen" command for maemo?
 
This debian package is my first cross-compile test.

Quote:

$ wget https://github.com/syakesaba/Myn900/....3-1_armel.deb
$ fakeroot dpkg -i screen_4.0.3-1_armel.deb
but It doesnt work if /opt/bin is NOT in your $PATH.
(it shold be installed with python-optify)
im looking for the solution for this probrem.

Here is the list of contents in the deb package.
Quote:

[sbox-FREMANTLE_ARMEL: ~] > dpkg -c screen_4.0.3-1_armel.deb
drwxr-xr-x root/root 0 2012-10-28 10:34 ./
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/usr/
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/usr/sbin/
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/usr/bin/
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/bin/
-rwxr-xr-x root/root 302752 2012-10-28 10:34 ./opt/bin/screen-4.0.3
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/share/
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/share/man/
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/share/man/man1/
-rw-r--r-- root/root 146568 2012-10-28 10:34 ./opt/share/man/man1/screen.1
drwxr-xr-x root/root 0 2012-10-28 10:34 ./opt/share/info/
-rw-r--r-- root/root 46574 2012-10-28 10:34 ./opt/share/info/screen.info-2
-rw-r--r-- root/root 46865 2012-10-28 10:34 ./opt/share/info/screen.info-1
-rw-r--r-- root/root 49249 2012-10-28 10:34 ./opt/share/info/screen.info-3
-rw-r--r-- root/root 50393 2012-10-28 10:34 ./opt/share/info/screen.info-4
-rw-r--r-- root/root 25534 2012-10-28 10:34 ./opt/share/info/screen.info-5
-rw-r--r-- root/root 4839 2012-10-28 10:34 ./opt/share/info/screen.info
lrwxrwxrwx root/root 0 2012-10-28 10:34 ./opt/bin/screen -> screen-4.0.3


All times are GMT. The time now is 03:35.

vBulletin® Version 3.8.8