Renji666 2017-02-28 11:52:22
Ciao a tutti
Apachez 2017-02-28 12:04:09
is it possible to disable the unmount option for a user when acting on a gvfs mount?
Apachez 2017-02-28 12:04:18
like in nautilus
eightfold 2017-02-28 12:08:01
hi there
eightfold 2017-02-28 12:08:37
how should i upgrade python 2 to python 3
eightfold 2017-02-28 12:08:50
i'm running 16.10
nacc 2017-02-28 12:09:04
eightfold: you don't
nacc 2017-02-28 12:09:09
eightfold: you run the correct interpreter as needed
nacc 2017-02-28 12:09:24
eightfold: both are present (python is python 2 and python3 is python 3)
eightfold 2017-02-28 12:09:38
nacc: ok, but i need to install a program via pip
eightfold 2017-02-28 12:09:44
and i requires python 3
eightfold 2017-02-28 12:09:49
and it
nacc 2017-02-28 12:09:53
eightfold: pip3
dbarton 2017-02-28 12:09:55
eightfold probably change the shebang to python3
nacc 2017-02-28 12:10:02
eightfold: python3-pip rather
nacc 2017-02-28 12:10:19
eightfold: use the correct pip for the correct environment
eightfold 2017-02-28 12:10:47
nacc: ok, so apt install pip3?
nacc 2017-02-28 12:11:12
eightfold: python3-pip iirc
eightfold 2017-02-28 12:11:12
argh, somebody told me i'd get the latest version by issuing apt install pip
k1l 2017-02-28 12:11:24
!info python3-pip
ubottu 2017-02-28 12:11:27
python3-pip (source: python-pip): Python package installer. In component universe, is optional. Version 8.1.2-2ubuntu0.1 (yakkety), package size 106 kB, installed size 558 kB
nacc 2017-02-28 12:11:37
eightfold: there is no package named pip
eightfold 2017-02-28 12:11:43
nacc: do i need to uninstall something first, in order not to introduce chaos
k1l 2017-02-28 12:11:45
eightfold: but are you sure that python package is not in the repos already=
nacc 2017-02-28 12:11:46
eightfold: no
nacc 2017-02-28 12:12:16
eightfold: python2 and python3 are in separate paths
nacc 2017-02-28 12:12:29
eightfold: and 'latest' is relative to ubuntu, of course, not upstream
eightfold 2017-02-28 12:12:29
k1l: what python package?
nacc 2017-02-28 12:12:45
eightfold: what python package are you trying to install eventually?
eightfold 2017-02-28 12:12:52
ok, i'll install python3-pip
k1l 2017-02-28 12:12:53
eightfold: python2 and python3 are installable at the same time. so not to get a mess all pyhton3 stuff is named python3
k1l 2017-02-28 12:13:06
eightfold: the python package you want to install with pip
lerner 2017-02-28 12:14:55
what command do I need to start a program in 2 hours time?
dimisdas 2017-02-28 12:15:20
Sleep
mcphail 2017-02-28 12:15:23
lerner: "at"
eightfold 2017-02-28 12:16:07
ok, fail. "Exception: Sorry, Python 2 is not supported"
nacc 2017-02-28 12:16:14
eightfold: where and what command?
eightfold 2017-02-28 12:16:17
even though i installed python3-pip
nacc 2017-02-28 12:16:22
eightfold: no context makes it impossible to help you
nacc 2017-02-28 12:16:28
eightfold: use a pastebin
eightfold 2017-02-28 12:16:29
pip install --user wpull
nacc 2017-02-28 12:16:37
eightfold: that's because, as I just said, it's pip3
nacc 2017-02-28 12:16:44
eightfold: pip3 to use python3
eightfold 2017-02-28 12:17:23
nacc: what is pip3?
nacc 2017-02-28 12:17:39
eightfold: the python3 pip
eightfold 2017-02-28 12:18:10
sorry, but i don't understand a thing. the python3 pip is pip3
eightfold 2017-02-28 12:18:15
and i insalled it
k1l 2017-02-28 12:18:15
eightfold: pip is only python2. if you want python version3 to be used you need to use "pip3"
nacc 2017-02-28 12:18:21
eightfold: there are two commands
eightfold 2017-02-28 12:18:24
ahhh
eightfold 2017-02-28 12:18:28
sawry
nacc 2017-02-28 12:18:33
eightfold: both are for what you are thinking of as 'pip' but you need to tell it which interpreter you want to use
k1l 2017-02-28 12:18:41
eightfold: it doesnt know what python you want since both pythons are installed
eightfold 2017-02-28 12:19:02
all these pythons :)
nacc 2017-02-28 12:19:08
there are two
eightfold 2017-02-28 12:19:21
pip3 install --user wpull
eightfold 2017-02-28 12:19:24
worked better
lerner 2017-02-28 12:19:29
mcphail, so example: 'at 2am firefox -p'
lerner 2017-02-28 12:19:33
?
krakken 2017-02-28 12:22:49
coco coco puffs
krakken 2017-02-28 12:23:45
the wifi took me a bit
krakken 2017-02-28 12:24:19
nice to see double click tarball upzip
mcphail 2017-02-28 12:27:07
lerner: "at" accepts jobs from stdin. So you could use: echo "DISPLAY=:0 firefox -p" | at now + 2hours
ablest1980 2017-02-28 12:27:12
hi
lerner 2017-02-28 12:27:32
mcphail, so what I wrote would not work?
mcphail 2017-02-28 12:27:34
lerner: you'll need to set the "DISPLAY" variable for graphical apps
ofir 2017-02-28 12:34:10
Hi, I'm experimenting with this ancient kernel 2.6.20-15-generic while reading the Art of Exploitation, and I am puzzled about how stack execution is allowed there
eightfold 2017-02-28 12:34:22
nacc: do you think this could have anything to do with the fact that i don't have python3 installed?
eightfold 2017-02-28 12:34:23
https://gist.github.com/anonymous/759912340b3d5bd9b7518acff5d03da0
ofir 2017-02-28 12:34:29
Would love that to hear a hint from someone :)
nacc 2017-02-28 12:35:00
ofir: wrong channel
nacc 2017-02-28 12:35:02
ofir: probably want a kernel channel
ofir 2017-02-28 12:35:18
nacc, thanks, I'll try, it's an old Ubuntu 7.04 (Live CD), so I thought maybe someone would know
still-dreaming-1 2017-02-28 12:35:57
Hell. I'm using Ubuntu via Bash on Ubuntu on Windows (Windows 10 feature). Is it true you should not modify the linux file system files through Windows file explorer?
still-dreaming-1 2017-02-28 12:36:01
*hello
nacc 2017-02-28 12:36:09
eightfold: do you actually not have python3 installed? it's installed by default in ubuntu now
nacc 2017-02-28 12:36:12
eightfold: just as python3
nacc 2017-02-28 12:36:42
eightfold: it's presumably that there is no html5lib (afaict)
OerHeks 2017-02-28 12:36:58
!ubuwin
ubottu 2017-02-28 12:36:58
Canonical and Microsoft have announced that Windows 10 will be able to run Ubuntu programs without needing porting/recompilation. This functionality is still in beta and is not supported in #ubuntu. For discussion and support, see #ubuntu-on-windows.
genii 2017-02-28 12:37:29
!winubu
genii 2017-02-28 12:37:34
Hm
OerHeks 2017-02-28 12:38:16
Could be an 2nd option, genii
k1l 2017-02-28 12:38:25
eightfold: see, the error tells you its missing python3-html5lib
nacc 2017-02-28 12:38:59
eightfold: well, it does (if you know python and ubuntu) because it can't import a module and ubuntu generally has sane pacakge names for python modules
nacc 2017-02-28 12:39:38
!info python3-html5lib yakkety
ubottu 2017-02-28 12:39:39
python3-html5lib (source: html5lib): HTML parser/tokenizer based on the WHATWG HTML5 specification (Python 3). In component main, is optional. Version 0.999-4 (yakkety), package size 77 kB, installed size 515 kB