Update Packages from an ISO file

Asked by Debbih Farouk

Hello everyone;

I've copied the ISO file (Ubuntu 24.04)on the desktop in order to update Packages without offline but I get this :

ouakil@M-2300859:~$ sudo apt install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package bcmwl-kernel-source
ouakil@M-2300859:~$

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu broadcom-sta Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

What do you want to update?
Which Ubuntu release is your system running?
Which version of the package bcmwl-kernel-source do you have installed on your system?
I doubt that there is any higher version of the bcmwl-kernel-source package available on the ISO file than the one that you get during initial installation.

Revision history for this message
Debbih Farouk (farok76) said :
#2

Hi Manfred;

I have Ubuntu 24.04 installed as I wanna join the domain, I have to update packages like "apt ", and because I don't have internet I copied Ubuntu ISO file on the Desktop in order to update Packages offline.

Revision history for this message
Bernard Stafford (bernard010) said :
#3
Revision history for this message
Manfred Hampl (m-hampl) said :
#4

I still do not understand what you want to "update" and how installing bcmwl-kernel-source is related to joining a domain.

For installing the broadcom sta device driver, the easiest way is:
download the file
http://archive.ubuntu.com/ubuntu/pool/restricted/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb
to a USB stick, plug that USB stick into the target system, mount it, open a terminal window and issue the following commands:

Change directory (cd) into the directory of the USB stick where the deb file is stored (probably something like /media/your_username/label_of_the_USB_stick)
Finally issue the command

sudo dpkg -i broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb

If you receive an error message, please provide the text that we can try helping further.

Revision history for this message
Debbih Farouk (farok76) said :
#5

Hi Manfred;

I have copied the downloaded file (broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb) into USB stick and execute the command "sudo dpkg -i broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb"

I got this:

ouakil@M-2300859:~$ sudo dpkg -ibroadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb
[sudo] password for ouakil:
dpkg: error: conflicting actions -b (--build) and -i (--install)

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
ouakil@M-2300859:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Typo error, there is a space character missing between the option "-i" and the file name "broadcom-..."

Revision history for this message
Debbih Farouk (farok76) said :
#7

ouakil@M-2300859:~$ sudo dpkg -i broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb
dpkg: error: cannot access archive 'broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb': No such file or directory

Revision history for this message
Debbih Farouk (farok76) said :
#8

USB stick with deb file is connected

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

You probably have not changed directory into the folder where the file is stored, have you?

Open the file explorer.
On the left hand side you should see an icon that reflects the USB stick. Click on it to mount the USB stick.

And then in the terminal window, what output do you get for
ls -l /media

Revision history for this message
Debbih Farouk (farok76) said :
#10

I changed the directory to the folder where the file is stored and I got this:
ouakil@M-2300859:/media/ouakil/045B-7C3B$

After I executed the command (sudo dpkg -i broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb) I got this:
uakil@M-2300859:/media/ouakil/045B-7C3B$ sudo dpkg -i broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb
(Reading database ... 168924 files and directories currently installed.)
Preparing to unpack broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.271-23ubuntu1) over (6.30.223.271-23ubuntu1) ...
dpkg: dependency problems prevent configuration of broadcom-sta-dkms:
 broadcom-sta-dkms depends on dkms (>= 2.1.0.0); however:
  Package dkms is not installed.

dpkg: error processing package broadcom-sta-dkms (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 broadcom-sta-dkms

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#11

Ok, this is a different kind of error message, showing that loading the broadcom package partially worked, but you need another package as a dependency.

Copy the following file to the USB stick:
https://launchpad.net/ubuntu/+archive/primary/+files/dkms_3.0.11-1ubuntu13_all.deb

Then re-do the steps to mount the USB stick on the other system and issue the commands

sudo dpkg -i dkms_3.0.11-1ubuntu13_all.deb
sudo dpkg -i broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb

and finally report the outcome.
(There may be more dependent packages that need to be installed in a similar way.)

Revision history for this message
Debbih Farouk (farok76) said :
#12

uakil@M-2300859:/media/ouakil/045B-7C3B$ sudo dpkg -i dkms_3.0.11-1ubuntu13_all.deb
[sudo] password for ouakil:
Selecting previously unselected package dkms.
(Reading database ... 168924 files and directories currently installed.)
Preparing to unpack dkms_3.0.11-1ubuntu13_all.deb ...
Unpacking dkms (3.0.11-1ubuntu13) ...
dpkg: dependency problems prevent configuration of dkms:
 dkms depends on gcc; however:
  Package gcc is not installed.
 dkms depends on gcc-13; however:
  Package gcc-13 is not installed.
 dkms depends on dpkg-dev; however:
  Package dpkg-dev is not installed.
 dkms depends on make | build-essential; however:
  Package make is not installed.
  Package build-essential is not installed.

dpkg: error processing package dkms (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
Errors were encountered while processing:
 dkms
ouakil@M-2300859:/media/ouakil/045B-7C3B$ sudo dpkg -i broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb
(Reading database ... 168948 files and directories currently installed.)
Preparing to unpack broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.271-23ubuntu1) over (6.30.223.271-23ubuntu1) ...
dpkg: dependency problems prevent configuration of broadcom-sta-dkms:
 broadcom-sta-dkms depends on dkms (>= 2.1.0.0); however:
  Package dkms is not configured yet.

dpkg: error processing package broadcom-sta-dkms (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 broadcom-sta-dkms
ouakil@M-2300859:/media/ouakil/045B-7C3B$

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

If you can connect that system to the internet in whatever manner, then these packages (and eventually some additional packages that they depend on) can be downloaded automatically.

If not, then we have to continue manually:
In the same way as before download the following packages and copy them to the USB stick, into the same directory as the other two:

https://launchpad.net/ubuntu/+archive/primary/+files/gcc_13.2.0-7ubuntu1_amd64.deb
https://launchpad.net/ubuntu/+archive/primary/+files/gcc-13_13.3.0-6ubuntu2~24.04_amd64.deb
https://launchpad.net/ubuntu/+archive/primary/+files/dpkg-dev_1.22.6ubuntu6.1_all.deb
https://launchpad.net/ubuntu/+archive/primary/+files/make_4.3-4.1build2_amd64.deb

Mount the stick at the target system and issue the commands

cd /media/ouakil/045B-7C3
sudo dpkg -i *.deb

and report the results.

Revision history for this message
Debbih Farouk (farok76) said :
#14

Good Morning Manfred,
As I told you before I have to join Domain to get Internet connection and because that I'm trying to update "apt" manually.

I downloaded the packages that you proposed and I got these after executed the command:

ouakil@M-2300859:/media/ouakil/045B-7C3B$ sudo dpkg -i *.deb
[sudo] password for ouakil:
(Reading database ... 168948 files and directories currently installed.)
Preparing to unpack broadcom-sta-dkms_6.30.223.271-23ubuntu1_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.271-23ubuntu1) over (6.30.223.271-23ubuntu1) ...
Preparing to unpack dkms_3.0.11-1ubuntu13_all.deb ...
Unpacking dkms (3.0.11-1ubuntu13) over (3.0.11-1ubuntu13) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack dpkg-dev_1.22.6ubuntu6.1_all.deb ...
Unpacking dpkg-dev (1.22.6ubuntu6.1) ...
Selecting previously unselected package gcc-13.
Preparing to unpack gcc-13_13.3.0-6ubuntu2~24.04_amd64.deb ...
Unpacking gcc-13 (13.3.0-6ubuntu2~24.04) ...
Selecting previously unselected package gcc.
Preparing to unpack gcc_13.2.0-7ubuntu1_amd64.deb ...
Unpacking gcc (4:13.2.0-7ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack make_4.3-4.1build2_amd64.deb ...
Unpacking make (4.3-4.1build2) ...
dpkg: dependency problems prevent configuration of dpkg-dev:
 dpkg-dev depends on libdpkg-perl (= 1.22.6ubuntu6.1); however:
  Package libdpkg-perl is not installed.
 dpkg-dev depends on binutils; however:
  Package binutils is not installed.
 dpkg-dev depends on lto-disabled-list; however:
  Package lto-disabled-list is not installed.

dpkg: error processing package dpkg-dev (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc-13:
 gcc-13 depends on gcc-13-x86-64-linux-gnu (= 13.3.0-6ubuntu2~24.04); however:
  Package gcc-13-x86-64-linux-gnu is not installed.
 gcc-13 depends on gcc-13-base (= 13.3.0-6ubuntu2~24.04); however:
  Version of gcc-13-base:amd64 on system is 13.2.0-23ubuntu4.
 gcc-13 depends on cpp-13 (= 13.3.0-6ubuntu2~24.04); however:
  Version of cpp-13 on system is 13.2.0-23ubuntu4.
 gcc-13 depends on binutils (>= 2.39); however:
  Package binutils is not installed.

dpkg: error processing package gcc-13 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc:
 gcc depends on gcc-13 (>= 13.2.0-11~); however:
  Package gcc-13 is not configured yet.
 gcc depends on gcc-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1); however:
  Package gcc-x86-64-linux-gnu is not installed.

dpkg: error processing package gcc (--install):
 dependency problems - leaving unconfigured
Setting up make (4.3-4.1build2) ...
dpkg: dependency problems prevent configuration of dkms:
 dkms depends on gcc; however:
  Package gcc is not configured yet.
 dkms depends on gcc-13; however:
  Package gcc-13 is not configured yet.
 dkms depends on dpkg-dev; however:
  Package dpkg-dev is not configured yet.

dpkg: error processing package dkms (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of broadcom-sta-dkms:
 broadcom-sta-dkms depends on dkms (>= 2.1.0.0); however:
  Package dkms is not configured yet.

dpkg: error processing package broadcom-sta-dkms (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
Errors were encountered while processing:
 dpkg-dev
 gcc-13
 gcc
 dkms
 broadcom-sta-dkms
ouakil@M-2300859:/media/ouakil/045B-7C3B$

Revision history for this message
Manfred Hampl (m-hampl) said :
#15
Revision history for this message
Debbih Farouk (farok76) said :
#16

ouakil@M-2300859:~$ cd '/media/ouakil/507B-3C2D'
ouakil@M-2300859:/media/ouakil/507B-3C2D$ sudo dpkg -i *.deb
[sudo] password for ouakil:
Selecting previously unselected package binutils.
(Reading database ... 169345 files and directories currently installed.)
Preparing to unpack binutils_2.42-4ubuntu2.3_amd64 (2).deb ...
Unpacking binutils (2.42-4ubuntu2.3) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack binutils-common_2.42-4ubuntu2.3_amd64 (1).deb ...
Unpacking binutils-common:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack binutils-x86-64-linux-gnu_2.42-4ubuntu2.3_amd64 (2).deb ...
Unpacking binutils-x86-64-linux-gnu (2.42-4ubuntu2.3) ...
Preparing to unpack cpp-13_13.3.0-6ubuntu2~24.04_amd64 (2).deb ...
Unpacking cpp-13 (13.3.0-6ubuntu2~24.04) over (13.2.0-23ubuntu4) ...
Preparing to unpack gcc-13-base_13.3.0-6ubuntu2~24.04_amd64 (2).deb ...
Unpacking gcc-13-base:amd64 (13.3.0-6ubuntu2~24.04) over (13.2.0-23ubuntu4) ...
Selecting previously unselected package gcc-13-x86-64-linux-gnu.
Preparing to unpack gcc-13-x86-64-linux-gnu_13.3.0-6ubuntu2~24.04_amd64.deb ...
Unpacking gcc-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ...
Selecting previously unselected package gcc-x86-64-linux-gnu.
Preparing to unpack gcc-x86-64-linux-gnu_13.2.0-7ubuntu1_amd64 (2).deb ...
Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack libdpkg-perl_1.22.6ubuntu6.1_all (2).deb ...
Unpacking libdpkg-perl (1.22.6ubuntu6.1) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack lto-disabled-list_47_all (2).deb ...
Unpacking lto-disabled-list (47) ...
dpkg: dependency problems prevent configuration of binutils:
 binutils depends on libbinutils (= 2.42-4ubuntu2.3); however:
  Package libbinutils is not installed.

dpkg: error processing package binutils (--install):
 dependency problems - leaving unconfigured
Setting up binutils-common:amd64 (2.42-4ubuntu2.3) ...
dpkg: dependency problems prevent configuration of binutils-x86-64-linux-gnu:
 binutils-x86-64-linux-gnu depends on libbinutils (= 2.42-4ubuntu2.3); however:
  Package libbinutils is not installed.
 binutils-x86-64-linux-gnu depends on libctf-nobfd0 (>= 2.36); however:
  Package libctf-nobfd0 is not installed.
 binutils-x86-64-linux-gnu depends on libctf0 (>= 2.36); however:
  Package libctf0 is not installed.
 binutils-x86-64-linux-gnu depends on libgprofng0 (>= 2.41); however:
  Package libgprofng0 is not installed.
 binutils-x86-64-linux-gnu depends on libsframe1 (>= 2.41); however:
  Package libsframe1 is not installed.

dpkg: error processing package binutils-x86-64-linux-gnu (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cpp-13:
 cpp-13 depends on cpp-13-x86-64-linux-gnu (= 13.3.0-6ubuntu2~24.04); however:
  Version of cpp-13-x86-64-linux-gnu on system is 13.2.0-23ubuntu4.

dpkg: error processing package cpp-13 (--install):
 dependency problems - leaving unconfigured
Setting up gcc-13-base:amd64 (13.3.0-6ubuntu2~24.04) ...
dpkg: dependency problems prevent configuration of gcc-13-x86-64-linux-gnu:
 gcc-13-x86-64-linux-gnu depends on cpp-13-x86-64-linux-gnu (= 13.3.0-6ubuntu2~24.04); however:
  Version of cpp-13-x86-64-linux-gnu on system is 13.2.0-23ubuntu4.
 gcc-13-x86-64-linux-gnu depends on libcc1-0 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libcc1-0 is not installed.
 gcc-13-x86-64-linux-gnu depends on binutils-x86-64-linux-gnu (>= 2.39); however:
  Package binutils-x86-64-linux-gnu is not configured yet.
 gcc-13-x86-64-linux-gnu depends on libgcc-13-dev (= 13.3.0-6ubuntu2~24.04); however:
  Package libgcc-13-dev is not installed.

dpkg: error processing package gcc-13-x86-64-linux-gnu (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc-x86-64-linux-gnu:
 gcc-x86-64-linux-gnu depends on gcc-13-x86-64-linux-gnu (>= 13.2.0-11~); however:
  Package gcc-13-x86-64-linux-gnu is not configured yet.

dpkg: error processing package gcc-x86-64-linux-gnu (--install):
 dependency problems - leaving unconfigured
Setting up libdpkg-perl (1.22.6ubuntu6.1) ...
Setting up lto-disabled-list (47) ...
Processing triggers for man-db (2.12.0-4build2) ...
Errors were encountered while processing:
 binutils
 binutils-x86-64-linux-gnu
 cpp-13
 gcc-13-x86-64-linux-gnu
 gcc-x86-64-linux-gnu
ouakil@M-2300859:/media/ouakil/507B-3C2D$

Revision history for this message
Manfred Hampl (m-hampl) said :
#17
Revision history for this message
Debbih Farouk (farok76) said :
#18

uakil@M-2300859:/media/ouakil/507B-3C2D$ sudo dpkg -i *.deb
(Reading database ... 169841 files and directories currently installed.)
Preparing to unpack cpp-13-x86-64-linux-gnu_13.3.0-6ubuntu2~24.04_amd64.deb ...
Unpacking cpp-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) over (13.2.0-23ubuntu4) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack libbinutils_2.42-4ubuntu2.3_amd64.deb ...
Unpacking libbinutils:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack libctf0_2.42-4ubuntu2.3_amd64.deb ...
Unpacking libctf0:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack libctf-nobfd0_2.42-4ubuntu2.3_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package libgcc-13-dev:amd64.
Preparing to unpack libgcc-13-dev_13.3.0-6ubuntu2~24.04_amd64.deb ...
Unpacking libgcc-13-dev:amd64 (13.3.0-6ubuntu2~24.04) ...
Selecting previously unselected package libgprofng0:amd64.
Preparing to unpack libgprofng0_2.42-4ubuntu2.3_amd64.deb ...
Unpacking libgprofng0:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package libsframe1:amd64.
Preparing to unpack libsframe1_2.42-4ubuntu2.3_amd64.deb ...
Unpacking libsframe1:amd64 (2.42-4ubuntu2.3) ...
Setting up cpp-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ...
Setting up libctf-nobfd0:amd64 (2.42-4ubuntu2.3) ...
dpkg: dependency problems prevent configuration of libgcc-13-dev:amd64:
 libgcc-13-dev:amd64 depends on libitm1 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libitm1 is not installed.
 libgcc-13-dev:amd64 depends on libasan8 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libasan8 is not installed.
 libgcc-13-dev:amd64 depends on liblsan0 (>= 13.3.0-6ubuntu2~24.04); however:
  Package liblsan0 is not installed.
 libgcc-13-dev:amd64 depends on libtsan2 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libtsan2 is not installed.
 libgcc-13-dev:amd64 depends on libubsan1 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libubsan1 is not installed.
 libgcc-13-dev:amd64 depends on libhwasan0 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libhwasan0 is not installed.
 libgcc-13-dev:amd64 depends on libquadmath0 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libquadmath0 is not installed.

dpkg: error processing package libgcc-13-dev:amd64 (--install):
 dependency problems - leaving unconfigured
Setting up libsframe1:amd64 (2.42-4ubuntu2.3) ...
Setting up libbinutils:amd64 (2.42-4ubuntu2.3) ...
Setting up libctf0:amd64 (2.42-4ubuntu2.3) ...
Setting up libgprofng0:amd64 (2.42-4ubuntu2.3) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Errors were encountered while processing:
 libgcc-13-dev:amd64
ouakil@M-2300859:/media/ouakil/507B-3C2D$

Revision history for this message
Manfred Hampl (m-hampl) said :
#19
Revision history for this message
Debbih Farouk (farok76) said :
#20

ouakil@M-2300859:~$ cd '/media/ouakil/507B-3C2D'
ouakil@M-2300859:/media/ouakil/507B-3C2D$ sudo dpkg -i *.deb
[sudo] password for ouakil:
Selecting previously unselected package libasan8:amd64.
(Reading database ... 170040 files and directories currently installed.)
Preparing to unpack libasan8_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking libasan8:amd64 (14.2.0-4ubuntu2~24.04) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack libcc1-0_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking libcc1-0:amd64 (14.2.0-4ubuntu2~24.04) ...
Selecting previously unselected package libhwasan0:amd64.
Preparing to unpack libhwasan0_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking libhwasan0:amd64 (14.2.0-4ubuntu2~24.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack libitm1_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking libitm1:amd64 (14.2.0-4ubuntu2~24.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack liblsan0_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking liblsan0:amd64 (14.2.0-4ubuntu2~24.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack libquadmath0_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking libquadmath0:amd64 (14.2.0-4ubuntu2~24.04) ...
Selecting previously unselected package libtsan2:amd64.
Preparing to unpack libtsan2_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking libtsan2:amd64 (14.2.0-4ubuntu2~24.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack libubsan1_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking libubsan1:amd64 (14.2.0-4ubuntu2~24.04) ...
dpkg: dependency problems prevent configuration of libasan8:amd64:
 libasan8:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libasan8:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libcc1-0:amd64:
 libcc1-0:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libcc1-0:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libhwasan0:amd64:
 libhwasan0:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libhwasan0:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libitm1:amd64:
 libitm1:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libitm1:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of liblsan0:amd64:
 liblsan0:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package liblsan0:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libquadmath0:amd64:
 libquadmath0:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libquadmath0:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libtsan2:amd64:
 libtsan2:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libtsan2:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libubsan1:amd64:
 libubsan1:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libubsan1:amd64 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Errors were encountered while processing:
 libasan8:amd64
 libcc1-0:amd64
 libhwasan0:amd64
 libitm1:amd64
 liblsan0:amd64
 libquadmath0:amd64
 libtsan2:amd64
 libubsan1:amd64

ouakil@M-2300859:/media/ouakil/507B-3C2D$ sudo dpkg --configure -a
Setting up cpp-13 (13.3.0-6ubuntu2~24.04) ...
dpkg: dependency problems prevent configuration of libquadmath0:amd64:
 libquadmath0:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libquadmath0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libubsan1:amd64:
 libubsan1:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libubsan1:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc-13-dev:amd64:
 libgcc-13-dev:amd64 depends on libubsan1 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libubsan1:amd64 is not configured yet.
 libgcc-13-dev:amd64 depends on libquadmath0 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libquadmath0:amd64 is not configured yet.

dpkg: error processing package libgcc-13-dev:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libhwasan0:amd64:
 libhwasan0:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libhwasan0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libasan8:amd64:
 libasan8:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libasan8:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libtsan2:amd64:
 libtsan2:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libtsan2:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libcc1-0:amd64:
 libcc1-0:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libcc1-0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of liblsan0:amd64:
 liblsan0:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package liblsan0:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libitm1:amd64:
 libitm1:amd64 depends on gcc-14-base (= 14.2.0-4ubuntu2~24.04); however:
  Version of gcc-14-base:amd64 on system is 14-20240412-0ubuntu1.

dpkg: error processing package libitm1:amd64 (--configure):
 dependency problems - leaving unconfigured
Setting up binutils-x86-64-linux-gnu (2.42-4ubuntu2.3) ...
dpkg: dependency problems prevent configuration of gcc-13-x86-64-linux-gnu:
 gcc-13-x86-64-linux-gnu depends on libcc1-0 (>= 13.3.0-6ubuntu2~24.04); however:
  Package libcc1-0:amd64 is not configured yet.
 gcc-13-x86-64-linux-gnu depends on libgcc-13-dev (= 13.3.0-6ubuntu2~24.04); however:
  Package libgcc-13-dev:amd64 is not configured yet.

dpkg: error processing package gcc-13-x86-64-linux-gnu (--configure):
 dependency problems - leaving unconfigured
Setting up binutils (2.42-4ubuntu2.3) ...
Setting up dpkg-dev (1.22.6ubuntu6.1) ...
dpkg: dependency problems prevent configuration of gcc-13:
 gcc-13 depends on gcc-13-x86-64-linux-gnu (= 13.3.0-6ubuntu2~24.04); however:
  Package gcc-13-x86-64-linux-gnu is not configured yet.

dpkg: error processing package gcc-13 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc-x86-64-linux-gnu:
 gcc-x86-64-linux-gnu depends on gcc-13-x86-64-linux-gnu (>= 13.2.0-11~); however:
  Package gcc-13-x86-64-linux-gnu is not configured yet.

dpkg: error processing package gcc-x86-64-linux-gnu (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc:
 gcc depends on gcc-13 (>= 13.2.0-11~); however:
  Package gcc-13 is not configured yet.
 gcc depends on gcc-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1); however:
  Package gcc-x86-64-linux-gnu is not configured yet.

dpkg: error processing package gcc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dkms:
 dkms depends on gcc; however:
  Package gcc is not configured yet.
 dkms depends on gcc-13; however:
  Package gcc-13 is not configured yet.

dpkg: error processing package dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of broadcom-sta-dkms:
 broadcom-sta-dkms depends on dkms (>= 2.1.0.0); however:
  Package dkms is not configured yet.

dpkg: error processing package broadcom-sta-dkms (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libquadmath0:amd64
 libubsan1:amd64
 libgcc-13-dev:amd64
 libhwasan0:amd64
 libasan8:amd64
 libtsan2:amd64
 libcc1-0:amd64
 liblsan0:amd64
 libitm1:amd64
 gcc-13-x86-64-linux-gnu
 gcc-13
 gcc-x86-64-linux-gnu
 gcc
 dkms
 broadcom-sta-dkms
ouakil@M-2300859:/media/ouakil/507B-3C2D$

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#21
Revision history for this message
Debbih Farouk (farok76) said :
#22

I think it is done

ouakil@M-2300859:/media/ouakil/507B-3C2D$ sudo dpkg -i *.deb
[sudo] password for ouakil:
Sorry, try again.
[sudo] password for ouakil:
(Reading database ... 170069 files and directories currently installed.)
Preparing to unpack gcc-14-base_14.2.0-4ubuntu2~24.04_amd64.deb ...
Unpacking gcc-14-base:amd64 (14.2.0-4ubuntu2~24.04) over (14-20240412-0ubuntu1) ...
Setting up gcc-14-base:amd64 (14.2.0-4ubuntu2~24.04) ...
ouakil@M-2300859:/media/ouakil/507B-3C2D$

(If it is done can I update or install "apt' now ?

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

Now please re-run

sudo dpkg --configure -a

and report the results.
If there is no error any more, then the broadcom WiFI device driver should now be installed.

I still do not understand what you mean by "update or install 'apt' "
The apt package was already installed and does not need an update.
What you must do is connect your system to the internet.

Revision history for this message
Debbih Farouk (farok76) said :
#24

ouakil@M-2300859:~$ sudo dpkg --configure -a
[sudo] password for ouakil:
Setting up libquadmath0:amd64 (14.2.0-4ubuntu2~24.04) ...
Setting up libubsan1:amd64 (14.2.0-4ubuntu2~24.04) ...
Setting up libhwasan0:amd64 (14.2.0-4ubuntu2~24.04) ...
Setting up libasan8:amd64 (14.2.0-4ubuntu2~24.04) ...
Setting up libtsan2:amd64 (14.2.0-4ubuntu2~24.04) ...
Setting up libcc1-0:amd64 (14.2.0-4ubuntu2~24.04) ...
Setting up liblsan0:amd64 (14.2.0-4ubuntu2~24.04) ...
Setting up libitm1:amd64 (14.2.0-4ubuntu2~24.04) ...
Setting up libgcc-13-dev:amd64 (13.3.0-6ubuntu2~24.04) ...
Setting up gcc-13-x86-64-linux-gnu (13.3.0-6ubuntu2~24.04) ...
Setting up gcc-13 (13.3.0-6ubuntu2~24.04) ...
Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
Setting up gcc (4:13.2.0-7ubuntu1) ...
Setting up dkms (3.0.11-1ubuntu13) ...
Setting up broadcom-sta-dkms (6.30.223.271-23ubuntu1) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.8.0-41-generic
Building initial module for 6.8.0-41-generic
Secure Boot not enabled on this system.
Done.

wl.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.8.0-41-generic/updates/dkms/
depmod...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
ouakil@M-2300859:~$

Revision history for this message
Debbih Farouk (farok76) said :
#25

Hello Mr Manfred;

....... ((I still do not understand what you mean by "update or install 'apt' "
The apt package was already installed and does not need an update.
What you must do is connect your system to the internet.))....

Since the beginning I couldn't join the Domain ''Al-mouradia.dz"
so How can I join it ?

Revision history for this message
Manfred Hampl (m-hampl) said :
#26

For joining an Ubuntu system to an active directory domain, just do a web search for "ubuntu join domain" or something similar and follow the instructions that are shown.

It may be necessary to install additional software packages, and as long as you cannot access the internet from your system, you will have to manually download and install the packages, in the same way as it was done with the packages required for the broadcom driver.

What output do you receive for the command
realm discover al-mouradia.dz

Revision history for this message
Debbih Farouk (farok76) said :
#27

ouakil@M-2300859:~$ realm discover al-mouradia.dz
Command 'realm' not found, but can be installed with:
sudo apt install realmd
ouakil@M-2300859:~$ sudo apt install
[sudo] password for ouakil:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libatomic1 : Depends: gcc-14-base (= 14-20240412-0ubuntu1) but 14.2.0-4ubuntu2~24.04 is installed
 libgcc-s1 : Depends: gcc-14-base (= 14-20240412-0ubuntu1) but 14.2.0-4ubuntu2~24.04 is installed
 libgomp1 : Depends: gcc-14-base (= 14-20240412-0ubuntu1) but 14.2.0-4ubuntu2~24.04 is installed
 libstdc++6 : Depends: gcc-14-base (= 14-20240412-0ubuntu1) but 14.2.0-4ubuntu2~24.04 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ouakil@M-2300859:~$ realm discover al-mouradia.dz
Command 'realm' not found, but can be installed with:
sudo apt install realmd
ouakil@M-2300859:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#28

Which output do you receive for
sudo apt update

For installing the realmd package (with the realm command), you have to transfer the file
https://launchpad.net/ubuntu/+archive/primary/+files/realmd_0.17.1-3build2_amd64.deb
to your system and install it with dpkg -i ...

This however will probably need some dependent packages installed, I guess at least
https://launchpad.net/ubuntu/+archive/primary/+files/libkrb5-3_1.20.1-6ubuntu2.2_amd64.deb
https://launchpad.net/ubuntu/+archive/primary/+files/libkrb5support0_1.20.1-6ubuntu2.2_amd64.deb
https://launchpad.net/ubuntu/+archive/primary/+files/libk5crypto3_1.20.1-6ubuntu2.2_amd64.deb

What output do you receive for "dpkg -i *.deb"?

Revision history for this message
Launchpad Janitor (janitor) said :
#29

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.