LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2017, 12:17 PM   #1
PhoenixKnight
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Rep: Reputation: Disabled
Unhappy Bad


Hi guys. I am a newbie. I run my kali using a bootable live usb. When I was upgrading my kali today my pc shut down due to low battery. Now every time I turn on my pc I dont get into the GUI.. While starting the black screen shows up with lots of output and the the command line-> root@kali:~# shows up..
When i run the command apt-get update and then apt-get upgrade it shows:
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg - - configure - a' to correct the problem

I tried all these but couldn't get anything. Please help.
And can anyone please tell me how to attach a photo to my posts so that it would be better for understanding the problem.
 
Old 12-23-2017, 12:21 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781
Have you read this ?

If you really are a pentester then fine, but if not, please read the sticky. (link above)
 
1 members found this post helpful.
Old 12-23-2017, 12:26 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,301

Rep: Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003
Quote:
Originally Posted by PhoenixKnight View Post
Hi guys. I am a newbie. I run my kali using a bootable live usb. When I was upgrading my kali today my pc shut down due to low battery. Now every time I turn on my pc I dont get into the GUI.. While starting the black screen shows up with lots of output and the the command line-> root@kali:~# shows up..
When i run the command apt-get update and then apt-get upgrade it shows:
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg - - configure - a' to correct the problem

I tried all these but couldn't get anything. Please help.
You first need to read the "Question Guidelines" and "How to ask a smart question" links in my posting signature, and also pay attention to the sticky posts in forums. In this case, the ones specifically about Kali. A subject of "bad" tells us absolutely ZERO about what your post contains, you tell us nothing about your hardware, and also saying "tried all but couldn't get anything" is also meaningless. We have no ideas what you've done/tried so far.

Kali **IS NOT** for new users, and definitely shouldn't be used as a normal desktop system. The Kali posts here say that, as well as the information on Kali's website. WHY are you using Kali? Because if you just want to learn Linux, you need to load Mint or Fedora instead.
Quote:
And can anyone please tell me how to attach a photo to my posts so that it would be better for understanding the problem.
Describe your problems, rather than asking us to look at pictures. You can also just look at the many buttons above the posting window here, and click on the paper-clip icon.
 
1 members found this post helpful.
Old 12-23-2017, 01:10 PM   #4
PhoenixKnight
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
[QUOTE=PhoenixKnight;5796867] This is the pic of the output[QUOTE]
Attached Thumbnails
Click image for larger version

Name:	IMG_20171223_224020.jpg
Views:	24
Size:	264.1 KB
ID:	26591  
 
Old 12-23-2017, 01:18 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,301

Rep: Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003
Quote:
Originally Posted by PhoenixKnight View Post
This is the pic of the output
Ok, so when you're told "Please don't post a picture, but put your description in", you go ahead and post one anyway??? And what about the other questions you were asked?

If you're going to ask for advice from folks, it would be a great idea to acknowledge you got it, and try it. Your subject is still just the word "bad", and you've posted no new information that's usable, and have ignored the questions you were asked.
 
1 members found this post helpful.
Old 12-23-2017, 01:43 PM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,570

Rep: Reputation: 4335Reputation: 4335Reputation: 4335Reputation: 4335Reputation: 4335Reputation: 4335Reputation: 4335Reputation: 4335Reputation: 4335Reputation: 4335Reputation: 4335
and you still did not read that screen: read only filesystem. You will not be able to apt-get and/or dpkg --reconfigure if it was read only. That is normal. You need to solve that issue first. Probably the filesystem was corrupted and you need to repair it.
 
2 members found this post helpful.
Old 12-23-2017, 04:57 PM   #7
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,436

Rep: Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781Reputation: 1781
Quote:
Originally Posted by pan64 View Post
and you still did not read that screen: read only filesystem. You will not be able to apt-get and/or dpkg --reconfigure if it was read only. That is normal. You need to solve that issue first. Probably the filesystem was corrupted and you need to repair it.
And that's someone who should be using Kali of all Linux distro's to use...? ...when they clearly can't even read the error message that's as clear as day...

I'm sorry but clearly the OP should not be using Kali, if they can't even understand a simple (and clear) error message... please.

What a waste of time...
 
Old 12-23-2017, 05:03 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,381
Blog Entries: 9

Rep: Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651Reputation: 3651
Quote:
Originally Posted by PhoenixKnight View Post
I run my kali using a bootable live usb. When I was upgrading my kali today my pc shut down due to low battery. Now every time I turn on my pc I dont get into the GUI.
this doesn't make sense.
if you were really running your kali from a live usb, an upgrade should have just vanished after a reboot.
i think you "accidenatlly installed" it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bad Monitor and/or Bad Graphic Card or Just Plain Bad Luck Steve R. Linux - Hardware 12 08-27-2014 02:52 PM
LXer: Fedora 18 Spherical Cow review - Bad bad bad LXer Syndicated Linux News 0 01-20-2013 04:11 PM
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 09:55 AM
Bad, Bad, BAD! (Firefox is basically ditching html5 video support) smeezekitty General 11 05-05-2010 07:29 PM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration