libera/#devuan/ Wednesday, 2023-07-12

gnarfaceoh wow00:00
gnarfaceyou must have a lot instaled00:00
gnarfacedo you have swap?00:00
Smilexyeah00:00
gnarfaceare you using ext4?00:00
Smilexno, like an experimental idiot, I tried btrfs00:00
Smilexit's burnt me00:00
gnarfacethat's fine, i just mention it because by default ext4 reserves 10% of the drive space for literally nothing00:01
Smilexah00:01
gnarfaceyou'll probably be ok00:01
SmilexLet's try00:01
Smilexas it is installing, I'd like to ask if anyone else experiences really slow speeds with btrfs? I don't have a SSD00:02
gnarfacesome people around here use btrfs, but it's kinda a slow channel so you might have to stick around for a while to get an answer00:03
Smilexok00:04
Smilexbtw, I might not have the 6 gigs, now that I think about it.00:04
Smilexsteam said 8 gigs left, but that was before I installed a game00:05
Smilexis it safe to cancel a dist-upgrade?00:05
gnarfacesure00:05
Smilexhm, now startx doesn't work00:06
gnarfacewait, you already downloaded 6 gigs???00:06
gnarfaceit would have been save to cancel based on my assumption that it was still downloading packages and hadn't extracted anything yet00:06
Smilexyeah it was00:06
gnarfaceuntil it finishes downloading the packages, nothing should have changed outside of /var/cache/apt00:06
SmilexI'll try rebooting00:07
gnarfacethat was probably a mistake...00:07
* gnarface sighs00:07
Smilexhow do I see in terminal how much space is left?00:09
debdogdf -h00:10
Smilexthanks!00:11
Smilexok, yeah, I had 1 gig left00:12
Smilexdeleted Dota 2, so now it should be fine00:13
Sarioparazyd: mind if I PM?01:27
XenguySario, Sleeping AFAIK01:27
SarioXenguy: I caught him, but thanks01:29
Xenguynp01:29
Smilexshit, dist-upgrade failed with no space left, but it's because of some other partition01:32
gnarfaceyou could maybe xz compress a large steam game temporarily to get enough space to complete the install maybe01:36
SmilexI have 50 gb on sda1, but sda4 is full01:36
Smilexit is related to my weird setup01:36
gnarfaceyou could bind mount a directory from sda1 somewhere on sda4 and move stuff into it01:37
gnarfacetoo much of that and you'll make a real tangled mess though01:37
Smilexso sda1 is mounted on /mnt, but sda4 on /. However sda1 is supposed to be the system01:38
Smilexit was a patchwork solution to try devuan in ubuntu01:38
gnarfacejust move some games to sda1 then01:39
gnarfacejust temporarily if nothing else01:39
Smilexbut I don't think any games are on sda4? I thought sda4 wasn't in use01:39
gnarfaceoh, well it was an idea anyway, i'm not looking at your setup01:40
Smilexbut my computer won't boot if I don't think this, right?01:41
Smilexthink = fix01:41
gnarfaceuh, no way to tell really01:41
gnarfacedepends on how far it got01:41
gnarfaceyou should definitely fix it01:42
gnarfaceit might use less space if you disable "recommends"01:42
Smilexbut how...01:42
SmilexI'm surprised it even used sda401:42
gnarfacehow big is sda4?01:43
gnarfaceis it also sharing /tmp and /var?01:43
Smilexit's 46 GB01:43
Smilexsda4 is mounted on /, and sda1 is mounted on /mnt01:43
gnarface / shouldn't need much space, but that'd be assuming /var, /tmp, /usr and /home are all on separate partitions01:44
Smilexbut there's some trickery to make /mnt be / or something, I forgot01:44
gnarfacechroot?01:44
gnarfaceor maybe a boot option?01:44
SmilexI forgot, where are boot options?01:45
SmilexI don't think it's chroot01:45
gnarfaceboot options would be in the bootloader config. grub, probably01:45
gnarface maybe /etc/default/grub01:46
SmilexI think it's a fstab thing though01:46
gnarfaceyou'd probably need stuff in the fstab too01:47
Smilexcan't find any grub customization01:48
gnarfacewhat does your fstab currently look like?01:48
gnarfaceyou sure the other drive didn't have its own grub menu entry at boot time?01:49
gnarfaceer, the other partition i mean?01:49
gnarfacei'm trying to help you here but i seem to be missing important information01:49
Smilexapparently it isn't btrfs... Anyway, I load / on a UUID which I assume is sda4, and /mnt is sda101:49
Smilexbut /mnt contains devuan, and / ubuntu01:50
gnarfaceit doesn't seem like it should be too hard to finish the install if you have 50GB of free space somewhere, it's just a question of rearranging stuff properly01:50
Smilexif I remember correctly01:50
gnarfacedon't assume with UUIDs. look in /dev/disk/by-uuid/01:50
Smilexso I'm confused how packages are installed01:50
gnarfacehow did you get devan into /mnt? with debootstrap?01:51
SmilexI can't remember01:52
gnarfacewhich /etc/apt/sources.list did you edit to put daedalus in it?01:52
SmilexAh! /mnt contains ubuntu, and / devuan01:53
gnarfacewas it the current /etc/apt/sources.list or the current /mnt/etc/apt/sources.list?01:53
Smilexit was the first one01:53
Smilexso my devuan is apparently using 46G01:54
gnarfacethat's rather a lot01:54
gnarfaceyou sure you need all that?01:54
Smilexand I can't use apt while low on space01:54
SmilexNo I don't01:54
SmilexI just don't know how to see what is using space01:54
Smilexin terminal01:54
gnarfaceis that entirely packaged software, or do you have any large things in there that aren't packaged?01:55
gnarfaceyou can see disk usage with du01:55
SmilexI think it's all packaged software01:56
rrq"du -sh /var /usr /home"01:57
SmilexOk, not sure if messages are coming across, but my wechat has failed01:58
Smilexnvm01:58
Smilexhome is on another partition01:58
rrq"du -sh /var/* /usr/*"01:59
Smilexok 16G in /var, 24G in /usr01:59
SmilexI'm in the process of dist-upgrade, but can I delete something from /var that doesn't fail the upgrade?02:00
rrqboth are a magnitude too large for a normal daedalus02:00
rrq"du -sh /va/log" ?02:00
rrq"du -sh /var/log" ?02:01
grayrocksometimes "apt clean" helps02:01
Smilexrrq: 48 M02:02
gnarfaceSmilex: how about /var/cache/apt?02:02
Smilexapt clean made a HUGE difference02:02
gnarfaceyea but it just deleted a bunch of stuff you are gonna have to immediately redownload02:03
gnarfacei assume the contents of /var/cache/apt/archives are now empty02:03
Smilexoh02:03
gnarfacebut02:03
gnarfacei have an idea02:03
gnarfacethis time, mount your other drive under /var/cache/apt/archives before you start the upgrae02:03
gnarfaceupgrade*02:03
Smilexwon't I break it because /home isn't mounted then?02:04
Smilexso shouldn't I symlink02:04
gnarfacewait what now?02:04
gnarfacethe one under /mnt, that's also where your home directory is?02:05
Smilexyes02:05
Smilexit's symlinked02:05
Smilexor mounted02:05
Smilexsome how it works02:05
gnarfacehmm, symlink might work, worth a try. use mount -o bind if it doesn't though.02:05
gnarfacethe important part is just that when apt uses /var/cache/apt/archives/ the cached packages go to the drive with all the free space02:06
Smilexso I delete /var/cahce/apt/archives02:06
Smilexand symlink to /mnt/archives?02:06
Smilexbut there's a "lock" file there. Will that cause issues?02:07
gnarfacejust move it into /mnt/archives first in case02:07
gnarfacemake sure you match permissions too02:07
Smilexok, trying02:09
SmilexI have to go to bed though02:09
Smilexbut I'll let it run02:09
gnarfaceand if you want it to be more conservative about dependencies, run it like this: apt-get update && ap-get --no-install-recommends dist-upgrade02:09
gnarface"--no-install-recommends" will save some space at the risk of leaving out optional features02:10
juma[m]<gnarface> "and if you want it to be more..." <- https://dennislee.xyz/2020/debian-eliminate-dependency-bloat/02:17
Smilexso it finally failed with packages nvidia-persitenced and python3-certifi11:14
SmilexI suspect a restart will solve something, but I am hoping someone here knows11:14
Smilexyeah I'm taking the chance11:16
SmilexOk, so interesting result of this upgrade. I had to do some kernel module coding for my wireless driver to work with the new kernel, which I can share with the world. Bad thing is I think nouveau is in use, and not the proprietary driver12:18
SmilexI can't install nvidia-driver12:18
Smilexand nvidia-persitanced is failing to install12:19
SmilexI think I'm missing non-free-firmware from sources.list12:19
SmilexOk, I have a working computer again12:37
Smilexnow to see if I can play my game12:37
Smilexso at least I get a black screen now and not just a crash12:51
Smilexand it works! Just had to run in DX11 not DX1213:19
buZzi still have -1- issue after upgrading to daedalus15:41
buZzmy only DisplayPort monitor out of the -4- attached to gtx1060 is suddenly 640x480 and no other resolutions15:41
buZzso bizar, havent found even a second user with the issue :/15:41
djphbuZz: I've only seen that on laptops when they're slow on getting EDID info15:46
djphgranted, I also haven't used 'external' displays in a long time15:46
buZzdjph: do they get 'NVIDIA' as 'monitor identifier' on such failure?15:52
djphbuZz: sounds about right (although, ISTR "UNKNOWN" ...)15:58
buZzhmm15:58
buZzi just dont really understand how upgrading would get me here15:58
buZzeither the nvidia driver introduced it, or 'everything else' hahaha15:59
djphI'd hazard dkms or something silly necessitating kicking the nVidia drivers16:03
djphbut I also haven't used a proper nVidia card in ~10 years :(16:03
djpher, "proper" as in "a desktop card".  Laptop cards are just weird in general16:03
buZzhmhm, this is a desktop card indeed16:04
buZz4 monitors on it, 3 are fine/likebefore, 1 is 640x480 , that 1 is also the ONLY displayport monitor on my machine16:04
buZzi'm kinda suspecting the displayportness to affect it16:04
buZzoooooo good idea djph16:04
buZzi'll grab a DVI->DP adapter or something from the hackerspace :D16:05
buZzor other way around16:05
djphor that16:10
buZzsomeone on internet mentioned 'kernel 6.1 does modesetting weird' , i kinda wonder if that might be the issue16:22
buZzbut, kinda doubt it16:23
gnarfaceSmilex: just omit nvidia-persistenced17:42
gnarfaceyou don't need it, it usually doesn't work right, and chances are (check the version) it's failing to install because it's actually an older release than the current driver and they just never updated it, never removed it, and never fixed the package dependencies so they're smart enough to not try to require it anyway17:43
gnarfacebut yea, they moved it from "non-free" to "non-free-firmware"17:44
gnarfacebut nvidia-persistenced is optional either way, it's just a stupid shader caching daemon that's for some reason not actually required to cache shaders and usually only just screws up the process17:45
gnarfacebuZz: historically it was necessary to disable kernel modesetting so the nvidia drivers could work right, though i don't know if that's still the case and i would expect it to affect all monitors if so17:48
gnarfaceif it is actually the EDID thing you can just feed it in to Xorg as a text file, but the one time i went down that path it turned out to be a red herring17:48
gnarfaceone thing that might be relevant is that the available refresh ranges for DVI, DP and HDMI are frequently different in hardware at the display end. though it's unclear why that'd be affecting you now if it never had before, just defining the actual ranges to match the display spec in the xorg.conf may help17:51
Smilexgnarface: Ok! And Thanks for all the help!18:53
gnarfaceno problem18:53
Smilexmy patch for the wifi kernel driver got accepted! :D18:53
gnarfaceoh, nice. congrats.18:54
Smilexit's not a linux kernel thing. I can see how that might be the interpretation18:54
Smilexit's source released by ASUS to an old wifi card that's now survived on Github18:55
gnarfacei see18:55
gnarfacestill, good work fighting the good fight18:55
SmilexI bet someone would provide amazing value, if they kept up with API changes in the kernel development, and wrote up how to migrate on a website18:56
latexIs Qt6 in daedalus?20:43
gnarfaceyes20:43
gnarfacefyi you can check package versions at pkginfo.devuan.org20:43
latexbut I find the web interface not very intuitive20:44
latexI can't see whether it's in daedalus or if it's only a ceres thingy20:44
gnarfaceyea, it helps to know some basic regexp, but if you narrow the search pattern with more verbosity you should be able to see what you want to see20:45
gnarfacei'm assuming you're only seeing ceres versions because it's only returning the top results20:45
gnarfacetry matching a specific package name with a ^ at the beginning and a $ at the end20:46
gnarfacefor example: ^qt6-wayland$20:46
gnarfacethat gives you this result: https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=%5Eqt6-wayland%24&x=submit20:47
gnarfacewhich clearly shows the package is actually the same version in both daedalus and ceres, with a similar version in chimaera-backports20:47
latexoh only now I see20:48
latexalso how do I force remove mpd from the system?20:55
latexIt keeps failing because a post install script fails20:55
latexI even used --force-remove-reinstreq but it doesn't work20:55
gnarfacelatex: what's the error the script throws?21:16
latexnvm I removed mpd manually21:18
latexapt is completely borked on mpd21:18
gnarfacewell, usually you can just fix the script or comment out the offending line21:18
gnarfacei think there is some way to force it even if the script fails but usually you want to know what went wrong so you can clean up the mess21:19

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