#arpnetworks 2015-04-22,Wed

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
mercutioi didn't change my zsh configuration for ages
but i founud something really handy recently; zstyle ':completion:*' rehash true
it means you don't have to type rehash after installing packages
[00:17]
mnathani_does pacman work kind of like yum and apt-get ? [00:21]
mercutioyeah
"pacman -S zsh" will install zsh
"pacman -Ss zsh" will search for packages that mention zsh
-Ss happens to list grml-zsh-config first fwiw
what still weirds me out is juust how much faster packages install on zsh compared to ubuntu
the difference is very noticable
pacman -S --noconfirm nano 0.09s user 0.03s system 47% cpu 0.251 total
that includes the download
apt-get -y install nano 0.73s user 0.17s system 36% cpu 2.467 total
so yeah including download it's about 10x as fast for small packages
and even if download was instant, ubuntu uses so much cpu/disk/etc that it's still slow
s/zsh/arch/
[00:22]
BryceBot<mercutio> what still weirds me out is juust how much faster packages install on arch compared to ubuntu [00:27]
mnathani_I am linking arch's documentation
s/linking/liking
[00:36]
BryceBot<mnathani_> I am liking arch's documentation [00:37]
mercutioyeh even if you use ubuntuu it's still useful :) [00:37]
mnathani_how do I install pkgtools
or startx
[00:51]
mercutiopkgtools? [00:51]
mnathani_You can use pkgfile to know which package own a file. pkgfile is bundled in the pkgtools package [00:51]
mercutiooh it's in aur
you need to install cower or such
https://aur.archlinux.org/packages/cower/
[00:52]
mnathani_so pacman -S cower ? [00:52]
mercutioi use "meat"
nah it's in aur :/
so it's a pita to get the first one
https://github.com/falconindy/cower

so grab that then do makepkg -s
[00:52]
BryceBotThat's what she said!! [00:54]
mercutiothen pacman -u the .xz file
err pacman -U
then you can do cower -s to serach
and cower -d to download
cower will download into current directory making a new directory for the package
[00:54]
mnathani_I need ssh server first [00:55]
mercutioi'd recommend downloading meat first [00:55]
mnathani_so I can copy paste [00:55]
mercutioheh
is this on a vm or bare metal?
[00:55]
mnathani_vm [00:55]
mercutioahh
i'm doing an arch template for arp
[00:55]
mnathani_volunteer / paid ?
or in exchange for Vms and ips / bandwidth :-)
[00:56]
mercutioheh
so there shoudl be templates early for debian, openbsd etc that are coming out
[00:56]
mnathani_I always prefer installing my own os [00:58]
mercutioi prefer having auto install for vm's normally
what i hate is when it forces icky things on you
like most of those solusvm providers have sendmail and so on
because someone's done terrible templates that seem to lack useful things like man
but have SENDMAIL
when it's not even default
[00:59]
mnathani_I got ssh working now
cloned the cower repo
[01:02]
mercutiocool
then just makepkg -s on it
[01:04]
mnathani_==> ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system. [01:04]
mercutioyeh youu have to sudo it :) [01:04]
mnathani_Could not chdir to home directory /home/mnathani: No such file or directory [01:04]
mercutiouseradd doesn't add home directory [01:04]
mnathani_so it seems [01:04]
mercutioerr doesn't create
yeah it's core unix
adduser is a fancy nice script
you hit the same kind of issues on solaris
[01:04]
mnathani_bash: adduser: command not found [01:05]
mercutioyeah they don't include adduser
just mkdir ~mnathani
chown mnathani ~mnathani
i'm not using cower/meat everywhere fwiw
you can get by without it pretty well
you can just install xorg-xinit
i use lightdm though
[01:05]
mnathani_==> ERROR: PKGBUILD does not exist. [01:07]
mercutioand it looks really ugly, but i don't care, because i just login :) [01:07]
mnathani_when executing the makepkg under mnathani account [01:08]
mercutioare you in the build/cower directory
i use /src/builds to store all of mine
where src is zfs with set mountpoint
[01:08]
mnathani_> /home/mnathani/cower [01:08]
mercutioso youu're in the cower directory? [01:09]
mnathani_I am [01:09]
mercutioand you can do ls -l PKGBUILD ? [01:09]
mnathani_ls: cannot access PKGBUILD: No such file or directory [01:09]
mercutiothere's the issue
you sure it's not in a subdir?
like cower/cower :)
[01:09]
mnathani_6 files in there
config
cower.c
etc
Makefile
[01:10]
mercutioit's not got the package hmm
is that the src/ directory ?
bah
[01:10]
mnathani_nope
no src dir
[01:10]
mercutiojust curl -O https://weallsee.net/PKGBUILD
i uploaded it there
[01:11]
mnathani_thanks
sorry for all the newbie questions
[01:12]
mercutioyeah it's a pita
i mean cower is
[01:12]
mnathani_I really need to catch up on reading manuals [01:12]
mercutioit's easier once you have it :)
then you need sudo pacman -U cower-12-2-x86_64.pkg.tar.xz
[01:13]
mnathani_error after error [01:14]
mercutiooh? [01:14]
mnathani_first it wants me to be a sudoer [01:14]
mercutiowhat's it doing? [01:14]
mnathani_I added mysefl to sudo file [01:14]
mercutiosu to yourself
if you added yourself to sudo group
[01:14]
mnathani_now its checking pgp signature [01:14]
mercutiootherwise you're not part of the group [01:14]
mnathani_==> ERROR: One or more PGP signatures could not be verified! [01:15]
mercutiohttps://aur.archlinux.org/packages/cower/
Just a quick thanks to runical, adding "keyserver-options auto-key-retrieve" to my ~/.gnupg/gpg.conf fixed the error I was getting.
it really is a pita isn't it
[01:15]
mnathani_error: you cannot perform this operation unless you are root.
first it complains as I am root
then I am not sudo
then I am not root
[01:15]
mercutioheh what does it need root for? [01:16]
mnathani_[mnathani@Arch cower]$ pacman -U cower-12.tar.gz [01:16]
mercutiocurl -O https://weallsee.net/cower-12-2-x86_64.pkg.tar.xz
oh
you have to -U the pkg.tar.xz file
and /that/ needs you to sudo for it
sudo pacman -U cower-12-2...
cower-12.tar.gz is the source
makepkg -s should have made that package
[01:16]
BryceBotThat's what she said!! [01:17]
mnathani_ok, cool its installed now [01:17]
mercutiooh sweet
so makepkg -s worked fine?
[01:17]
mnathani_used the one you linked [01:18]
mercutionow in your build directory do cower -d meat
and cd meat
and makepkg -s
and install meat
then it's easy to install stuff :)
there's heaps of alternatives
[01:18]
mnathani_error: no results found for meat [01:18]
mercutiobut meat works fine for me
it maybe meat-git
yeah it's meat-git :)
[01:18]
mnathani_what else should exist in my build dir
can I just use /root/build ?
[01:19]
mercutionope because you have to build as a normal user
and normal user can't access /root
i dunno what other people do, but i like /src vs /usr/src
and i like having an extra directory for package stuff
some people probably usr /usr/local/src
but /src is much easier to complete to
[01:19]
mnathani_not using root user is new to me [01:21]
mercutioheh yeh [01:21]
mnathani_I usually run everything as root [01:21]
mercutionot using root is growing on me a little [01:21]
mnathani_except maybe weechat [01:21]
mercutioyeh i used to root for everything system related
i figure it's more secure having seperate root / normal logins
when you can just sudo su or sudo any command as normal user
it's like your normal user is root
there are a few advantages though
like if you have multiple people doing stuff you can tell who did stuff easier
[01:21]
mnathani_accounting on a shared system
does arch download everything as source and build
rather than get a binary?
[01:22]
mercutioaur stuff yeh
but not for normal packages
[01:24]
mnathani_whats aur again? [01:24]
mercutioarch user repository
it's where lots of people submit various packages
quality can vary
[01:24]
BryceBotThat's what she said!! [01:24]
mercutioso like infiniband stuff is in there
dropbear is in there it seems
memtest86-efi is in there
ttf-google-fonts-git is in there
none of it is really essential to everyone
[01:25]
mnathani_how does it compare to say an ubuntu rep [01:26]
mercutioit's like universe/multiverse
compared to the standard rep
except it's kind of more like the extra ubuntu repositorys you can add from external
[01:26]
mnathani_how would I go about installing kde and x [01:28]
mercutiokde is in base [01:28]
mnathani_the kde instructions said have a xserver working before install
and thats when I couldnt get startx working
[01:29]
mercutiojust pacman -S lightdm
or gdm or whatever you're into
[01:29]
mnathani_should that bring in the startx command ? [01:30]
mercutionah
it'll go straight to gui
xorg-xinit will give you startx
[01:30]
mnathani_apt-get install xorg-xinit >> bash: apt-get: command not found
:-)
2 packages: plasma vs plasma-meta
[01:31]
mercutiohahaa [01:32]
mnathani_which one has more stuff [01:32]
mercutiometa probably?
i dununo :)
[01:32]
***toeshred has quit IRC (Ping timeout: 248 seconds)
hive-mind has quit IRC (Ping timeout: 264 seconds)
toeshred has joined #arpnetworks
hive-mind has joined #arpnetworks
[01:33]
.... (idle for 17mn)
kevrHmm..... [01:52]
***milki has quit IRC (Ping timeout: 272 seconds)
milki has joined #arpnetworks
jpalmer has quit IRC (Ping timeout: 276 seconds)
up_the_irons has quit IRC (Ping timeout: 265 seconds)
KDE_Perry has quit IRC (Ping timeout: 252 seconds)
KDE_Perry has joined #arpnetworks
[01:58]
..... (idle for 24mn)
up_the_irons has joined #arpnetworks
ChanServ sets mode: +o up_the_irons
[02:26]
.................. (idle for 1h28mn)
jpalmer has joined #arpnetworks [03:54]
.............................................. (idle for 3h47mn)
brycecpacman -Qo /path/to/file 00:50:02 mnathani_ | You can use pkgfile to know which package own a file.
Personally, mercutio/mnathani_ I'm a fan of yaourt which builds-in sudo, searches ABS and AUR, handles updates, everything! Eg: "yaourt -Syua" update package lists and install updated packages including checking AUR for updated packages.
[07:41]
m0undsi read that as yaogurt [07:43]
mike-burnsThe character from Spaceballs? [07:43]
m0undsyeah, haha [07:44]
brycecAlso, "makepkg -i" to build + install (with sudo)
mike-burns: The French for yogurt.
I imagine if you're wanting KDE, you'd use kdm, fwiw.
[07:44]
.................................................... (idle for 4h17mn)
RandalSchwartzslow day today :) [12:03]
brycecMost days :p [12:09]
......... (idle for 44mn)
m0undshttp://blog.pcbsd.org/2015/04/pc-bsd-and-4k-oh-my/ mercutio [12:53]
.... (idle for 16mn)
mercutiobrycec: i mentioned there were alternatives :)
there are shit loads of them :)
havingg similar syntax to pacman sounds nice though
m0unds: my monitor defaulted to supporting 60 hz, but only through displayport
this motherboard does 4k with onboard video @60 hertz, but only has mini display port. i ordered a display port adapter off ebay, and it's come already. it looks like it's hard to do 60 hortz with onboard video in general.
when i read about that guy going with two 4k monitors taht' is actually a little bit of an issue, because people usually only have one displayport port
[13:09]
........................................................... (idle for 4h50mn)
himurakenThey can be chained usually. [18:05]
BryceBotThat's what she said!! [18:05]
m0undsBryceBot: no [18:08]
BryceBotOh, okay... I'm sorry. 'They can be chained usually.' [18:08]
m0unds(lol) [18:08]
brycecI liked it for a twss :P [18:09]
himurakenAm I wrong? [18:09]
m0undsno, i was laughing at the bot [18:09]
himurakenLol gotcha [18:09]
m0undslooks like w/displayport 1.2 you can only drive a single 4k or 2k display per port [18:11]
brycecProvided the intermediate display supports it, and the display adapter. And 4K maxes out DisplayPort v1.2 bandwidth, so no chaining there.
http://www.displayport.org/cables/driving-multiple-displays-from-a-single-displayport-output/
[18:11]
m0undsyeah [18:11]
bryceclol m0unds [18:11]
m0undsthat's what i was just looking at
i remembered seeing it though, must have just been w/1080p displays
[18:11]
brycecIt's news to me, but I have 0 DP displays so no reason I would know :p [18:12]
m0undsmy desktop monitor has dp, but i use dvi because i didn't have a dp cable [18:12]
brycecDefinitely seems very, very cool. Alas, only my desktop has DP (I think... I know my last gfx card did) so it's not a priority. [18:14]
mnathani_brycec: so the bot collects all these twss, does it replay them sometime ? [18:18]
brycecI'm not understanding the question [18:18]
mnathani_do we ever hear back from the bot as in repeat all these phrases that have been recorded
or is it more like a one time <BryceBot> That's what she said!! << comment and thats it
[18:19]
brycecit doesn't work like that... "twss" trains a bayesian net, akin to spam training. When you "twss" something, it trains the sentence as something "she would say" and that's it. It's not "collected"
(besides by IRC logs, but that's a totally separate thing)
[18:20]
mnathani_I see
what distribution / BSD most closely resembles archlinux ?
[18:21]
brycec"distribution" almost exclusively refers to Linux, so... the closest Linux to Archlinux would have to be Archlinux.
(though VoidLinux might be a close second)
For BSD's, I'd say FreeBSD
(but take that with a grain of salt - I've only ever used Open, Net, and FreeBSD)
[18:25]
mnathani_is Arch a top level linux, or does it have an upstream? [18:27]
mkbnone of them
they are all much more conservative than archlinux
[18:27]
brycecmnathani_: Top [18:30]
mkbmkb remembers when he used to use arch and had all this free time for messing with my computer [18:35]
brycecI still use Arch and it doesn't require all sorts of free time. Unlike Gentoo... (but that was a long time ago) [18:36]
twobithackerI should play with Dragonfly more [18:40]
......... (idle for 40mn)
grodyis anyone experience serious lag? [19:20]
RandalSchwartzI am [19:20]
grodyi cant use my vps for ♥ nor money
nvm.. stupid sendmail decided to go on a rampage
i killed that ages ago in place of postfix and its rearing it's butt ugly face again
[19:20]
.... (idle for 15mn)
if i had £1 for everytime i forgot to add a new mail alias for root to point to a valid mta, i would be having enough money to buy everyone a round of beer
kern.ipc.maxpipekva exceeded; see tuning(7) is such a lovely message when sendmail/mailwrapper gets in a knot about having nowhere to send anything then just queues
[19:40]
bryceclol grody [19:44]
mercutioi'd say netbsd is more like arch than freebsd [19:45]
brycecmercutio: What about Dfly or PCBSD? Have you tried those, do they relate at all? [19:45]
mercutiobrycec: i awnt to try dragonfly but i haven't [19:45]
brycec(siteXX.tgz ftw - one of my install.site/upgrade.site's tasks is to ensure there's a sane alias) [19:45]
mercutiobut considering they forked freebsd 4, where freebsd started to destabilise, i think it's on the conserwative side [19:46]
grodygrody misses his 4.11 box [19:46]
mercutiofreebsd 2 and 4 were pretty stable [19:46]
grodyhad that from bleeding edge til about a year ago, when the actual hardware systematically died.. was my best file server ever [19:46]
mercutiowas there a freebsd 3?
ahh there was 3 but it was shortlived
[19:47]
grodyPCBSD is basically FreeBSD, but all GUId up for you [19:48]
mercutiosounds annoying :) [19:48]
grodyarchlinux is a beast on it's own and is a linux i enjoy next to gentoo.. and if i were to say FreeBSD was like any linux, i would say it was an easy to use gentoo [19:49]
mercutiofreebsd kind of annoys me [19:49]
grodyand i never thought i would read myself typing that [19:49]
mercutiofreebsd feels more like redhat [19:49]
grody"an easy to use gentoo"
gawd no, redhat is S^&!
wouldn't excrete on it even if it's immolation spelt $500 to put me out
[19:49]
mercutiofreebsd is more unstable than netbsd or openbsd [19:50]
grodyfreebsd has lost it's way in the last few years, that is fgor sure
i blame apple
[19:50]
mercutionetbsd is lean and mean like arch :)
did you ever use slackware grody ?
[19:50]
grodynever actually used netbsd for anything more than pottering on
mercutio, for a while.. until i found gentoo
[19:51]
mercutioahh ok [19:51]
grodythen my hair started thinning... [19:51]
mercutioi tried using gentoo
i didn't like it
[19:51]
grodytrinux was something i used to use a lot, a floppy based slackware
yea gentoo can be infuriating
[19:52]
mercutioit was a very long time ago actually [19:52]
grodyonly using it again atm as im trying to build "the perfect linux" for my tablet, since there is absolutely no or little "official" support, so im stealing drivers and what not from androids that are suspected to work the wifi and touchscreen (only two things holding me back)
but it's taken bloody ages to get things even barely right
[19:53]
mercutioheh
sounds like a huge time sink
[19:53]
grodyit is :(
but windows 8.1 is the only other option (even android x86 has "issues"_
)
[19:53]
mercutiowindows 10?
you know you want to :)
it's just a tablet
[19:54]
grodyi have the TP on my laptop.. not bad, but i wouldn't put it down as tablet friendly
haha
[19:54]
mercutioi have tp on my desktop [19:55]
grodyfor a low ended thing, it's pretty damned fast
ahh crap and now my slave laptop is useless again... i have too much crap going on on this thing
[19:55]
mercutioi wonder if any project levering arch is going to make significant headway
like ubuntu is to debian
[19:56]
grodycompiling AOSP for my Sony phone, compiling stuff in Gentoo and now it's gone into meltdown as SWMBO wants to transcode a blueray for the Roku
i only came online to make sure the new box i just put on my network isnt revealing anything to the innerwebs
[19:56]
mercutiobrycec: what do you think of arch linux for servers? [19:59]
grodymercutio, i think Mint did a better working of debian, although they say it's ubuntu derived.. i never got that fully
use Mint quite a lot in fact :/
have arch on the pogoplug
thats currently a backup MTA and web server/.. it /seems/ to have held for some months now
[19:59]
mercutiopostfix broke recently for me :/
but i haven't had many issues
and it was quite easy to fix
[20:00]
grodyyea, postfix did something weird for me too after an upgrade
some execs moved location and didn't get fixed in a config
[20:01]
mercutioahh
yes that's the issue i had too ;)
[20:01]
grodysymlinked the fuckers [20:01]
mercutioi just fixed the config file [20:01]
grodyi didnt have time to do that.. but since im online now, i may as well [20:02]
mercutiodaemon_directory = /usr/lib/postfix/bin
i think that was it
i think it was without the /bin before
[20:02]
grodyyea
rehash
bleah, wrong terminal
[20:02]
mercutiogrody: zstyle ':completion:*' rehash true [20:03]
grodygrody uses csh [20:04]
mercutioahh [20:04]
grodydont know why, always have since day 1 of freebsd and stuck since [20:04]
mercutiotyping rehash sucks :) [20:04]
grodydont usually install new stuff that often [20:04]
mercutioyeah but the amount of times you want to complete on something you've just installed is probably high [20:05]
grodyFetching mtr-nox11-0.86.txz: 100% 42 KiB 43.5kB/s 00:01
pkg: cached package mtr-nox11-0.86: size mismatch, fetching from remote
thats annoying
i can sense things are only to get worse if i dig deeper so im going to crack open a brew and watch TV instead :D
[20:06]
....... (idle for 34mn)
brycecgrody: Mint was originally forked from Debian, but later on they re-based off Ubuntu.
mercutio: As a "professional practice" I think rolling releases in production are a Bad Idea(tm).
Though even in "production" if updates are carefully checked and tested before being deployed, it's fine.
[20:41]
mercutioyeah there are some caveats [20:43]
brycecI've run it personally. But when it boils down to it, I need a server that doesn't have an 80% chance of breaking when I update, so I stick with "released" things like Debian and OpenBSD :D [20:45]
mercutioi don't think that it's rolling release is necessarily the biggest issue
it's more that it's hard to know what will break where
[20:45]
grodyi never had any issues with FreeBSD until 9/10
4 to 5, 5 to 6, 6 to 8 all fine.. 9 and 10.. wow
[20:54]
brycec9+ eh? That's about when they added ZFS support. Coincidence? :P [20:55]
RandalSchwartzand MIMD [20:55]
grodybut upgrades where all manual and only really security fixes using former portaudit and portupgrade (now seems to all be in pkg) [20:55]
RandalSchwartzand a bunch of other things
I'm renting a cheap box at digitalocean running not-zfs-on-root (since they don't support it) build my 8.x, 9.x, and 10.x packages.
by cheap, I'm saying $5/month
and it has 20 GB SSD.
that'll make my migrations easier
I'm tempted to make a ZFS fs by mounting it as a file.
so I'd just have an outer shim to hold the OS, and everything else would be ZFS on a legacy fs.
I've asked them for ZFS on root and it's not on their roadmap
[20:55]
m0undsnetbsd is pretty conservative. stuff doesn't change on their release branch unless they work in security fixes
their releng guys do a pretty good job (which is why 7 was delayed repeatedly)
[21:01]
RandalSchwartzthe freebsd fixit shell is only on the dvd1 release, right? [21:02]
mjp__you'll get a shell on the cd image [21:03]
RandalSchwartznot dis1
disc1
fixit shell not there
[21:03]
mercutiom0unds: they release often though compared to freebsd
and debian
[21:06]
m0undswhat? [21:06]
mercutioactually freebsd used to release rpetty often [21:06]
m0undsfreebsd rolled 10.0 last year, 10.1 this year
netbsd rolled 6.1 tree last year, iirc
and they've done 3 minor point releases since (which were all security fixes iirc)
[21:06]
mercutioahh maybe i'm just nto following it as much
9 to 10 took ages
[21:07]
brycec9 to 10 was only about a year [21:07]
mercutionah it was way more than a year [21:07]
m0undsNetBSD 6.1 was released in May 2013
they're still on that tree
so no, they're not fast :)
[21:08]
mercutioit's 6.1.5 now though [21:08]
brycecAnd prior to that was 2009 [21:08]
m0undsall the minor point releases were security fixes
i don't think they did much in the way of feature roll-ups
[21:08]
mercutioahh [21:08]
brycec(3.5 years between releases :p) [21:08]
mercutioisn't freebsd 9.2 to 9.3 bug fixes too?
freebsd 9 was 2012
freebsd 10 2014
ok it's not that long between releases
seems to be a couple of years
so freebsd 11 next year?
[21:08]
RandalSchwartzoh... it looks like the 9.x releases can boot disk1 into a livefs mode
so it's only the 8.x stream disc1 that doesn't have livefs
[21:13]
mercutioi think where i thought freebsd 10 took aes is i read about stuff coming in 10 ages ago
but like there's stuff coming in 11 out now
[21:14]
.............. (idle for 1h7mn)
***toeshred has quit IRC (Ping timeout: 250 seconds)
hive-mind has quit IRC (Ping timeout: 244 seconds)
toeshred has joined #arpnetworks
[22:22]
hive-mind has joined #arpnetworks [22:37]
.......... (idle for 46mn)
mnathani__ has joined #arpnetworks
mnathani_ has quit IRC (Ping timeout: 244 seconds)
[23:23]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)