linutil icon indicating copy to clipboard operation
linutil copied to clipboard

[Bug]: Unsupported package manager: apt-get on Debian

Open rahuljangirwork opened this issue 3 months ago • 9 comments

Distribution

Debian

Specify Distribution (if "Other" selected)

debain12-void-linux

Desktop Environment / Window Manager

Other

Specify Desktop Environment/Window Manager (if "Other" selected)

dwm-titus

Windowing System

X11

Linutil Version

25.9.9

Branch

main

Specify Branch (if "Other" selected)

No response

Describe the bug

LinUtil fails with "Unsupported package manager: apt-get" on Debian systems

Image

Steps to reproduce

  1. Run LinUtil on Debian-based system (Debian 12 "Bookworm")
  2. Navigate to "System Setup"
  3. Select any setup option that requires package management
  4. LinUtil detects system as:
    • System architecture: x86_64
    • Using systemctl to interact with init system
    • Using sudo for privilege escalation
    • Using apt-get as package manager
    • Super user group sudo
    • Setting up Xorg
  5. Error appears: "Unsupported package manager: apt-get"
  6. Process fails with "FAILED! Press <ENTER> to close this window"

Expected behavior

LinUtil should recognize and support apt-get as a valid package manager on Debian-based systems, or automatically detect and use apt instead. The package management operations should proceed normally without errors.

Debian systems commonly use both apt and apt-get commands, and LinUtil should support both or gracefully handle the detection.

Additional context

System Information:

  • OS: Debian 12 "Bookworm"
  • Architecture: x86_64
  • Package Manager: apt-get/apt (both available)
  • Init System: systemd
  • LinUtil Version: 25.9.9

Environment Details:

  • Both apt and apt-get commands are available and functional
  • System has standard Debian package management setup
  • No custom package manager configurations
  • Standard sudo setup

Error Message:

Screenshots

Image

Checklist

  • [x] I checked for duplicate issues.
  • [x] I checked existing discussions.
  • [x] This issue is not included in the roadmap.
  • [x] This issue is present on both stable and development branches.

rahuljangirwork avatar Sep 18 '25 16:09 rahuljangirwork

The dwmtitus script looks to only support arch. That should probably be added as a precondition.

lj3954 avatar Oct 07 '25 18:10 lj3954

The dwmtitus script looks to only support arch. That should probably be added as a precondition.

i don't think the issue is about it though. it's about "any setup option that requires package management" so yeah and dwm-titus preconditions are a whole other thing, of course

koibtw avatar Oct 07 '25 18:10 koibtw

@rahuljangirwork what scripts exactly does this affect?

koibtw avatar Oct 07 '25 18:10 koibtw

The scope of this issue is almost certainly overstated. This should not be a possible issue for all scripts involving package management.

lj3954 avatar Oct 07 '25 18:10 lj3954

not saying it is

koibtw avatar Oct 07 '25 18:10 koibtw

looking through the code, apt-get should work for each script in system setup. can you specify the exact script that gave you this error?

namato1 avatar Oct 15 '25 02:10 namato1

I got this same error when trying to install dwm-titus on Debian 13 via linutil

AnaZuida avatar Oct 23 '25 18:10 AnaZuida

@adamperkowski @ChrisTitusTech, I think it may make sense to move the DWM-Titus to the System Setup folder under Arch. If enough people are looking for a DWM-Debian setup, we can look into something similar

namato1 avatar Oct 23 '25 23:10 namato1

I have also the same issue when I'm trying to install dwm-titus on ubuntu 24 LTS. error is saying that nala is unsupported package manager

Zabor23 avatar Nov 25 '25 14:11 Zabor23