Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Tuesday, March 7, 2017

#ubuntu channel featuring Guest24977, jason_-, Jordan_U, Pumamori, bigode, sintre, and 6 others.

nacc 2017-03-07 13:24:19
ash_workz: you were looking at the manpage for an unrelated command
UserUS 2017-03-07 13:24:24
bigode: Yeah rufus does FAT32 defualt, that's what he used
nacc 2017-03-07 13:24:28
ash_workz: (locally) that happened to have the same name
tangled_z 2017-03-07 13:24:31
Bashing-om: that guide i linked suggested that putting swap first will make it faster? I sort of blindly trusted that claim without verifying it though
nacc 2017-03-07 13:24:33
ash_workz: and that you happened to have installed
ash_workz 2017-03-07 13:24:39
right, my problem is just discerning concretely that
bigode 2017-03-07 13:24:44
UserUS: rufus?
nacc 2017-03-07 13:25:01
ash_workz: well, your first hint was that your manpage didn't match :)
bigode 2017-03-07 13:25:04
UserUS: I am using that unetbooting
tangled_z 2017-03-07 13:25:06
Bashing-om: do you think having swap as my first partition might be the cause of my inability to resume?
Pumamori 2017-03-07 13:25:23
I'll try to explain better - the "easy" fix to my solution was to boot a Windows 10 recovery CD / USB and just restore the boot settings from there, (so something similar to what you're suggesting with Ubuntu), but ever since I started having the grub terminal popping up at reboot, I didn't get my bootable sticks to work at all. It *always* jumps t
Pumamori 2017-03-07 13:25:23
o the grub terminal, rather than executing my recovery stick. If I choos either Ubuntu or Windows, it continues to ignore their existence, haha.
bigode 2017-03-07 13:25:29
UserUS: so FAT32 works?
UserUS 2017-03-07 13:25:33
bigode: ohh sorry misread nevermind
bigode 2017-03-07 13:26:19
UserUS: so FAT32 works?
UserUS 2017-03-07 13:26:40
Pumamori: Easy, Change your boot order in system setup, save and reboot
UserUS 2017-03-07 13:27:28
bigode: for bootable ubuntu, you'd want NTFS
ash_workz 2017-03-07 13:28:07
nacc: right, I did in fact understand that something was off from that :) but when I say that ubuntu doesn't control gnu man pages... what i mean to say is I could envision a scenario where a parallel command is provided by a moreutils package that was created by gnu; so I wouldn't say I could rely on the fact that GNU is missing from the docs that that means it is not gnu parallel
bigode 2017-03-07 13:28:27
UserUS: Mmmmmm.. so that is it!
Pumamori 2017-03-07 13:29:15
Yet I can't even open the bios or boot settings since grub "appeared". I've mashed pretty much every single F button before boot (before the grub terminal) and after choosing windows, to no effect. (Also tab, delete...)
Bashing-om 2017-03-07 13:29:15
tangled_z: Well, not all guides are 100% trustworthy, but no, having swap as primary on sda1 should not cause a problem . ( Me I want my root partition 1st as sda1 !) .
nacc 2017-03-07 13:29:15
ash_workz: moreutils is not a GNU package
nacc 2017-03-07 13:29:15
ash_workz: http://joeyh.name/code/moreutils/
nacc 2017-03-07 13:29:15
ash_workz: GNU is typically quite verbose in their own manpages and will tell you if you are using a GNU tool
nacc 2017-03-07 13:29:15
ash_workz: as, just like the case you are finding, it matters to know that
ash_workz 2017-03-07 13:29:15
nacc: right, I know that now; but I'm must trying to convey the lack of concreteness when I am trying to discern these things in general
nacc 2017-03-07 13:29:36
ash_workz: you undersatnd that very rarely does ubuntu create any manpages, they all come from upstream sources
Jordan_U 2017-03-07 13:29:37
Pumamori: OK. So can you currently boot any OS on this machine?
ash_workz 2017-03-07 13:29:38
like, sometimes I'll have a command, and there is no man at all
tangled_z 2017-03-07 13:29:53
Bashing-om: Yeah I probably should've stuck with convention in hindsight!
nacc 2017-03-07 13:29:55
ash_workz: such as?
Pumamori 2017-03-07 13:29:59
Jordan_U: Yes, both Windows and Ubuntu (when the stick's plugged in.)
ash_workz 2017-03-07 13:30:13
I dunno; I can't think of one... I
Pumamori 2017-03-07 13:30:21
My problem is the grub terminal, that's even there when the stick's not in.
UserUS 2017-03-07 13:31:05
type startx into the terminal
ash_workz 2017-03-07 13:31:43
I've run into the instance where `help command` had had information in lieu of man, or sometimes I'm sol, but that's happened maybe 3 times total
Jordan_U 2017-03-07 13:31:46
Pumamori: OK, then please boot into Ubuntu, run boot info script from here: https://github.com/arvidjaar/bootinfoscript and pastebin the RESULTS.txt that it produces.
Bashing-om 2017-03-07 13:31:46
tangled_z: Believe me it is all a process of learning and adapting ! Now each and every install I do is different . But I have learned what is and what I want . You too will :) /
UserUS 2017-03-07 13:31:46
Pumamori: Try to run the command startx too, to get the desktop
nacc 2017-03-07 13:31:46
ash_workz: i've been actively using and developing on linux for a while now, and i've not run into that situation myself anytime recently (yes a long time ago it was common). So i'd need a specific case to help
nacc 2017-03-07 13:32:32
ash_workz: in the case of parallel, say, you could have done a `apt-file search /usr/bin/parallel` and seen that it's in two packages
nacc 2017-03-07 13:32:51
ash_workz: and then looked at those packages descriptions and seen that one says it provides GNU parallel and the other provides a bunch of utilitieis
Bashing-om 2017-03-07 13:33:05
Pumamori: Careful with 'startx' has limited applications in today's systems .
Pumamori 2017-03-07 13:33:25
I'm a tad confused. What does startx do exactly?
ash_workz 2017-03-07 13:33:25
nacc: well, that's not exactly my point... I think what I need to do is learn 2 things: 1) how to find out where a command came from and 2) understand the the references for documentation on the upstream command.
tangled_z 2017-03-07 13:33:38
Bashing-om: Thanks! Yeah, it's a learning experience! I try and experiment around with new options to see if they make things better.
Pumamori 2017-03-07 13:33:41
Also, apparently I have to install mawk first for the script to work, a sec..
tangled_z 2017-03-07 13:34:02
Bashing-om: We may not have found out the mystery of the resume, but at least we managed to make my system boot! Thanks for the help! :D
nacc 2017-03-07 13:34:09
ash_workz: 1) if installed, dpkg -S `which command`; if not installed, `apt-file search command`. Also, the whole command-not-found stuff does some of this too
Bashing-om 2017-03-07 13:34:18
tangled_z: Back to the issue at hand . Able to reboot ? What happens ?
UserUS 2017-03-07 13:34:21
Pumamori: so do sudo apt-get install mawk. And startx is what you use to start xorg which will bring you to the GUI of the desktop
nacc 2017-03-07 13:34:28
ash_workz: 2) not sure i undrerstand
tangled_z 2017-03-07 13:35:13
Bashing-om: Yes, it manages to boot now.
scarybaby 2017-03-07 13:35:27
hello
tangled_z 2017-03-07 13:35:29
Bashing-om: So long as I shut it down. Not sure if it'll suspend, though
ash_workz 2017-03-07 13:35:45
nacc: apt-file search /usr/bin/parallel has no output
Bashing-om 2017-03-07 13:35:51
tangled_z: I tell ya the truth . wwith cryptsetup and dm-0 and graphic'
nacc 2017-03-07 13:36:09
ash_workz: have you run `apt-file update` as your user?
Pumamori 2017-03-07 13:36:17
Hm, it doesn't upgrade the old version. And ah, I see.
ash_workz 2017-03-07 13:36:17
nope
nacc 2017-03-07 13:36:24
ash_workz: then totally expected :)
nacc 2017-03-07 13:36:27
ash_workz: just like apt itself
scarybaby 2017-03-07 13:36:29
dumb question, I'm trying to install php5-fpm but when I run the apt-get command I get a "has no installation candidate error". How do I install this package?
nacc 2017-03-07 13:36:36
scarybaby: what version of ubuntu?
scarybaby 2017-03-07 13:36:44
16.04
nacc 2017-03-07 13:36:45
scarybaby: 16.04 has no php5 support
scarybaby 2017-03-07 13:36:48
ah
nacc 2017-03-07 13:36:55
scarybaby: php-fpm (php7.0 based)
scarybaby 2017-03-07 13:37:04
ty!
nacc 2017-03-07 13:37:10
scarybaby: you can either use trusty in a container/vm or use ondrej's PPA
nacc 2017-03-07 13:37:16
scarybaby: or migrate to php7 :)
scarybaby 2017-03-07 13:37:30
It's for tooling around while I learn to PHP properly
Bashing-om 2017-03-07 13:37:31
s issues that you do not know the why of ---- I would give a lot of thought - as this is a fresh install - to doing a RE-install taking what you know now and applying it to this new installation ,
nacc 2017-03-07 13:38:15
scarybaby: ah, then definitely just use php7.0 :)
Pumamori 2017-03-07 13:38:45
Is there any way I can just force to use the bootable media through grub...? It would simply so many things if I could get that thing to run..
tangled_z 2017-03-07 13:39:18
Bashing-om: hhmmmmmm that's a very good point.
scarybaby 2017-03-07 13:39:42
nacc, if I run apt-get install php-fpm, will that give 7?
ash_workz 2017-03-07 13:40:05
nacc: okay, that's done, what is the output of search telling me exactly?
nacc 2017-03-07 13:40:10
scarybaby: yes; and it will track the correct version that is supported as you go forward
scarybaby 2017-03-07 13:40:23
excellent, thank you so much!
nacc 2017-03-07 13:40:35
ash_workz: `apt-file search ` searches the contents of all packages for any file matching '*filename*'
nacc 2017-03-07 13:40:43
ash_workz: (as per `man apt-file` :)
UserUS 2017-03-07 13:40:50
Pumamori: You can't without it being mounted. There is a program I use that is basically a bootloader itself. It's called rEFInd. Might solve the issue of your boot paramaters, because it loads bootloaders, anything attached when your computer boots, it gives the option to boot into
tangled_z 2017-03-07 13:41:27
Bashing-om: Yeah it'll have a think about it, it might be the way to go. Can't believe so many issues popped out of nowhere so early on!
Pumamori 2017-03-07 13:41:30
I see
jason_- 2017-03-07 13:42:47
Does anyone know if different nvidia cards play well together on Ubuntu?
jason_- 2017-03-07 13:43:01
Like if I have two different types
UserUS 2017-03-07 13:43:02
Pumamori: Yeah, I can find the install instructions if you want, but grub-repair is what probably needs to be run to solve the issue you have now. Which you can do with a liveusb. Your issue isn't uncommon.
ash_workz 2017-03-07 13:43:07
nacc: okay, I see a colon separated list, (ie: `pssh: /usr/bin/parallel-nuke`) ... so what is 'pssh' in that case?
UserUS 2017-03-07 13:43:51
jason_-: Proprietary drivers work just fine, in my experience. I have seen people with issues here and there though
nacc 2017-03-07 13:44:09
ash_workz: a package name
Pumamori 2017-03-07 13:44:19
Ah, alright. But I couldn't run any other liveusbs - how does that one differ? (Again, don't mean to sound rude, just asking because I don't know any better)
jason_- 2017-03-07 13:44:48
UserUS: Well I've been having issues with intel graphics + a quadro GPU. I thought maybe buying a cheap nvidia card for running displays would be an easier solution.
jason_- 2017-03-07 13:45:00
err not quadro, Tesla K40
Jordan_U 2017-03-07 13:46:35
Pumamori: Yes you can use the grub shell to boot from other media, but at some point we need to figure out what your current configuration *is*. Boot info script will tell us that, and then hopefully from there we will be able to walk you throuhg fixing it.
UserUS 2017-03-07 13:47:02
Pumamori: Grub-repair is an application, not a liveusb
Jordan_U 2017-03-07 13:50:26
UserUS: Pumamori: I would recommend against using boot-repair if you have someone available that can determine what actually needs to be done rather han hoping the script's heuristics get it right.
nacc 2017-03-07 13:51:13
ash_workz: note that also you can pass -F to apt-file so it treats the argument as a fixed string and not a regex
UserUS 2017-03-07 13:51:13
Jordan_U: Sure, troubleshoot other options first by all means. Jump in here.
Bashing-om 2017-03-07 13:51:13
tangled_z: It is your system, we are here to help in whatever you decide to try and do :) - If It ain't broke do not fix it .
ash_workz 2017-03-07 13:51:43
how do I search ubuntu repositories for a keyword in a package/command name?
nacc 2017-03-07 13:52:08
ash_workz: `apt-cache search ...`
Jordan_U 2017-03-07 13:52:09
ash_workz: apt-cache search keyword
UserUS 2017-03-07 13:52:10
Pumamori: Run chmod +x "scriptname" to get the script to run...and feel free to pm me later, I'll go on tomorrow to try and lend a hand at some time.
nacc 2017-03-07 13:52:27
ash_workz: and now it's also `apt search ...`
ash_workz 2017-03-07 13:52:51
nacc: apt-cache search seems search descriptions too
nacc 2017-03-07 13:53:04
ash_workz: that of course is searching your local cache, not the repositories literally
Pumamori 2017-03-07 13:53:12
Alright, I've run the script once: http://pastebin.com/Dci11s6n
nacc 2017-03-07 13:53:15
ash_workz: you want to only search names?
nacc 2017-03-07 13:53:49
ash_workz: `man apt-cache` ... --names-only
ash_workz 2017-03-07 13:54:31
well, if I hear about the parallel command and I am thinking of installing it... I don't know that search all the descriptions is helpful
tangled_z 2017-03-07 13:54:56
Bashing-om: :D glad to hear that I brought you a problem that you found interesting!
nacc 2017-03-07 13:55:20
ash_workz: well, if it's a command it lives in bin, so i'd do `apt-file search parallel | grep bin` at least
Jordan_U 2017-03-07 14:07:33
Pumamori: OK, we could fix this manually, but there is enough wrong (or at least not ideal) that it's easiest to re-install, but do it properly.OCOCOCOCOCOCOCOC
UserUS 2017-03-07 14:08:05
Pumamori: It usually happens by not choosing "something else" and setting it manually. Jordan_U is right, if that is the issue, reinstall is best
nacc 2017-03-07 14:08:10
ash_workz: sorry, i'm not sure what you are saying is the problem there?
nacc 2017-03-07 14:08:17
ash_workz: you ran a command, it did not do what you thought it should
nacc 2017-03-07 14:08:28
ash_workz: so you check the manpage -- that's weird, it doesn't mention options i expect to find
Pumamori 2017-03-07 14:08:34
I see, but how would I get rid of grub before doing so? I suppose doing it "properly" would result in a live usb without the grub terminal each time...
sintre 2017-03-07 14:08:36
hell i said to do that an 2 hours ago
nacc 2017-03-07 14:08:38
ash_workz: so then you go and see if the same program is provided by something else
sintre 2017-03-07 14:08:44
but sintre knows nothing lol
Pumamori 2017-03-07 14:08:51
Well, I did choose something else, but I did screw up a bit with the Fat32 / Ext4 stuff.
Pumamori 2017-03-07 14:10:03
Never said you didn't, I just figured there was a quick work around, since it does work - it was just a matter of getting rid of the grub terminal. My apologies if it came off as that.
nacc 2017-03-07 14:10:34
ash_workz: and i think really, don't get hung up on paralle, which is a pathological case (afaict)
sintre 2017-03-07 14:10:34
well you learned there isn't an easy fix after all so you learned something
Pumamori 2017-03-07 14:10:46
Yay me. Haha.
ash_workz 2017-03-07 14:10:53
nacc: pathological?
UserUS 2017-03-07 14:11:25
Pumamori: Well your issue won't allow that unfortunately. Cheers
Jordan_U 2017-03-07 14:11:48
Pumamori: It looks like you don't currently have any Ubuntu LiveUSB plugged in right now. Is that correct?
nacc 2017-03-07 14:19:46
ash_workz: i'm stepping afk for the evening, but will be around tmrw
Jordan_U 2017-03-07 14:19:53
Pumamori: OK. Please plug that in and re run boot info script.
nacc 2017-03-07 14:25:24
Nivex: only as safe as you trust the HWe kernel to be :)
Guest24977 2017-03-07 14:26:31
quit