[SID - Unstable] [Solved] how to force package install from cdrom? (wpasupplicant)

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Post Reply
Message
Author
strapicarus
Posts: 46
Joined: 2022-07-20 17:55
Has thanked: 6 times
Been thanked: 6 times

[SID - Unstable] [Solved] how to force package install from cdrom? (wpasupplicant)

#1 Post by strapicarus »

Hi, i've made a mistake and remove network-manager, wpa-supplicant and others with task-* and tasksel

I try to use an debian install iso to install it but it says it is not aviable, obsolete or only aviable from another source (i have use aptcdrom ident and add after mounting the iso file). I look in packages.debian.org there are more dependencies that I would like to download through my phone, an especially complicated task.

You might be wondering how I was able to uninstall network-manager and wpasupplicant. It's simple: it bothers me to see a bunch of translations that are usually installed or updated, and even though I've tried to fix it, it's a recurring problem. So, I proceeded as usual, uninstalling the packages that require those translations, in this case, task-*, after that, apt autoremove did the trick and apt clean sealed the deal.


SOLVED downloading wpasupplicant with other device and intalling it.
Last edited by strapicarus on 2024-10-08 19:49, edited 1 time in total.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1545
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 63 times
Been thanked: 90 times

Re: [SID - Unstable] how to force package install from cdrom?

#2 Post by None1975 »

strapicarus wrote: 2024-10-08 06:37 Hi, i've made a mistake and remove network-manager, wpa-supplicant and others with task-* and tasksel
Hello.
You need to configure your network manually. Then reboot and install network manager again.

Here is tutorial.
OS: Debian 12.4 Bookworm / DE: XFCE
Debian Wiki | DontBreakDebian, My config files on github

strapicarus
Posts: 46
Joined: 2022-07-20 17:55
Has thanked: 6 times
Been thanked: 6 times

Re: [SID - Unstable] how to force package install from cdrom?

#3 Post by strapicarus »

Thanks @none1975, i've try to follow the wiki wfi howto... and modified

Code: Select all

/etc/network/interfaces
like

Code: Select all

iface wlx98... inet dhcp
    wpa-ssid HITRON-...
    wpa-psk Mypass...
then

Code: Select all

$ ifup wlx9...
Listening on LFP/wlx9.../98:3...
Sending on   LFP/w...
Sending on   Socker/fallback
DHCP on wlx9... to 255.255.255.255 port 67 interval 4
DHCP on wlx9... to 255.255.255.255 port 67 interval 11
...
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

$ iw wlx9... link
Not connected
So im stuck there, i also try to change wpa-ssid to wpa-essid and to assing a static ip wich no recieved output, just when the ip is already assing.
And rebooting the pc did not change anything.

Aki
Global Moderator
Global Moderator
Posts: 4036
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 112 times
Been thanked: 532 times

Re: [SID - Unstable] how to force package install from cdrom?

#4 Post by Aki »

Hello,

You can configure the package manager to read from the Debian installation media. You should have a commented line about the cdrom in /etc/apt/sources.list: uncomment it and update.

Note: If I read correctly the previous post, you are trying to configure a wireless connection using /etc/network/interfaces. The wireless connection (with wpa connections) cannot be established without the wpasupplicant package installed.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

strapicarus
Posts: 46
Joined: 2022-07-20 17:55
Has thanked: 6 times
Been thanked: 6 times

Re: [SID - Unstable] how to force package install from cdrom?

#5 Post by strapicarus »

Thanks @Aki, i have already try

Code: Select all

apt install wpasupplicant/networkmanager
from the cdrom but it say

Code: Select all

 
The package is not available, but another package references it. This could mean the package is missing, obsolete, or only available from another source.
The package wpasupplicant/networkmanager  has no candidate for installation
i think the configuration is ok i use aptcdrom add and the media was added to /etc/apt/sources.list, but i could be wrong. that is why i ask to force installation from the cd, i remember a -f option to force, but in man pages it is not mention.

Is there something i could try before start dowloading packages through my phone?

Aki
Global Moderator
Global Moderator
Posts: 4036
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 112 times
Been thanked: 532 times

Re: [SID - Unstable] how to force package install from cdrom?

#6 Post by Aki »

Since you are using unstable, where did you get the Debian installer cdrom for unstable (Debian does not build iso images for unstable) ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

strapicarus
Posts: 46
Joined: 2022-07-20 17:55
Has thanked: 6 times
Been thanked: 6 times

Re: [SID - Unstable] how to force package install from cdrom?

#7 Post by strapicarus »

Aki wrote: 2024-10-08 19:40 Since you are using unstable, where did you get the Debian installer cdrom for unstable (Debian does not build iso images for unstable) ?
Hi, i get from the debian page, but i think is the normal bookwork, later through sources.list changed to sid. and thanks i already resolved my problem getting the wpasupplicant through my phone and installing it to the pc.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1545
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 63 times
Been thanked: 90 times

Re: [SID - Unstable] how to force package install from cdrom?

#8 Post by None1975 »

strapicarus wrote: 2024-10-08 17:31 So im stuck ther
You were a bit hasty. You could try to do something like this: simply connect the Internet cable and configure the Internet so that the cable is used, then install the netwok manager and configure the wireless connection with its help.
OS: Debian 12.4 Bookworm / DE: XFCE
Debian Wiki | DontBreakDebian, My config files on github

strapicarus
Posts: 46
Joined: 2022-07-20 17:55
Has thanked: 6 times
Been thanked: 6 times

Re: [SID - Unstable] how to force package install from cdrom?

#9 Post by strapicarus »

None1975 wrote: 2024-10-09 11:33 You could try to do something like this: simply connect the Internet cable...
Thanks, but i did not have the simple option to connect a lan cable, but your reply put me on the right track :wink:

Post Reply