dokma | For some reason dpkg suddenly thinks I'm on i386... | 13:56 |
---|---|---|
dokma | dpkg --print-architecture | 13:56 |
dokma | i386 | 13:56 |
dokma | How did this happen? | 13:56 |
dokma | uname u | 13:56 |
dokma | uname -a | 13:56 |
dokma | Linux abraham 5.10.0-11-686 #1 SMP Debian 5.10.92-1 (2022-01-18) i686 GNU/Linux | 13:56 |
dokma | Was majority of my packages are amd64 | 13:57 |
dokma | But recently installed ones are i386 | 13:57 |
dokma | How do I convince dpkg I am on i386? | 13:57 |
dokma | amd64 that is | 13:57 |
gnarface | looks like you confused it by installing the 686 kernel | 13:58 |
gnarface | what does "dpkg --print-foreign-architectures" say? | 13:59 |
dokma | amd64 | 13:59 |
dokma | So I need a kernel with amd64 in it... | 13:59 |
dokma | I thought 686 meant 64bit | 13:59 |
gnarface | no. no 686 is a pentium 2 | 13:59 |
gnarface | 32-bit | 13:59 |
dokma | I don't see any kernels with amd64 in the package name | 14:00 |
gnarface | really? there might be something up with your sources.list... how are you searching? | 14:00 |
gnarface | try this: apt-cache search ^linux-image- | 14:00 |
dokma | Like that I can see them but not from aptitude | 14:01 |
gnarface | there 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 past | 14:01 |
gnarface | i'm not sure why aptitude wouldn't give you accurate results | 14:02 |
dokma | Installing amd64 kernel now | 14:02 |
dokma | How do I make it the default one to boot from cli? | 14:02 |
gnarface | easiest way would be to just remove the other one after you reboot | 14:03 |
dokma | It's a headless remote machine | 14:03 |
dokma | I have to make the new one boot prior to rebooting | 14:03 |
gnarface | oh, well you'll have to edit the grub config then run update-grub | 14:04 |
dokma | The default is the first one? | 14:04 |
gnarface | did you install with the i386 installer image? you might be causing yourself more work in the long run here | 14:05 |
gnarface | yes, the default should be the top one i think, unless there's some flag to mark a different one default | 14:05 |
dokma | No, this is a system that has been amd64 for a long time. | 14:06 |
dokma | Then I mistakenly installed a wrong kernel | 14:06 |
dokma | gnarface: so now I'm booted into the amd64 kernel but print-architecture still gives i386 | 14:16 |
dokma | any way to get it back to amd64? | 14:17 |
gnarface | i'm not sure i know | 14:17 |
gnarface | only seen this when the wrong installer was used from the start | 14:18 |
dokma | will try to clear out the i386 packages first | 14:19 |
gnarface | the man page also lists --add-architecture and --force-architecture but i'm not sure they're what you want | 14:19 |
onefang | Messing with the boot of a headless machine, it's good to have a remote console or something like that. | 14:19 |
fsmithred | Is there a cdrom line in sources.list? That would show which iso was used for the installation. | 14:20 |
dokma | fsmithred: the system was installed 10 years ago. | 14:20 |
dokma | I accidentally installed a 686 kernel a few days ago and then dpkg started installing i386 packages | 14:21 |
dokma | or apt rather | 14:21 |
fsmithred | weird | 14:21 |
gnarface | try putting all the amd64 packages back i guess yea | 14:22 |
fsmithred | I've done the opposite, long ago. Installed amd64 kernel on 32-bit OS, but it did not pull in 64-bit packages. | 14:22 |
dokma | fsmithred: it's a mistery to me why dpkg --print-architecture returns i386 | 14:22 |
dokma | anyone knows how dpkg determines the architecture? | 14:23 |
gnarface | i 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 something | 14:24 |
gnarface | you 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 stack | 14:24 |
gnarface | i 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 again | 14:26 |
gnarface | it'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 install | 14:27 |
gnarface | and 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 again | 14:27 |
gnarface | i mean whether the default architecture is i386 and the foreign one is amd64 or the other way around, i don't think it actually matters | 14:29 |
gnarface | there might be an easy way to swap them and i just don't know it though | 14:31 |
ErRandir | dokma: you can set the Architecture in apt.conf. Check under /etc/apt/ | 14:41 |
dokma | ErRandir: there's nothing about architecture there | 14:57 |
dokma | I'll try with apt-get source dpkg | 14:57 |
dokma | and find it in the code | 14:57 |
dokma | hmmm... dpkg itself is i386 | 15:02 |
dokma | that should be a pretty obvious culprit | 15:02 |
dokma | yup... now dpkg --print-architecture gives amd64 | 15:03 |
gnarface | ah ha | 15:04 |
gnarface | so simple | 15:04 |
dokma | now just to clear out those pesky i386 packages and I should be good to go | 15:05 |
dokma | which is literally all of them... | 15:06 |
nemo | rwp: 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 profile | 16:31 |
nemo | rwp: virtualbox... it's mostly 'cause she's been using the same VB image for running MS Office for the past decade. | 16:31 |
nemo | switching to KVM would take a bit of time | 16:31 |
nemo | yeah. lilypond is not the same thing at all | 16:32 |
nemo | she'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 UI | 16:32 |
nemo | pedal bindings, video, track zoom scan | 16:32 |
eriklee | Devuan >>> Debian | 16:44 |
eriklee | Fuck systemd so hard | 16:44 |
eriklee | There are these shills, erh, who keep saying that devuan is stupid, but I am damn sure to btfo them | 16:45 |
nemo | you seem upset | 16:45 |
Walex2 | my usual "joke" is that Debian is the 'systemd' variants of Devuan, just like the Debian/Hurd variant :-) | 17:18 |
Walex2 | or 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/!