Topic: apt-get update
started by: Unknown User
Posted by Unknown User on Oct. 27 2006,15:24I have used DSL and linux 2 days now. And i have some questions for you. I have enabled apt and i am not sure how to use it. Whatever i try to do, it says "E: could not open lock file /var/lib/apt/lists/lock - open (13 permission denied)" and E: unable to lock the administrator/or lists directory". Or are you root user or something. What should i do? Iam writing the commands to ATerminal. Is it wrong way to do it?
Posted by ^thehatsrule^ on Oct. 27 2006,16:31You need admin access, a.k.a. root access
Try using sudo apt-get update
Posted by Unknown User on Oct. 27 2006,18:09
Thank you very much, now it's working.
Another question: I have installed icewm, and i should edit the file called .xinitrc. It should be in home/dsl/, but i can't find it. Is it hidden somewhere?
Posted by ^thehatsrule^ on Oct. 27 2006,23:22Yes, it is /home/dsl/.xinitrc
Files that start with a "." are normally hidden from listing views though. Depending on what you're using, there's usually some switch to view them.
Posted by Unknown User on Oct. 28 2006,07:37Any idea how to view them?
Posted by Someone on Oct. 29 2006,09:44open emelfm and go to your home folder and press the H on the emelfm, it should show them.
Or you can open xterm and cd to your home directory and write: beaver .xinitrc it should open the file.
Posted by Unknown User on Oct. 29 2006,10:42I found it, thanks for you advices.
Posted by mannY on Oct. 31 2006,04:05
To view hidden files (files that start with . ) via CLI (Commond Line Interface):
Posted by lstark on Oct. 31 2006,04:17ls -al if you are using Aterm. If you are using emelFM then click the H in the top left corner to show hidden files.
more generally speaking: The -a in ls -al shows hidden files, (i.e. -a shows all files, even those starting with a period). I also always use the -l switch too to provide additional information about each file, although ls -a would work just fine too.
Posted by Unknown User on Oct. 31 2006,15:00I tried to mount cd, but it says "error: medium not found". I wrote this "mount -t iso9660 -r /dev/cdrom /mnt/cdrom" to console, but same error. Whatīs the problem?
And how can i save my settings? I donīt understand Dilloīs instruction. What i have to write to "i donīt-remember the-file-name"? Any example? It is really annoying, because if i download some Firefox-plugins and reboot the computer, theyīre gone.