« first day (2037 days earlier)      last day (2912 days later) » 

9:05 AM
Hmmm, reading the roff man page and I read this sentence:
> The roff output for text devices is still unmatched, and its graphical output has the same quality as other free type-setting programs and is better than some of the commercial systems.
And a little flag went up in my head: "Citation needed." :)
Discussion, anyone? Is this true in your opinion?
(What does that even mean, "output for text devices is still unmatched?")
 
 
3 hours later…
12:23 PM
@Wildcard Sounds like advertising copy.
 
 
1 hour later…
1:25 PM
@terdon
 
Hi @Masi. OK, so what's the output of sudo ls -l /usr/local/lib/R/site-library/ ?
 
Just paste the output here directly, you can use the "fixed font" button to format it correctly:
 sudo ls -l /usr/local/lib/R/site-library/
[sudo] password for masi:
total 40
drwxrwxr-x 8 root staff 4096 touko  7 14:50 bmp
drwxrwxr-x 9 root staff 4096 touko  7 14:37 curl
drwxrwxr-x 9 root staff 4096 touko  7 15:32 devtools
drwxrwxr-x 6 root staff 4096 touko  7 14:50 digitize
drwxrwxr-x 7 root staff 4096 touko  7 15:31 git2r
drwxrwxr-x 8 root staff 4096 touko  7 15:31 httr
drwxrwxr-x 8 root staff 4096 touko  7 14:50 jpeg
drwxrwxr-x 8 root staff 4096 touko  7 14:37 openssl
drwxrwxr-x 8 root staff 4096 touko  7 14:50 png
The button appears if you hit "up" after pasting.
OK, and you're not a member of the 'staff' group, right?
 
Not sure. Only defaults.
 
Run groups
 
1:28 PM
groups
masi adm cdrom sudo dip plugdev lpadmin sambashare
 
Yup. OK. So, either add yourself to the staff group or set up a local RLibs directory and install there as I explain in the last part of my answer.
Or, hang on, what's the output of sudo ls -l /usr/local/lib/R/ ?
 
sudo ls -l /usr/local/lib/R/
total 4
drwxrwSrw- 12 root staff 4096 touko 7 15:32 site-library
 
Aaaaaaaaaaaa
Did you do that?
 
groupadd or which one?
 
@Masi sudo usermod -G staff masi
then log out and log back in again
NO! WAIT
7
sudo usermod -a -G staff masi
^^
@Masi ?
 
1:32 PM
I did your first proposal already.
Should I run now again sudo usermod -a -G staff masi?
 
@Masi Damn. Have you logged out?
DOn't
 
Yes.
 
And logged back in again?
 
Yes. I logged in back again.
 
Odd. What is the output of groups now?
 
1:34 PM
groups
masi staff
 
OK. Sorry, without the -a, the command removed you from all extra groups and added you to staff. So let's just add the old ones back again. Run this:
sudo usermod -a -G  adm cdrom sudo dip plugdev lpadmin sambashare masi
Shit, which might not work since you're no longer in the sudo group.
 
Maybe try running them in test mode first?
 
Yes, I am not anymore in sudo group.
 
Shit. Sorry @Masi, I posted too fast. OK, is this your own computer? Can you boot a live session?
 
Yes, it is my own. I can boot a live session.
 
1:37 PM
You haven't enabled the root account by any chance, have you?
 
No. I have just defaults.
 
Damn, OK. I'm really sorry about this, you will have to boot into a live session to fix it.
Or a rescue shell if Ubuntu has one.
@Masi you need to either enter Ubuntu's rescue shell or boot a live session and mount your / partition. Then, you need to edit /etc/group and add yourself to sudo. So, if the current line in /etc/groups for sudo is like this:
sudo:x:4:root
Make it:
sudo:x:4:root,masi
Then you'll be back in sudo, you can reboot to your normal system and run this command to add you back to the rest of your groups:
sudo usermod -a -G  adm cdrom dip plugdev lpadmin sambashare masi
Again, I'm really sorry @Masi, I checked a split second after posting, but don't worry, this is very fixable and I'll walk you through it as needed.
Have you understood what needs to be done?
Ah, good, there is a recovery mode. @Masi follow the instructions here to boot to a recovery shell:
That will get you to a root shell. Once there, you should be able to run:
sudo usermod -a -G  adm cdrom dip plugdev sudo lpadmin sambashare masi
And fix everything.
@Masi?
 
Yes, I am using now two computers so I can be here and fix the thing. But only one display so need to switch there and there.
 
Ah, cool
OK, did you see the last part? have you managed to boot into a recovery shell?
 
1:54 PM
No. Something strange happened. I restarted the system. Pressed F12 to go to the boot options. Selected Boot loader. System stop. It does not wake up from the power anymore. Should I run with another HDD? I have many Ubuntus here. Probably, something broke. Power, possibly because it does not start up from power-button.
 
Woah
 
I have spare PCs here so I can switch the HDD to 2nd PC and do the work there. Probably, something hardware in the i5 PC.
 
yes, this is a completely different problem. At least that one's not my fault! :)
 
Ok, I do it because something went bad there.
 
OK. Are you clear on what to do?
 
2:07 PM
I have one problem. The HDD is encrypted. Can you use live session to restore it?
@terdon
 
Oh, shit. I think so, but I don't know how.
 
Refreshing challenge :) I opened it here askubuntu.com/q/768916/25388
At the same time, I start to make new Ubuntu 16.04 HDD.
 
Also try:
4
Q: How do I move my encrypted /home to a new computer?

sebHi I have a new notebook and I want to move my home data to the new computer. I think there are multiple ways of doing this copy all to a external hdd and move back on new computer do an Deja-Dup backup and then restore on the new computer rsyc/move to new computer via sshfs ...? My question...

@Masi The encryption shouldn't be a problem in the original PC. Your question on AU doesn't explain what the real problem is. Or have you managed to boot the original machine again?
 
No. I have now the HDD in my i3 PC. It boots there nicely. I am trying to get it to Grub but I cannot. I press F12 and go to boot loader. I cannot find the key to go to Grub.
 
@Masi Hang on, what are we trying to do here? Are you booting the system that's on the i7's HDD?
Or is the i7's HDD just one more drive attached to the i3 machine?
 
2:19 PM
I took the HDD from i7 machine. Moved it to i3 machine.
Now booting there.
I can log in there successfully even. I just cannot find how to go to the rescue mode in Grub > Advanced ...
 
@Masi And are you booting from the encrypted drive or not?
 
Yes. I can pass through the encryption because I know the password.
 
OK, so your system is the same as it was.
Cool.
 
Yes.
Just new hardware.
 
OK. So, when you boot, do you see the grub menu or not?
 
2:23 PM
No.
 
@Masi Did you try hitting Shift as the computer was booting?
This has to be done just after the BIOS loads and before it starts booting. So just reboot and hold shift down as soon as the machine turns on again. See: wiki.ubuntu.com/RecoveryMode
 
Yes. It does not get you to the Grub. It always goes to the Encryption stage.
Also unsuccessful after the encryption stage.
I think live session is the only chance heree
 
2:39 PM
Damn. OK
Sorry @Masi, I have to go. I'll answer as soon as I can if you have more problems.
 
OK.
 
@Masi one more thing, you could edit /etc/default/grub and add the word "single" to the end of the GRUB_CMDLINE_LINUX_DEFAULT line so it looks something like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash single"
Then run sudo update-grub and reboot. That should take you to a root shell. There, you can run the usermod command, then remove the "single", run sudo update-grub again and reboot.
Or just ask in the AU chat room, they'll help you out.
 
It does not work because it is read-only.
 
Damn. I really need to go now, sorry. But do ask in the AU room, it's active at the moment and I'm sure they'll be able to help.
 
3:05 PM
It is ok. See the body of the askubuntu thread when you can. I think I need to prepare OS which has all those security tools by default because you cannot install them later on the system.
 
 
3 hours later…
6:02 PM
Yeah, and I'm fine with that for the most part. I just don't understand the "for text devices" part as well as I'd like.

I suppose it contrasts with `roff` output for GUI programs, which has obviously been far outstripped by HTML, CSS, Markdown and the like. Whereas output for pure text displays (which can include bold, underlining, etc.) is unsurpassed elsewhere.
 
@Wildcard Write to the developer(s) and ask, perhaps?
You might get a response.
The text devices bit suggests that roff"degrades" better than other stuff when forced to render as text. Which might be true.
I know almost nothing about roff/groff. I mostly use LaTeX.
 
You
login You
Password:

Welcome, You!
guys?
anyone there?
:(
bye? anyone? cries :(
 
@You What's on your mind?
 
You
I just wanted to say hi. :)
 
6:18 PM
@You hello.
 
You
Hi!
 
6:46 PM
@terdon We managed to make persistent Ubuntu Live USB.
@terdon We stop at the point when it is asking the password of the root, since there is none which I have set.
@terdon I pass through my own password but then it wants root password, but I am not anymore a part of root. Probably there is some default password for root.
@terdon videonauth says that the step here is as long as doing the USB. USB has ecryptfs-utils and schroot which should be used for recovering the whole encrypted HDD Ubuntu. However, he and I have no clue how.
 
@FaheemMitha I might use LaTeX at some point, but right now I would like to expand my scripting repertoire by being able to write actual man pages for my script collections. :)
Next after that is learning to package RPMs and create RPM spec files.
 
@Wildcard Man pages aren't hard to write. They are mostly text with some weird macro rules thrown in.
@Wildcard I think the Debian ecosystem is a better investment. But that's me.
 
7:52 PM
@FaheemMitha Not when you have thousands of RHEL boxes to deal with on a daily basis. ;)
 
@Wildcard You poor thing. What's your job?
 

« first day (2037 days earlier)      last day (2912 days later) »