Search Debian Channel Logs

Wednesday, February 1, 2017

#debian channel featuring _raynold_, dpkg, aypea[1], Hijiri-webby, somiaj, nChomsky, and 5 others.

aypea[1] 2017-02-01 13:45:32
hijiri: try the loop again in /sys/bus/pci/devices
Hijiri-webby 2017-02-01 13:45:46
alright
Hijiri-webby 2017-02-01 13:46:19
ah
Hijiri-webby 2017-02-01 13:46:22
froze on nouveau
aypea[1] 2017-02-01 13:46:33
aha
aypea[1] 2017-02-01 13:46:39
do you have a spare gfx card?
_raynold_ 2017-02-01 13:46:40
in #bash
Hijiri-webby 2017-02-01 13:46:52
it's an extra card, it's a laptop
aypea[1] 2017-02-01 13:46:59
ooo
Hijiri-webby 2017-02-01 13:47:04
I actually don't use it ever so it's ok if I disable it
Guest21446 2017-02-01 13:47:16
i somehome accidentally uninstalled my entire boot partition on jessie
aypea[1] 2017-02-01 13:47:16
Hijiri-webby: give that a shot
Hijiri-webby 2017-02-01 13:47:26
how do I disable it?
nmschulte 2017-02-01 13:47:42
Does xbacklight work w/ the modesetting video driver on Intel (skylake) hardware?
aypea[1] 2017-02-01 13:47:50
Hijiri-webby: that's beyond me. never had a laptop with two gfx cards. :) maybe something in the bios?
Hijiri-webby 2017-02-01 13:47:59
ok, I'll look it up
Hijiri-webby 2017-02-01 13:48:12
I was just planning on disabling the driver but I think I shoudl be able to disable in the bios too
Guest21446 2017-02-01 13:48:34
i run aptitude dist-upgrade and it said linux-image-amd64 was in conflict with https://packages.debian.org/jessie-backports/linux-image-amd64
aypea[1] 2017-02-01 13:48:43
Hijiri-webby: couldn't help with that one, either. sorry.
Guest21446 2017-02-01 13:49:27
so i uninstalled it and i reinstalled but after rebooted and now it says invalid partition on boot in grub
Hijiri-webby 2017-02-01 13:50:32
aypea[1]: infinite thanks, it's booting normally now
Neville 2017-02-01 13:52:08
I need suggestions on killing a dd process. I made the mistake of writing zeroes to a new 2TB drive. (NO DATA on the drive). It is a quarter done after 5 hours.
Hijiri 2017-02-01 13:52:31
now to make up on time not doing homework
Neville 2017-02-01 13:52:36
I can't wait for the process to finish and will reformat.
somiaj 2017-02-01 13:53:28
Neville: kill -9 the process didn't work, it may just take a little bit for that?
Neville 2017-02-01 13:56:25
somiaj: dd is a kernel process; can't be kill -9
somiaj 2017-02-01 14:01:23
Neville: I would still think it was a process, but unsure there, never have been in that case
somiaj 2017-02-01 14:03:10
Neville: well dd responds to some signals, maybe one will tell it to stop.
somiaj 2017-02-01 14:03:29
at least google gives examples of say kill -INFO pid
somiaj 2017-02-01 14:04:51
I see some saying you can stop with with ctrl-C
Guest21446 2017-02-01 14:15:56
whats the best way to rebuild a boot partition with luks encryption? the encrypted luks side is great but no boot partition to be found
somiaj 2017-02-01 14:16:22
Guest21446: was /boot encrypted?
somiaj 2017-02-01 14:16:48
usually setups don't use an encrypted /boot and I don't think debian supports this (though grub does from what I hear)
Guest21446 2017-02-01 14:17:04
somiaj: no /boot is not encrypted
somiaj 2017-02-01 14:17:22
Guest21446: so /boot is just gone and thsu all the files in it and you want to regenerate the missing files?
Guest21446 2017-02-01 14:18:00
somiaj: im looking at the partition table from a live cd and a see the luks partition with 256MB of free space in front
Guest21446 2017-02-01 14:18:09
somiaj: yes i think so
somiaj 2017-02-01 14:18:29
Guest21446: intersting, wonder why it just disappeared, I would think tracking that down would be important.
Guest21446 2017-02-01 14:18:40
somiaj: as far as i can tell this happened b/c i did a dist-upgrade with jessie backports and it removed linux-image-amd64
somiaj 2017-02-01 14:19:08
as for rebuilding, if you can chroot into your install, 'dpkg -S /boot' will list all packages that have files in /boot and you can --reinstall those packages
Guest21446 2017-02-01 14:19:13
somiaj: it is im just confused b/c you would like aptitude removing the a package wouldn't destroy the partition
somiaj 2017-02-01 14:19:15
then you may have to update and reinstall grub as well.
somiaj 2017-02-01 14:19:41
Guest21446: I agree, aptitude will remove auto install packages and partly why I like apt-get (which is usually sugested for dist-upgrades)
_raynold_ 2017-02-01 14:19:52
ahh it's a wonderful day
somiaj 2017-02-01 14:20:04
Guest21446: so I could see removing the meta package removing all the autoinstalled kernels with it, but not the actual partition. That is strange. That partition wasn't in an lvm?
somiaj 2017-02-01 14:20:29
Guest21446: though before you do my suggestion to reinstall stuff, may want to create a new boot partition, or figure out what happened to it.
Guest21446 2017-02-01 14:21:05
somiaj: can it be in luks but not encrypted?
somiaj 2017-02-01 14:21:17
Guest21446: I'm unsure on the details here, I don't use encryption.
somiaj 2017-02-01 14:21:19
!confmiss
dpkg 2017-02-01 14:21:20
You have to especially tell the packaging system to reinstall config files because when they are gone, it is assumed that you want them to stay deleted. "aptitude -o DPkg::Options::='--force-confmiss' reinstall $packagename" will restore them (man dpkg for details). If the package uses for config file management, ask me about .
somiaj 2017-02-01 14:22:06
Guest21446: ^^ if there are conffiles in /boot, debian may think you deleted them so you may want to include --force-confmiss in the reinstall to ensure conf files get recreated as well, but I would try to figure out where that /boot partition is or happened to it before trying to rebuild it
somiaj 2017-02-01 14:22:58
also I didn't get grub as being one of the packages owning files in /boot so that may need to be reinstall with confmiss due to that is where grub puts its conf files
Guest21446 2017-02-01 14:24:14
somiaj: for encrypted stuff everything has to be on a normal partition and im finding neither
somiaj 2017-02-01 14:24:45
Guest21446: I don't think that is accurate, I hear of lvm + lukes setups, but again I dont' know the details, maybe someone with more encryption experience can help with that.
somiaj 2017-02-01 14:25:07
also just looked, I don't see any conffiles for grub packages in /boot, so those must all be generated by the grub scripts
somiaj 2017-02-01 14:25:24
at least on my system
Guest21446 2017-02-01 14:26:13
somiaj: thanks but yeah i mean i see lvm2 pv on top of luks
aypea[1] 2017-02-01 14:27:55
Hijiri: awesome news. glad that worked out :)
stew 2017-02-01 14:30:20
conffiles are always in /etc
nChomsky 2017-02-01 14:33:19
Good night,
nChomsky 2017-02-01 14:33:47
I'm trying to update a drive to its testing counterpart.
nChomsky 2017-02-01 14:34:05
Aptitude offers me the following solution: https://paste.debian.net/hidden/51228e2d/
nChomsky 2017-02-01 14:34:33
I'm afraid it will break GNOME packages.
nChomsky 2017-02-01 14:36:29
I'm not sure that's the case though. It's just that "Remove the following packages: 1) task-desktop 2) task-gnome-desktop" does not sound any good to me.
somiaj 2017-02-01 14:38:48
nChomsky: those are meta packages, who only depend on other packages to make installing collection of packages easier, they can be safely removed with one note.
nChomsky 2017-02-01 14:39:50
Meta packages?
nChomsky 2017-02-01 14:41:32
So they are getting removed... Does it mean that GNOME will be there for me when I next login? XD
somiaj 2017-02-01 14:41:44
nChomsky: packages installed from meta packages are marked auto, so removing the metapackage will make apt think that you don't want the actual packages installed any more, so you may have to deal with that.
somiaj 2017-02-01 14:42:03
nChomsky: aptitude will automatically remove them, apt/apt-get won't, so apt-get is safer in this case.
somiaj 2017-02-01 14:42:24
nChomsky: the meta package doesn't contain the actual program, it is a package that links to various other packages (Gnome is a large collection of packages)
somiaj 2017-02-01 14:44:59
nChomsky: it is just a package that is used to pull in all the other packages. In teh case of gnome, making gnome-core manual, 'apt-mark manual gnome-core' should help