« first day (2315 days earlier)      last day (2654 days later) » 

12:13 AM
@IanC evening !
 
how are you doing @Serg?
better from that annoying cold?
 
@IanC slightly better , but still coughing hard. I take forever to recover from colds
I need eye and ear bleach right now
 
so apparently the sticky keys binary in Windows is named sethc.exe
 
we have something that is about as useful, @Serg
but you won't like it.
 
@Seth yer a sticky key, Sethy !
 
12:24 AM
@Seth Why does that need its own binary, as opposed to being part of the keyboard system in general?
 
haha
 
@ThomasWard i wonder what could that be
 
@KazWolfe I asked myself the same thing.
 
Yes. You can back it up and replace it with a copy of cmd.exe to get a SYSTEM command prompt on the login screen by pressing shift five times. (This is not a security vulnerability in Windows -- you have to be an administrator to set it up that way -- but of course one should not leave one's system that way after one is done.) This is handy if one needs to reset a lost password, and one doesn't have (or wish to use) MSDaRT or some other environment with the ability to edit the registry.
 
Yeah, it's an ancient trick, heard of it a while back.
 
12:26 AM
@EliahKagan That seems excessively dangerous and just shows how poor Windows' security model is.
 
Another old trick on windows was somehow via recovery. There was a way to bring up notepad, open the "open file" dialog, and browse filesystem. Effectively as privileged user, i think
Don't remember the details though
 
probably before UAC became a thing
 
@KazWolfe I definitely wouldn't recommend doing it on a machine that shows its login screen to untrusted clients over RDP! Aside from that, though, I don't see how it's more dangerous than any other way of temporarily allowing access to fix a broken system. I see no reason something similar couldn't be done in Ubuntu. One could replace login, or something. Of course this is unnecessary because we have chroot, store most configuration in plain text, and so forth.
I much prefer the Unix way. But I don't think the main difference (in this particular case) is one of security.
 
Definitely Unix security is better
 
I agree it is better.
 
12:29 AM
@EliahKagan Doesn't login run as its own user as opposed to root? I mean, yeah, there is always the issue of binary swapping, but the system has a lot more sane permission restrictions.
 
There was a pretty good answer on Quora about it somewhere
 
\o/ self-answers = rep farm
 
@KazWolfe unless someone faster answers your question before you post yours
 
@KazWolfe I think of it as sock-umentation ;p
 
@Serg there's that checkmark on the ask page.
 
12:32 AM
you can ask and answer at the same time
 
@JourneymanGeek You either meant sock-umentation or documentation
 
man, I'm having a headache with scanf
 
And yes, self - documentation
 
@ThomasWard yes
 
12:45 AM
@KazWolfe I believe it is true way less runs as root on a modern Unix-like operating system than runs as SYSTEM on Windows, and that this is one of a number of factors that make Unix-like systems these days more secure overall. ...In a 16.04 system with one user logged in and no logins in progress, with no GUI installed, /bin/login -- is running as root. Still, that wasn't really the right example.
A Unix-like system has a number of setuid root executables, like the passwd, su and (on many systems, including Ubuntu) sudo. Someone who can change files can just copy whatever they want into those executables, or just make their own executables setuid root. This is not a vulnerability, even though it may be alarming to some people who learn of it.
 
True, but setuid needs someone to be root, unless someone foolishly added o+w on that file.
 
@KazWolfe Right. That's why it's not a vulnerability. Same deal with making sethc.exe really cmd.exe on Windows -- you have to already be an administrator to make that change.
 
Windows, though, is a lot more lenient about giving perms out.
 
@KazWolfe Agreed. In particular, people usually run as administrators (though perhaps more for cultural reasons than technical ones, these days), and UAC, while better than nothing, is not the same as actually having a separate user account that doesn't formally have unlimited power.
@Serg That reminds me of Novell Netware for Windows 98. The login screen had a question mark button you could click to get help. When you went into the help, you could go to File > Open to open a help file. You could browse the filesystem this way. Only folders and help files were shown, but if you typed in *.* it would show all files, and you could find any executable, right-click on it, and run it. You could thus run explorer.exe this way and get a desktop, without having to log in.
 
openvpn, pls work.
 
12:58 AM
@IanC scanf woes?
 
@IanC try fscanf() maybe ?
 
@EliahKagan @Serg I'm trying to improve an answer on SO. There was one suggestion on using scanf instead of a loop to clear the stdin before fgets. According to some answers scanf("%*[^\n]%*c"); or scanf("%*[^\n]\n"); should work, but both are failing -.-
I could just keep the loop on the answer, but my curiosity is killing me
because theoretically it should work
"%*[^\n]" would consume everything up to (but not including) the newline, and then "%*c" would consume one character (a newline). "\n" would consume any whitespaces (including a newline character)
so both should be able to clear the hanging newline left of a scanf("%d", &number);
 
God I hate when someone openly tries to argue just to get their way
@IanC very peculiar use of scanf() , I've never seen that before. It sort of looks like regular expression, which I thought cannot be used in C
 
it isn't a regular expression, I first thought that too, but it's specified on the scanf formats
the * means discard whatever is read
%*[^\n] = discards everything that doesn't match a newline (would stop at the newline character without consuming it)
%*c = consume exactly one character discarding it
\n = whitespace character: would read and discard every white space character until the first non-white space character
according to their meaning both should work on cleaning the stdin after scanf("%d", &number);, but fgets is still quitting prematurely, meaning there's probably still some newline hanging
 
2:08 AM
0
Q: Why aren't scanf("%*[^\n]\n"); and scanf("%*[^\n]%*c"); clearing a hanging newline?

IanCAfter a call to scanf("%d", &variable); we are left with a newline hanging at the stdin, which should be cleared before a call to fgets, or we end up feeding it a newline and making it return prematurely. I've found answers suggesting using scanf("%*[^\n]%*c"); after the first call to scanf to d...

I hope someone can answer that, because I've seem people using those approaches in other answers and have no idea why it isn't working here
but for the time being, I just edited my answer to use better words, still using the functional code
 
2:25 AM
I wonder how long it's gonna take for this guy to get banned askubuntu.com/users/609989/phoen1x74
2GHz of memory makes no sense... — Zacharee1 14 secs ago
 
0
Q: How to add another boot option to grub?

Phoen1x74So after creating a new 100 gb partition /dev/sda6, I extracted the .iso of RemixOS (which I want to dualboot with Ubuntu) to. I'm wondering how I get it to show up on GRUB's menu as an OS.

do we not have a generic question about updating grub?
btw, that's not off-topic people!
 
@Fabby don't downvote answers just because they answer a bad question. Judge by the post. — Zacharee1 12 secs ago
tsk tsk
 
@Seth apparently they noticed Remix OS there in the text body, and close voting without reading
 
@Serg I got an answer!! :)
 
@IanC saw it. Needs two scanf calls
 
2:34 AM
@Serg I hate it when people do that
 
@Seth don't mind if I go rant there in the comments just a little ?
 
Ranting here is fine. Not the comment unless you have something constructive to add please.
 
wait
the question itself may not be off topic, but the answer for that question isn't going to work
 
no, it's not. but what you said still stands.
 
RemixOS is Android, and runs under a system.img and data.img
GRUB isn't going to find that
 
2:37 AM
Add a comment on the question
 
I've done the RemixOS setup for GRUB. I needed to install with Windows, do the GRUB scan, boot into it, bypass the error, get to the RemixOS GRUB, let it actually install, etc etc etc
I don't even remember what I did
 
Huh, very odd. That question says there's 2 close votes, but once i click on the close button and show the menu, it shows only one as off-topic
 
refresh
added
 
@Seth you here?
@Zacharee1 what about you?
 
@AndroidDev yeah
 
2:45 AM
@Seth Need your help. Can you please let Jackinthebox talk in this room chat.stackexchange.com/rooms/52711/…
I granted him access, but he says it won't let him talk
It said I could let users without enough rep in
But it isn't working
@Seth any ideas?
 
oh sorry
I'm kinda busy.
but now that I know what you need it will only take a minute
can I have a link to the user's profile?
 
@KazWolfe: I like your new profile picture better than the previous one. :-]
 
Шэь ыгку умукнщту дшлуы ьшту
I mean, I'm sure everyone likes mine ,too, because bacon
Gosh, Libre Office has gone to shiz . . .it works ok for about 30 seconds, and then starts giving me all sorts of graphical glitches
 
3:20 AM
going to get some rest, guess I wasted the time I had to code with that scanf doubt, at least I got an answer :p
good night!
 
3:55 AM
@DavidFoerster Yeah, slightly more serious.
 
@Zacharee1 that answer does indeed appear to be very bad though
 
@Zanna How so ? Maybe low quality, could use more detail, but still by far better than what we see in some absolutely terrible posts
 
4:12 AM
Of course @Zacharee1 your point stands :)
@Serg to me the writer seems to have no idea what they're talking about. I can't find anything useful in the answer, but various bad and misleading advice and a sort of rude parting shot? But maybe I'm utterly wrong, it happens
The linked blog post also seems to be full of bad advice haha
1. Run the terminal command: sudo nautilus

2. Navigate to /etc/grub.d

3. Make sure that in (right mouse click on the file) Properties – Permissions, the Execute (Allow executing file as a program) box is checked for all of the script files so that the scripts will indeed run.

4. Exit from Nautilus (if the system responds with a usershare error, this can be cleared with Ctrl-Z)
O.o
 
Parting shot is indeed rude, could have been edited out, however they're pretty much on right track - use grub customizer. They didn't say how to use it, thus I view it as low quality. But Zach's comment under the answer is probably spot on.
 
4:45 AM
[ SmokeDetector | MS ] URL-only title, bad keyword in body, bad keyword in title, link at end of body, pattern-matching website in body, pattern-matching website in title, repeated URL at end of long post: nuvieskincareserum.com/skin-amour-anti-wrinkle-complex/ by kevenus on askubuntu.com
 
I still think it's a downvoteable and deleteable answer. what's the use of telling someone to use an unnecessary app with no guidance, pointing them to a terrible blog post, dropping some incorrect hints and inadvisable commands, admitting you don't know what you're talking about, and being rude into the bargain? A good edit to that post would be to remove everything except "try GRUB customiser"
 
5:06 AM
3. = right click nautilus set permissions to executable is equivalent to "chmod +x script_file_name"
 
hi
 
whats up?
 
not much just got in...what did I miss?
 
Don't know...just stepped in myself...
 
5:08 AM
You guys didn't miss much of anything
 
Five people dead in a mosque in Canada according to Al-Jazeera.
 
I heard...
My wife was just telling me.
 
Three gunmen they say... not a lone-wolf attack then
Two gunmen have already been arrested... didn't plan their getaway that well.
 
@WinEunuuchs2Unix yeah but wth are they doing changing permissions of system files?
@WinEunuuchs2Unix D:
 
you been drinking more than me tonight Zanna? :p
Nautilus can just set the execution bit as far as I know...
 
5:13 AM
???
 
oh nvm I'm going to bed soon :)
 
obviously sudo nautilus upsets me, but more so the idea that you should wander around your system making stuff that belongs to root executable
 
You don't need sudo nautilus to set the execution bit of a script file. Simply right click on the file, select properties and set it as "executable" or un-check it.
 
have we got a dupe target? askubuntu.com/questions/877733/…
 
It probably won't work if you don't own the file.
 
5:18 AM
I can see we are indeed talking at cross-purposes :) Let's drop that subject
 
Good. I just want drink my tea and watch the news.
 
I would say enjoy but sounds like the latter is full of enraging violence
enjoy your tea!
 
Most of the news is filled with Trump's immigration ban.
 
speaking of which I can probably get away with going to make breakfast soon...
 
scones and marmalade?
 
5:24 AM
@WinEunuuchs2Unix yeah, enraging violence...
 
....yeah something like that they say.
 
@WinEunuuchs2Unix been months since I had a scone and the only thing I've done with marmalade in the last 5 years is make mock duck with kimchi and orange sauce...
 
oh I haven't had a scone in decades... marmalade has been about 10+ years at some hotel free breakfast or something.
 
I wanna make scones now...
 
I want to make Yorkshire Pudding now.... haven't had that in 5 to 8 years.
 
5:31 AM
hahaha I don't see the attraction of that, doesn't taste of anything!
 
It just gives you an excuse for extra helping of gravy :p
You know the natives in Canada make something similar to scones but they call it bannock.
 
there isn't any traditional English food that complicated enough for it not to exist elsewhere if it's at all worth making (I say English not British because the Scots have some stuff that's not my business to criticise)
scones are pretty good, and very simple, so it stands to reason that smarter folks elsewhere will be making them
 
I suspect the British brought the recipe and technology to make flour over to Canada in the 1650's and the natives learned from them. But I never researched it.
 
bannock sounds Irish?
 
I say British because I'm half British. It's easier to say than 1/4 Scottish and 1/4 English.
 
5:36 AM
hi undo
bye undo
 
The Irish slaves weren't brought over until the 1800's when thousands died in slave labour.
 
oh not I'm wrong, it's Scots/English en.wikipedia.org/wiki/Bannock_(food)
 
Technically the Irish weren't slaves they were economic migrants with the worst jobs and no rights.
 
also, this happened today (UTC time)
5 years on AU!! :D:D:D
 
unknown if bannock predates the start of the ongoing European genocidal occupation
@Seth congrats! :D
 
5:39 AM
@Zanna thanks!
 
well if you need a pot or pan to make bannock, then then Natives couldn't make it before they were colonized because they didn't have metal works factories.
 
I remember the first time I came to chat.. first person who talked to me was @RolandiXor. I was surprised he was so welcoming.
haha I was such a stupid kid. still am in many ways..
 
Happy five year anniversary.
Do you know what Xor means?
 
I remember jokerdino making me feel welcome by making fun of terdon for declining my flag and "ruining my 100% record" on my first sally into the room hahaha
 
@Zanna hahaha, nice
 
5:42 AM
@WinEunuuchs2Unix nah you don't need a pan to make some kind of bread. Anyway wikipedia says it might predate
 
@WinEunuuchs2Unix I think it has something to do with a book he's writing. but I don't remember exactly.
 
You can't make a pan without metal. British brought metal to North America.
@Seth Xor stands for "Exclusive Or", you can have one or you can have the other, but not both. It's an Assembler compliment to OR and AND.
 
@WinEunuuchs2Unix well yes, I knew that. Pretty sure that's not what Roland meant though ;)
(although I could be wrong)
 
Can we ping him?
 
@WinEunuuchs2Unix (in a novel) Alice Walker wrote something like, most folks believed the Earth was a body that needed all its organs. The miners, extractors, were exiled from Africa and went North. I've always found metal useful, but I think those folks were right after all, thinking about it
 
5:47 AM
There's metal in the computers you and I are using to talk to each other...
 
yes, it is very useful indeed... but maybe on balance...
anyway, breakfast time :)
 
Spiritually, philosophically, religiously, politically and economically speaking it will be metal that joins the world as one.
Yeah and I'm going to bed now... goodnight @Zanna, @Seth.
 
@WinEunuuchs2Unix my definition of evil is "that which destroys difference"
 
@WinEunuuchs2Unix goodnight!
@WinEunuuchs2Unix You can.
 
goodnight!
 
6:05 AM
Did we reminisce about chat and I wasn't here? :P
I missed the party :(
 
coffee
 
derp
 
@Serg--
 
everybody is talking about their whatever,apparently
 
@NathanOsman yes you did :(
 
6:07 AM
hm... it's 22:06 and I'm in bed.
But I have chips.
 
My first visit was a loooooooooong time ago
Sep 29 '10 at 17:20, by George Edison
Is this the new place to hang out?
 
23:07 in Denver, I'm by the desk, watching Jack and Bob play Portal 2
 
That was almost 7 years ago.
@Serg You have it installed?
 
it was almost the first mesage too
 
@NathanOsman nope, watching other people on youtube play it
 
6:08 AM
@WinEunuuchs2Unix hooks em horns.
 
@Serg Highly recommend it.
 
hm. Does anyone know how to integrate Thunderbird's calendar with my menu bar, sort of like how Evolution has it set up?
 
I haven't played games in a while. Kinda should come back to it
Games seem to have no effect whatsoever on whether your grades are good/bad . . . in fact not playing games has no effect either
 
@vimgifs
Using a file format from the 80's to explain a text editor from the 70's. Filmed and typed by @mrmrs_ and @csswizardry.
288 tweets, 5.9k followers, following 31 users
dat description xD
 
Actually, that twitter has a lot of interesting vim tips . . . If only I was a regular on twitter, I'd subscribe
 
6:18 AM
haha following immediately!
 
I followed them.
 
6:39 AM
stupid. thunderbird. crashes.
 
6:50 AM
hey @Serg, indicator request.
something that pulls data from the darksky.net api
all the existing weather indicators seem to be dead. :(
 
@KazWolfe Their API is non-free, limit to 1,000 requests free per day, above that - it costs. I can make an indicator which you can click to show weather report/forecast probably, although that somewhat makes indicator less dynamic
 
@Serg let us define our own API keys.
a regular user isn't gonna burn through 1000 requests per day.
even at something like a pull every 15 minutes
At one query every 5 minutes, that's 288 / day, not bad.
but if you want, i'll write up a list of spec things that might be cool to have in a weather indicator if you want a big project :P (@Serg)
 
@KazWolfe well, write out the specs, and I'll consider it. Frankly, I wanted to build something like that a while ago, but never got around to it. Does it have to be dark sky api specifically ?
 
no, but the darksky api platform is awesome, and is pretty damn accurate
 
alright then
 
7:06 AM
Hello everybody ! :)
@Serg Unfortunately your prediction didn't come true -> chat.stackexchange.com/transcript/message/35082884#35082884 :( ... Good morning to you ! :)
 
7:22 AM
@cl-netbox you sure about that ?
Also, good evening. 12:23 AM here
 
sounds like morning to me
 
@Serg yes, when I signed in a few moments ago, nothing had changed ... aaahhh ... what is this ? now I see something changed ... was I blind ? :D :D :D Thank you very much ! :)
 
@Zanna don't forget the time difference ;) might be morning on your side of the world, but midnight on mine
 
@Serg Good evening then my friend ! :)
@Zanna Good morning to you as well Zanna ! :) Everything superfine ? :)
 
@Serg after midnight is morning, technically, that's what I meant!
@cl-netbox kind of sub-superfine, but I can say fine :) Hope all's well with you
 
7:28 AM
Morning , in my definition, to me is when I drink coffee and try to transition from feeling like carp, and then transition to running to work/classes/something else
 
@Zanna Yeah ... sub-superfine too, but better now as I got 2 upvotes after having had none yesterday ... :D
 
:)
 
@Fabby hahaha ... nice ! :D :D :D Fabby at his best ! :D :D :D
 
@Serg yes I accept that morning can be a state of mind/being and not a specific time of day XD
 
just like mondays
 
7:41 AM
My mondays this semester are actually OK. I don't have anything in early morning/afternoon, but then I've class at like 5:30 in the evening. What can be a bit more tedious is Fridays and Saturdays, mostly because I've to wake up at like 5 am and be on campus at like 6:30 on Friday, 7:30 on Saturday
 
@Serg Please don't recommend unetbootin ... doesn't create USB properly in many cases ... nevertheless : good answer ! :)
 
@cl-netbox never had issues with it myself, but OK
Maybe i should mv body bed/
 
@Serg sudo Sergiy poweroff ! :D
@Serg depends on the hardware being in use ... gnome-disk-utility works in every case for all machines ! :)
 
Anyone still around?
I have a treat...
 
yes...
 
7:55 AM
@NathanOsman yes ... Hi Nathan ! :)
 
Ta-da.
George's latest video.
You will be the first to see it.
 
@NathanOsman so sweet ... :)
 
:D awesome
 
Thanks.
 
8:20 AM
@Serg thanks for the backup :D
and @Zanna is awesome!
@NathanOsman how long is it? :X wanna see but at work ... and streaming gets me fired :D
 
@NathanOsman have another like - but, but, but - the production personnel is sort of, scarce.
 
@Rinzwind <3
2
 
@NathanOsman liked.
 
8:40 AM
@Rinzwind just over four minutes.
@Takkat :D
 
8:54 AM
How do I pause a process running in terminal, then restart and then continue the same process? (it looks kind of not possible, is it?)
 
press ctrl+z to pause a process
what do you mean restart? restart the system?
 
yes
 
oh
 
If you just need to power off the system, and it is okay to restore way more than that particular process, then you could hibernate the system. If it's a virtual machine, you may even be able to take and restore snapshots while it's booted and running. But if you restarted normally, the state of the system that the process depends on would change.
For example (this isn't the most important example, just one that's easy to reason about), the process's process ID number could already be in use when you tried to bring the process back, but a PID doesn't change though the lifetime of a process, and the process (and other processes) are permitted to assume that it does not.
So this probably cannot be done. But what's your actual goal -- what's the problem that resuming a process suspended prior to a reboot seems like it would solve? Maybe there is another solution.
 
@EliahKagan I am downloading a file with no resuming download capability( and it is pretty large file). I updated a file but it is gonna apply changes after reboot and I want to work with that so I can save time :|
 
9:11 AM
@ramsay Oh. Well, unless your computer reboots very unusually fast, the server would probably close the connection if it didn't hear from your computer for as long as it took to reboot. So if you could resume a process after reboot, the download would still probably be interrupted.
Is the problem that the server is deliberately configured to prevent downloads from being resumed? Except in that case, if is usually possible to resume a download, though you may have to use another program to do it than the one you've used to start the download.
In particular, even when resuming an HTTP download in Firefox or Chrome doesn't work, if you still have the incomplete file it is usually (though not always) possible to resume the download using wget -c.
 
good morning
 
yes server is deliberately preventing any download resuming. It has time and download limit set. Will wget work in this case?
 
Maybe. But if the server is going to refuse to provide later chunks of the file just from the download being interrupted for a short time, then probably nothing will work for that.
As another possible approach... you said you updated a file and changes are going to be applied at reboot. Might there be some way to cause those changes to be applied, without having to reboot?
 
I updated my vim but changes are not taking place so I though of doing a reboot
 
@ramsay Oh. Rebooting should not be necessary. What did you change in vim? Or do you mean you installed a new version of vim?
 
9:27 AM
installed this plug-in github.com/JBakamovic/yavide and then encountered an error and then did ran this command apt install vim-gnome-py2 and still nothing happened so I thought of rebooting.
 
I can't say for sure that rebooting wouldn't fix it, but I would not expect it to -- a newly started instance of the editor should give you the same thing. What was the error you got when you installed that plugin?
 
exactly this github.com/JBakamovic/yavide/issues/51 . But it didn't work I got error this error update-alternatives: error: alternative /usr/bin/vim.gnome-py2 for vim not registered; even though I installed that package
 
I'm really trying to be patient with a guy on SO, but damn
 
same problem with another person :=)
 
9:41 AM
you are a patient guy I reckon, must be really bad XD
 
@Zanna I'm mostly patient, but I have my bad days too :p
how are you doing by the way Zanna?
 
I'm good thanks :) kind of wishing myself elsewhere
 
@Zanna what do you mean?
 
London - cold grey & miserable
 
@ramsay You got that when you ran sudo update-alternatives --set vim /usr/bin/vim.gnome-py2?
 
9:57 AM
@EliahKagan that is the problem I didn't get that
 
@Zanna ooh, I see.. guess it's frequently like that on winter right? :/
 
@ramsay You said you got the error message update-alternatives: error: alternative /usr/bin/vim.gnome-py2 for vim not registered. What command did you run that produced that message?
 
yeah :) I'll get over it
 
@EliahKagan update-alternatives --set vim /usr/bin/vim.gnome-py2 this one
and this was error message update-alternatives: error: alternative /usr/bin/vim.nox-py2 for vim not registered; not setting
 
@ramsay That was the only error message? You did not get the error message about vim.gnome-py2 as well? I'm not really sure what you're telling me about which messages you did and did not get.
Can you show all the text from the terminal for this, for all the update-alternatives commands? (You can run them again if you don't still have it open; they should produce the same messages.)
 
10:06 AM
root@Ub:~/Downloads# update-alternatives --list vim
/usr/bin/vim.basic
/usr/bin/vim.gtk
/usr/bin/vim.gtk3
/usr/bin/vim.nox
root@Ub:~/Downloads# update-alternatives --set vim /usr/bin/vim.gnome-py2
update-alternatives: error: alternative /usr/bin/vim.gnome-py2 for vim not registered; not setting
 
Did you run more update-alternatives commands than that? You also mentioned getting the error update-alternatives: error: alternative /usr/bin/vim.nox-py2 for vim not registered; not setting.
 
root@Ub:~/Downloads# update-alternatives --set vim /usr/bin/vim.nox-py2
update-alternatives: error: alternative /usr/bin/vim.nox-py2 for vim not registered; not setting
I saw this command somewhere on this website
 
So, when I install vim-gnome-py2 on 16.04 and run sudo update-alternatives --set vim /usr/bin/vim.gnome-py2, it succeeds with update-alternatives: using /usr/bin/vim.gnome-py2 to provide /usr/bin/vim (vim) in manual mode.
However, I do get the same error message you got for the one with vim.nox-py2.
 
wait. I got 14.04
 
Yeah, I don't have a 14.04 system available to test this right now. Your error may be easily reproduced on 14.04, I just don't know.
 
10:16 AM
and I did not find vim-gnome-py2 in my repository and then I manually installed it but it succeeded
 
But there were no errors or warnings when you had run sudo apt install vim-gnome-py2 (or equivalent)?
Oh.
How did you manually install it?
 
I got package from here launchpad.net/ubuntu and then dpkg -i
 
What file specifically?
I'm assuming you expanded one of the versions at https://launchpad.net/ubuntu/+source/vim and downloaded a .deb file for your architecture, but which .deb file, and did you install just one file or more than one?
 
I think it is wrong
 
Yeah, those are for 16.04.
I still don't know specifically what file you downloaded, but that page is about a build for Xenial, and your system is Trusty.
 
yeah that one
 
I recommend uninstalling the package you installed. Then you could try installing the one for your Ubuntu release. However, rather than manually downloading a .deb file, I recommend figuring out why it is that the package was not found in the repositories you had configured when you attempted to install it with APT, and fixing that. Perhaps you don't have the necessary repositories or repository components enabled. The contents of /etc/apt/sources.list should be helpful.
Is the reason you had downloaded a package for 16.04 that vim-gnome-py2 is not provided for 14.04 at all?
 
no I 'just' downloaded it. I found it as a solution to the problem
###### Ubuntu Main Repos
deb archive.ubuntu.com/ubuntu precise main restricted universe multiverse
deb-src archive.ubuntu.com/ubuntu precise main restricted universe multiverse

###### Ubuntu Update Repos
deb archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse
deb archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse
deb archive.ubuntu.com/ubuntu precise-proposed main restricted universe multiverse
deb archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
 
@ramsay You have found a way to make the update-alternatives commands succeed and to use yavide?
@ramsay Hmm, you had said you were running 14.04. But every repository in your sources.list is for 12.04. Had you meant 12.04 before?
 
10:32 AM
@EliahKagan seriously?
okay.. so they are not up to date
 
@ramsay Precise is 12.04. (Trusty is 14.04 and Xenial is 16.04.)
 
oh. then my version is new but repository old?
 
Well 12.04 is still officially supported for another couple months. So assuming your system really is 12.04, you should be receiving updates just fine. I don't know anything about yavide on 12.04, but I see no reason it couldn't be made to work. On the other hand, if this system really isn't 12.04, then that's... weird.
@ramsay I would assume, from looking at your sources.list file, that you are really running 12.04. But do you know that you are running 14.04?
 
I think so. My bro had this laptop earlier and he told me this is 14.04
 
Do you have a command called just apt?
 
10:38 AM
yes both apt-get and apt work for me
 
I believe the apt command (unlike apt-get) was not present on 12.04. So you at least probably have some 14.04 packages installed. What's the output of lsb_release -a, cat /etc/issue, and apt policy apt dpkg libc6 coreutils linux-image-generic?
 
root@Ub:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.1 LTS
Release:	14.04
Codename:	trusty
root@Ub:~# cat /etc/issue
Ubuntu 12.04 /n /l
 
10:55 AM
@ramsay It looks, from that, that your system may be a mix of 12.04 and 14.04. But can you show the output of uname -a and apt policy apt dpkg libc6 coreutils linux-image-generic? Also, what's the output of uname -a? I had meant to ask that too but forgot.
 
11:16 AM
@JacobVlijm Hello can you help me in scraping information from a website using some code?
@JacobVlijm Are you there?
 
@ramsay Anyway, I don't know if I'll be around/available when you reply, but you can definitely ping me (@EliahKagan) if you want me to see your messages. With your situation, though, you might want to post a question on the main site. I'm guessing your original motivation may be expiring soon -- perhaps your big download is already finished. But I doubt the plugin will work automatically just from rebooting, (and I do recommend fixing your inconsistent Ubuntu release situation).
If your system is sorta halfway between 12.04 and 14.04 then I do recommend trying to fix that before installing any new packages, and either we have a question about that here on AU or we should, so you may want to search/post about that. You can often edit sources.list and upgrade fully into 14.04... but breakage can occur, so you should make sure to do it when uptime isn't essential, have anything important backed up (though your documents really shouldn't be affected), and so forth.
 
Hi @JafferWilson I am not sure webstuff is my major quality, but could you post a question on the main site? If I can't help, others might probably.
 
@JacobVlijm ok thank you.
 
11:32 AM
Anyone know what is going on with 01.org?
 
o.O
Strange
 
Hopefully it'll be back up and working soon.
 
Interesting, I just found out python is not a script language: askubuntu.com/q/876939/72216
 
/shrug
Well, it's compiled to byte-code on the fly...
 
@JacobVlijm Why did you delete your answer?
 
11:41 AM
@JacobVlijm Is there anything wrong with your (currently deleted) answer? I haven't examined it in detail but it looks really reasonable to me, and if the OP doesn't like it, they can still get other answers and other people may benefit from your answer.
 
@terdon OP mentioned not to be interested in a python option. The question was quite specific, the answer unlikely to be useful to others.
 
^^
@JacobVlijm I don't see why. Someone else can have a similar problem and you script can help. Please don't delete useful content.
 
If anyone thinks it could be of any use, I'll undelete.
@terdon @EliahKagan undeleted.
 
@JacobVlijm Every of your scripts so far were useful ^_^
 
Second that motion....
 
11:44 AM
@ByteCommander thanks :) @WinEunuuchs2Unix
 
@JacobVlijm do it, but beware that OP is kinda picky and posted a few variations in comments before I stopped entertaining them
 
@JacobVlijm Thanks
 
Might do so for you and Serg too
 
@muru Thanks!
 
 
1 hour later…
12:51 PM
@Serg GRUB Customizer doesn't work on EFI
 

« first day (2315 days earlier)      last day (2654 days later) »