• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 ... 10 11 [12]
166  General Category / General Discussion / /etc/rc.local not getting run? on: August 04, 2009, 01:42:01 PM
I am new to ShPlg, [and not heavy user of *nix]

When trying to add the mkdir  for apt-get dir to my /etc/rc.local, I noticed the line was already there.  It does not appear to be run, since the path is not there after I login.   The script does have execute permissions 755.  Any suggestions?

---------
#!/bin/sh -e
#
# rc.local

insmod /boot/fat.ko
insmod /boot/vfat.ko
mkdir -p /var/cache/apt/archives/partial
/root/discoverd
cd /
#./demo.sh
date 012618002009
hwclock -w

exit 0
---------

If I manually execute this script, both the insmod lines give errors.

Any suggestions?
167  General Category / General Discussion / How to fix apt-get error Reading package lists... Error! E: Encountered a sectio on: August 03, 2009, 07:34:17 PM
Hi,

I just got my Plug two days ago.  Following the methods here, I have copied the Nand flash to a 2GB SDCard, got it to boot from that.  The boot was fast.  After doing a bit of customizations, I save the running SDCard image to another SDCard in a usb adapter plugged into the usb port.  After powering down, I was able to plug the second SDCard into the SDCard slot, and reboot.  So I have a working SDCard image backup method.  The 2GB copy was quite long, about 90 minutes.  Eventfully I would use rsync, to make the updates to this backup, hopefully a much faster copy method.

I have a major problem to overcome now with apt-get.  Even though I set up the directory for apt-get, and fixed the dhcp (so dns resolution works), when I try to do an apt-get update, it runs for a minute or so, but stops with Errors:
root@debian:~# apt-get update
Get:1 http://ports.ubuntu.com jaunty Release.gpg [189B]
Get:2 http://ports.ubuntu.com jaunty Release [74.6kB]
Get:3 http://ports.ubuntu.com jaunty/main Packages [1234kB]
Get:4 http://ports.ubuntu.com jaunty/restricted Packages [865B]
Get:5 http://ports.ubuntu.com jaunty/universe Packages [4442kB]
Get:6 http://ports.ubuntu.com jaunty/multiverse Packages [159kB]         
Fetched 5910kB in 32s (182kB/s)                                         
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package  lists or status file could not be parsed or opened.
root@debian:~#

How do I fix the above error?

Cordially, CqCn
168  Linux Stuff / Kernel / Re: Optware ipk feeds on: August 02, 2009, 08:21:19 PM
Brian,  The feed above will not work with initial rootfs that comes with the SheevaPlug, right?  I think it is Debian.  I just got the Plug.
 
169  Linux Stuff / Kernel / Re: Optware ipk feeds on: June 08, 2009, 09:46:56 PM
Hi Brian,
I had used your optware feed for slugosbe, from its very early days, including some beta testing.  I am about to order the plug.  Before getting my plug, how can I view the pkgs of this stream from my slugosbe?  I do not have any other *nix os.

Not that knowledgeable about the contents of these pkg streams .... I assume this stream is different from the ones you had for slugosbe?
Pages: 1 ... 10 11 [12]