frozen apt get install in terminal

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

frozen apt get install in terminal

Postby moonPeople on Fri Jun 08, 2012 12:10 pm

while working in the Terminal and doing a
Code: Select all
#sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin


while the install code did its thing, there were a series of full window images in terminal that were messages that could just as well have come across as text questions with optional answers. there is an image in the terminal at this time and it is the last one, where the whole situation is now frozen. The image does have one 1 response answer like prompt in text and that is the word ' ok ', and is not written as 'okay'. and is not a link to code.
i pressed the enter key , no response. command with enter key, no response. command l, ell like lion, lucy, luck, loose to get back to a command line, no response. seems to be frozen, dried crispy in the Arctic sun.

question: what are the options to de ice the terminal window.

i did look at top, i did not see anything in there that would indicate a term window was frozen. or any download in process was in zombie state.
i just do not know what to shake and rattle.

what can i do.

Thank you
moonPeople
Level 1
Level 1
 
Posts: 47
Joined: Thu May 10, 2012 12:13 pm

Linux Mint is funded by ads and donations.
 

Re: frozen apt get install in terminal

Postby sagirfahmid3 on Fri Jun 08, 2012 12:12 pm

terminal> sudo killall apt-get
STABLE OCed AMD Athlon 64 X2 4200+ (2.2GHz to 2.7GHz stock voltage)
Image
STABLE OCed AMD Athlon II X4 600e (2.2GHz to 2.7GHz stock voltage)
Image
My Blog Site
User avatar
sagirfahmid3
Level 6
Level 6
 
Posts: 1054
Joined: Sun Sep 04, 2011 12:39 pm

Re: frozen apt get install in terminal

Postby moonPeople on Fri Jun 08, 2012 12:45 pm

thank you
i did the kill sequence.
and then.
i forgot about the w option up to now.
Code: Select all
$ w
 09:32:51 up 1 day,  2:24,  3 users,  load average: 1.51, 0.69, 0.35
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
stockyard tty7     :0               Thu07   26:24m 39:59   0.91s gnome-session -
stockyard pts/0    :0               01:41    2:07m  0.81s  0.81s bash
stockyard pts/2    :0               09:32    0.00s  1.01s 44.23s gnome-terminal
------------------
i then went into term menu Terminal/reset and clear
---------------------
$ w
 09:36:56 up 1 day,  2:28,  2 users,  load average: 1.90, 1.16, 0.60
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
stockyard tty7     :0               Thu07   26:28m 40:15   0.91s gnome-session -
stockyard pts/0    :0               09:36    0.00s  1.02s  0.01s w
moonPeople
Level 1
Level 1
 
Posts: 47
Joined: Thu May 10, 2012 12:13 pm

Re: frozen apt get install in terminal

Postby moonPeople on Fri Jun 08, 2012 3:09 pm

after i was able to exit out of the term window in the account where it was frozen.
i did go into synaptic to see if there was any indication of the status of the phpmyadmin install in synaptic. as usual i could not access synaptic in another account outside of the root account.
i did log into the root account, admin account or whatever a person would like to name the first account at OS install and set up.
after logging into the first account.
i did go into synaptic to see what the status of the phpmyadmin install was.
after clicking the synaptic icon i did receive a pop up window message.
basically this:
you must manually run this:
Code: Select all
sudo dpkg --configure -a


i did do that and the previous image as indicated in first post, in term came back to life.

with zero indication of any thing, but the word 'ok'. i did proceed to press keys as indicated in the previous post.
finally i did press cmd with arrow keys. learn the buffer some how.
Code: Select all
$ sudo dpkg --configure -a
[sudo] password for middle:
Setting up phpmyadmin (4:3.3.10-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
Replacing config file /etc/phpmyadmin/config-db.php with new version
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
dbconfig-common: phpmyadmin configure: aborted.
^[[1;5Bdbconfig-common: flushing administrative password
^[[1;5B^[[1;5BERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES).
unable to connect to mysql server.
error encountered creating database:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
dbconfig-common: phpmyadmin configure: aborted.
^[[1;5Bdbconfig-common: flushing administrative password
populating database via sql...  ^[[1;5B^[[1;5Berror encountered populating database:
mysql said: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
^[[1;5B^[[1;5Bdbconfig-common: phpmyadmin configure: aborted.
^[[1;5Bdbconfig-common: flushing administrative password
done.
^[[1;5Bdbconfig-common: flushing administrative password
^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5BProcessing triggers for libc-bin ...
^[[1;5Bldconfig deferred processing now taking place
^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[[1;5B^[


after this experience.
i did not enter a password of 'yes' for mysql.
something in the code ?.

after this situation. i exited out of term and re launched the gui synaptic and it came up this time without the pop up window to manually ...
i did a search of phpmyadmin and it came up as installed.
while phpadmin was in the right hand pane and highlighted, i click on reload, no results to indicate anything.
lower left pane status, does not indicate anything.
edit/fix broken packages, does not show anything.

at this point and at my skill level i do not know if this is a bug or what.

i began this journey at http://community.linuxmint.com/tutorial/view/486

later on this day i will resume the procedures in the tutorial and see if phpmyadmin is alive and well, while i would not use phpmyadmin as a base of mysql or php. it is just another tool, used when actually needed.
good day
moonPeople
Level 1
Level 1
 
Posts: 47
Joined: Thu May 10, 2012 12:13 pm

Re: frozen apt get install in terminal

Postby moonPeople on Sun Jun 10, 2012 12:31 am

okay
so i got the monster under control
thank you.
moonPeople
Level 1
Level 1
 
Posts: 47
Joined: Thu May 10, 2012 12:13 pm

Re: frozen apt get install in terminal

Postby sagirfahmid3 on Sun Jun 10, 2012 2:18 pm

Goodie! Please mark the thread as solved so others may see :D
STABLE OCed AMD Athlon 64 X2 4200+ (2.2GHz to 2.7GHz stock voltage)
Image
STABLE OCed AMD Athlon II X4 600e (2.2GHz to 2.7GHz stock voltage)
Image
My Blog Site
User avatar
sagirfahmid3
Level 6
Level 6
 
Posts: 1054
Joined: Sun Sep 04, 2011 12:39 pm


Return to Newbie Questions

Who is online

Users browsing this forum: Charles123, Google Adsense [Bot], kc1di and 28 guests