LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   went and busted my Mint (https://www.linuxquestions.org/questions/linux-newbie-8/went-and-busted-my-mint-4175551710/)

JeremyBoden 08-25-2015 07:13 PM

I think it went wrong when you followed the instructions in https://electrum.org/#download
The latest version of Electrum available as a package is 1.9.7-1

Electrum 2 is not integrated into Mint at present.

Try
Code:

sudo apt-get install electrum
if you need a bitcoin wallet.

Fred Caro 08-25-2015 07:34 PM

Don't give up!
What you were trying to do was quite ambitious. Some dependencies might not be automatically dragged in as they have pre-dependencies which, if missing, might break a package.
Installing programs from websites you have not got a key for smacks of Windows, it is risky anyway, especially if you run that into your system as root.
I take issue with Windows just works, not if you have an old printer, external device, that no one wants to write a driver for the latest Windows.

Fred.

Fred Caro 08-25-2015 07:38 PM

ps try:

Quote:

sudo apt-get -s install electrum
As this will be a "dummy-run"

fred

JackDinn 08-26-2015 02:38 AM

well yea the statement "windows just works" is quite wrong of course but it feels that way when iv had many machines using window that i seriously abuse and they keep ticking.

I am as i say desperate to leave windows behind i cant stand their proprietary closed spyware they call an OS but after a lot of time with linux it seems i could do with a masters in computer science before being comfortable with it. (just my feeling).

i never got to figuring taking an image of the OS, that was the next thing on the list , dohh !

JackDinn 08-26-2015 03:51 AM

1 Attachment(s)
sudo apt-get install electrum
Attachment 19274

going to look at the logs if i can find them and post them here

JackDinn 08-26-2015 04:23 AM

1 Attachment(s)
history.log
Attachment 19275

i cant figure how to get at the logs so i can post them? i cant see the linux partition or files from windows (dual boot).

I tried to install xserver-xorg-video-vesa-lts-utopic but same errors as all the others.

JeremyBoden 08-26-2015 05:07 AM

Your logs are all held in
Code:

/var/log
I believe your history.log will be at
Code:

/var/log/apt/history.log
But seriously, don't install non-package software - unless its for a very good reason.
Simply getting the latest version is not a good reason.
Remember that downloaded source code will need to be periodically recompiled (by you).
apt-get won't supply you with automatic updates...

I suggest you reinstall (it's quick) as this will reset your machine too a "known good" status.

Then install electrum, using apt-get.
If it says you have to install a huge number of packages - especially "server" packages,
ask yourself if you really want to do that. :eek:

JackDinn 08-26-2015 07:25 AM

well iv managed to get my logs out but using a elementary live stick i had hanging about.

can anyone spot what i did wrong and what i need to do to fix it from these logs ?

http://pastebin.com/haKjbmgS
http://pastebin.com/Ry1FcHy2

many thx all.

suicidaleggroll 08-26-2015 10:08 AM

There it is!

You installed python on 2015-08-25 17:53:14, and it was harmless. The damage as done about 50 minutes earlier:

Code:

Start-Date: 2015-08-25  17:02:12

Install: libicu52:i386 (52.1-3ubuntu0.3), libllvm3.6:i386 (3.6-2ubuntu1~trusty1, automatic), libgl1-mesa-dri:i386 (10.6.3+git20150809+10.6.736f6e16-0ubuntu0ricotz~trusty, automatic), libsqlcipher0:i386 (2.2.1-2ubuntu2), libglapi-mesa:i386 (10.6.3+git20150809+10.6.736f6e16-0ubuntu0ricotz~trusty, automatic), libgl1-mesa-glx:i386 (10.6.3+git20150809+10.6.736f6e16-0ubuntu0ricotz~trusty), libx264-142:i386 (0.142.2389+git956c8d8-2), libavutil52:i386 (9.18-0ubuntu0.14.04.1)

Remove: xserver-xorg-video-vesa-lts-utopic:amd64 (2.3.3-1build2~trusty1), xserver-xorg-video-siliconmotion-lts-utopic:amd64 (1.7.7-2build2~trusty1), libxatracker2-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), xserver-xorg-input-wacom-lts-utopic:amd64 (0.25.0-0ubuntu1~trusty1), xserver-xorg-video-nouveau-lts-utopic:amd64 (1.0.11-1ubuntu2~trusty1), xserver-xorg-video-openchrome-lts-utopic:amd64 (0.3.3-1build2~trusty1), xserver-xorg-video-modesetting-lts-utopic:amd64 (0.9.0-1build1~trusty1), libgbm1-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), xserver-xorg-video-intel-lts-utopic:amd64 (2.99.914-1~exp1ubuntu4.5~trusty1), xserver-xorg-video-sisusb-lts-utopic:amd64 (0.9.6-2build2~trusty1), libgl1-mesa-dri-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), libgl1-mesa-dri-lts-utopic:i386 (10.3.2-0ubuntu1~trusty2), libopenvg1-mesa-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), libgl1-mesa-glx-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), libgl1-mesa-glx-lts-utopic:i386 (10.3.2-0ubuntu1~trusty2), xserver-xorg-input-mouse-lts-utopic:amd64 (1.9.0-1build2~trusty1), xserver-xorg-video-vmware-lts-utopic:amd64 (13.0.2-3ubuntu1~trusty1), xserver-xorg-core-lts-utopic:amd64 (1.16.0-1ubuntu1.2~trusty2), xserver-xorg-video-r128-lts-utopic:amd64 (6.9.2-1build2~trusty1), libgles1-mesa-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), xserver-xorg-lts-utopic:amd64 (7.7+7ubuntu2~trusty1), xserver-xorg-input-synaptics-lts-utopic:amd64 (1.8.1-1ubuntu1~trusty1), xserver-xorg-video-mach64-lts-utopic:amd64 (6.9.4-2~trusty1), xserver-xorg-video-all-lts-utopic:amd64 (7.7+7ubuntu2~trusty1), xserver-xorg-video-cirrus-lts-utopic:amd64 (1.5.2-2build1~trusty1), xserver-xorg-video-radeon-lts-utopic:amd64 (7.4.0-2ubuntu2~trusty1), xserver-xorg-video-mga-lts-utopic:amd64 (1.6.3-2build1~trusty1), xserver-xorg-video-trident-lts-utopic:amd64 (1.3.6-0ubuntu6~trusty1), xserver-xorg-video-fbdev-lts-utopic:amd64 (0.4.4-1build2~trusty1), xserver-xorg-video-tdfx-lts-utopic:amd64 (1.4.5-1build2~trusty1), libglapi-mesa-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), libglapi-mesa-lts-utopic:i386 (10.3.2-0ubuntu1~trusty2), xserver-xorg-video-ati-lts-utopic:amd64 (7.4.0-2ubuntu2~trusty1), libwayland-egl1-mesa-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), xserver-xorg-input-all-lts-utopic:amd64 (7.7+7ubuntu2~trusty1), xserver-xorg-video-neomagic-lts-utopic:amd64 (1.2.8-1build2~trusty1), xserver-xorg-video-savage-lts-utopic:amd64 (2.3.7-2ubuntu3~trusty1), libegl1-mesa-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), xserver-xorg-input-vmmouse-lts-utopic:amd64 (13.0.0-1build2~trusty1), libegl1-mesa-drivers-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2), xserver-xorg-input-evdev-lts-utopic:amd64 (2.9.0-1ubuntu2~trusty1), libgles2-mesa-lts-utopic:amd64 (10.3.2-0ubuntu1~trusty2)
End-Date: 2015-08-25  17:02:58

(emphasis mine)

You apparently tried to install something that conflicted with xorg, so in order to proceed it had to uninstall xorg. I guarantee this threw up a big warning when you were doing the installation. First something along the lines of "The following packages will be removed due to conflicts...", and then a second "Continuing could break dependencies for some packages", and you clicked through both of them. Now all of the errors you're getting are those dependency problems that it almost certainly warned you about.

Some pieces of software for Linux are mutually exclusive. You MUST pay attention when you go to install a package to what the package manager tells you. Both the additional packages that need to be installed due to dependencies, AS WELL AS (and this is the most important part) what packages will be removed if you decide to continue due to conflicts.

I would start by making a list of all of those packages that were installed and removed at 17:02:12 and reverse the process. Remove the packages that were installed and install that huge list of packages that were removed. That might correct the problem, if not I would just reinstall and chalk this up to a lesson learned.

JackDinn 08-26-2015 12:35 PM

ok thx, yea of course it probably did warn me but everything i install from the terminal says X package will be installed or X dependency will be removed etc etc and i dont know what the hell "libgles2-mesa-lts-utopic" is for example, so if i always stopped at the point of it saying "do you want to continue" i would never install anything or have solved a lot of the problems i have had. I did not try to install anything that was supposed to break the OS (well how can anything apart from malicious intent cause such a mess). I dont know.

I wonder what it was exactly that caused that , it was either the installation of wickr or could have been the vpn i installed (privateinternetaccess.com for linux). neither of which can i see how i was supposed to know this would happen.

well thank you for taking a look , i shall try to reverse the whole mess. Then i shall sit there wondering if i should ever install anything ever again (joking , maybe sorting a partition imaging backup method first).

JeremyBoden 08-26-2015 04:19 PM

If it says a package is going to be installed, then this always OK.

If it says a package is going to be removed, then you need to know what the effect is going to be.

JackDinn 08-26-2015 05:35 PM

yea but when it spits out a load of library names i don't know what they are or do. so your saying if on installation of anything via terminal it says its going to remove/replace or update anything i should go google every file its talking about and even then how do i know if its supposed to be removing it or not ?

I shall pay very close attention next time i use apt-get install and see if i can make heads or tails of it.

Thank you for suffering my intolerable ignorance :-/

suicidaleggroll 08-26-2015 08:28 PM

Quote:

Originally Posted by JackDinn (Post 5411626)
yea but when it spits out a load of library names i don't know what they are or do. so your saying if on installation of anything via terminal it says its going to remove/replace or update anything i should go google every file its talking about and even then how do i know if its supposed to be removing it or not ?

I shall pay very close attention next time i use apt-get install and see if i can make heads or tails of it.

Thank you for suffering my intolerable ignorance :-/

You're speaking as if everything you install will have a bucket-full of packages that will be installed/removed along with it that you need to research. The vast majority of the packages you install will only install themselves and maybe 1-2 supporting packages who's names will make perfect sense (eg: installing emacs might pull in emacs-x11, and emacs-info along with it). Sometimes something you install will pull in a HUGE set of supporting packages, an example might be the first time you install a KDE application when you don't run KDE (eg: I don't use KDE, but I like the terminal emulator "konsole", as soon as I install konsole on any system it has to pull in the entire host of KDE libraries), that's normal, but you should notice it and make sure it makes sense.

It's rare that anything will be removed, so that alone should be a yellow flag. It's exceedingly rare that a gigantic mass of packages will be removed, as what happened here, so that should raise an entire stock of red flags. When that happens, and it will happen from time to time, your reaction should be "WHOA WHOA WHOA...what is going on here???", do some googling, and find another way to get where you're going.

Just pay attention and you'll get used to what's normal and what's not. Keep regular backups, you WILL break your system occasionally, it's normal and part of the learning process. When it happens, spend some time trying to fix it (it's a great educational experience), if you can't get it going within a reasonable amount of time then reinstall and restore your backup, and chalk it up to a learning experience.

One of the VERY nice things about Linux is that 99.9 of your settings, configurations, customizations, etc. are stored in your user's home directory. This means that when you reinstall, all you have to do is wipe your partition, reinstall your OS, reinstall the programs you need (it helps to keep a list of everything you've installed and how...just a short to-do list of your necessary programs and their respective apt-get installation commands), restore your home directory from your backup, and you will be back up and running literally within the hour, with all of your customizations and settings in-place.

I did exactly that just a few weeks ago as a matter of fact, sitting in a hotel room on another continent. Due to the slow internet at the hotel and the fact that I didn't have the ISO for my OS ready-to-go on a backup drive it took a few hours, but I screwed it up before lunch (system locked up during an update, hard power-off corrupted the filesystem due to XFS's crappy journaling, and I was dead in the water) and was back up and running by dinner.

Germany_chris 08-27-2015 07:00 AM

Quote:

Originally Posted by JackDinn (Post 5411302)
well yea the statement "windows just works" is quite wrong of course but it feels that way when iv had many machines using window that i seriously abuse and they keep ticking.

I am as i say desperate to leave windows behind i cant stand their proprietary closed spyware they call an OS but after a lot of time with linux it seems i could do with a masters in computer science before being comfortable with it. (just my feeling).

i never got to figuring taking an image of the OS, that was the next thing on the list , dohh !

You don't but you need have a real desire not to go back. Pay attention to what the terminal is telling you, if something looks or feels wrong it probably is so stop. If you think you've screwed something do not reboot fix it first, if you don't you'll lose the use of the computer to help you fix it.

JeremyBoden 08-27-2015 10:42 AM

Quote:

Originally Posted by JackDinn (Post 5411302)
...with linux it seems i could do with a masters in computer science before being comfortable with it...

I'm doing a MSc in Mathematics - using Linux quite comfortably. :study:


All times are GMT -5. The time now is 06:21 AM.