linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

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

Open Kaz-49 opened this issue 10 months ago • 4 comments

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

  • OS: Kubuntu
  • Version 23.04

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

Kaz-49 avatar Aug 20 '23 11:08 Kaz-49

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

Rayzeq avatar Aug 21 '23 19:08 Rayzeq

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

Kaz-49 avatar Aug 22 '23 15:08 Kaz-49

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: @.***>

lakinduakash avatar Aug 22 '23 15:08 lakinduakash

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

Kaz-49 avatar Aug 23 '23 05:08 Kaz-49