lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.04k stars 282 forks source link

Unable to install from apt repository, apt output says "Unable to locate package" #337

Open Kaz-49 opened 11 months ago

Kaz-49 commented 11 months ago

Describe the bug Trying to install lwh from the apt repository linked in README fails with error message "Unable to locate package linux-wifi-hotspot"

To Reproduce Steps to reproduce the behavior:

  1. Open Konsole on Kubuntu 23.04
  2. Follow the install for Ubuntu section in README 2.1. Execute sudo add-apt-repository ppa:lakinduakash/lwh
    Repository: 'deb https://ppa.launchpadcontent.net/lakinduakash/lwh/ubuntu/ lunar main'
    More info: https://launchpad.net/~lakinduakash/+archive/ubuntu/lwh
    Adding repository.
    Press [ENTER] to continue or Ctrl-c to cancel.
    Adding deb entry to /etc/apt/sources.list.d/lakinduakash-ubuntu-lwh-lunar.list
    Adding disabled deb-src entry to /etc/apt/sources.list.d/lakinduakash-ubuntu-lwh-lunar.list
    Adding key to /etc/apt/trusted.gpg.d/lakinduakash-ubuntu-lwh.gpg with fingerprint 0E49A504B40CA53C5D8C72B487B8838C5E2893D3
    ........
    Reading package lists... Done
    W: The repository 'http://nginx.org/packages/debian lunar Release' does not have a Release file.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: The repository 'https://ppa.launchpadcontent.net/lakinduakash/lwh/ubuntu lunar Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    . 2.2. Execute sudo apt install linux-wifi-hotspot

    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package linux-wifi-hotspot

Expected behavior sudo apt install linux-wifi-hotspot should have installed lwh instead of spitting out an error and exiting

Desktop

Additional context README also says that lwh can be installed by using the .deb file in github.com/lakinduakash/linux-wifi-hotspot/releases/latest, but the latest release doesn't have a .deb file, only the old releases have .deb files attached.

Apt search doesn't come up with any packages, so I'm led to believe that it might be a problem with the remote repo

$ apt search linux-wifi-hotspot
Sorting... Done
Full Text Search... Done
Rayzeq commented 10 months ago

Seem like the author lost access to the repository (see #280), so you have to have install the package manually

Kaz-49 commented 10 months ago

When you say manually, you mean building from source myself, I take it? I tried to build it myself but when I ran make it just spit out a bunch of errors and exited. Did you mean a different way of installing it?

Installing...
cd src && make install
make[1]: Entering directory '/home/kaz49/Downloads/tmp/linux-wifi-hotspot-4.5.0/src'
make[1]: *** No rule to make target '../build/wihotspot-gui', needed by 'install'. Stop.
make[1]: Leaving directory '/home/kaz49/Downloads/tmp/linux-wifi-hotspot-4.5.0/src'
make: *** [Makefile:9: install] Error 2
lakinduakash commented 10 months ago

Hi Kaz, Did you install all the build dependencies?

On Tue, Aug 22, 2023, 20:35 Kaz-49 @.***> wrote:

When you say manually, you mean building from source myself, I take it? I tried to build it myself but when I ran make it just spit out a bunch of errors and exited. Did you mean a different way of installing it?

Installing... cd src && make install make[1]: Entering directory '/home/kaz49/Downloads/tmp/linux-wifi-hotspot-4.5.0/src' make[1]: No rule to make target '../build/wihotspot-gui', needed by 'install'. Stop. make[1]: Leaving directory '/home/kaz49/Downloads/tmp/linux-wifi-hotspot-4.5.0/src' make: [Makefile:9: install] Error 2

— Reply to this email directly, view it on GitHub https://github.com/lakinduakash/linux-wifi-hotspot/issues/337#issuecomment-1688372104, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADA2EXLRDIFREABNPMFORBTXWTDCFANCNFSM6AAAAAA3XHIF4U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Kaz-49 commented 10 months ago

Ah, turns out I'm an idiot. Thanks mate!