[06:54] <asterismo> hi people
[06:54] <asterismo> i need help with a bug
[06:54] <asterismo> i need to apply a patch
[06:54] <asterismo> posted in ubuntu bugs
[06:55] <asterismo> https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/874774
[06:55] <ubot2> Launchpad bug 874774 in cryptsetup "could not mount /dev/mapper/cryptswap1" [High,Triaged]
[06:57] <asterismo> anyone?
[06:57] <asterismo> when i apply a patch it returns me an error
[06:57] <asterismo> at some line
[07:04] <ThoughtCog> Hey everybody. Got a question if you got a minute.
[09:23] <jAguAr`> is there a way to connect my ubuntu desktop system to my dish network box and my ps3 via my router?
[13:19] <Juggernaut> Hey. Can someone tell me why this keeps happening-> http://i.imgur.com/CPAim.png
[13:19] <Juggernaut> I keep changing the background color to black, and it reverts on its own after a while
[13:20] <raydog45000> Hello I'm trying to set up user accounts I use useradd -m -k /home/john john but when I log in it just has a $ symbol doesn't say the account or computer name and when I try to access the home directory it says permission denied, any idea why?
[13:38] <geirha> raydog45000: Don't use useradd, use adduser instead
[13:38] <raydog45000> i thought they are the same
[13:38] <geirha> confusing naming, I know, but they are not the same
[13:38] <raydog45000> adduser is a link to useradd
[13:39] <geirha> No it isn't
[13:39] <geirha> Not by default anyway
[13:40] <geirha> Juggernaut: Could be a graphical glitch with Unity. Hard to say.
[13:41] <Juggernaut> Hmm
[13:42] <geirha> I'd log out and log back in using Unity 2D session instead of the default, see if it's reproducable there.
[13:42] <Juggernaut> Okay, will do
[13:43] <raydog45000> geirha: thanks that worked, The Linux System Admin book I've been looking at literally says adduser is just a symbolic link to useradd guess not. lol
[13:43] <geirha> raydog45000: On some distos, that may very well be the case, but not in Ubuntu.
[13:43] <geirha> *distros
[13:43] <raydog45000> oh ok
[13:44] <geirha> adduser is more advanced, and it has a configfile at /etc/adduser.conf for setting default group memberships and such
[13:44] <raydog45000> When I log into the new user the directories aren't blue, anyidea why? or is it a setting.
[13:45] <geirha> Remove the # in front of  #force_color_prompt=yes  in ~/.bashrc
[13:46] <geirha> ~/.bashrc is copied from /etc/skel/.bashrc when the user is created, so change /etc/skel/.bashrc if you want it to be the default for all new users.
[13:46] <Juggernaut> geirha: Its not reproducible with unity 2d.
[13:47] <Juggernaut> Must be a unity thing
[13:47] <raydog45000> ok
[13:49] <geirha> Juggernaut: When it happens, look at the last few lines in ~/.xsession-errors, it'll likely have some error message that could explain why it's happening.
[13:49] <Juggernaut> Okay, will do. Thanks
[13:53] <raydog45000> umm I can't find bash in /
[13:55] <geirha> $ type bash
[13:55] <geirha> bash is hashed (/bin/bash)
[14:07] <raydog45000> how do I uninstall in commandl ine
[14:07] <zombifier> uninstall what
[14:08] <raydog45000> mpg123
[14:09] <geirha> sudo apt-get remove mpg321
[14:09] <geirha> dpkg -S bin/mpg123   should tell you what package installed it; in this case mpg321
[14:13] <raydog45000> hmmm now mpg321 is throwing errors when I try to use it
[14:14] <raydog45000> ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
[14:28] <pip__> Hi, if I'm installing an app from a tar.gz at which point do I issue make uninstall?  Or would using checkinstall be a btter option?
[17:13] <asterismo> hi people
[17:13] <asterismo> can anyone help me to apply a patch?
[17:15] <asterismo> i'm bein affected by this bu
[17:15] <asterismo> bug
[17:15] <asterismo> https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/874774
[17:15] <ubot2> Launchpad bug 874774 in cryptsetup "could not mount /dev/mapper/cryptswap1" [High,Triaged]
[17:17] <escott> asterismo, see comment #10
[17:27] <JoseeAntonioR> asterismo: As escott said, check comment #10
[17:29] <asterismo> i tried that
[17:30] <asterismo> but i get a hunk error
[17:30] <asterismo> at line
[17:30] <asterismo> 641 do not remember well
[17:31] <asterismo> JoseeAntinioR
[17:31] <asterismo> that command is one liner
[17:31] <asterismo> that command is one line right?
[17:32] <JoseeAntonioR> asterismo: Yes, it's a one-line command.
[17:33] <asterismo> another question
[17:33] <asterismo> whwre is the patch to download
[17:34] <escott> asterismo, then your patch doesn't apply. you will have to manually merge it
[17:36] <asterismo> is there any editor like vi or nano that shows the line i'm in?
[17:36] <escott> vi can show line numbers
[17:36] <asterismo> because i have to navigate to line 641 and i do not see the line number with vi or nano
[17:36] <escott> asterismo, open vi and type [ESC]:641[ENTER]
[17:37] <Unit193> And nano  it's alt+g
[17:37] <escott> asterismo, ":set number" to show all numbers
[17:38] <asterismo> never hand-patched a script before
[17:38] <asterismo> kinda scary
[17:40] <asterismo> at least i have my terminal prompt and network enabled in recovery mode
[17:40] <asterismo> i'll try another time applying the patch... but i do not think it will work
[17:41] <asterismo> anyway... what's the story about patching by hand a script?
[17:41] <asterismo> which is the first line? i see the patch starts with other lines of stuff
[17:45] <escott> asterismo, those are context lines, the +/-s indicate what goes in and comes out the @@ indicate line numbers
[17:46] <asterismo> but what is the starting line number and what is the first line of the patch
[17:46] <asterismo> https://launchpadlibrarian.net/86703313/0001-LP874774-Use-DEVLINKS-to-match-crypttab-entries.patch
[17:46] <asterismo> that patch
[17:47] <asterismo> lines which says From, Date...
[17:47] <asterismo> that is the header
[17:47] <asterismo> there is an @@ line
[17:48] <asterismo> is the following line the first code line to replace?
[17:48] <escott> asterismo, note the 7 insertions and the 7 lines that begin with +
[17:49] <asterismo> yes
[17:49] <asterismo> the first + is the one starting replacing?
[17:50] <escott> asterismo, the + lines are added between the non+ lines
[17:51] <asterismo> oh ok
[17:51] <asterismo> another question
[17:51] <asterismo> i executed the patch command in comment #10
[17:52] <asterismo> but it returned me hunk error at line 1
[17:52] <asterismo> so i added the parameter --ignore-whitespace
[17:52] <asterismo> and the patch added but with this message
[17:53] <asterismo> Hunk #1 secceeded at 598 with fuzz 2 (offset -43 lines)
[17:53] <asterismo> is that right?
[17:54] <asterismo> does it mean that i applied the patch with a difference in 43 lines?
[17:57] <escott> asterismo, sounds like a reasonable interpretation
[18:01] <asterismo> well the patch did not worked
[18:01] <asterismo> my machine did not boot