Bug#941768: open-vm-tools/10.3.10 does not compile with 4.19.0-6-amd64 on buster kernel upgrade

2019-10-05 Thread hjenkins

*Thank you, Bernd. Fixed. For the record, I did this:

$ su
Password:

# dpkg -P open-vm-tools-dkms
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and 
/sbin


# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

*Per 
https://linuxconfig.org/command-not-found-missing-path-to-sbin-on-debian-gnu-linux


$ su -
Password:
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# dpkg -P open-vm-tools-dkms
(Reading database ... 318080 files and directories currently installed.)
Removing open-vm-tools-dkms (2:10.1.5-5055683-4+deb9u1) ...

 Uninstall Beginning 
Module: open-vm-tools
Version: 10.1.5
Kernel: 4.9.0-8-amd64 (x86_64)
-

Status: Before uninstall, this module version was ACTIVE on this kernel.

vmxnet.ko:
- Uninstallation
- Deleting from: /lib/modules/4.9.0-8-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

--
Deleting module version: 10.1.5
completely from the DKMS tree.
--
Done.
update-initramfs: deferring update (trigger activated)
Purging configuration files for open-vm-tools-dkms 
(2:10.1.5-5055683-4+deb9u1) ...

Processing triggers for initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_27.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/cnl_dmc_ver1_07.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/glk_dmc_ver1_04.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_39.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver9_29.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/skl_guc_ver9_33.bin for 
module i915
W: Possible missing firmware 
/lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915
W: Possible missing firmware 
/lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915
W: Possible missing firmware 
/lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915


*Returning myself to the standard root path:
$ su
Password:

# apt-get install --reinstall linux-headers-4.19.0-6-amd64 
linux-headers-4.19.0-6-common linux-image-4.19.0-6-amd64

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer 
required:
  irqbalance linux-compiler-gcc-6-x86 linux-headers-4.9.0-8-amd64 
linux-headers-4.9.0-8-common linux-image-4.9.0-8-amd64 linux-kbuild-4.9

  runit-helper
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not 
upgraded.

Need to get 0 B/57.0 MB of archives.
After this operation, 0 B of additional disk space will be used.
N: Ignoring file 'testing.list.old' in directory 
'/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'unstable.list.old' in directory 
'/etc/apt/sources.list.d/' as it has an invalid filename extension

(Reading database ... 317359 files and directories currently installed.)
Preparing to unpack 
.../linux-headers-4.19.0-6-amd64_4.19.67-2+deb10u1_amd64.deb ...
Unpacking linux-headers-4.19.0-6-amd64 (4.19.67-2+deb10u1) over 
(4.19.67-2+deb10u1) ...
Preparing to unpack 
.../linux-headers-4.19.0-6-common_4.19.67-2+deb10u1_all.deb ...
Unpacking linux-headers-4.19.0-6-common (4.19.67-2+deb10u1) over 
(4.19.67-2+deb10u1) ...
Preparing to unpack 
.../linux-image-4.19.0-6-amd64_4.19.67-2+deb10u1_amd64.deb ...
Unpacking linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u1) over 
(4.19.67-2+deb10u1) ...

Setting up linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_27.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/cnl_dmc_ver1_07.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/glk_dmc_ver1_04.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_39.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver9_29.bin for 
module i915
W: Possible missing firmware 

Bug#941768: open-vm-tools/10.3.10 does not compile with 4.19.0-6-amd64 on buster kernel upgrade

2019-10-05 Thread Bernd Zeimetz
severity 941768 normal
thanks

Hi,

please remove the open-vm-tools-dkms package
dpkg -P open-vm-tools-dkms

Its not supported anymore.
If you really needed it because you were using the old vmxnet module -
this is deprecated since ~10 years, maybe more.
Otherwise there was no reason to install the package in the first place...
For those rare cases I did not want to force the removal on upgrade
time, as they will still have the chance to have networking with an old
kernel.


Bernd


On 10/5/19 3:49 AM, hjenkins wrote:
> Package: open-vm-tools
> Version: 10.3.10
> Severity: grave
> 
> *While upgrading to buster, it is necessary to upgrade open-vm-tools
> from 10.1.5 to 10.3.10. My install of 10.3.10 seems to have worked, and
> in retrospect, it seems to work when reinstalled.
> 
> PROMPT# apt-get install -f --reinstall open-vm-tools
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required:
>   irqbalance linux-compiler-gcc-6-x86 linux-headers-4.9.0-8-amd64
> linux-headers-4.9.0-8-common linux-image-4.9.0-8-amd64 linux-kbuild-4.9
>   runit-helper
> Use 'apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
> upgraded.
> Need to get 0 B/568 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> N: Ignoring file 'testing.list.old' in directory
> '/etc/apt/sources.list.d/' as it has an invalid filename extension
> N: Ignoring file 'unstable.list.old' in directory
> '/etc/apt/sources.list.d/' as it has an invalid filename extension
> (Reading database ... 318081 files and directories currently installed.)
> Preparing to unpack .../open-vm-tools_2%3a10.3.10-1+deb10u1_amd64.deb ...
> Unpacking open-vm-tools (2:10.3.10-1+deb10u1) over (2:10.3.10-1+deb10u1)
> ...
> Setting up open-vm-tools (2:10.3.10-1+deb10u1) ...
> Processing triggers for systemd (241-7~deb10u1) ...
> Processing triggers for man-db (2.8.5-2) ...
> Processing triggers for libc-bin (2.28-10) ...
> 
> 
> *However, when I tried to upgrade to buster:
> 
> POST# apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following NEW packages will be installed:
>   linux-headers-4.19.0-6-amd64 linux-headers-4.19.0-6-common
> linux-image-4.19.0-6-amd64
> The following packages will be upgraded:
>   linux-headers-amd64 linux-image-amd64
> 2 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
> Need to get 57.0 MB of archives.
> After this operation, 324 MB of additional disk space will be used.
> N: Ignoring file 'testing.list.old' in directory
> '/etc/apt/sources.list.d/' as it has an invalid filename extension
> N: Ignoring file 'unstable.list.old' in directory
> '/etc/apt/sources.list.d/' as it has an invalid filename extension
> Do you want to continue? [Y/n] y
> Get:1 http://security.debian.org stable/updates/main amd64
> linux-headers-4.19.0-6-common all 4.19.67-2+deb10u1 [8,241 kB]
> Get:2 http://ftp.ca.debian.org/debian stable/main amd64
> linux-headers-amd64 amd64 4.19+105+deb10u1 [6,684 B]
> Get:3 http://ftp.ca.debian.org/debian stable/main amd64
> linux-image-amd64 amd64 4.19+105+deb10u1 [8,076 B]
> Get:4 http://security.debian.org stable/updates/main amd64
> linux-headers-4.19.0-6-amd64 amd64 4.19.67-2+deb10u1 [797 kB]
> Get:5 http://security.debian.org stable/updates/main amd64
> linux-image-4.19.0-6-amd64 amd64 4.19.67-2+deb10u1 [48.0 MB]
> Fetched 57.0 MB in 2min 15s (423 kB/s)
> Reading changelogs... Done
> Selecting previously unselected package linux-headers-4.19.0-6-common.
> (Reading database ... 296390 files and directories currently installed.)
> Preparing to unpack
> .../linux-headers-4.19.0-6-common_4.19.67-2+deb10u1_all.deb ...
> Unpacking linux-headers-4.19.0-6-common (4.19.67-2+deb10u1) ...
> Selecting previously unselected package linux-headers-4.19.0-6-amd64.
> Preparing to unpack
> .../linux-headers-4.19.0-6-amd64_4.19.67-2+deb10u1_amd64.deb ...
> Unpacking linux-headers-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
> Preparing to unpack .../linux-headers-amd64_4.19+105+deb10u1_amd64.deb ...
> Unpacking linux-headers-amd64 (4.19+105+deb10u1) over (4.19+105) ...
> Selecting previously unselected package linux-image-4.19.0-6-amd64.
> Preparing to unpack
> .../linux-image-4.19.0-6-amd64_4.19.67-2+deb10u1_amd64.deb ...
> Unpacking linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
> Preparing to unpack .../linux-image-amd64_4.19+105+deb10u1_amd64.deb ...
> Unpacking linux-image-amd64 (4.19+105+deb10u1) over (4.19+105) ...
> Setting up linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
> I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.19.0-5-amd64
> I: /initrd.img.old is now a symlink to boot/initrd.img-4.19.0-5-amd64
> I: /vmlinuz is now a symlink to boot/vmlinuz-4.19.0-6-amd64
> I: /initrd.img is now a symlink to 

Bug#941768: open-vm-tools/10.3.10 does not compile with 4.19.0-6-amd64 on buster kernel upgrade

2019-10-04 Thread hjenkins

Package: open-vm-tools
Version: 10.3.10
Severity: grave

*While upgrading to buster, it is necessary to upgrade open-vm-tools 
from 10.1.5 to 10.3.10. My install of 10.3.10 seems to have worked, and 
in retrospect, it seems to work when reinstalled.


PROMPT# apt-get install -f --reinstall open-vm-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer 
required:
  irqbalance linux-compiler-gcc-6-x86 linux-headers-4.9.0-8-amd64 
linux-headers-4.9.0-8-common linux-image-4.9.0-8-amd64 linux-kbuild-4.9

  runit-helper
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
upgraded.

Need to get 0 B/568 kB of archives.
After this operation, 0 B of additional disk space will be used.
N: Ignoring file 'testing.list.old' in directory 
'/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'unstable.list.old' in directory 
'/etc/apt/sources.list.d/' as it has an invalid filename extension

(Reading database ... 318081 files and directories currently installed.)
Preparing to unpack .../open-vm-tools_2%3a10.3.10-1+deb10u1_amd64.deb 
...
Unpacking open-vm-tools (2:10.3.10-1+deb10u1) over (2:10.3.10-1+deb10u1) 
...

Setting up open-vm-tools (2:10.3.10-1+deb10u1) ...
Processing triggers for systemd (241-7~deb10u1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...


*However, when I tried to upgrade to buster:

POST# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.19.0-6-amd64 linux-headers-4.19.0-6-common 
linux-image-4.19.0-6-amd64

The following packages will be upgraded:
  linux-headers-amd64 linux-image-amd64
2 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 57.0 MB of archives.
After this operation, 324 MB of additional disk space will be used.
N: Ignoring file 'testing.list.old' in directory 
'/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'unstable.list.old' in directory 
'/etc/apt/sources.list.d/' as it has an invalid filename extension

Do you want to continue? [Y/n] y
Get:1 http://security.debian.org stable/updates/main amd64 
linux-headers-4.19.0-6-common all 4.19.67-2+deb10u1 [8,241 kB]
Get:2 http://ftp.ca.debian.org/debian stable/main amd64 
linux-headers-amd64 amd64 4.19+105+deb10u1 [6,684 B]
Get:3 http://ftp.ca.debian.org/debian stable/main amd64 
linux-image-amd64 amd64 4.19+105+deb10u1 [8,076 B]
Get:4 http://security.debian.org stable/updates/main amd64 
linux-headers-4.19.0-6-amd64 amd64 4.19.67-2+deb10u1 [797 kB]
Get:5 http://security.debian.org stable/updates/main amd64 
linux-image-4.19.0-6-amd64 amd64 4.19.67-2+deb10u1 [48.0 MB]

Fetched 57.0 MB in 2min 15s (423 kB/s)
Reading changelogs... Done
Selecting previously unselected package linux-headers-4.19.0-6-common.
(Reading database ... 296390 files and directories currently installed.)
Preparing to unpack 
.../linux-headers-4.19.0-6-common_4.19.67-2+deb10u1_all.deb ...

Unpacking linux-headers-4.19.0-6-common (4.19.67-2+deb10u1) ...
Selecting previously unselected package linux-headers-4.19.0-6-amd64.
Preparing to unpack 
.../linux-headers-4.19.0-6-amd64_4.19.67-2+deb10u1_amd64.deb ...

Unpacking linux-headers-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
Preparing to unpack .../linux-headers-amd64_4.19+105+deb10u1_amd64.deb 
...

Unpacking linux-headers-amd64 (4.19+105+deb10u1) over (4.19+105) ...
Selecting previously unselected package linux-image-4.19.0-6-amd64.
Preparing to unpack 
.../linux-image-4.19.0-6-amd64_4.19.67-2+deb10u1_amd64.deb ...

Unpacking linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
Preparing to unpack .../linux-image-amd64_4.19+105+deb10u1_amd64.deb ...
Unpacking linux-image-amd64 (4.19+105+deb10u1) over (4.19+105) ...
Setting up linux-image-4.19.0-6-amd64 (4.19.67-2+deb10u1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.19.0-5-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-4.19.0-5-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-4.19.0-6-amd64
I: /initrd.img is now a symlink to boot/initrd.img-4.19.0-6-amd64
/etc/kernel/postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.19.0-6-amd64 
(x86_64)
Consult /var/lib/dkms/open-vm-tools/10.1.5/build/make.log for more 
information.

/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_27.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_04.bin for 
module i915
W: Possible missing firmware /lib/firmware/i915/cnl_dmc_ver1_07.bin for 
module i915
W: Possible missing firmware