Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Saturday, March 4, 2017

#ubuntu channel featuring tubal, ubottu, EriC^^, \9, dli, k1l, and 10 others.

tubal 2017-03-04 12:46:44
OerHeks, uname says 4.8.0-39-generic ... Okay, yeah. So, I think you mean, it's all still in place, only this time for 4.8.0-39. Is that right?
OerHeks 2017-03-04 12:47:05
jups
tubal 2017-03-04 12:47:15
Cool. Thanks OerHeks .
OerHeks 2017-03-04 12:47:52
it is just cleaning /lib/modules/
tubal 2017-03-04 12:48:11
I see, yeah.
easyOnMe 2017-03-04 12:59:11
just want to ask: will there be any problem if I install nginx on my ubuntu laptop even though I already have apache2 installed
easyOnMe 2017-03-04 12:59:31
I mean will there be a problem if the two run side by side together
Mrokii 2017-03-04 13:00:59
Hello. If I change the hosts-file to make some domains unreachable, do I need to log out and back in to activate it or should it be active right after saving?
Bashing-om 2017-03-04 13:06:00
!hostname | Mrokii Can not say about activation - but do be careful here :
ubottu 2017-03-04 13:06:00
Mrokii Can not say about activation - but do be careful here :: Use hostname to set the hostname, or to do it permanently: edit /etc/hosts to include BOTH the old and new hostname and then change /etc/hostname to the new one. WARNING! Make sure that your current hostname and /etc/hosts match, otherwise sudo may not work properly.
Mrokii 2017-03-04 13:07:31
Bashing-om: Thanks, but I don't want to change the hostname. I just know that I should be able to redirect/block urls via editing /etc/hosts. That's the only thing I want to change.
Bashing-om 2017-03-04 13:08:26
Mrokii: K; I go back to lurking ;
Mrokii 2017-03-04 13:08:43
:)
easyOnMe 2017-03-04 13:11:47
can anyone help me with this error and what I can do about it: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
easyOnMe 2017-03-04 13:11:47
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
hggdh 2017-03-04 13:12:25
easyOnMe: there is probably another process running and using the lock
easyOnMe 2017-03-04 13:12:57
hggdh: how do I stop it
Bashing-om 2017-03-04 13:15:14
easyOnMe: Close all apps out that direct to dpkg .. there can be only one .
easyOnMe 2017-03-04 13:15:57
Bashing-om: that's the thing I do not know the terminal command how to do that
easyOnMe 2017-03-04 13:16:01
I am still googling on it
wendico 2017-03-04 13:17:28
hello, im using a laptop connected to a secondary vga screen. how can i configure ubuntu so it will by default boot using the secondary screen and not the laptop so i dont have to hit the funtion keys to swap to my other screen? Thank you very much.
hggdh 2017-03-04 13:18:07
easyOnMe: the easiest thing for you, then, wouldbe to reboot. Pretty much anything we can tell you to do will require use of the command line
hggdh 2017-03-04 13:18:23
easyOnMe: rebooting will automatically terminate any usage of the lock
easyOnMe 2017-03-04 13:19:02
hggdh: I already solve the problem
easyOnMe 2017-03-04 13:19:03
thank
easyOnMe 2017-03-04 13:19:06
you
KalEl 2017-03-04 13:22:35
I can't sudo anymore
KalEl 2017-03-04 13:22:40
"arnab is not in the sudoers file. This incident will be reported.
KalEl 2017-03-04 13:22:40
"
KalEl 2017-03-04 13:22:45
Sorry
KalEl 2017-03-04 13:22:54
That's the error...
KalEl 2017-03-04 13:23:18
Using xubuntu
k1l_ 2017-03-04 13:24:04
KalEl: what is the output of "groups"?
\9 2017-03-04 13:24:30
KalEl: any particular reason for this breaking now?
KalEl 2017-03-04 13:25:05
It says "groups: cannot find name for group ID 1000"
k1l_ 2017-03-04 13:25:30
KalEl: erm, what did you do before that happened?
FireBeard 2017-03-04 13:25:49
just log out and login as root
EriC^^ 2017-03-04 13:26:05
just did usermod $(cat /dev/urandom)
\9 2017-03-04 13:26:05
FireBeard: you don't login as root...
EriC^^ 2017-03-04 13:26:10
what you mean k1l_ ?
EriC^^ 2017-03-04 13:26:12
j/k
FireBeard 2017-03-04 13:26:16
I do
\9 2017-03-04 13:26:22
then you're doing it wrong
k1l_ 2017-03-04 13:26:24
FireBeard: no, that is not a helpfull advice for ubuntu.
FireBeard 2017-03-04 13:26:31
ok
KalEl 2017-03-04 13:26:52
I did an sudo apt-get upgrade
FireBeard 2017-03-04 13:26:57
18 years of linux using down the friggin drain
\9 2017-03-04 13:27:19
!root | FireBeard
ubottu 2017-03-04 13:27:19
FireBeard: Do not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo
FireBeard 2017-03-04 13:27:45
who is saying anything about guessing the root password?
k1l_ 2017-03-04 13:27:47
FireBeard: other distros still have different setups but not on ubuntu. ubuntu is build around the setup to use sudo and not actively use the root account.
FireBeard 2017-03-04 13:27:52
I must be missing something here
\9 2017-03-04 13:28:12
you said login as root, that involves username and password
FireBeard 2017-03-04 13:28:31
if you did the install on that pc yourself, yes
KalEl 2017-03-04 13:28:49
How do I login as root?
\9 2017-03-04 13:28:53
um no, the root password is not set
\9 2017-03-04 13:28:58
KalEl: boot into single-user mode
FireBeard 2017-03-04 13:28:59
you can set it
k1l_ 2017-03-04 13:29:01
KalEl: that is not helping.
FireBeard 2017-03-04 13:29:04
never mind, geez
dli 2017-03-04 13:29:12
how to auto switch to tablet mode for a 2-in-1 laptop? need to disable keyboard, touchpad, and rotate screen accordingly
\9 2017-03-04 13:29:12
FireBeard: you *shouldn't* set it
KalEl 2017-03-04 13:29:14
Sorry
k1l_ 2017-03-04 13:29:15
KalEl: so did you change anything with the user or groups?
KalEl 2017-03-04 13:29:36
No I didn't
FireBeard 2017-03-04 13:29:42
uhuh you know it all
k1l_ 2017-03-04 13:29:44
FireBeard: its outside of the scope of this channel. its not the ubuntu way. this is #ubuntu so we stick to the ubuntu way.
FireBeard 2017-03-04 13:30:00
k1l_: ah ok
FireBeard 2017-03-04 13:30:04
I had no idea
KalEl 2017-03-04 13:31:32
Sorry let me see if I can figure it out
KalEl 2017-03-04 13:31:59
Sorry to bother you guys
FireBeard 2017-03-04 13:32:42
it's ok
FireBeard 2017-03-04 13:32:42
:)
k1l_ 2017-03-04 13:32:42
KalEl: "dmesg | nc termbin.com 9999"
FireBeard 2017-03-04 13:32:42
always relax, mate
KalEl 2017-03-04 13:32:42
http://termbin.com/bgaq
FireBeard 2017-03-04 13:32:42
strange thing, people who come here normally installed Ubu themselves... oh well
k1l_ 2017-03-04 13:32:42
FireBeard: its enough
KalEl 2017-03-04 13:32:42
Could it be that the disk is corrupt
k1l_ 2017-03-04 13:32:42
FireBeard: stop sabotaging the support for other users with your "i need to be root" talk.
farchanjo 2017-03-04 13:32:42
k1l_: nice tool.. termbin.. i did not know about it..
FireBeard 2017-03-04 13:33:06
and this is one of the reasons I got outta here about a decade ago, ask for help, provide help, but anything related to administration help/answers is taboo
FireBeard 2017-03-04 13:33:07
later
k1l_ 2017-03-04 13:33:07
KalEl: this is a guest in a vbox? you just booted it?
KalEl 2017-03-04 13:33:30
Yes
KalEl 2017-03-04 13:33:37
I was gonna say that sorry
KalEl 2017-03-04 13:33:51
This is a virtualbox OS
k1l 2017-03-04 13:35:25
KalEl: so what did you do there to that system? was that running fine before? i dont see any hardware failure (which is unlikely in a vbox)
KalEl 2017-03-04 13:35:54
I did one more thing - I removed access to admins on the guest Windows OS
KalEl 2017-03-04 13:35:59
But I still have full access
KalEl 2017-03-04 13:36:32
I reset it back to how it was now, i.e. restored read/write access, still get this error
k1l 2017-03-04 13:37:01
KalEl: you did remove admin access where?
k1l 2017-03-04 13:37:16
KalEl: this sounds like this caused this error
KalEl 2017-03-04 13:37:18
In the guest (Win10) OS, for the virtualbox image
KalEl 2017-03-04 13:37:49
In the host... sorry
KalEl 2017-03-04 13:38:05
In the host (Win10) OS, for the virtualbox image and disk which contains the xubuntu where I get the error
k1l 2017-03-04 13:39:26
KalEl: i would guess that this corrupted the vbox somehow.
KalEl 2017-03-04 13:39:32
Ok
KalEl 2017-03-04 13:39:43
I will try to recover my data and reinstall
OerHeks 2017-03-04 13:39:55
That took you 17 minutes
farchanjo 2017-03-04 13:40:40
why don't you boot a live cd and restore your missing group?
KalEl 2017-03-04 13:40:47
Ohh right
KalEl 2017-03-04 13:40:51
Will try that thanks
farchanjo 2017-03-04 13:41:05
just mount your device on another path
farchanjo 2017-03-04 13:41:10
open the group file
farchanjo 2017-03-04 13:41:14
and add a missing group
farchanjo 2017-03-04 13:41:29
restore your home permission folder..
farchanjo 2017-03-04 13:42:36
you can do it using single mode.. before binary kernel call initramfs, they stop and you can recover anything, but is easier to boot a live cd..
farchanjo 2017-03-04 13:42:37
:D
k1l 2017-03-04 13:44:52
yes, you could boot to recovery in grub and try to solve that there. but i doubt that will be just recreating the group.