libera/#devuan/ Wednesday, 2020-10-14

systemdleteremmina won't install:00:01
systemdleteThe following packages have unmet dependencies:00:02
systemdlete remmina : Depends: libssh-4 (>= 0.8.1) but 0.7.3-2+deb9u3 is to be installed00:02
systemdlete(ascii host system)00:02
systemdleteI tried fix-broken00:02
systemdleteI tried fix-missing00:03
rwpsystemdlete, I know nothing but is remmina in ASCII?  I might be missing seeing it there.  Are you using a backport?00:25
rwpWhat does "apt-cache policy remmina" say it is coming from?00:26
fsmithredN: Unable to locate package remmina00:26
fsmithredyeah, it's in ascii-backports00:29
fsmithredso is libssh=0.8.1-1~bpo9+100:30
fsmithredsorry... libssh-4=0.8.1-1~bpo9+100:30
fsmithredsystemdlete, add:  -t ascii-backports00:31
fsmithredor install <package>=<version> for those two00:32
mtnmanhelo00:36
mtnmanhow can i ensure that a network interface will be brought up at boot time?  i have a stanza in /etc/network/interfaces for usb0. sometimes usb0 is brought up at boot, sometimes not.  when usb0 is not brought up at boot, sometimes "ifup usb0" works sometimes it does not.  how can cause the interface to be brought up automatically at every boot?00:39
fsmithredauto vs. allow-hotplug? Did you try changing that?00:40
mtnmani have it "allow"00:41
mtnmandoes it need "allow-hotplug"?00:41
fsmithredI think so00:42
mtnmanok brb.00:42
fsmithredthat will let udev/eudev handle it00:42
fsmithredif that doesn't work, change it to auto00:42
mtnmansorry, i meant i have it already  set to auto.00:43
fsmithredso try allow-hotplug00:43
mtnmanok..00:43
fsmithredor manual if you want to use ifup every time00:43
fsmithredis this ascii or beowulf?00:43
mtnmanno i want it at boot because it will be running headless.00:44
mtnmanascii00:44
mtnmanfsmithered: well i changed it to "allow-hotplug" and rebooted.  usb0 is not up and "ifup usb0" fails with the following error: Cannot find device "usb0"00:48
rrqsounds like a race between initializing the usb stack for that device and configuring it.00:51
rrqI would suggest going back to "auto", which gves more time for the usb stacl to initialize00:52
rrqthen you might even want to add a "pre-up sleep 3" or similar to that, to extends that time window00:52
mtnmanrrq: i actually had just changed it back to "auto" and rebooted.  no luck, "ifconfig -a" does not show usb0 and "ifup usb0" fails.00:53
mtnmanrrq: does "pre-up sleep 3" go in /etc/network/interfaces or in a separate file?00:55
rrqin interfeaces, within the usb0 stanza00:56
rrqinterfaces00:56
rrqbut if it's not in /proc/net/dev it hasn't initialized well enough00:56
mtnmanok if it goes in just after "netmask" line?00:57
rrqyes00:57
mtnmanbrb00:57
mtnmanrrq: no luck.00:59
rrqit appears in /proc/net/dev ?00:59
mtnmanrrq: does not01:00
fsmithredstop and start eudev01:00
rrqok; so the device has not initialized ... can you find it under /sys/class... somewhere?01:00
fsmithredthis sounds a little like a bug in beowulf. Not sure why it would happen here.01:01
mtnman"find . -name usb0" yields nothing.01:02
mtnman(from within /sys/class)01:03
mtnman/sys/class/net shows eth0 and lo01:04
rrqright. it hasn't initialized as net device. there should be something /sys/bus/usb/ for that device01:04
rrqthis is towards the idea of putting an explicit re-initialization attempt as a pre-up command01:05
mtnman/sys/bus/usb/devices shows usb1 but not usb001:06
rrqmmm that's probably the hub... is there an 1-* something for the device?01:08
mtnman_/sys/bus/usb/devices shows "1-0:1.0" and "usb1"01:10
rrqdo you know the vendor/product id ? is there something in dmesg re this?01:12
mtnmandmesg says: "usb usb1: Manufacturer: Linux 4.9.105 musb-hcd" and "hub 1-0:1.0: USB hub found"01:16
rrqyes that's the hub; the devices is at one of its ports .. maybe "find /sys/bus/usb/devices/usb2/ -type f" shows where it is?01:18
rrqfind /sys/bus/usb/devices/usb1/01:19
mtnman/sys/bus/usb/devices contains 1-0:1.0 and usb1.  that is all.01:20
rrqright .. so that device is not powered up properly ..01:21
rrqthe network device I mean01:21
rrqthat's a hardware problem01:22
mtnmanwhat about the network device?01:22
mtnmanoh you mean that usb0 is not powered up at boot?01:22
rrqafaiui the network device is a usb device and it doesn't fire up properly01:22
rrqit adds to confusion the the "usb0" label is a different namespace from "usb1" (as well as naming different things); the former is an interface name, the latter is a sys name01:27
mtnmanrrq: if you're still around, i rebooted the board with a debian image and usb0 appears at boot, so not a hw issue.01:32
rrqmmm was that with a cold boot or the same warm reboot ?01:35
mtnmancold01:35
rrqok, but beowulf still fails with cold reboot?01:36
mtnmanascii01:36
rrqsorry01:36
mtnmanyes cold boot of ascii image and no usb001:37
rrqok.. same kernel version ? actually what does /proc/net/dev have?01:38
mtnman/proc/net/dev shows eth0 and lo only.01:40
mtnmansame as ifconfig -a01:40
rrqhmm so it seems the usb net device is not powered up properly by the ascii kernel..01:44
mtnmanrrq: yes, but that seems odd since usb0 had been functioning at one point when booting ascii.01:44
rrqagreed01:45
mtnmancan you remind me of the module name for usb networking?01:46
mtnmanbecause lsmod is not showing it.01:47
rrqprobably usbnet01:49
mtnmanok its "usbnet" (looked it up) and it was not loaded on the ascii system.  i modprobed it and lsmod showed usbnet.01:49
rrqand now you vahe usb0 ?01:50
rrqhave (need mor coffee here :))01:50
mtnmanno.  ifconfig usb0 fails.01:50
mtnmanifconfig -a does not show usb001:50
mtnmanrrq: i should buy you a coffee01:51
mtnmanhmm. plugged in a pinephone to usb port and now usb is up.01:53
mtnmanwell, not up, but initialized.01:53
mtnmanrrq: ok, now it is functioning again.  apparently usbnet module was not loading at boot time.01:55
mtnmanadd it to /etc/modules?01:56
mtnmanyes that did the trick.  now usb0 comes up at boot.01:57
rrqyes, well it needs to come into initramfs I guess01:58
rrqthat's /etc/initramfs-tools/modules01:58
mtnmanplease elaborate.01:58
mtnmanhmm i added usbnet to /etc/modules. are you saying it belongs in /etc/initramfws-tools/modules instead?01:59
rrqyes; add it there, then run update-initramfs -u -k all01:59
mtnmanwell i have not ever touched that file.  when i open it with vim, it looks kinda strange.  looks like comment but they are not preceeded by "#"02:02
mtnmanlooks like comments (plural) that is.02:02
fsmithredyeah, those are comments, and the last two lines are examples that are commented out02:03
mtnmannm... terminal window was obscured by two columns on the left hand side.02:03
fsmithredworks just like /etc/modules02:04
rrqyes it has the same syntax as /etc/modules ... for modules to include with the first boot phase02:04
rrqit'll then be loaded quite early02:04
rrqand I suppose it won't really need the "pre-up sleep"02:05
mtnmanok, edited /etc/initramfs-tools/modules, adding usbnet.  did update-initramfs -u -k all. now rebooting.02:06
rrqthumbs are held :)02:07
mtnmansuccess!02:07
* mtnman loves it when a plan comes together02:07
mtnmanrrq: what is your location?  i have never heard "thumbs held" but assume is similar to "fingers crossed"02:11
rrqI'm a Swede living in Aus ... so "thumbs" is mostly Swedish I think :)02:12
mtnmanok. just looked it up and it exists in english too according to urban dictionary.02:14
mtnmanrrq: Austria or Australia?02:15
rrqAustralia02:15
rrqsunny spring day ..02:16
mtnmannice.  i have been to that hemisphere a number of times, but not that continent.02:16
mtnmanwe had snow here yesterday.02:17
mtnmanthanks for the help.  i owe you a coffee.02:18
mtnman102:21
rrqmtnman: sorry I got side-tracked ... we'll share a coffe when traveling is a thing again03:33
mtnmanrrq: sounds good.  do you know anything about matrix protocol?  i am having a rough time connecting.03:39
rrqnope03:40
mtnmank thanks anyhow.  bye for now...03:42
mtnmanls03:59
mtnmanoops03:59
fluffywolf.04:00
fluffywolf..04:00
fluffywolfdamnit, he quit.04:00
devaI am trying to install libvirt on a head-less beowulf server. Apparently I need to install the package libvirt-daemon-system08:19
devaWhat then baffles me is that this package is dragging in dependencies such as libav, gstreamer and a ton of other non-relevant packages08:20
devaThe full list can be seen here: https://pastebin.com/SMw2KiUD08:21
devaIs this really as intended? Or can I do something to narrow down what should be installed?08:22
rennjAfter this operation, 481 MB of additional disk space will be used. oof08:26
rennjguess i wont complain at vmware player size08:27
rennjkvm/qemu and libvirt is fat08:27
rennjthere is always the cli and scripts...libvirt/virtmanager is gui bonus08:27
devaBut I only need the daemon, but you are probably right though08:28
rennjqemu-system-x86_64 -m 512 -enable-kvm -soundhw es1370 -serial `tty` -net user -net nic,model=rtl8139 -hda amiga.qcow2 -cdrom cdrom.iso -boot d08:28
rennjoof command line08:28
rennjqemu-img convert is also nice to know08:29
devaThis si what libvirt is running under the hood08:29
rennjvpc vbox vmware qcoq conversion VDI's08:29
rennjlibvirglrenderer008:32
rennjso its doing more08:32
rennjall the mesa fu also08:32
rennjyou get the opengl acceleration like i have in vmware08:32
devaI guess that makes sense then08:33
devaI would have been nice if there was a head-less variant of it though08:33
rennjvnc/spice or whatever08:33
rennjqemu has that option08:34
rennj$ qemu-system-x86_64 -vnc :008:34
devaTrue, but I cannot prevent all the X dependencies from being installed on the server08:34
rennjdont use libvirt/virtmanger08:34
rennjno dependencies08:35
rennjhehe08:35
devaI need something to control starting/stopping of all my VMs08:35
rennjor recompile the source08:35
rennjfix the depends at the source08:35
devaIn ASCII it had only non-X dependecies08:35
rennjsure you can tweak some things08:35
devaCompiling myself is a bad idea, since I will loose the option to use distro security updates08:36
rennjmy system 360MB.iso but i use squashfs so more like 1.2GB08:36
rennjin-memory ram os with vmwarep layer08:36
rennjbeen doing poor mans esxi now for over decade i got like 8 iso's going back to like 2006 or so08:37
rennjim happy at being under 500MB i dont think 5.4 or 5.8 kernel and vmware player 16 os going to happen08:38
rennjlib/firmware alone is 500MB now08:38
rennjbloat!08:39
rennj5.1.5 vs 5.1.11 is 20MB diff08:39
rennjsquashfs 20MB diff so more like 80MB08:40
devaOnly problem is that VMWare isn't exactly free08:40
rennjvmware player is free for non commercial use08:40
devaI meant free as in free software free08:41
rennjheh i was running amd fglrx till 201908:41
rennjthat was closed source also08:41
rennjbesides the vmware player08:42
rennjand my 802.11ac is outside the kernel sources08:42
devaI usually try to use the free tools only, unless I have a really good reason not to08:42
rennjmeh..i do what i have to do..to get working hardware08:42
devaEven if they are slightly worse than their proprietary counterparts08:42
rennjhttps://pasteboard.co/JkIQb7D.png for the games!08:42
rennji want stuff running optimal..https://pasteboard.co/ILhcp6u.png 3GB of vram for guest vm08:44
rennjnew vmware player 16 does 8GB of vram for guest vm with 16GB of ram08:44
devaSo you use VMWare for gaming mostly?08:45
malikithdeva: To answer your question about all those dependencies that libvirt-daemon-system pulls in, there is a way to avoid some of them. You could try: apt --no-install-recommends install libvirt-daemon-system08:46
rennjnextstep,solaris,amiga, vm's08:46
rennjhttps://pasteboard.co/IwuAPBu.png 60days 4 vm's08:46
rennjthats on my crappy 2015 hp laptop im still waiting on ryzen craptop08:46
rennj4 vm's in 16GB of ram, winblows and linux being the big one's compared to haiku or amiga08:47
devamalikith, Thanks. I'll give a try08:47
rennj1GB of ram free08:47
devamalikith, That seemed to do the trick. I was under the impression that the recommeneded packages wasn't installed by default?08:48
malikithdeva: Nah they are, to avoid them from the start on a fresh system I made a file at /etc/apt/apt.conf.d/01norecommends with APT::Install-Recommends "0"; inside the file. That makes it permanent08:51
devamalikith, thanks for the tip08:58
malikithdeva: No problem. Glad I could help :-)09:03
gnarfacedeva: when they're off by default everyone's like "hey why doesn't my email client make sounds anymore!?"09:31
gnarfaceno matter what you do, the defaults are going to piss of someone09:32
devagnarface, Yeah, you're probably right09:34
devawhat confused me was the "Suggested packages" section which isn't being installed09:34
devaSo the difference between "suggested" and "recommeneded". I simply read the first few suggetsed package names and verified that I didn't see them in the install list, and (errornously) concluded that non-critical packages weren't being installed09:35
devaI know I am probably barking up the wrong tree here; but what would be nice was if apt install would explicitly print the list of recommended packages as well so it is easier to wee which packages are coming from where in the install list09:37
gnarfacedeva: yea, the choice of those two synonyms probably didn't age very well.  suggested in this context just means literally "we suggest you try out these tangentially related packages too!" but recommended means "we recommend you let us stuff this down your throat now"09:37
devahehe09:37
gnarfacedeva: oh, if you use apt-get though, it will print out suggested, recommended, upgraded, newly installed, removed, and orphaned/unneeded packages all in separate categories.  that might help you too09:38
gnarfacethen you can just hit "n" to cancel and alter the installation request accordingly09:38
gnarfacenot sure what apt does, i don't use it bare typically09:39
gnarfacei think most of what apt does you can accomplish with a combination of apt-get and apt-cache commands instead, and they might have better verbosity09:39
* gnarface has been doing this since well before there were multiple choices09:40
gnarfaceand you're right this is the wrong tree to bark up09:40
devaI think apt is justa front-end to apt-get and apt-cache09:41
gnarfaceDebian is the right tree to bark up, but they won't take you seriously for stuff like this unless you come bearing actual patches09:41
devaYou are probably right09:41
gnarface(or corporate funding)09:41

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!