OpenWrt Forum Archive

Topic: [Howto] Install GNU Screen and irssi

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

GNU Screen and irssi

1. Install the screen and irssi package (dependencies: glib1, libpthread, libncurses)

ipkg install screen irssi

2. Run a screen session

screen

3. Start irssi inside the screen session

TERM=xterm irssi

i tried to do that and gives me an error that the package irssi is not found

Sorry for the bump...

/jffs # ipkg install screen irssi
ERROR: File not found: //jffs/usr/lib/ipkg/lists/whiterussian
       You probably want to run `ipkg update'
ERROR: File not found: //jffs/usr/lib/ipkg/lists/non-free
       You probably want to run `ipkg update'
ERROR: File not found: //jffs/usr/lib/ipkg/lists/backports
       You probably want to run `ipkg update'
/bin/ipkg: /bin/ipkg: 1188: cannot open /jffs//jffs/usr/lib/ipkg/status: No such file
/bin/ipkg: /bin/ipkg: 1188: cannot create /jffs//jffs/usr/lib/ipkg/status: Directory nonexistent
/bin/ipkg: /bin/ipkg: 1188: cannot create /jffs//jffs/usr/lib/ipkg/status: Directory nonexistent
ERROR: File not found: //jffs/usr/lib/ipkg/lists/whiterussian
       You probably want to run `ipkg update'
ERROR: File not found: //jffs/usr/lib/ipkg/lists/non-free
       You probably want to run `ipkg update'
ERROR: File not found: //jffs/usr/lib/ipkg/lists/backports
       You probably want to run `ipkg update'
ipkg_get_install: ERROR: Cannot find package screen in //jffs/usr/lib/ipkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
/bin/ipkg: /bin/ipkg: 1188: cannot open /jffs//jffs/usr/lib/ipkg/status: No such file
ERROR: File not found: //jffs/usr/lib/ipkg/lists/whiterussian
       You probably want to run `ipkg update'
ERROR: File not found: //jffs/usr/lib/ipkg/lists/non-free
       You probably want to run `ipkg update'
ERROR: File not found: //jffs/usr/lib/ipkg/lists/backports
       You probably want to run `ipkg update'
/bin/ipkg: /bin/ipkg: 1188: cannot open /jffs//jffs/usr/lib/ipkg/status: No such file
/bin/ipkg: /bin/ipkg: 1188: cannot create /jffs//jffs/usr/lib/ipkg/status: Directory nonexistent
/bin/ipkg: /bin/ipkg: 1188: cannot create /jffs//jffs/usr/lib/ipkg/status: Directory nonexistent
ERROR: File not found: //jffs/usr/lib/ipkg/lists/whiterussian
       You probably want to run `ipkg update'
ERROR: File not found: //jffs/usr/lib/ipkg/lists/non-free
       You probably want to run `ipkg update'
ERROR: File not found: //jffs/usr/lib/ipkg/lists/backports
       You probably want to run `ipkg update'
ipkg_get_install: ERROR: Cannot find package irssi in //jffs/usr/lib/ipkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
/bin/ipkg: /bin/ipkg: 1188: cannot open /jffs//jffs/usr/lib/ipkg/status: No such file
/jffs #

Any ideas?


Router: ASUS 500G Premium 
Firmware: v23 sp2


Edit: /jffs seems to be readonly,
ls -l on it ->
drwxr-xr-x    2 root     root            3 Sep 15  2006 jffs

So it's mounted as readonly, =/

(Last edited by zoroin on 4 Mar 2008, 01:27)

zoroin wrote:

Sorry for the bump...

/jffs # ipkg install screen irssi
ERROR: File not found: //jffs/usr/lib/ipkg/lists/whiterussian
       You probably want to run `ipkg update'

Well, I don't know why it's complaining about /jffs//jffs/..., but nothing in your post says that the filesystem is readonly.  Just that it can't find what it's looking for.  Did you do what it said?

zoroin wrote:

Router: ASUS 500G Premium 
Firmware: v23 sp2

v23 sp2?  What's that?  It doesn't look like OpenWrt.  Perhaps you should ask in the forum belonging to that firmware.

zoroin wrote:

Edit: /jffs seems to be readonly,
ls -l on it ->
drwxr-xr-x    2 root     root            3 Sep 15  2006 jffs

So it's mounted as readonly, =/

First, there's a "w" in there, which means the permissions on the directory will not prevent write access to that directory for the owner (in this case root).

Second, the permissions on the directory do not tell you whether the filesystem was mounted readonly or read/write.

i.e. you have not shown anything to prove that your jffs filesystem is readonly.

The discussion might have continued from here.