LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-25-2015, 02:08 PM   #1
JackDinn
Member
 
Registered: May 2015
Posts: 211

Rep: Reputation: Disabled
went and busted my Mint


Hi,

I wanted to install electrum 2 so went to there site and followed instructions, first command was:-

Code:
sudo apt-get install python-qt4 python-pip
https://electrum.org/#download

the console kept giving an error , something about trying sudo apt-get -f install (without a package)

I gave up in the end but on restarting Mint wont load any more (just get a flashing cursor on black screen). I can get the grub and I tried all the repair options in the recovery menu but dpkg is showing that same error and i have no idea what to do anymore

I keep trying and trying to replace windows with linux but soooo many problems i spent months trying to get everything to work as i would expect/need and i was almost getting somewhere.

Thx all.
 
Old 08-25-2015, 02:15 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
That shouldn't break anything. Have you done a recent "apt-get update && apt-get upgrade"? Maybe your system was working off of an old package listing.

You should really pay more attention to the error messages. We need to know exactly what it said in order to help (you'll also need to know exactly what it said in order to search the web for solutions).
 
Old 08-25-2015, 02:27 PM   #3
JackDinn
Member
 
Registered: May 2015
Posts: 211

Original Poster
Rep: Reputation: Disabled
nop that was the only command i used , it showed an error , i searched it to no avail then rebooted.

well i did search the error at the time (before rebooting) but i cant get back into mint to see what the exact error was now , i shall boot the repair and pen&paper the error from there as its very similar. brb
 
Old 08-25-2015, 02:30 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
When is the last time you did an apt-get update and upgrade?

Sometimes when you install a piece of software using the central package manager (apt-get in your case) it breaks other functionality by bringing in newer, conflicting versions of libraries. For that reason on Linux you should always make sure your system is up to date before using the package manager to install any new software.

Last edited by suicidaleggroll; 08-25-2015 at 02:34 PM.
 
Old 08-25-2015, 02:40 PM   #5
JackDinn
Member
 
Registered: May 2015
Posts: 211

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
When is the last time you did an apt-get update and upgrade?

well i just let the built in update app handle all that but i keep it all up to date (AFAIK)

ok the error is something like this, this is after running dpkg in recovery mode:-

Code:
Xscreensaver-gl-extra: Depends: libl1-mesa-glx or libgl1
E: Unmet dependencies. Try using -f
but thats just the last line showing missing dependencies, there are a whole load above requiring the same ( libl1-mesa-glx or libgl1)

I can get to a console , i can login , but no GUI , so what should i do next ?

Many thx for your help all.
 
Old 08-25-2015, 02:48 PM   #6
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 939

Rep: Reputation: 174Reputation: 174
apt-get was telling you that it wouldn't work unless you first installed one of two packages.

Using -f just tells apt-get to just go ahead because you have a reason for knowing it's wrong about that.

Any lines that start with E: are error messages
 
Old 08-25-2015, 03:03 PM   #7
JackDinn
Member
 
Registered: May 2015
Posts: 211

Original Poster
Rep: Reputation: Disabled
so how do i rebuild python from console ?
 
Old 08-25-2015, 03:18 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Why do you need to rebuild python?

From your first post it sounds like your command didn't actually do anything, it just immediately threw an error and stopped. That tells me that the problem already existed and that was simply the first time you saw any symptoms of it. Had you done anything else on the system before that, especially related to libgl?

What happens if you run "sudo apt-get update && sudo apt-get upgrade" from the console? What happens if you try to install one of those packages that it's complaining about?
 
Old 08-25-2015, 04:03 PM   #9
JackDinn
Member
 
Registered: May 2015
Posts: 211

Original Poster
Rep: Reputation: Disabled
update & upgrade
Click image for larger version

Name:	update&upgrade.jpg
Views:	25
Size:	231.7 KB
ID:	19265

sudo apt-get install libl1
Click image for larger version

Name:	libgl1.jpg
Views:	21
Size:	250.3 KB
ID:	19266


After turning comp on i installed wickr which worked fine then installed electrum from repo but noticed it was the older version so i went looking for ver2, thats all i did.

Sorry i cant get better pic, crap camera.
 
Old 08-25-2015, 04:18 PM   #10
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
From your output:

Code:
Package libgl1 is a virtual package provided by:
  libgl1-mesa-glx
  libgl1-mesa-glx-lts-vivid
  libgl1-mesa-glx-lts-utopic
You should explicitly select one to install
Try the first one.
 
Old 08-25-2015, 04:23 PM   #11
JackDinn
Member
 
Registered: May 2015
Posts: 211

Original Poster
Rep: Reputation: Disabled
sudo apt-get install libgl1-mesa-glx
Click image for larger version

Name:	libgl1-mesa-glx.jpg
Views:	17
Size:	234.8 KB
ID:	19268
 
Old 08-25-2015, 04:33 PM   #12
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Well something definitely got borked in whatever else you were doing on the system. I highly doubt any of this is related to the python installation command you ran...it has to be from something earlier.

Maybe look back through /var/log/apt/history.log or /var/log/dpkg.log to see if something there jogs your memory.

As for how to fix it...I would start by just installing all of these packages that it's complaining about, though I'm not sure why apt-get's dependency resolution isn't picking them up automatically. I don't use deb based distributions often and don't have much experience with apt-get.
 
Old 08-25-2015, 04:40 PM   #13
JackDinn
Member
 
Registered: May 2015
Posts: 211

Original Poster
Rep: Reputation: Disabled
its all just a bit much for me , i did not do anything other than follow simple installation instructions and bam :-/ . I tried putting in the installation disk to see if i could do a re-install but of course i then remember that live boot DVD's dont work on my comp because of UEFI (it was one of the major problems i spent ages on resolving, then the screen tearing problem took ages too then ... ahh well you get the idea) , i may create a usb stick later , we shall see.

Thx for the help , appreciated
 
Old 08-25-2015, 04:44 PM   #14
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,260

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Is this a brand new machine? It shouldn't be this big of an issue to get things running, unless this machine uses bleeding edge or otherwise abnormal hardware. If so, you may want to try a distro with more up-to-date support, at least until the hardware has been out for a while and the LTS distros catch up.

As for UEFI, you should be able to just disable secure boot in the BIOS, unless Windows is forcing you to keep it around.

Last edited by suicidaleggroll; 08-25-2015 at 04:48 PM.
 
Old 08-25-2015, 05:21 PM   #15
JackDinn
Member
 
Registered: May 2015
Posts: 211

Original Poster
Rep: Reputation: Disabled
well its quite new and the Nvidia card is pretty new too.

well i suppose all this knowledge is ok in retrospect but we all start out somewhere :-/

I ill prob do a new install , at least i know most of the things i have to do to get around most of the problems but its just the way it dies from nothing really. Im desperately trying to get away from windows but at least everything just works (video cards , printers, boot sectors, web cams etc (even the shutdown button stopped working on mint17.1 at one point, i found it was a common problem, jess)).

Anyhow, thank you again for your help.
 
  


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
Another myth busted crashmeister General 4 04-02-2008 10:55 PM
Amarok is busted? Hitboxx Fedora 5 10-04-2006 03:23 PM
just busted my 3D ababkin Linux - Hardware 5 04-09-2004 08:13 PM
I think my aironet is busted what now? rxscabin Linux - Networking 3 03-11-2004 10:26 AM
busted my gnome 2.2 :( RRepster Slackware 0 05-20-2003 04:47 AM


All times are GMT -5. The time now is 04:51 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