« first day (1263 days earlier)      last day (3989 days later) » 

17:01
user image
4
^ what pray is that?
@Braiam where do you come up with this stuff? good grief.
@FaheemMitha Could you bump my question, please? — UzumakiDev 10 mins ago
i don't know what he means.
@FaheemMitha The Tavern, The Bridge, interwebs?
@Braiam I just want an Etherkiller I can deploy remotely.
@Braiam you get around.
@FaheemMitha yeah, I spent an hour or two yesterday on here.
17:12
@strugee that's all? You're an animal.
does the character "!" have any significance in shell scripts?
slm
slm
@Braiam That's my daily prayer.
@Ramesh yes, in a few places... e.g., if ! command; then
slm
slm
@Ramesh - it depends on where it's used
Does anyone know how to list archs that are in enabled in debian?
17:19
ok. In this case, it is used like a NOT operator right?
I was trying to use "!" as a file separator in my program and the character got expanded automatically.
@FaheemMitha from thbe dpkg manpage:
--print-architecture
     Print architecture  of  packages  dpkg  installs  (for  example,
     "i386").

--print-foreign-architectures
     Print  a  newline-separated list of the extra architectures dpkg
     is configured to allow packages to be installed for.
@derobert thanks. was looking in the wrong place
@Ramesh it will either expand to a history event (in bash at least) or be interpreted as NOT (in various languages). You should always avoid using special characters as file/field separators
yeah, when I typed ls I was getting just the output of the command. When I tried !ls, it was first printing the command followed by the output.
History expansion depends on set +H, so you can turn it on/off, by the way.
!ls searches your history for a ls command, and runs it
17:24
@derobert that could be dangerous. suppose it was !rm?
Yeah. Personally, I have it turned off...
It should default to off in a shell script, though
How can I re-enable it?
set -H turns it on; set +H turns it off.
@Ramesh try help set, or the bash manpage.
ok. sure! But what is the significance of this ! operator in commands?
The ! operator negates the exit code. That's a different thing it does... you see that in if ! grep -q ... or similar.
17:28
Ok, this is weird. Take a look at this.
0
Q: I'm trying to install steam on debian jessie/sid but I'm getting unresolved dependencies

UzumakiDevI'm following the debian wiki on installing steam but I keep getting dependency issues. Debian tells me to edit my sources.list to: deb http://http.debian.net/debian/ jessie main contrib non-free My sources.list looks like this: Debian GNU/Linux jessie/sid \n \l # deb http://ftp.uk.debian.o...

The ! history expansion character searches history for a command and runs it
his default arch is amd64, but when he tries to install steam he gets a bunch of i386s.
Ok, so do I. What is going on?
Maybe steam depends on i386 packages?
sheesh, it is some non-free crap.
@derobert apparently
looks like the only version is i386
so if i didn't have i386 available, it wouldn't be installable?
17:49
@de
@Ramesh trying to ping me?
@derobert, yeah, I added the significance of ! as a new question.
Please feel free to edit and add more contents if you feel like any change is required. :)
this poster is saying he can't log into chat - unix.stackexchange.com/questions/121384/…
Oh, maybe he hasn't earned enough rep on this site?
if someone else upvotes his question, he has enough rep, i think. can someone do that?
Anyone knows what this is about?
@FaheemMitha ha nothing works today stack is telling me "Your browser either does not support localStorage, or it is disabled for stackauth.com. Either upgrade your browser, or enable localStorage." — UzumakiDev 35 secs ago
@derobert ^^
18:12
@FaheemMitha UzumakiDev has more than enough rep to use chat...
Could visit stackauth.com and go to page info, permissions (in Firefox) to check local storage
i.e., "offline storage" in that box, I believe
@derobert ok, so that is not an issue then.
@FaheemMitha yeah, I know right... I think it was like 3
@FaheemMitha did he run the diagnostic tool?
@strugee no idea.
@derobert can you comment on that thread? or do you want me to copy your message there?
okay im in
switched to iceweasel
from chromium
@UzumakiDev so what was the problem?
i'd still like to see the apt-cache policy output for the apt-get command.
18:18
something about localStorage not sure how to switch it on/off in chromium
@UzumakiDev ok. I see you are in oxford. Are you british then?
ok, so the first output is the output of aptitude, yes?
do you mean like "apt-cache policy libc6:i386 etc.."
@UzumakiDev yes
For these packages
steam:i386 : Depends: libc6:i386 (>= 2.12) but it is not going to be installed
Depends: libstdc++6:i386 (>= 4.3) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
Depends: libgl1-mesa-dri:i386 but it is not going to be installed
Depends: libgl1-mesa-glx:i386 but it is not going to be installed
Depends: libtxc-dxtn-s2tc0:i386 but it is not going to be installed
18:25
root@Wheezy:/# apt-cache policy libc6:i386 libstdc++6:i386 libx11-6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libtxc-dxtn-s2tc0:i386
libc6:i386:
Installed: (none)
Candidate: 2.18-4
Version table:
2.18-4 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
libstdc++6:i386:
Installed: (none)
Candidate: 4.8.2-16
Version table:
4.8.2-16 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
libx11-6:i386:
Installed: (none)
Candidate: 2:1.6.2-1
Version table:
2:1.6.2-1 0
ugh.
did you read my question properly? there is no error. it's an expected behavior of GNOME Keyring. I want to change said behavior. — strugee 1 min ago
@UzumakiDev put it in the question.
and format it - it is hard to read unformatted.
@UzumakiDev and use the fixed-width font button.
Also add steam to that
Like I said, take out the aptitude stuff
you mean the apt-get install steam output from my question?
@FaheemMitha you mean the apt-get install steam output from my question?
18:37
@UzumakiDev i mean add steam to the list of packages you are passing to apt-cache policy
Also post the output of just apt-cache policy
yep, did that. I've edited my question, the output is there.
ok, also the output of apt-cache policy. what you have so far looks normal
to be clear, just apt-cache policy
so is this command dpkg --add-architecture actually doing anything?
@strugee add a screenshot, that should avoid confusion
@UzumakiDev your foreign archs are listed with dpkg --print-foreign-architectures. That all looks normal. You have i386 as expected.
again, apt-cache policy please
18:42
I've already ran this apt-cache policy libc6:i386 libstdc++6:i386 libx11-6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libtxc-dxtn-s2tc0:i386 steam:i386
apt-cache policy libc6:i386 libstdc++6:i386  libx11-6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386  libtxc-dxtn-s2tc0:i386 steam:i386
and posted the output
@terdon true. I don't have a GNOME box handy though :(
@UzumakiDev again, just the output of apt-cache policy, exactly as written
this is a different command
ohhhhh
my bad :D
@strugee you understand subnet ranges right? If I want to export to the entire subnet of my network (192.168.1.NN), can I specify it as 192.168.0.1/24 or will that only match IPs up to .24?
@terdon no, sorry. I wish...
it's on my list of things to read up on.
18:46
@FaheemMitha added
@UzumakiDev ok. weird, i don't see anything obviously wrong.
anyone here using amd64 jessie? can you try
apt-get install steam?
i'm using wheezy, and it seems happy to install it
Ok, one sec, let me check something
@UzumakiDev try doing apt-get install ... and list all the package names mentioned as arguments.
@UzumakiDev also give aptitude why-not steam a whirl
slm
slm
@strugee - can you fix the excerpt for fail2ban?
it does more than ssh
@slm on it
Unable to find a reason to remove steam.
@slm done
all right, with that edit I just need 5 more answer upvotes... crosses fingers
I'm in it to win it today
slm
slm
18:59
what did you write for it, i can't see it
@UzumakiDev ok, and the apt-get install command?
I get the same unmet dependency problem
@UzumakiDev listing all the dependencies explicitly?
slm
slm
@terdon - here's a pretty exhaustive A from before for LVM
hmm, this is puzzling. Anyone else care to take a look?
did anyone figure out that lvm issue?
slm
slm
19:03
@strugee - what did you write?
@FaheemMitha - deroberts did
@slm ah, ok
slm
slm
or at least nudged it further down the road, the next area to look is the lvm config
@slm thanks. By the way, quick exportfs question. Will 192.168.1.1/25( export to all IPs in the 192.168.1.NN range or only up to 192.168.1.25 ?
slm
slm
i show examples in the A I just linked here too
Meant 25, sorry, edited
slm
slm
19:04
/25 means the first 25 bits are for address
Ah, so that should match all then right?
slm
slm
the remaining 32-25 = 7 are for assigning to hostsw
@slm yes, sounds like he has a handle on what is going on. as long as things work for me, and they pretty much always do, i don't bother looking below the surface.
slm
slm
2^7 so it would be 1/2 the number of IP's
@derobert can you take a look at the steam question, if you haven't already?
19:06
@slm hmm. So how would I export to anyone on my network then? I thought this would do it:
/media/Data 192.168.0.1/25(ro,sync,no_subtree_check)
slm
slm
you lose 2 everytime you split like that, since you need 1 IP for network and 1 for broadcasting
/export/raid1/isos 192.168.1.0/24(ro,secure,no_root_squash,sync,wdelay)
you want a 0 there
not your IP
@slm yeah, sorry, typo
slm
slm
that rule means everyone in my network (192.168.1.0) can access that export
If you get the chance, I'd appreciate if you could have a look at this for obvious errors:
0
A: Share a NTFS folder with another Ubuntu user

terdonThe simplest method for sharing a directory between two Linux systems is NFS. For this example: server will refer to the machine that has the Data partition client will be your wife's machine I am assuming that Data is mounted at /media/Data I am assuming that you have the most common network s...

@slm perfect, yes
slm
slm
when you specify /25 that's a different network address then /24
19:10
Argh! Huh?
slm
slm
try one of the caluclators subnet-calculator.com
you need to do a exportfs -r after making changes or exportfs -a to /etc/exports
restarting the server should do this too
@slm on the server I assume?
slm
slm
yes
what you have looks good to me
@slm Won't service nfs-kernel-server restart be enough?
slm
slm
I believe so but sometimes ppl don't understand the function of /etc/exports so you might want to mention it
19:17
ppl == terdon
slm
slm
otherwise that's about as idiot proof as you can make it with the sudo tee -a ...
@slm yeah, that's what I was aiming for. Is a bind mount necessary on the server?
@UzumakiDev it is possible there is a package (or packages) on your system not from debian. run apt-show-versions | less and look for anything out of place.
slm
slm
@terdon what do you mean by bind mount
@slm That means no, I guess. For some reason I've followed a guide on my own system where I first mount the partition on the server, then have this line in fstab:
/home/lacoloc/movies  /nfs_shares/movies  bind  bind  0
19:22
It uses unity but it's a fucking good game
slm
slm
@terdon - back to back 200's on AU
hope you'll enjoy it ;-)
slm
slm
nice
@slm no small part thanks to you I think :)
AAaaa why isn't this working? The client claims it is mounted:
mount | grep S
/etc/auto.SERVERNAME on /media type autofs (rw,relatime,fd=18,pgrp=5715,timeout=60,minproto=5,maxproto=5,indirect)
The directory appears as expected:
$ ls /media/
Data
But:
$ ls /media/Data/
ls: cannot access /media/Data/: No such file or directory
file /media/Data
19:24
@Kiwy /media/: directory
$ ls -l  /media/
total 0
dr-xr-xr-x 2 root root 0 Mar 25 20:20 Data
@terdon looks like something strange
yeah...
$ grep S auto.master
/media/  /etc/auto.SERVERNAME --timeout 60 --ghost
@UzumakiDev additional suggestion - try installing those dependencies individually, and see what happens
# cat auto.SERVERNAME
Data -ro,soft,intr,bg,rsize=8192,wsize=8192 192.168.1.XX:/media/SERVERNAME
And I'm an idiot!
slm
slm
crickets....
19:27
Hmm, still not working though, even with the real IP
# cat auto.SERVERNAME
Data -ro,soft,intr,bg,rsize=8192,wsize=8192 192.168.0.72:/media/SERVERNAME
and yes, 192.168.0.72 is the right IP, don't ask, my housemate set the network up and we're all on 192.168.0.NN
Just ignore me... keep finding ridiculous errors.
slm
slm
can you showmount -e <ip of server>?
@slm one sec, let me see if the latest idiotic typo was the error
Nope, OK, @slm:
$ showmount -e 192.168.0.72
Export list for 192.168.0.72:
/nfs_shares/series  *
/nfs_shares/music   *
/nfs_shares/lacoloc *
/nfs_shares         *
/nfs_shares/movies  *
/media/Data         192.168.0.0/24
My IP: 192.168.0.37
slm
slm
can you mount -o nfs 192.168.0.72:/media/Data /mnt on 37?
hang on
ah
$ sudo mount -o nfs 192.168.0.72:/media/Data /foo/
mount.nfs: an incorrect mount option was specified
Never mind, tried again with -t instead of -o
and yes, that works
@slm I'm going for the rep cap
slm
slm
19:35
I was UV'ing you until terdon interrupted
I think you need like 2 more hang on
@strugee - you're at 216 now
can't UV you any more
I did, he should be fine :)
@slm best part of all this is that I posted that ridiculously comprehensive answer and it turns out, the OP did not want to share over the network but between different accounts on the same computer! ARGH, facepalm
slm
slm
I hate when that happens
Deleting the A but I'm still curious as to why it won't work here. Still, probably not worth debugging, must be a typo somewhere, the ones I am actually sharing from my server work fine. Thanks for the help :)
slm
slm
make your own Q and paste it as the A is what I've done in the past
@slm Yeah, think I will. Not even the OP's fault, I just didn't read closely enough.
slm
slm
19:39
SElinux can cause NFS shares to be blocked too
check logs
@slm don't have SElinux. And I just realized that on the shares it works for, I am simply not specifying any network addresses and I can see them just fine.
Testing that now
slm
slm
logs will generally show problems with accessing a mount and it failing
mount -v will show it too
ah, yes point. mount -c won't help though, trying to get it to work with autofs
mount -v I mean
Please check user daemon is running.
RPC: AUTH_GSS upcall timed out.
Please check user daemon is running.
20:06
WTF? Disk I/O error?
0
Q: My computer beeps while copying files

PurpleDogwhenever I copy a file, my headphones create very annoying beeps at various notes. It doesn't happen with my in built speakers, and it hasn't happened before. I'm on Ubuntu 13.10, how can I stop this happening

maybe his computer is trying to talk to him.
20:24
@FaheemMitha I just took a quick look at that Steam question... and it looks like there is a huge comment chain... Has anyone tried just using aptitude and going through the options it suggests, maybe it can resolve the mess?
@derobert that's mostly me. sorry.
@derobert well, the point is that there is no reason I can see that apt-get should fail. It is usually pretty reliable.
slm
slm
This A just infuriates me.
-1
A: Samsung Ultra book won't wake up after hibernate and suspend on Crunchbang

Victor PiousboxMy ATIV book wouldn't wake up because the battery was dead. I had to plug it in, then it'd wake up.

 steam:i386 : Depends: libc6:i386 (>= 2.12) but it is not going to be installed
              Depends: libstdc++6:i386 (>= 4.3) but it is not going to be installed
              Depends: libx11-6:i386 but it is not going to be installed
              Depends: libgl1-mesa-dri:i386 but it is not going to be installed
              Depends: libgl1-mesa-glx:i386 but it is not going to be installed
              Depends: libtxc-dxtn-s2tc0:i386 but it is not going to be installed
Like, I can detect problems with it on an system I've used with like 100% accuracy.
slm
slm
If I could downvote 50 I would
20:29
@FaheemMitha These messages usually mean that there is some conflict in installing one of those packages
@derobert Right. I suggested he try installing them invidually, but he seems to have dropped off.
also, check for packages from outside debian. they can mess stuff up. there isn't anything in his sources, but maybe he added it manually, or deleted the source.
normally I'd just pull up aptitude and go through its interactive resolver to try and figure out WTF is wrong
(and does Steam support jessie? no idea.)
@derobert well, if he was around, you could try doing that with him. though it is not yet that late in the uk
@derobert usually i'd just try to analyze what had gone wrong.
ah, steam is actually in non-free... I figured it was a third-party repo
@derobert I don't know either. That it is non-free may or not be relevant here.
I asked earlier someone else using jessie to reproduce, but nobody replied.
i'm using wheezy here, there is no problem
20:33
root@Zia:/home/anthony# apt-get install steam
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386
  libelf1:i386 libffi6:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
  libglapi-mesa:i386 libllvm3.3:i386 libpciaccess0:i386 libstdc++6:i386
  libtxc-dxtn-s2tc0:i386 libx11-xcb1:i386 libxcb-dri2-0:i386 libxcb-glx0:i386
  libxdamage1:i386 libxxf86vm1:i386
so, it appears it'd work here.
it is possible this is some temporary breakage.
@derobert is this jessie?
mix of things... mostly jessie. Some unstable (and maybe even a touch of experimental) thrown in.
@derobert huh. ok, that is not definitive. my best guess at this point is he has some things from unstable or maybe third party stuff, and that is messing things up.
either that, or this particular bit of jessie is broken.
aptitude will offer to remove them...
pretty sure, given enough CPU time, aptitude would offer to remove the entire distro to fix a dependency :-P
someone could fire up a jessie vm to test
I don't have a clean one here, would have to install one
@FaheemMitha sorry guys something came up
20:37
@derobert someone could.
@UzumakiDev ah, hello again. we were just talking about your question
yea, I'm still at a loss.
thanks for your efforts guys
@UzumakiDev @derobert may be able to help, but first, try just installing the dependencies apt-get complains about one at a time.
see the comment i just posted
or just use aptitude :-)
@derobert yes, aptitude's dependency resolver is quite... flexible.
often walking down the chain can reveal the problem
lvcreate -Ay -n vm_jessie -L15G Zia grumble
20:41
@derobert Zia?
volume group name
I just tried
sudo aptitude install gcc-4.8-base:i386
matches the machine name
@derobert odd choice.
@derobert ok
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) gcc-4.8-base:i386 [Not Installed]
20:42
@UzumakiDev the other thing to check is whether you have any third party packages installed.
this is a fresh install the only third party anything is sublime text
@UzumakiDev huh.
i installed nvidia driver, uninstalled it then installed the driver the debian way
that's all ive done
@derobert I see. Zia is kind of a Muslim name, so I wondered
20:44
oh and I went from wheezy to jessie to install steam
Hmm. I think either the Japanese or French thought it was a Native American name...
@UzumakiDev did you try installing those dependencies individually?
@derobert Well, maybe it is. they are mostly dead, so they can't tell us.
I suspect of course that neither of them realized that there were a lot of different Native American peoples each with their own traditions, etc.
@derobert yes, they probably didn't.
like every single one? the first I tried gave me this
kyle@Wheezy:~$ sudo aptitude install gcc-4.8-base:i386
The following NEW packages will be installed:
gcc-4.8-base:i386{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 152 kB of archives. After unpacking 214 kB will be used.
The following packages have unmet dependencies:
gcc-4.8-base : Breaks: gcc-4.8-base:i386 (!= 4.8.2-17) but 4.8.2-16 is to be installed.
gcc-4.8-base:i386 : Breaks: gcc-4.8-base (!= 4.8.2-16) but 4.8.2-17 is installed.
The following actions will resolve these dependencies:
20:46
@derobert do you use regular chroots or something more fancy?
@FaheemMitha for a VM? No, I'm using kvm
@UzumakiDev no, apt-get not aptitude
@derobert ah, ok. that works well for you? I was using it for a bit. but not since i installed wheezy
@FaheemMitha yeah, it works well
I'm being lazy so using virt-manager at the moment
@UzumakiDev what does apt-get install libc6:i386 do?
Could use virtsh if I had to.
20:48
kyle@Wheezy:~$ sudo apt-get install libc6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
@UzumakiDev aptitude's dependency resolver tries to use magic. apt-get is much more straight-forward
@UzumakiDev ah, that is interesting.
apt-cache policy libgcc1:i386
Well, here is a question... what about just apt-get install -f ... no packages.
@derobert good point
you mean just "apt-get install -f"
@FaheemMitha you'd better solve this before I finish installing this VM :-/
20:50
@UzumakiDev yes
@derobert hmm?
kyle@Wheezy:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
@FaheemMitha Just making some lighthearted jabs, that's all.
@UzumakiDev ok, apt-cache policy libgcc1:i386
@derobert ah. ok.
kyle@Wheezy:~$ sudo apt-cache policy libgcc1:i386
libgcc1:i386:
Installed: (none)
Candidate: 1:4.8.2-16
Version table:
1:4.8.2-16 0
500 http://ftp.uk.debian.org/debian/ jessie/main i386 Packages
20:51
@UzumakiDev ok, try installing that directly
@FaheemMitha gotta hurry up
@derobert :-)
This is starting to feel like an exam with a weird time limit.
or maybe just a kind of horse race without horses
@FaheemMitha Yep, tied to how fast my connection to a Debian mirror is, and how many packages I already have cached...
kyle@Wheezy:~$ sudo apt-get install libgcc1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
coreutils : PreDepends: libacl1 (>= 2.2.51-8) but it is not going to be installed
wow, that blew up nicely!
20:54
@UzumakiDev check /etc/apt/preferences
@UzumakiDev Also, holy crap.
lol wut?
oddly, I have libgcc1:i386 installed here... will see if it installs on the vm
is this going to take a new install?
@UzumakiDev oh, quick question, is your jessie updated? E.g., if you do apt-get update && apt-get upgrade does it tell you that there are 0 packages to update?
also check /etc/apt/preferences.d/
20:55
@UzumakiDev doubtful, it's probably something silly
"E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages"
yep 0 updated
@derobert how can one check for held packages? there are two way to hold (a) via apt, second via aptitude. i think these are semi-independent.
@UzumakiDev No. not unless you want to do one
We can probably figure it out.
did you check /etc/apt/preferences?
I have nothing that dir
@UzumakiDev huh. @derobert how to check for held packages in aptitude?
20:58
you use search... let me look up the exact syntax
@UzumakiDev no preferences or preferences.d?
@FaheemMitha I was silly enough to check 'desktop environment' in the installer, to give you some extra exam time.
no such file or dir
@UzumakiDev ok
@derobert that's a ton of stuff
yep, 1146 packages, it says

« first day (1263 days earlier)      last day (3989 days later) »