Skip to content

Cubic cannot be installed in Kali Linux. #383

@ShakilAnowerSamrat

Description

@ShakilAnowerSamrat

How to install cubic iso creator in kali linux?

title: 'Cubic cannot be installed in kali llinux'
labels: question
assignees: ''


Describe the question

Could not install Cubic in Kali linux.

What I have tried

firstly i tried this:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7579F80E494ED3406A59DF9081525E2B4F1283B
sudo apt-add-repository universe
sudo apt-add-repository ppa:cubic-wizard/release
sudo apt update
sudo apt install --no-install-recommends cubic

sudo apt-add-repository universe
sudo apt-add-repository ppa:cubic-wizard/release
sudo apt autoremove --purge cubic
sudo rm -rf /usr/share/cubic
sudo add-apt-repository --remove ppa:cubic-wizard/release

Add the Cubic "Experimental" repository.
sudo apt-add-repository universe
sudo apt-add-repository ppa:cubic-wizard/experimental
sudo apt update
sudo apt install --no-install-recommends cubic

OUTPUT

Error: Unable to locate package cubic
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 362, in
sys.exit(0 if addaptrepo.main() else 1)
~~~~~~~~~~~~~~~^^
File "/usr/bin/add-apt-repository", line 345, in main
shortcut = handler(source, **shortcut_params)
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
return handler(shortcut, **kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in init
if self.lpppa.publish_debug_symbols:
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
self._lpteam = self.lp.people(self.teamname)
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'
Unable to handle repository shortcut 'universe'
Traceback (most recent call last):
File "/usr/bin/apt-add-repository", line 362, in
sys.exit(0 if addaptrepo.main() else 1)
~~~~~~~~~~~~~~~^^
File "/usr/bin/apt-add-repository", line 345, in main
shortcut = handler(source, **shortcut_params)
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
return handler(shortcut, **kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in init
if self.lpppa.publish_debug_symbols:
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
self._lpteam = self.lp.people(self.teamname)
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://http.kali.org/kali kali-rolling InRelease
Ign:3 https://releases.warp.dev/linux/deb stable InRelease
Hit:4 https://repo.protonvpn.com/debian stable InRelease
Hit:5 https://releases.warp.dev/linux/deb stable Release
11 packages can be upgraded. Run 'apt list --upgradable' to see them.

No apt package "cubic", but there is a snap with that name.
Try "snap install cubic"

Error: Unable to locate package cubic

──(root㉿XLR8)-[/home/samrat]
└─# echo "deb https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu/ noble main" | sudo tee /etc/apt/sources.list.d/cubic-wizard-release.list
curl -S "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x081525e2b4f1283b" | sudo gpg --batch --yes --dearmor --output /etc/apt/trusted.gpg.d/cubic-wizard-ubuntu-release.gpg

sudo apt update
sudo apt install --no-install-recommends cubic
deb https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu/ noble main
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:100 1651 100 1651 0 0 1532 0 0:00:01 0:00:01 --:--:-- 1531
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://http.kali.org/kali kali-rolling InRelease
Hit:3 https://repo.protonvpn.com/debian stable InRelease
Ign:4 https://releases.warp.dev/linux/deb stable InRelease
Hit:5 https://releases.warp.dev/linux/deb stable Release
Get:7 https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu noble InRelease [17.8 kB]
Get:8 https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu noble/main amd64 Packages [832 B]
Get:9 https://ppa.launchpadcontent.net/cubic-wizard/release/ubuntu noble/main Translation-en [508 B]
Fetched 19.2 kB in 3s (5,805 B/s)
11 packages can be upgraded. Run 'apt list --upgradable' to see them.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
cubic : Depends: policykit-1 (>= 0.105) but it is not installable
Error: Unable to correct problems, you have held broken packages.

i tried to solve this Unsatisfied dependencies with various things, but didnt solve.

──(root㉿XLR8)-[/home/samrat]
└─# sudo apt install policykit-1

Package policykit-1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
polkitd pkexec

Error: Package 'policykit-1' has no installation candidate

┌──(root㉿XLR8)-[/home/samrat]
└─# sudo apt install policykit-1 --fix-missing

Package policykit-1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
polkitd pkexec

Error: Package 'policykit-1' has no installation candidate

┌──(root㉿XLR8)-[/home/samrat]
└─# wget http://ftp.us.debian.org/debian/pool/main/p/policykit-1/policykit-1_0.105-31_amd64.deb
sudo dpkg -i policykit-1_0.105-31_amd64.deb

--2025-03-02 15:48:04-- http://ftp.us.debian.org/debian/pool/main/p/policykit-1/policykit-1_0.105-31_amd64.deb
Resolving ftp.us.debian.org (ftp.us.debian.org)... 64.50.233.100, 64.50.236.52, 208.80.154.139, ...
Connecting to ftp.us.debian.org (ftp.us.debian.org)|64.50.233.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-03-02 15:48:06 ERROR 404: Not Found.

dpkg: error: cannot access archive 'policykit-1_0.105-31_amd64.deb': No such file or directory

Expected behavior

i thought cubic would be installed but didnt.

OS Information (please complete the following information):

  • OS/Distro Name: Kali Linux(Debian based ),gnome environment
  • OS Version kali-weekly/kali-linux-2025-W08-

Cubic Information (please complete the following information):

  • Cubic Version: [e.g. 2021.12.67 from the About dialog, or 2021.12-67-release from dpkg -l]
  • ISO Customizing: [e.g. ubuntu-21.10-desktop-amd64.iso]
  • Download Link: The download link for the ISO you are customizing

Screenshots

If applicable, add screenshots to help explain your problem.

Image

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions