some problem with installing command and password

Asked by perfect girl

hi

I have some problems can any one help me to solve it ???

I've install Ubuntu 8.4 and I found some commands doesn't work for example Is command
and when I want to install them the terminal ask me for my password but I try to writ it but it doesn't work for write
I mean I can't write it in it
so what should I do??!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

When the system ask you a password give your user password, you will not see nothing when you type it, then press enter.

---------------------------------------
Please also check your system is fully updated/upgraded (you must be connected to the net)

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Revision history for this message
perfect girl (sweet-girl-23) said :
#2

perfect@Unknown-00-a0-d1-62-7f-0d:~$ sudo dpkg --configure -a
dpkg: status database area is locked by another process
perfect@Unknown-00-a0-d1-62-7f-0d:~$ sudo apt-get -f install
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
perfect@Unknown-00-a0-d1-62-7f-0d:~$

this was appear when I write those command what should I do?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

There must be only one package manager running... please close other package manager such as

Synaptic

or others

the simplest mode is to reboot your pc... and retry.

Thank you

Revision history for this message
perfect girl (sweet-girl-23) said :
#4

perfect@Unknown-00-a0-d1-62-7f-0d:~$ sudo apt-get --fix-missing instal
E: Invalid operation instal
perfect@Unknown-00-a0-d1-62-7f-0d:~$ sudo apt-get --fix-Is
E: Command line option --fix-Is is not understood
perfect@Unknown-00-a0-d1-62-7f-0d:~$ sudo apt-get --fix-missing Is
E: Invalid operation Is
perfect@Unknown-00-a0-d1-62-7f-0d:~$

sorry I know I am asking to mutch but what should I do ^_^
what is the problem here?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Please note that:

sudo apt-get --fix-missing instal

is different from

sudo apt-get --fix-missing install

Thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

You can also copy and paste, please do it row by row then press enter, from the web page into the terminal window
As supplemental trick you can keep the terminal window always in foreground (and the web page in background).
On the title (the capiton) of the terminal window right click with mouse and tick "Always on Top" option

than kyou

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

Better...

You can also copy and paste, please do it row by row then press enter, from the web page into the terminal window
As supplemental trick you can keep the terminal window always in foreground (and the web page in background).
On the title (the caption) of the terminal window right click with mouse and tick "Always on Top" option

Thank you

Revision history for this message
perfect girl (sweet-girl-23) said :
#8

ok it work but I still had some missing commands like Is command

Revision history for this message
perfect girl (sweet-girl-23) said :
#9

yes I just do it step by step

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

i send you only:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

there is no any "ls" command in it... Please tell are you talking of something else...?

Thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#11

ok i read te original question...
the ls command is the lower of LS ( i think the short of LiSt )
Thank you

Revision history for this message
perfect girl (sweet-girl-23) said :
#12

my teacher told me thire in linux command it called Is this is listing the contents "files & subdirectories of directory
and it shows the contents' name in the current working directory

and passwd command
do you under stand me?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#13

Here a useful guide https://help.ubuntu.com/8.10/index.html

Thank you

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#14

The ls command https://help.ubuntu.com/8.10/basic-commands/C/files-directories-commands.html#ls
is the lower of LS ( i think the short of LiSt ) so open a terminal and type

ls

and for the passwd command type:

passwd

passwd is to change your password please be careful and take note your new and old password...

Hope this helps

Revision history for this message
perfect girl (sweet-girl-23) said :
#15

ok thank you very much I know I make you tirred
thank you again
^_^

Revision history for this message
perfect girl (sweet-girl-23) said :
#16

Thanks marcobra, that solved my question.