WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: cannot install app  (Read 5050 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
cannot install app
« on: September 11, 2012, 04:28:57 AM »
Code: [Select]
$ tce-load -wi wine.tcz
dbus.tcz.dep OK
libgcrypt.tcz.dep OK
glib2.tcz.dep OK
gstreamer.tcz.dep OK
gst-plugins-base.tcz.dep OK
libtheora.tcz.dep OK
libvorbis.tcz.dep OK
udev-lib.tcz.dep OK
cairo.tcz.dep OK
fontconfig.tcz.dep OK
pango.tcz.dep OK
cyrus-sasl.tcz.dep OK
prelink.tcz.dep OK
elfutils-lib.tcz.dep OK
gnutls2.tcz.dep OK
nettle.tcz.dep OK
mpg123.tcz.dep OK
libxslt.tcz.dep OK
openldap.tcz.dep OK
libv4l.tcz.dep OK
v4l-dvb-3.0.21-tinycore.tcz.dep OK
libgphoto2.tcz.dep OK
sane-backends.tcz.dep OK
usb-utils.tcz.dep OK
Downloading: libopenal.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libopenal.tcz        100% |*********************************************************************************************************************|   136k  0:00:00 ETA
libopenal.tcz: OK
md5sum: expat2.tcz.md5.txt: No such file or directory
Downloading: expat2.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
expat2.tcz: OK
md5sum: fontconfig.tcz.md5.txt: No such file or directory
Downloading: fontconfig.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
fontconfig.tcz: OK
Downloading: libcapi20.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libcapi20.tcz        100% |*********************************************************************************************************************| 40960   0:00:00 ETA
libcapi20.tcz: OK
Downloading: libltdl.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libltdl.tcz          100% |*********************************************************************************************************************| 16384   0:00:00 ETA
libltdl.tcz: OK
md5sum: libusb.tcz.md5.txt: No such file or directory
Downloading: libusb.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
libusb.tcz: OK
Downloading: libexif.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libexif.tcz          100% |*********************************************************************************************************************|   144k  0:00:00 ETA
libexif.tcz: OK
Downloading: libgphoto2.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libgphoto2.tcz       100% |*********************************************************************************************************************|  2092k  0:00:00 ETA
libgphoto2.tcz: OK
Downloading: i2c-3.0.21-tinycore.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
i2c-3.0.21-tinycore. 100% |*********************************************************************************************************************| 90112   0:00:00 ETA
i2c-3.0.21-tinycore.tcz: OK

NOTE : /tmp/tce folder was present on fresh boot. I created 'optional' inside it from where I ran above.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: cannot install app
« Reply #1 on: September 11, 2012, 09:28:27 AM »
You may be running out of RAM.
You should really have a persistent tce directory.
See persistence in the wiki.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: cannot install app
« Reply #2 on: September 12, 2012, 05:17:45 AM »
i have a folder named tce on my USB stick from which I booted
I added following to grub menu

title tiny core with oss
kernel /tce/boot/vmlinuz waitusb=9
initrd /tce/boot/core.gz

Is there something missing ?

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: cannot install app
« Reply #3 on: September 12, 2012, 05:28:40 AM »
$ free
             total         used         free       shared      buffers
Mem:       3062492       754760      2307732            0        95356
-/+ buffers:             659404      2403088
Swap:      8577708            0      8577708


That means . Lot of RAM is unused.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: cannot install app
« Reply #4 on: September 12, 2012, 05:37:04 AM »
Seems , all files were being downloaded to /mnt/sdb1/tce/optional.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11230
Re: cannot install app
« Reply #5 on: September 12, 2012, 05:41:38 AM »
Hi manit123
Quote
Is there something missing ?
You should start a new thread for this question since it is a different subject.
Include some more information, like:
1. Is grub installed on the stick, or on another device that in turn boots the stick?
2. Show an entry that successfully boots the stick.
3. State what is happening versus what you expected.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: cannot install app
« Reply #6 on: September 12, 2012, 06:15:01 AM »
sorry , now this thread is solved.
All that happened is - I was hoping files being downloaded to /tmp/tce/optional while it went to /mnt/sdb1/tce/optional .

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: cannot install app
« Reply #7 on: September 12, 2012, 07:00:17 AM »
/tmp/tce/optional is only used in cloud mode ( when you have no persistent tce directory ).

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: cannot install app
« Reply #8 on: September 12, 2012, 07:05:32 AM »
Use bootcode "base" when you prefer to mount extensions from memory.

On a sidenote: 8.5 GB swap?? Couldn't be excluded that such would decrease performance, rather than increase it...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: cannot install app
« Reply #9 on: September 12, 2012, 09:57:18 AM »
Firstly , I booted from USB stick which found swap on internal hard disk .
Secondly , if I add boot code 'base' , will extensions get downloaded to /tmp/tce/optional ?Also I hope the onboot.lst will be obeyed during boot i.e those tcz on my USB stick present will be installed.
I cannot infer from http://wiki.tinycorelinux.net/wiki:boot_codes_explained

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: cannot install app
« Reply #10 on: September 12, 2012, 10:24:42 AM »
1. That doesn't make my statement less valid.
   For 8.5 GB swap being found it means it preexisted in the first place.

2. I'd reckon that is a combo for which automatisation does not provide.

EDIT:
On second thought, the use of distinct cde vs. tce dirs with CDs, as well as the use of /opt/tce in remasters might be looked at as coming comparably close to such a combination.
« Last Edit: September 12, 2012, 10:59:23 AM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: cannot install app
« Reply #11 on: September 12, 2012, 10:48:24 AM »
No, you cannot have it install extensions from the USB using onboot, and then have it automatically install new extensions into /tmp/tce.
Why do you want to?


Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: cannot install app
« Reply #12 on: September 12, 2012, 10:52:26 AM »
No, you cannot have it install extensions from the USB using onboot, and then have it automatically install new extensions into /tmp/tce.

You can do that. Just change /usr/sysconfig/tcedir symlink afterr boot. Is it useful? I do not know. But possible.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: cannot install app
« Reply #13 on: September 12, 2012, 10:54:26 AM »
Did you actually try it?
I did.
Apps complains that tce directory is readonly.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: cannot install app
« Reply #14 on: September 12, 2012, 11:09:53 AM »
What always worked well for me is a dynamic remaster with an onboot.lst and extensions in /opt/tce while using /tmp/tce as tce dir.
(edited my last post)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)