View Issue Details

IDProjectCategoryView StatusLast Update
0007319Kali LinuxKali Package Bugpublic2021-09-06 02:27
Reportercloverskull Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2021.2 
Fixed in Version2021.3 
Summary0007319: kali-tweaks vmware shared folders package name issue
Description

When using 'kali-tweaks' to enable shared folder integration in a vmware vm, the following error is produced:

┌──(kali㉿kali)-[~]
└─$ kali-tweaks 1 ⨯

Installing program: /usr/local/sbin/mount-share-folders
The screen object doesn't exist, can't destroy it
Traceback (most recent call last):
File "/usr/bin/kali-tweaks", line 33, in <module>
sys.exit(load_entry_point('kali-tweaks==2021.3.1', 'console_scripts', 'kali-tweaks')())
File "/usr/lib/python3/dist-packages/kali_tweaks/main.py", line 991, in main
do_main_screen()
File "/usr/lib/python3/dist-packages/kali_tweaks/main.py", line 982, in do_main_screen
ret = func()
File "/usr/lib/python3/dist-packages/kali_tweaks/main.py", line 732, in do_virtual_screen
action()
File "/usr/lib/python3/dist-packages/kali_tweaks/utils.py", line 680, in configure
install_program(script)
File "/usr/lib/python3/dist-packages/kali_tweaks/utils.py", line 173, in install_program
src = get_datafile(os.path.basename(program))
File "/usr/lib/python3/dist-packages/kali_tweaks/utils.py", line 96, in get_datafile
return _get_kali_tweaks_file("data", filename)
File "/usr/lib/python3/dist-packages/kali_tweaks/utils.py", line 91, in _get_kali_tweaks_file
raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), f)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/kali_tweaks/data/mount-share-folders'

This looks like a typo, since there is a /usr/lib/kali_tweaks/data/mount-shared-folders but not mount-share-folders. and manually copying the file or creating a symlink does allow the task to complete.

Steps To Reproduce
  1. Setup vmware with fresh vmdk package
  2. run 'kali-tweaks'
  3. Select 'Virtualization'
  4. Select shared folder addition (I can't see the original language since I've gotten this installed)
  5. Watch 'kali-tweaks' close out with the above posted error message

Activities

arnaudr

arnaudr

2021-09-06 02:21

manager   ~0015081

Thanks a lot for the report! A fix is included in the latest version of the kali-tweaks package: version 2021.3.2. This package should be available in kali-rolling in a few hours.

Issue History

Date Modified Username Field Change
2021-09-05 16:46 cloverskull New Issue
2021-09-06 02:21 arnaudr Note Added: 0015081
2021-09-06 02:27 arnaudr Assigned To => arnaudr
2021-09-06 02:27 arnaudr Status new => resolved
2021-09-06 02:27 arnaudr Resolution open => fixed
2021-09-06 02:27 arnaudr Fixed in Version => 2021.3