WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: cannot install app  (Read 5710 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: cannot install app
« Reply #15 on: September 12, 2012, 02:18:36 PM »
Hi manit123
Quote
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.
If you use the boot code  base , your  onboot.lst  will be ignored because that tells Tinycore not to load extensions.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: cannot install app
« Reply #16 on: September 12, 2012, 07:54:21 PM »
If this is about remasters, then please keep such discussion in the remasters topic area.

The tce directory and thus the ondemand directory should never be on a read-only device. Otherwise the user will not be able to install or maintain apps. Instructing the user to change symlinks or otherwise hack the system is not helpful and only compounds the issues the user will face when package management will surely fail. Of course advanced users can choose to ignore the system design and tweak as needed with the caveat of knowing what they are doing.

This "issue" surfaced way back and that is why the cde directory was introduced. The cde directory indicates that such collection of extensions reside on a read-only device, that they are in a sense "part of the base" system, i.e., they load but are not subject to any maintenance and thus the user is free to set the tce direcrtory as is to be expected and with all normal functions available.
10+ Years Contributing to Linux Open Source Projects.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11639
Re: cannot install app
« Reply #17 on: September 12, 2012, 09:07:36 PM »
Hi manit123
I think part of the problem here is that while you describe what you are trying to do, you do not state what you
are trying to achieve, ie, why you feel the need to install apps into  /tmp/tce. If it's to have apps in RAM rather
than loop mounted from persistent storage, you can use the  copy2fs.flg  and  copy2fs.lst  files for that.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: cannot install app
« Reply #18 on: September 16, 2012, 10:44:28 AM »
no folder named 'sysconfig' in /usr
tc@box:/usr/sbin$ cd /usr/
tc@box:/usr$ ls -hal
total 0
drwxr-xr-x    7 root     root         140 Sep 19  2009 ./
drwxr-xr-x   17 root     root         380 Sep 16 16:45 ../
drwxr-xr-x    2 root     root        3.7K Sep 16 16:45 bin/
drwxr-xr-x    6 root     root        2.0K Sep 16 16:45 lib/
drwxr-xr-x   18 root     root         380 Feb 21  2010 local/
drwxr-xr-x    2 root     root         360 Dec  8  2011 sbin/
drwxr-xr-x   14 root     root         280 Sep 16 16:50 share/

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: cannot install app
« Reply #19 on: September 16, 2012, 10:50:23 AM »
no folder named 'sysconfig' in /usr

Correct. It is /etc/sysconfig
Béla
Ham Radio callsign: HA5DI

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

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: cannot install app
« Reply #20 on: September 16, 2012, 10:58:39 AM »
now there is a tcedir pointing to /mnt/sdc1/tce . I will change that.

EDIT
Now things are fine .
I ran
#rm /etc/sysconfig/tcedir ; ln -s /tmp/tce /etc/sysconfig/tcedir

That way I download things to tmp folder and copy them to my USB stick , else reboot .
« Last Edit: September 16, 2012, 11:07:00 AM by manit123 »