apt-get usage problem.
I'm using the KioskCD and installed it on the HDD and it is working fine using the built-in ethernet on the PC.
I'm trying to use the Linksys Wireless USB instead and I found a driver for my Linksys Wireless USB at "ralinktech.com/drivers/Linux/RT73_Linux_STA_Drv1.0.3.6.tar.gz" This is the type of Wireless USB I have WUSB54G ver. 4 = WUSB54GV4 and the Vendor Id: 13b1 Product Id: 000d I am using kernel version 2.4.22-xfs To be able to install the driver, I need to use the "make" command. However, make command is not installed. Note: I'm currently logged in as root. I tried to type the command "apt-get install make" at the root prompt. I'm getting this message instead. E: Could not open lock file /var/lib/dpkg/lock - open (2 No such file or directory) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? If I type "apt-get update" I get this message. E: Could not open lock file /var/lib/dpkg/lock - open (2 No such file or directory) E: Unable to lock the list directory If I type "apt-get upgrade" I get this message. E: Could not open lock file /var/lib/dpkg/lock - open (2 No such file or directory) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? If I type "apt-get source" I get this message. Reading Package Lists... Error! E: Could not open lock file /var/lib/dpkg/status - open (2 No such file or directory) E: The package lists or status file could not be parsed or opened. Is there a way I get the apt-get working so I can install the "make" command. Thanks |
Try looking to see if something else is using apt. ps aux |grep dpkg or ps aux |grep apt. If there's something already using the process, kill it.
You say you're logged in as root, just confirm that you have a # prompt instead of a ~$ prompt |
Thanks for the reply.
Yes I do have the # prompt. I typed "ps aux |grep dpkg" and "ps aux |grep apt" and seems nothing shows up and I get back to the prompt. I'm beginning to think that the KioskCD was stripped down of the Package Management tools because I could not even use the aptitude nor the dpkg as well. Is there a link I can get to d/l the Package Management tool and install it? |
I just looked around at KioskCD's web site. It seems that KioskCD is meant to be a VERY stripped down special purpose Linux distribution. Apt is probably broken.
What exactly are you trying to do with this system? It may be easier to do starting from a normal full featured distribution. |
Quote:
I like the fact that the KioskCD only gives you the Firefox browser at boot up and nothing else. However, I don't want to use the Cd-rom and I was able to install it on the HDD and it's working fine but it uses just the built-in ethernet. I would like to use the Linksys Wireless USB instead and found a driver for my wireless USB and the instruction tells me to use the "make" command but it's not installed and I wanted to get it but the "apt-get" is not there as well. Is the Package Management tools available for d/l to install it? |
Okay, looking around a bit, it seems KioskCD is based on DSL (Damn Small Linux). Here's a note I found about making apt-get work in a DSL hard drive install: http://www.damnsmalllinux.org/dsl-hd-install.html
Maybe the same thing will work with a KioskCD hard drive install. |
Thanks for the reply.
Update: I got the compressed dpkg file and moved it to /var/lib/ and uncompress it but still the I'm unable to use the apt-get. I tried to type tye dpkg-restore but I get a reply bash: dpkg-restore: command not found I typed "apt-get install make" and I get E: Unable to write to /var/cache/apt/ E: The package lists or status file could not be parsed or opened. |
Wow, I guess that KioskCD stripped out even whatever minimal stuff DSL had left in place to barely allow the apt-get package management system to be resurrected.
Okay, I think it's best to give up on apt, and tackle the original problem a different way. If you install Debian 3.1 somewhere, then you'll be able to use "make" to compile that driver. Then you could copy over the executable module it generates to your KioskCD install. The "somewhere" where you install Debian could be another partition, or another hard drive, or another computer. |
Hmm...I had another thought. MAYBE you can install DSL, get apt working as described above, and then get the wireless networking working. Then you install whatever KioskCD packages aren't already installed (like lwm).
At that point, you boot up with a LiveCD (like DSL) and then copy over the /etc/init.d scripts from the KioskCD install into the modified DSL install. Thus, instead of bringing up DSL's fluxbox interface, it brings up KioskCD's minimalist lwm/Firefox interface. Maybe that could work...maybe? |
Quote:
Thanks, |
I'm afraid that most of that went over my head. I think it's time for you to start a new thread, with a subject line refering to the wireless adapter you're trying to get working.
|
I have to type "chmod 777 rt73sta.dat" to make file writable and then I can issue "dos2unix rt73sta.dat"
Also, I have to type "./load" instead to make it work. :) |
All times are GMT -5. The time now is 03:50 AM. |