elichai2 2017-03-08 08:09:01
my mistake
elichai2 2017-03-08 08:10:58
https://launchpad.net/~webupd8team/+archive/ubuntu/java
elichai2 2017-03-08 08:11:01
a ppa
nacc 2017-03-08 08:11:05
elichai2: right, not an ubuntu package
nacc 2017-03-08 08:11:10
elichai2: ppa != ubuntu
elichai2 2017-03-08 08:11:18
ohh yes. I thought you meant from apt. sorry.
xryuu 2017-03-08 08:11:23
0erHeks: http://paste.ubuntu.com/24140790/ the systemd
nacc 2017-03-08 08:12:25
elichai2: you could try passing -v to update-java-alternatives --set to see if it tells you what it does
elichai2 2017-03-08 08:12:36
that's all: resetting java alternatives
nacc 2017-03-08 08:13:30
elichai2: does `which java` still point into /etc/alternatives/java ?
elichai2 2017-03-08 08:13:39
no
nacc 2017-03-08 08:13:41
elichai2: taht is `ls -ahl $(which java)`
elichai2 2017-03-08 08:13:49
/usr/lib/jvm/java-8-oracle/bin/java
nacc 2017-03-08 08:13:53
elichai2: uh, then how do you expect alternatives to work?
nacc 2017-03-08 08:14:01
elichai2: you forcibly pointed your java there
nacc 2017-03-08 08:14:05
elichai2: which was wrong
elichai2 2017-03-08 08:14:09
not that I remember
nacc 2017-03-08 08:14:16
elichai2: or maybe the PPA does
nacc 2017-03-08 08:14:22
elichai2: in which case, contact the PPA team
elichai2 2017-03-08 08:14:27
how should I just change the ln?
xryuu 2017-03-08 08:14:32
Bashing-om: here's the systemd http://paste.ubuntu.com/24140790/
elichai2 2017-03-08 08:14:36
(in /usr/bin/java and javac?)
nacc 2017-03-08 08:14:38
elichai2: non-trivial, as you need to chagne all of them various links
elichai2 2017-03-08 08:14:53
wait, the ln is fine /usr/bin/java -> /etc/alternatives/java*
nacc 2017-03-08 08:15:13
elichai2: you just said it wasn't?
elichai2 2017-03-08 08:15:43
that's the thing, 'which java' told me it wasn't but the /usr/bin/java is pointing to the right place
maarhart 2017-03-08 08:15:55
nacc: for instance, it doesn't find expat
nacc 2017-03-08 08:15:56
elichai2: then you've mucked with PATH probably
maarhart 2017-03-08 08:15:59
but it is installed
Bashing-om 2017-03-08 08:16:02
xryuu: I will look, but on networking issues, do not hold your breath .
elichai2 2017-03-08 08:16:19
that may be right
nacc 2017-03-08 08:16:23
maarhart: you'll need to read config.log and see exactly what it is trying to use to deduce expat
elichai2 2017-03-08 08:16:26
because of JAVA_HOME that some apps require
nacc 2017-03-08 08:16:28
elichai2: don't do that unless you know what you're doing
xryuu 2017-03-08 08:16:35
Bashing-om: why's that?
maarhart 2017-03-08 08:16:39
nacc: wher is that log situated?
nacc 2017-03-08 08:16:50
maarhart: when you run ./configure, it generates a config.log in that directory
elichai2 2017-03-08 08:16:55
the problem isn't knowing what i'm doing but *remembering* what i'm doing lol
nacc 2017-03-08 08:17:12
elichai2: you should not need to set JAVA_HOME explicitly in general
OerHeks 2017-03-08 08:17:29
xryuu, what is the outut of : systemctl status snapd.refresh.service
nacc 2017-03-08 08:17:33
elichai2: and that still doesn't explain changing PATH in a non-good way
elichai2 2017-03-08 08:17:49
I had it inside the .profile file
elichai2 2017-03-08 08:18:01
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
elichai2 2017-03-08 08:18:20
and then added JAVA_HOME to the path
nacc 2017-03-08 08:18:31
elichai2: well that is nonsensical
xryuu 2017-03-08 08:18:31
0erHeks: http://paste.ubuntu.com/24140834/ here's the systemctl
nacc 2017-03-08 08:18:31
elichai2: you should use update-java-alternatives to change the default java
elichai2 2017-03-08 08:18:39
yes. but what about apps that require JAVA_HOME?
maarhart 2017-03-08 08:18:49
nacc: http://paste.debian.net/918820
elichai2 2017-03-08 08:19:10
and oracle themselves tells you to do that https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/
hima 2017-03-08 08:19:21
hi there
hima 2017-03-08 08:19:29
when i issue ifconfig
nacc 2017-03-08 08:19:30
elichai2: oracle != ubuntu
maarhart 2017-03-08 08:19:35
nacc: http://paste.debian.net/918821
hima 2017-03-08 08:19:47
i did not show network interfaces excpet lo 127.0.0.1 one
nacc 2017-03-08 08:20:00
elichai2: did you add it before or after $PATH?
hima 2017-03-08 08:20:02
any help?
beeray 2017-03-08 08:20:07
hi I am getting this when adding another interface on ubuntu16.04 service networking restart
beeray 2017-03-08 08:20:07
Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details.
beeray 2017-03-08 08:20:07
maarhart 2017-03-08 08:20:10
nacc: http://paste.debian.net/918822
elichai2 2017-03-08 08:20:24
nacc: after
nacc 2017-03-08 08:20:28
maarhart: i didn't say i would help you debug it :)
nacc 2017-03-08 08:20:35
maarhart: but also that's not the whole file, or something else is wrong
beeray 2017-03-08 08:20:38
and I need to create an interface for use on the system
elichai2 2017-03-08 08:20:51
now I removed JAVA_HOME
elichai2 2017-03-08 08:20:54
looks like it worked
nacc 2017-03-08 08:20:54
elichai2: the quite literal help you pointed me at, says to do it before
nacc 2017-03-08 08:21:02
elichai2: so you weren't following oracle's guide
elichai2 2017-03-08 08:21:07
why do it before?
nacc 2017-03-08 08:21:21
elichai2: i have no idea, but if your'e going to point at a guide as why you did something, and then not do what that guide says
maarhart 2017-03-08 08:21:23
nacc: it's not, but it's a big file
nacc 2017-03-08 08:21:24
i have no interest in helping :/
elichai2 2017-03-08 08:21:38
you already helped. thank you :)
nacc 2017-03-08 08:21:40
maarhart: yes, it will be quite large
maarhart 2017-03-08 08:21:55
nacc: first half is http://paste.debian.net/918824
nacc 2017-03-08 08:22:04
maarhart: just use pastebinit
maarhart 2017-03-08 08:22:09
second half http://paste.debian.net/918825
nacc 2017-03-08 08:22:10
maarhart: but again, i didn't say i'd debug this ...
nacc 2017-03-08 08:22:27
maarhart: part of building sofware from source implies you're willing to get it to build
nacc 2017-03-08 08:22:33
maarhart: and none of it is supported in this channel, technically
maarhart 2017-03-08 08:22:49
okay, thanks nacc.
maarhart 2017-03-08 08:22:59
I'm willing, this is the third day in a row with this thing.
genewitch 2017-03-08 08:23:06
how do i hold back kernel updates / or remove intermediary updates (i need 4.4.0 installed and used)?
nacc 2017-03-08 08:24:19
maarhart: you're building for 64-bit windows?
maarhart 2017-03-08 08:24:19
nacc: indeed
Zewwy 2017-03-08 08:24:22
Heyo
nacc 2017-03-08 08:24:29
maarhart: gl! :)
Zewwy 2017-03-08 08:24:35
I'm trying to expand an existing volume that is a Ubuntu 16.04 server VM
maarhart 2017-03-08 08:24:36
nacc: thanks
nacc 2017-03-08 08:24:38
genewitch: that's the GA kernel
OerHeks 2017-03-08 08:24:42
xryuu, i see a lot of 2016 bugreports, network not ready when snapd service starts .. and should be fixed by now. can you start the service? sudo systemctl enable snapd.refresh.service
Zewwy 2017-03-08 08:24:49
Why is it that you can't actuakllly expand an existing logocal partition?
OerHeks 2017-03-08 08:24:50
or sudo systemctl start snapd.refresh.service
nacc 2017-03-08 08:24:54
maarhart: your first paste has the issue
Zewwy 2017-03-08 08:25:05
instead I have to create another partition and, and then it expands a logival partition
nacc 2017-03-08 08:25:08
maarhart: $PKG_CONFIG --exists --print-errors expat failed
Zewwy 2017-03-08 08:25:24
http://www.geoffstratton.com/expand-hard-disk-ubuntu-lvm
Zewwy 2017-03-08 08:25:38
This is the first time ever I think Linux does something way worse than Windows
nacc 2017-03-08 08:25:41
maarhart: you don't need expat but libexpat1-dev
genewitch 2017-03-08 08:25:58
nacc: i don't know what that means. I need 4.4.0 because more recent kernels my screen flickers badly and the bug hasn't been tracked down upstream yet
Zewwy 2017-03-08 08:25:58
Windows Disk manager makes expanding a disc partition soooo easy
nacc 2017-03-08 08:26:08
genewitch: what kernel are you on now?
jq 2017-03-08 08:26:14
Any idea of the cause of this error when running clamdscan? ERROR: Could not lookup : Servname not supported for ai_socktype
genewitch 2017-03-08 08:26:14
nacc: 4.4.0
nacc 2017-03-08 08:26:22
genewitch: and you wnat 4.4.0?
xryuu 2017-03-08 08:26:23
0erHeks: the first command you send me had an output http://paste.ubuntu.com/24140897/ although the second command had no output
nacc 2017-03-08 08:26:26
genewitch: i'm not sure what the issue is?
nacc 2017-03-08 08:26:38
Zewwy: do you have a support issue? or just complaining?
OerHeks 2017-03-08 08:26:54
xryuu, then my 1st command was false :-(
Zewwy 2017-03-08 08:27:06
I don't understand the concept of why this is, more off alearnign to why its so difficult when another OS made it so easy
genewitch 2017-03-08 08:27:12
nacc: apt downloads and installs newer kernels, i want to remove 4.8.X and 4.9.X and stop it from installing those newer kernels automatically
OerHeks 2017-03-08 08:27:23
xryuu, now chekc with status again ? systemctl status snapd.refresh.service
fiter 2017-03-08 08:27:53
is there a way to see the previous commands given , I mean to move back in current session of terminal when a command covers the whole terminal ??
xryuu 2017-03-08 08:27:58
0erHeks: http://paste.ubuntu.com/24140911/ here
nacc 2017-03-08 08:28:10
genewitch: then don't opt-in to the hwe kernel
nacc 2017-03-08 08:28:33
!hwe | genewitch: just remove those metapackages
ubottu 2017-03-08 08:28:33
genewitch: just remove those metapackages: The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack
nacc 2017-03-08 08:28:46
fiter: `history` ?
k1l_ 2017-03-08 08:29:07
fiter: shift+pageup
Zewwy 2017-03-08 08:29:14
My main question still stands, why can't one actually expand an existing partition, instead have to create a new partition to expand a logical volume
elichai2 2017-03-08 08:29:16
ok, new problem :(
beeray 2017-03-08 08:29:20
hi I am getting this when adding another interface on ubuntu16.04 service networking restart. Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details
elichai2 2017-03-08 08:29:32
I need to install openjdk7 on Yakkety. not Oracle jdk7 but OpenJDK7
maarhart 2017-03-08 08:29:38
nacc: but I do have libexpat1-dev
nacc 2017-03-08 08:29:54
!info openjdk-7-jdk yakkety | elichai2
ubottu 2017-03-08 08:29:58
elichai2: Package openjdk-7-jdk does not exist in yakkety
fiter 2017-03-08 08:30:23
k1l_: shift+pageup also moves up upto a certain limit .
Zewwy 2017-03-08 08:30:25
https://www.brianchristner.io/how-to-resize-ubuntu-root-partition/
Zewwy 2017-03-08 08:31:29
a little better but still painful complared to windows
k1l_ 2017-03-08 08:31:29
fiter: i dont really understand your issue there.
fiter 2017-03-08 08:31:37
k1l_: seeI was using working in linux terminal
elichai2 2017-03-08 08:31:41
!info openjdk-7-jre yakkety
ubottu 2017-03-08 08:31:41
Package openjdk-7-jre does not exist in yakkety
nacc 2017-03-08 08:31:55
elichai2: why do you need jdk7?
genewitch 2017-03-08 08:31:56
nacc: oh because i'm on 16.10 it's going to want to use 4.8. I guess i'll just manually edit grub and remove the packages. is there a way to disable kernel updates all-together?
elichai2 2017-03-08 08:32:02
compiling AOSP
elichai2 2017-03-08 08:32:07
Marshmallow
genewitch 2017-03-08 08:32:10
i have a feeling this issue isnt going to be fixed until lenovo complains
nacc 2017-03-08 08:32:23
genewitch: oh you're on 16.10?
xryuu 2017-03-08 08:32:26
0erHeks: any idea what to do now?
nacc 2017-03-08 08:32:31
genewitch: that's tricky, because if you stay on the 4.4 kernel, then you're not really on 16.10
genewitch 2017-03-08 08:32:42
nacc: well, everything works properly
nacc 2017-03-08 08:32:43
genewitch: and that kernel is not getting security updates on 16.10, so you're now vulnerable to CVEs
math-alpha 2017-03-08 08:32:50
hi all how do i migrate from ubuntu 14 to 16
OerHeks 2017-03-08 08:32:50
xryuu, i don't understand this, networking is up, ..
fiter 2017-03-08 08:32:54
then I gave tree command to get tree for directories while in root directory and it gave long tree , now I am not able to see the previously given commands in the terminal
k1l_ 2017-03-08 08:33:55
math-alpha: sudo do-release-upgrade
nicomachus 2017-03-08 08:34:06
fiter: you can check your bash_history file
fiter 2017-03-08 08:34:06
k1l_: ^^
nacc 2017-03-08 08:34:06
fiter: to see the commands, just hit up?
dannyLopez 2017-03-08 08:34:06
I have this error and no find a valid information: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
genewitch 2017-03-08 08:34:06
nacc: be that as it may, i literally cannot use this machine with >=4.8 kernel
dannyLopez 2017-03-08 08:34:06
Any knows?
nacc 2017-03-08 08:34:06
genewitch: then i suggest installing 16.04 :/
genewitch 2017-03-08 08:34:06
which i did not know until after i upgraded
nacc 2017-03-08 08:34:06
genewitch: easy enought to have verified with a live usb
math-alpha 2017-03-08 08:34:06
thanks KIl_
nacc 2017-03-08 08:34:06
genewitch: or waiting until hwe comes out then testing, and then choosing to upgrade
k1l_ 2017-03-08 08:34:06
fiter: expand the limit of scrollback in the terminal settings. or us uparrow to reuse the command
nacc 2017-03-08 08:34:13
genewitch: trust me, you don't want to run a kernel that is prone to vulernabilities (potentially)
genewitch 2017-03-08 08:34:19
iirc 16.10 works fine on live USB, it's just installed it acts up
anddam 2017-03-08 08:34:41
Zewwy: does windows allows to extend the space of non contiguous partitions?
Zewwy 2017-03-08 08:35:10
yes
nacc 2017-03-08 08:35:19
elichai2: I don't know what that is, but if you need jdk7, you should not have upgraded to 16.10
Zewwy 2017-03-08 08:35:27
right click partition in disk maanger, expand, next, next, next done
fiter 2017-03-08 08:35:32
nacc: I does not only want the list of commands but also the their output on my terminal
Bashing-om 2017-03-08 08:35:41
math-alpha: PPAs disbled - graphics driver - 15.04 fully ipdated and in terminal do ' sudo do-release-upgrade ' . But why leave a LTS release ?
nacc 2017-03-08 08:35:44
maarhart: run that command locally, doe sit work?
nacc 2017-03-08 08:35:52
fiter: well, you didn't say that
elichai2 2017-03-08 08:35:55
didn't knew I'll need it
nacc 2017-03-08 08:36:24
fiter: then you need to change your backscroll size
nacc 2017-03-08 08:36:43
elichai2: sorry, no jdk7 available offiically in 16.10
elichai2 2017-03-08 08:36:43
is there a channel for openjdk?
nacc 2017-03-08 08:36:43
!alis | elichai2
ubottu 2017-03-08 08:36:43
elichai2: Alis is an IRC service to help you find channels. For help on using it, see "/msg Alis help list" or ask in #freenode. Example usage: "/msg Alis list http"
fiter 2017-03-08 08:36:47
nacc: how this can be done ?
math-alpha 2017-03-08 08:36:49
Bashing-om how do you disable PPAs
genii 2017-03-08 08:37:07
!ppa-purge
ubottu 2017-03-08 08:37:07
To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html
Bashing-om 2017-03-08 08:37:34
math-alpha: Desktop install then from software sources .
nacc 2017-03-08 08:37:44
fiter: in gnome terminal it's edit -> profile preferences -> scrolling
math-alpha 2017-03-08 08:39:18
ok but better if there was a written stuff its fast please
maarhart 2017-03-08 08:41:05
nacc: what do you mean with running it locally? go to its folder and run it with ./ ?
nacc 2017-03-08 08:41:25
maarhart: run that command that failed
fiter 2017-03-08 08:42:03
nacc: and while I make a change here , this will work when I start the terminal again ?