libera/#devuan/ Friday, 2022-02-25

dokmaFor some reason dpkg suddenly thinks I'm on i386...13:56
dokmadpkg --print-architecture13:56
dokmai38613:56
dokmaHow did this happen?13:56
dokmauname u13:56
dokmauname -a13:56
dokmaLinux abraham 5.10.0-11-686 #1 SMP Debian 5.10.92-1 (2022-01-18) i686 GNU/Linux13:56
dokmaWas majority of my packages are amd6413:57
dokmaBut recently installed ones are i38613:57
dokmaHow do I convince dpkg I am on i386?13:57
dokmaamd64 that is13:57
gnarfacelooks like you confused it by installing the 686 kernel13:58
gnarfacewhat does "dpkg --print-foreign-architectures" say?13:59
dokmaamd6413:59
dokmaSo I need a kernel with amd64 in it...13:59
dokmaI thought 686 meant 64bit13:59
gnarfaceno.  no 686 is a pentium 213:59
gnarface32-bit13:59
dokmaI don't see any kernels with amd64 in the package name14:00
gnarfacereally?  there might be something up with your sources.list... how are you searching?14:00
gnarfacetry this: apt-cache search ^linux-image-14:00
dokmaLike that I can see them but not from aptitude14:01
gnarfacethere are 686-PAE kernels that have 64-bit memory register support so they can use more than 4GB of ram, that might have confused you in the past14:01
gnarfacei'm not sure why aptitude wouldn't give you accurate results14:02
dokmaInstalling amd64 kernel now14:02
dokmaHow do I make it the default one to boot from cli?14:02
gnarfaceeasiest way would be to just remove the other one after you reboot14:03
dokmaIt's a headless remote machine14:03
dokmaI have to make the new one boot prior to rebooting14:03
gnarfaceoh, well you'll have to edit the grub config then run update-grub14:04
dokmaThe default is the first one?14:04
gnarfacedid you install with the i386 installer image? you might be causing yourself more work in the long run here14:05
gnarfaceyes, the default should be the top one i think, unless there's some flag to mark a different one default14:05
dokmaNo, this is a system that has been amd64 for a long time.14:06
dokmaThen I mistakenly installed a wrong kernel14:06
dokmagnarface: so now I'm booted into the amd64 kernel but print-architecture still gives i38614:16
dokmaany way to get it back to amd64?14:17
gnarfacei'm not sure i know14:17
gnarfaceonly seen this when the wrong installer was used from the start14:18
dokmawill try to clear out the i386 packages first14:19
gnarfacethe man page also lists --add-architecture and --force-architecture but i'm not sure they're what you want14:19
onefangMessing with the boot of a headless machine, it's good to have a remote console or something like that.14:19
fsmithredIs there a cdrom line in sources.list? That would show which iso was used for the installation.14:20
dokmafsmithred: the system was installed 10 years ago.14:20
dokmaI accidentally installed a 686 kernel a few days ago and then dpkg started installing i386 packages14:21
dokmaor apt rather14:21
fsmithredweird14:21
gnarfacetry putting all the amd64 packages back i guess yea14:22
fsmithredI've done the opposite, long ago. Installed amd64 kernel on 32-bit OS, but it did not pull in 64-bit packages.14:22
dokmafsmithred: it's a mistery to me why dpkg --print-architecture returns i38614:22
dokmaanyone knows how dpkg determines the architecture?14:23
gnarfacei had assumed it was set somewhere at install time in a file you're not supposed to look at... seeded throughout the dependency tree or something14:24
gnarfaceyou can add and remove extra architectures but i don't know of any sequence of adding and removing architectures that will let you pop the first one off the stack14:24
gnarfacei have to wonder if in addition to the kernel getting installed, some core system package got reconfigured you could locate and manually run dpkg-reconfigure on again14:26
gnarfaceit's not a situation i was able to find my way out of without a fresh install but also not a situation i was able to cause without a fresh install14:27
gnarfaceand i'm not sure there's a material difference in the functionality of the system if all the packages you're using are the amd64 ones again14:27
gnarfacei mean whether the default architecture is i386 and the foreign one is amd64 or the other way around, i don't think it actually matters14:29
gnarfacethere might be an easy way to swap them and i just don't know it though14:31
ErRandirdokma: you can set the Architecture in apt.conf. Check under /etc/apt/14:41
dokmaErRandir: there's nothing about architecture there14:57
dokmaI'll try with apt-get source dpkg14:57
dokmaand find it in the code14:57
dokmahmmm... dpkg itself is i38615:02
dokmathat should be a pretty obvious culprit15:02
dokmayup... now dpkg --print-architecture gives amd6415:03
gnarfaceah ha15:04
gnarfaceso simple15:04
dokmanow just to clear out those pesky i386 packages and I should be good to go15:05
dokmawhich is literally all of them...15:06
nemorwp: she's using the firefox from mozilla - the reason was at least in the past the debian ESR was often lacking features. at this point in time that could be halted, but we'd have to migrate her main profile16:31
nemorwp: virtualbox... it's mostly 'cause she's been using the same VB image for running MS Office for the past decade.16:31
nemoswitching to KVM would take a bit of time16:31
nemoyeah. lilypond is not the same thing at all16:32
nemoshe's actually using 7th string for audio transcribing since it supports all the basic features of "professional" transcribing tools, but in a superior and cross-platform UI16:32
nemopedal bindings, video, track zoom scan16:32
erikleeDevuan >>> Debian16:44
erikleeFuck systemd so hard16:44
erikleeThere are these shills, erh, who keep saying that devuan is stupid, but I am damn sure to btfo them16:45
nemoyou seem upset16:45
Walex2my usual "joke" is that Debian is the 'systemd' variants of Devuan, just like the Debian/Hurd variant :-)17:18
Walex2or Xubuntu is the XFCE variant of Ubuntu.17:19

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