Update Packages from an ISO file
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:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#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
|
#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
|
#3 |
Revision history for this message
|
#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://
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/
Finally issue the command
sudo dpkg -i broadcom-
If you receive an error message, please provide the text that we can try helping further.
Revision history for this message
|
#5 |
Hi Manfred;
I have copied the downloaded file (broadcom-
I got this:
ouakil@M-2300859:~$ sudo dpkg -ibroadcom-
[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
|
#6 |
Typo error, there is a space character missing between the option "-i" and the file name "broadcom-..."
Revision history for this message
|
#7 |
ouakil@M-2300859:~$ sudo dpkg -i broadcom-
dpkg: error: cannot access archive 'broadcom-
Revision history for this message
|
#8 |
USB stick with deb file is connected
Revision history for this message
|
#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
|
#10 |
I changed the directory to the folder where the file is stored and I got this:
ouakil@
After I executed the command (sudo dpkg -i broadcom-
uakil@M-
(Reading database ... 168924 files and directories currently installed.)
Preparing to unpack broadcom-
Unpacking broadcom-sta-dkms (6.30.223.
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
|
#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:/
Then re-do the steps to mount the USB stick on the other system and issue the commands
sudo dpkg -i dkms_3.
sudo dpkg -i broadcom-
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
|
#12 |
uakil@M-
[sudo] password for ouakil:
Selecting previously unselected package dkms.
(Reading database ... 168924 files and directories currently installed.)
Preparing to unpack dkms_3.
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@
(Reading database ... 168948 files and directories currently installed.)
Preparing to unpack broadcom-
Unpacking broadcom-sta-dkms (6.30.223.
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@
Revision history for this message
|
#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:/
https:/
https:/
https:/
Mount the stick at the target system and issue the commands
cd /media/
sudo dpkg -i *.deb
and report the results.
Revision history for this message
|
#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@
[sudo] password for ouakil:
(Reading database ... 168948 files and directories currently installed.)
Preparing to unpack broadcom-
Unpacking broadcom-sta-dkms (6.30.223.
Preparing to unpack dkms_3.
Unpacking dkms (3.0.11-1ubuntu13) over (3.0.11-1ubuntu13) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack dpkg-dev_
Unpacking dpkg-dev (1.22.6ubuntu6.1) ...
Selecting previously unselected package gcc-13.
Preparing to unpack gcc-13_
Unpacking gcc-13 (13.3.0-
Selecting previously unselected package gcc.
Preparing to unpack gcc_13.
Unpacking gcc (4:13.2.0-7ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack make_4.
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-
Package gcc-13-
gcc-13 depends on gcc-13-base (= 13.3.0-
Version of gcc-13-base:amd64 on system is 13.2.0-23ubuntu4.
gcc-13 depends on cpp-13 (= 13.3.0-
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-
Package gcc-x86-
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@
Revision history for this message
|
#15 |
There are some additional dependencies.
Download the following files to the USB stick:
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
and proceed as before.
Revision history for this message
|
#16 |
ouakil@M-2300859:~$ cd '/media/
ouakil@
[sudo] password for ouakil:
Selecting previously unselected package binutils.
(Reading database ... 169345 files and directories currently installed.)
Preparing to unpack binutils_
Unpacking binutils (2.42-4ubuntu2.3) ...
Selecting previously unselected package binutils-
Preparing to unpack binutils-
Unpacking binutils-
Selecting previously unselected package binutils-
Preparing to unpack binutils-
Unpacking binutils-
Preparing to unpack cpp-13_
Unpacking cpp-13 (13.3.0-
Preparing to unpack gcc-13-
Unpacking gcc-13-base:amd64 (13.3.0-
Selecting previously unselected package gcc-13-
Preparing to unpack gcc-13-
Unpacking gcc-13-
Selecting previously unselected package gcc-x86-
Preparing to unpack gcc-x86-
Unpacking gcc-x86-
Selecting previously unselected package libdpkg-perl.
Preparing to unpack libdpkg-
Unpacking libdpkg-perl (1.22.6ubuntu6.1) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack lto-disabled-
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-
dpkg: dependency problems prevent configuration of binutils-
binutils-
Package libbinutils is not installed.
binutils-
Package libctf-nobfd0 is not installed.
binutils-
Package libctf0 is not installed.
binutils-
Package libgprofng0 is not installed.
binutils-
Package libsframe1 is not installed.
dpkg: error processing package binutils-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cpp-13:
cpp-13 depends on cpp-13-
Version of cpp-13-
dpkg: error processing package cpp-13 (--install):
dependency problems - leaving unconfigured
Setting up gcc-13-base:amd64 (13.3.0-
dpkg: dependency problems prevent configuration of gcc-13-
gcc-13-
Version of cpp-13-
gcc-13-
Package libcc1-0 is not installed.
gcc-13-
Package binutils-
gcc-13-
Package libgcc-13-dev is not installed.
dpkg: error processing package gcc-13-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc-x86-
gcc-x86-
Package gcc-13-
dpkg: error processing package gcc-x86-
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-
cpp-13
gcc-13-
gcc-x86-
ouakil@
Revision history for this message
|
#17 |
There are still some more packages needed, proceed as before, adding the following ones:
https:/
https:/
https:/
https:/
https:/
https:/
https:/
Let's see how far that goes.
Revision history for this message
|
#18 |
uakil@M-
(Reading database ... 169841 files and directories currently installed.)
Preparing to unpack cpp-13-
Unpacking cpp-13-
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack libbinutils_
Unpacking libbinutils:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack libctf0_
Unpacking libctf0:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package libctf-
Preparing to unpack libctf-
Unpacking libctf-nobfd0:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package libgcc-
Preparing to unpack libgcc-
Unpacking libgcc-13-dev:amd64 (13.3.0-
Selecting previously unselected package libgprofng0:amd64.
Preparing to unpack libgprofng0_
Unpacking libgprofng0:amd64 (2.42-4ubuntu2.3) ...
Selecting previously unselected package libsframe1:amd64.
Preparing to unpack libsframe1_
Unpacking libsframe1:amd64 (2.42-4ubuntu2.3) ...
Setting up cpp-13-
Setting up libctf-nobfd0:amd64 (2.42-4ubuntu2.3) ...
dpkg: dependency problems prevent configuration of libgcc-
libgcc-
Package libitm1 is not installed.
libgcc-
Package libasan8 is not installed.
libgcc-
Package liblsan0 is not installed.
libgcc-
Package libtsan2 is not installed.
libgcc-
Package libubsan1 is not installed.
libgcc-
Package libhwasan0 is not installed.
libgcc-
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-
ouakil@
Revision history for this message
|
#19 |
There is progress (although slow). You need to manually install some additional packages:
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
After the dpkg -i ... command please execute the command
sudo dpkg --configure -a
and report the results as before.
Revision history for this message
|
#20 |
ouakil@M-2300859:~$ cd '/media/
ouakil@
[sudo] password for ouakil:
Selecting previously unselected package libasan8:amd64.
(Reading database ... 170040 files and directories currently installed.)
Preparing to unpack libasan8_
Unpacking libasan8:amd64 (14.2.0-
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack libcc1-
Unpacking libcc1-0:amd64 (14.2.0-
Selecting previously unselected package libhwasan0:amd64.
Preparing to unpack libhwasan0_
Unpacking libhwasan0:amd64 (14.2.0-
Selecting previously unselected package libitm1:amd64.
Preparing to unpack libitm1_
Unpacking libitm1:amd64 (14.2.0-
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack liblsan0_
Unpacking liblsan0:amd64 (14.2.0-
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack libquadmath0_
Unpacking libquadmath0:amd64 (14.2.0-
Selecting previously unselected package libtsan2:amd64.
Preparing to unpack libtsan2_
Unpacking libtsan2:amd64 (14.2.0-
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack libubsan1_
Unpacking libubsan1:amd64 (14.2.0-
dpkg: dependency problems prevent configuration of libasan8:amd64:
libasan8:amd64 depends on gcc-14-base (= 14.2.0-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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@
Setting up cpp-13 (13.3.0-
dpkg: dependency problems prevent configuration of libquadmath0:amd64:
libquadmath0:amd64 depends on gcc-14-base (= 14.2.0-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
dpkg: error processing package libubsan1:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc-
libgcc-
Package libubsan1:amd64 is not configured yet.
libgcc-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
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-
Version of gcc-14-base:amd64 on system is 14-20240412-
dpkg: error processing package libitm1:amd64 (--configure):
dependency problems - leaving unconfigured
Setting up binutils-
dpkg: dependency problems prevent configuration of gcc-13-
gcc-13-
Package libcc1-0:amd64 is not configured yet.
gcc-13-
Package libgcc-13-dev:amd64 is not configured yet.
dpkg: error processing package gcc-13-
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-
Package gcc-13-
dpkg: error processing package gcc-13 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gcc-x86-
gcc-x86-
Package gcc-13-
dpkg: error processing package gcc-x86-
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-
Package gcc-x86-
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-
libhwasan0:amd64
libasan8:amd64
libtsan2:amd64
libcc1-0:amd64
liblsan0:amd64
libitm1:amd64
gcc-13-
gcc-13
gcc-x86-
gcc
dkms
broadcom-sta-dkms
ouakil@
Revision history for this message
|
#21 |
I hope that this is the last one missing:
https:/
Revision history for this message
|
#22 |
I think it is done
ouakil@
[sudo] password for ouakil:
Sorry, try again.
[sudo] password for ouakil:
(Reading database ... 170069 files and directories currently installed.)
Preparing to unpack gcc-14-
Unpacking gcc-14-base:amd64 (14.2.0-
Setting up gcc-14-base:amd64 (14.2.0-
ouakil@
(If it is done can I update or install "apt' now ?
Revision history for this message
|
#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
|
#24 |
ouakil@M-2300859:~$ sudo dpkg --configure -a
[sudo] password for ouakil:
Setting up libquadmath0:amd64 (14.2.0-
Setting up libubsan1:amd64 (14.2.0-
Setting up libhwasan0:amd64 (14.2.0-
Setting up libasan8:amd64 (14.2.0-
Setting up libtsan2:amd64 (14.2.0-
Setting up libcc1-0:amd64 (14.2.0-
Setting up liblsan0:amd64 (14.2.0-
Setting up libitm1:amd64 (14.2.0-
Setting up libgcc-13-dev:amd64 (13.3.0-
Setting up gcc-13-
Setting up gcc-13 (13.3.0-
Setting up gcc-x86-
Setting up gcc (4:13.2.0-7ubuntu1) ...
Setting up dkms (3.0.11-1ubuntu13) ...
Setting up broadcom-sta-dkms (6.30.223.
Loading new broadcom-
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/
depmod...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
ouakil@M-2300859:~$
Revision history for this message
|
#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
|
#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
|
#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-
libgcc-s1 : Depends: gcc-14-base (= 14-20240412-
libgomp1 : Depends: gcc-14-base (= 14-20240412-
libstdc++6 : Depends: gcc-14-base (= 14-20240412-
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
|
#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:/
to your system and install it with dpkg -i ...
This however will probably need some dependent packages installed, I guess at least
https:/
https:/
https:/
What output do you receive for "dpkg -i *.deb"?
Revision history for this message
|
#29 |
This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.
Revision history for this message
|
#30 |
ouakil@
dpkg: error: requested operation requires superuser privilege
Revision history for this message
|
#31 |
You need to start dpkg with admin privileges.
sudo dpkg -i *.deb
Revision history for this message
|
#32 |
ouakil@
[sudo] password for ouakil:
(Reading database ... 170069 files and directories currently installed.)
Preparing to unpack libk5crypto3_
Unpacking libk5crypto3:amd64 (1.20.1-6ubuntu2.2) over (1.20.1-6ubuntu2.1) ...
Preparing to unpack libkrb5-
Unpacking libkrb5-3:amd64 (1.20.1-6ubuntu2.2) over (1.20.1-6ubuntu2.1) ...
Preparing to unpack libkrb5support0
Unpacking libkrb5support0
Selecting previously unselected package realmd.
Preparing to unpack realmd_
Unpacking realmd (0.17.1-3build2) ...
Setting up libkrb5support0
Setting up libk5crypto3:amd64 (1.20.1-6ubuntu2.2) ...
Setting up libkrb5-3:amd64 (1.20.1-6ubuntu2.2) ...
Setting up realmd (0.17.1-3build2) ...
realmd.service is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Processing triggers for dbus (1.14.10-
Processing triggers for man-db (2.12.0-4build2) ...
ouakil@
Ign:1 http://
Ign:2 http://
Ign:3 http://
Ign:4 http://
Ign:2 http://
Ign:1 http://
Ign:3 http://
Ign:4 http://
Ign:2 http://
Ign:1 http://
Ign:3 http://
Ign:4 http://
Err:2 http://
Temporary failure resolving 'archive.
Err:1 http://
Temporary failure resolving 'security.
Err:3 http://
Temporary failure resolving 'archive.
Err:4 http://
Temporary failure resolving 'archive.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead
Revision history for this message
|
#33 |
It seems that you now have the realmd package successfully installed. Now try using it to join the domain.
What output do you receive for the command
realm discover al-mouradia.dz
Revision history for this message
|
#34 |
ouakil@
realm: No such realm found: al-mouradia.dz
Revision history for this message
|
#35 |
I tried this command too
uakil@M-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
realmd is already the newest version (0.17.1-3build2).
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-
libgcc-s1 : Depends: gcc-14-base (= 14-20240412-
libgomp1 : Depends: gcc-14-base (= 14-20240412-
libgssapi-krb5-2 : Depends: libkrb5-3 (= 1.20.1-6ubuntu2.1) but 1.20.1-6ubuntu2.2 is to be installed
libstdc++6 : Depends: gcc-14-base (= 14-20240412-
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)
Revision history for this message
|
#36 |
Is the system connected to the local network (via cable or WLAN)?
Do you have an IP address?
What output do you receive for
realm discover
realm discover -a
Revision history for this message
|
#37 |
ouakil@M-2300859:~$ realm discover -a
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: AL-MOURADIA.DZ
configured: no
server-software: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
required-package: libpam-sss
required-package: adcli
required-package: samba-common-bin
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
server-software: active-directory
client-software: winbind
required-package: libnss-winbind
required-package: winbind
required-package: libpam-winbind
required-package: samba-common-bin
al-mouradia.dz
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
ouakil@M-2300859:~$
Revision history for this message
|
#38 |
This looks good, the domain is found. Now try joining it.
realm join
etc.
Revision history for this message
|
#39 |
ouakil@M-2300859:~$ realm join al-mouradia.dz
Password for Administrator:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages have unmet dependencies:
libgomp1: Depends: gcc-14-base (= 14-20240412-
libgssapi-krb5-2: Depends: libkrb5-3 (= 1.20.1-6ubuntu2.1) but 1.20.1-6ubuntu2.2 is installed
libstdc++6: Depends: gcc-14-base (= 14-20240412-
libatomic1: Depends: gcc-14-base (= 14-20240412-
libgcc-s1: Depends: gcc-14-base (= 14-20240412-
ouakil@M-2300859:~$
Revision history for this message
|
#40 |
I've got an admin password authentication without getting my active directory Username and password
I don't know if I'm connected to the active directory
can I enter to the server like Windows "\\al-mouradia.dz" to confirm that I'm connected
Revision history for this message
|
#41 |
See the man pages for the realm command.
You probably have to add the "--user=
Revision history for this message
|
#42 |
ouakil@M-2300859:~$ sudo realm join -U f.debbih Al-mouradia.dz
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages have unmet dependencies:
libgomp1: Depends: gcc-14-base (= 14-20240412-
libgssapi-krb5-2: Depends: libkrb5-3 (= 1.20.1-6ubuntu2.1) but 1.20.1-6ubuntu2.2 is installed
libstdc++6: Depends: gcc-14-base (= 14-20240412-
libatomic1: Depends: gcc-14-base (= 14-20240412-
libgcc-s1: Depends: gcc-14-base (= 14-20240412-
ouakil@M-2300859:~$
Revision history for this message
|
#43 |
It seems that you need to install some package with a different version:
Try the same procedure as before with the following packages
https:/
https:/
https:/
https:/
https:/
Revision history for this message
|
#44 |
ouakil@
[sudo] password for ouakil:
(Reading database ... 170120 files and directories currently installed.)
Preparing to unpack libatomic1_
Unpacking libatomic1:amd64 (14.2.0-
Preparing to unpack libgcc-
Unpacking libgcc-s1:amd64 (14.2.0-
Preparing to unpack libgomp1_
Unpacking libgomp1:amd64 (14.2.0-
Preparing to unpack libgssapi-
Unpacking libgssapi-
Preparing to unpack libstdc+
Unpacking libstdc++6:amd64 (14.2.0-
Setting up libatomic1:amd64 (14.2.0-
Setting up libgcc-s1:amd64 (14.2.0-
Setting up libgomp1:amd64 (14.2.0-
Setting up libgssapi-
Setting up libstdc++6:amd64 (14.2.0-
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
ouakil@
cd..: command not found
ouakil@
ouakil@M-2300859:~$ sudo realm join -U f.debbih al-mouradia.dz
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd-tools adcli
ouakil@M-2300859:~$
Revision history for this message
|
#46 |
uakil@M-
[sudo] password for ouakil:
Selecting previously unselected package adcli.
(Reading database ... 170120 files and directories currently installed.)
Preparing to unpack adcli_0.
Unpacking adcli (0.9.2-1ubuntu2) ...
Selecting previously unselected package sssd-tools.
Preparing to unpack sssd-tools_
Unpacking sssd-tools (2.9.4-
Setting up adcli (0.9.2-1ubuntu2) ...
dpkg: dependency problems prevent configuration of sssd-tools:
sssd-tools depends on sssd-common (= 2.9.4-1.
Version of sssd-common on system is 2.9.4-1.1ubuntu6.1.
dpkg: error processing package sssd-tools (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
Errors were encountered while processing:
ouakil@
realm: No such realm found
ouakil@
ouakil@M-2300859:~$ sudo realm join f.debbih al-mouradia.dz
realm: Specify one realm to join
ouakil@M-2300859:~$
Revision history for this message
|
#47 |
It seems you need a different version of another package
https:/
"realm: No such realm found"
The "realm discover" command shows the realm name in capital characters, so you should use "AL-MOURADIA.DZ" for the realm parameter in the join command.
Revision history for this message
|
#48 |
uakil@M-
[sudo] password for ouakil:
(Reading database ... 170171 files and directories currently installed.)
Preparing to unpack adcli_0.
Unpacking adcli (0.9.2-1ubuntu2) over (0.9.2-1ubuntu2) ...
Preparing to unpack sssd-common_
Unpacking sssd-common (2.9.4-
Preparing to unpack sssd-tools_
Unpacking sssd-tools (2.9.4-
Setting up adcli (0.9.2-1ubuntu2) ...
dpkg: dependency problems prevent configuration of sssd-common:
sssd-common depends on libnss-sss (= 2.9.4-1.
Version of libnss-sss:amd64 on system is 2.9.4-1.1ubuntu6.1.
sssd-common depends on libpam-sss (= 2.9.4-1.
Version of libpam-sss:amd64 on system is 2.9.4-1.1ubuntu6.1.
dpkg: error processing package sssd-common (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sssd-tools:
sssd-tools depends on sssd-common (= 2.9.4-1.
Package sssd-common is not configured yet.
dpkg: error processing package sssd-tools (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
Errors were encountered while processing:
sssd-common
sssd-tools
ouakil@
Password for f.febbih:
* Installing necessary packages: sssd-tools
See: journalctl REALMD_
realm: Couldn't join realm: The following packages have unmet dependencies:
sssd-common: Depends: libnss-sss (= 2.9.4-1.1ubuntu6.2) but 2.9.4-1.1ubuntu6.1 is to be installed
ouakil@
Revision history for this message
|
#50 |
ouakil@
Password for f.debbih:
* Installing necessary packages: sssd-tools
See: journalctl REALMD_
realm: Couldn't join realm: Failed to join the domain
ouakil@
Revision history for this message
|
#51 |
Ok. It seems that all packages are now installed. The error must be something else.
What output do you receive for the diagnostic command that is shown in the message?
journalctl REALMD_
Revision history for this message
|
#52 |
uakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd
ouakil@M-2300859:~$ sudo realmd join -U f.debbih AL-MOURADIA.DZ
sudo: realmd: command not found
ouakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd
ouakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd
ouakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd
ouakil@M-2300859:~$
Revision history for this message
|
#53 |
I noticed that each time I tape realm command I get a different Operation code even If I write a wrong password of my Active directory account ..
Should I install another version of Ubuntu or update packages through internet connection ?
Revision history for this message
|
#54 |
"The following packages are not available for installation: sssd"
You probably also need to install https:/
The numbers in the message are a time code that helps identifying all messages that belong to a certain event.
Revision history for this message
|
#55 |
uakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd
ouakil@M-2300859:~$ sudo realmd join -U f.debbih AL-MOURADIA.DZ
sudo: realmd: command not found
ouakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd
ouakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd
ouakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
Password for f.debbih:
See: journalctl REALMD_
realm: Couldn't join realm: The following packages are not available for installation: sssd
ouakil@M-2300859:~$
Revision history for this message
|
#56 |
Did you install the sssd package?
Revision history for this message
|
#57 |
I installed only the packages (*.deb) you gave me since the beginning
Revision history for this message
|
#59 |
I mentioned the sssd package in comment #54
Revision history for this message
|
#61 |
uakil@M-
[sudo] password for ouakil:
(Reading database ... 170128 files and directories currently installed.)
Preparing to unpack sssd_2.
Unpacking sssd (2.9.4-
dpkg: dependency problems prevent configuration of sssd:
sssd depends on python3-sss (= 2.9.4-1.
Version of python3-sss on system is 2.9.4-1.1ubuntu6.1.
sssd depends on sssd-ad (= 2.9.4-1.
Package sssd-ad is not installed.
sssd depends on sssd-ipa (= 2.9.4-1.
Package sssd-ipa is not installed.
sssd depends on sssd-krb5 (= 2.9.4-1.
Package sssd-krb5 is not installed.
sssd depends on sssd-ldap (= 2.9.4-1.
Package sssd-ldap is not installed.
sssd depends on sssd-proxy (= 2.9.4-1.
Package sssd-proxy is not installed.
dpkg: error processing package sssd (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
sssd
ouakil@
Revision history for this message
|
#62 |
ok, more packages needed
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
Revision history for this message
|
#63 |
uakil@M-
[sudo] password for ouakil:
(Reading database ... 170128 files and directories currently installed.)
Preparing to unpack python3-
Unpacking python3-sss (2.9.4-
Selecting previously unselected package sssd-ad.
Preparing to unpack sssd-ad_
Unpacking sssd-ad (2.9.4-
Selecting previously unselected package sssd-ad-common.
Preparing to unpack sssd-ad-
Unpacking sssd-ad-common (2.9.4-
Selecting previously unselected package sssd-ipa.
Preparing to unpack sssd-ipa_
Unpacking sssd-ipa (2.9.4-
Selecting previously unselected package sssd-krb5.
Preparing to unpack sssd-krb5_
Unpacking sssd-krb5 (2.9.4-
Selecting previously unselected package sssd-krb5-common.
Preparing to unpack sssd-krb5-
Unpacking sssd-krb5-common (2.9.4-
Selecting previously unselected package sssd-ldap.
Preparing to unpack sssd-ldap_
Unpacking sssd-ldap (2.9.4-
Selecting previously unselected package sssd-proxy.
Preparing to unpack sssd-proxy_
Unpacking sssd-proxy (2.9.4-
Setting up python3-sss (2.9.4-
dpkg: dependency problems prevent configuration of sssd-ad:
sssd-ad depends on libsss-idmap0 (= 2.9.4-1.
Version of libsss-idmap0 on system is 2.9.4-1.1ubuntu6.1.
dpkg: error processing package sssd-ad (--install):
dependency problems - leaving unconfigured
Setting up sssd-ad-common (2.9.4-
sssd-pac.service is a disabled or a static unit not running, not starting it.
Could not execute systemctl: at /usr/bin/
dpkg: dependency problems prevent configuration of sssd-ipa:
sssd-ipa depends on libipa-hbac0t64 (= 2.9.4-1.
Version of libipa-hbac0t64 on system is 2.9.4-1.1ubuntu6.1.
sssd-ipa depends on libsss-idmap0 (= 2.9.4-1.
Version of libsss-idmap0 on system is 2.9.4-1.1ubuntu6.1.
dpkg: error processing package sssd-ipa (--install):
dependency problems - leaving unconfigured
Setting up sssd-krb5-common (2.9.4-
dpkg: dependency problems prevent configuration of sssd-ldap:
sssd-ldap depends on libsss-idmap0 (= 2.9.4-1.
Version of libsss-idmap0 on system is 2.9.4-1.1ubuntu6.1.
dpkg: error processing package sssd-ldap (--install):
dependency problems - leaving unconfigured
Setting up sssd-proxy (2.9.4-
Setting up sssd-krb5 (2.9.4-
Processing triggers for man-db (2.12.0-4build2) ...
Errors were encountered while processing:
sssd-ad
sssd-ipa
sssd-ldap
ouakil@
ouakil@M-2300859:~$ realm join -U F.debbih AL-MOURADIA.DZ
realm: No such realm found
ouakil@M-2300859:~$ sudo realm join -U f.debbih AL-MOURADIA.DZ
realm: No such realm found
ouakil@M-2300859:~$
Revision history for this message
|
#65 |
Ouakil@
[sudo] password for ouakil:
(Reading database ... 170171 files and directories currently installed.)
Preparing to unpack libipa-
Unpacking libipa-hbac0t64 (2.9.4-
Preparing to unpack libsss-
Unpacking libsss-idmap0 (2.9.4-
Setting up libipa-hbac0t64 (2.9.4-
Setting up libsss-idmap0 (2.9.4-
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
ouakil@
realm: No such realm found
ouakil@
realm: No such realm found
ouakil@
ouakil@M-2300859:~$ realm join -U f.debbih AL-MOURADIA.DZ
realm: No such realm found
ouakil@M-2300859:~$
Revision history for this message
|
#66 |
If you see the message "No such realm found", then the name of the realm that has been given in the command was wrong.
Try again to list the available realm(s) with the command
realm discover
Revision history for this message
|
#67 |
ouakil@M-2300859:~$ realm discover
realm: No default realm discovered
Revision history for this message
|
#68 |
Is your system connected to the network?
Try again with
realm discover -a
Revision history for this message
|
#69 |
Ouakil@M-2300859:~$ realm discover -a
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: AL-MOURADIA.DZ
configured: no
server-software: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
required-package: libpam-sss
required-package: adcli
required-package: samba-common-bin
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
server-software: active-directory
client-software: winbind
required-package: libnss-winbind
required-package: winbind
required-package: libpam-winbind
required-package: samba-common-bin
al-mouradia.dz
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
ouakil@M-2300859:~$ realm join -U f.debbih Al-MOURADIA.DZ
Password for f.debbih:
* Installing necessary packages: sssd
ouakil@M-2300859:~$
Revision history for this message
|
#70 |
Is that means I'm connected to Active directory ?
Revision history for this message
|
#71 |
There is no error message at the last command any more, so I assume that you have finally joined the AD domain.
The command
realm list
should confirm that.
Revision history for this message
|
#72 |
uakil@M-2300859:~$ sudo realm list
[sudo] password for ouakil:
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: kerberos-member
server-software: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
required-package: libpam-sss
required-package: adcli
required-package: samba-common-bin
login-formats: %<email address hidden>
login-policy: allow-realm-logins
ouakil@M-2300859:~$
Revision history for this message
|
#73 |
I think that the machine is connected to active directory but I can not access to my acount
User name : <email address hidden>
Password : my AD password
so after 2 or 3 minutes of connecting ring I get the message
"Sorry, password authentication didn't work. Please try again"
Revision history for this message
|
#74 |
What exactly do you want to do?
What do you mean with "access to my acount"
Are you already able to access the internet from your Ubuntu system?
Revision history for this message
|
#75 |
I have to access to my acount Active Directory (<email address hidden>) but I can not
Revision history for this message
|
#76 |
I get the message (Sorry, password authentication didn't work. Please try again)
Revision history for this message
|
#77 |
In what sense do you want to "access the account"?
Send an e-mail to ..., or log in to Ubuntu using that username and password, or ...?
Repeating my question:
Are you already able to access the internet from your Ubuntu system?
Revision history for this message
|
#78 |
I want to access to my AD account inorder to send and recieve Emails, get the internet and other tasks
For your question : no I don't have Internet yet
So I have to login my AD account (<email address hidden>)
Revision history for this message
|
#79 |
What we have achieved so far is installing the required software and joining your computer to the domain.
If you want to log in with your AD user-ID, then this is something new.
This requires configuring your system to make that work.
For instructions see e.g. https:/
Revision history for this message
|
#80 |
I followed the steps given in the link you sent (https:/
ouakil@M-2300859:~$ sudo apt install sssd-ad sssd-tools realmd adcli
[sudo] password for ouakil:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
sssd-ad is already the newest version (2.9.4-
sssd-tools is already the newest version (2.9.4-
realmd is already the newest version (0.17.1-3build2).
adcli is already the newest version (0.9.2-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ouakil@M-2300859:~$ sudo realm -v discover AL-MOURADIA.DZ
* Resolving: _ldap._
* Performing LDAP DSE lookup on: 10.31.10.85
* Successfully discovered: AL-MOURADIA.DZ
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: kerberos-member
server-software: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
required-package: libpam-sss
required-package: adcli
required-package: samba-common-bin
login-formats: %<email address hidden>
login-policy: allow-realm-logins
al-mouradia.dz
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
ouakil@M-2300859:~$ sudo realm join AL-MOURADIA.DZ
realm: Already joined to this domain
ouakil@M-2300859:~$ sudo realm join -v AL-MOURADIA.DZ
* Resolving: _ldap._
* Performing LDAP DSE lookup on: 10.31.10.83
* Performing LDAP DSE lookup on: 10.31.10.84
* Successfully discovered: AL-MOURADIA.DZ
realm: Already joined to this domain
ouakil@M-2300859:~$ sudo pam-auth-update --enable mkhomedir
ouakil@M-2300859:~$ getent passwd <email address hidden>
<email address hidden>
ouakil@M-2300859:~$ groups f
groups: ‘f’: no such user
ouakil@M-2300859:~$ groups <email address hidden>
<email address hidden> : utilisa. du <email address hidden> <email address hidden> <email address hidden> <email address hidden> <email address hidden> <email address hidden> <email address hidden> <email address hidden> help <email address hidden> <email address hidden> ws <email address hidden> <email address hidden>
ouakil@M-2300859:~$ sudo login
M-2300859 login: <email address hidden>
Password:
System error
ouakil@M-2300859:~$ sudo login
M-2300859 login: <email address hidden>
Password:
Authentication service cannot retrieve authentication info
ouakil@M-2300859:~$ ssh <email address hidden>
ssh: connect to host al-mouradia.dz port 22: Connection refused
ouakil@M-2300859:~$
Revision history for this message
|
#81 |
Did you check /etc/sssd/sssd.conf for any modification that may be required,?
Revision history for this message
|
#82 |
I opened SSSD.conf in Terminal and I got this ;
[sssd]
domains = AL-MOURADIA.DZ
config_file_version = 2
services = nss, pam
[domain/
default_shell = /bin/bash
krb5_store_
cache_credentials = True
krb5_realm = AL-MOURADIA.DZ
realmd_tags = manages-system joined-with-adcli
id_provider = ad
fallback_homedir = /home/%u@%d
ad_domain = AL-MOURADIA.DZ
use_fully_
ldap_id_mapping = True
access_provider = ad
Revision history for this message
|
#83 |
What modifications I have to check ?
Revision history for this message
|
#84 |
You should ask the domain administrator of your domain, if there are any special settings required.
There is a "known issue" paragraph in https:/
I do not know whether this is relevant on your system.
Furthermore I recommend checking the log files on your systems, whether there is any additional information that may help finding the cause for the inability to log in with the AD user-ID.
Revision history for this message
|
#85 |
hello Mr Manfred,
Sorry for my late answer, I tried to find a solution on the net as I tried some solutions but dont work, but I succeeded to join and login with my AD user ID (<email address hidden>) in our second network which is Intranet network called (RIASSA.DZ)
Revision history for this message
|
#86 |
ouakil@M-2300859:~$ realm discover -a
RIASSA.DZ
type: kerberos
realm-name: RIASSA.DZ
domain-name: RIASSA.DZ
configured: no
server-software: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
required-package: libpam-sss
required-package: adcli
required-package: samba-common-bin
RIASSA.DZ
type: kerberos
realm-name: RIASSA.DZ
domain-name: riassa.dz
configured: no
server-software: active-directory
client-software: winbind
required-package: libnss-winbind
required-package: winbind
required-package: libpam-winbind
required-package: samba-common-bin
riassa.dz
type: kerberos
realm-name: RIASSA.DZ
domain-name: riassa.dz
configured: no
ouakil@M-2300859:~$ realm join -U <email address hidden>
Password for <email address hidden>:
ouakil@M-2300859:~$ sudo login
[sudo] password for ouakil:
Sorry, try again.
[sudo] password for ouakil:
M-2300859 login: <email address hidden>
Password:
Welcome to Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-41-generic x86_64)
* Documentation: https:/
* Management: https:/
* Support: https:/
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https:/
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Failed to connect to https:/
<email address hidden>
<email address hidden>
Password for <email address hidden>:
<email address hidden>
Revision history for this message
|
#87 |
but when I return to our Internet Network (Al-mouradia.dz) I get this :
ouakil@M-2300859:~$ realm discover -a
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: AL-MOURADIA.DZ
configured: no
server-software: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
required-package: libpam-sss
required-package: adcli
required-package: samba-common-bin
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
server-software: active-directory
client-software: winbind
required-package: libnss-winbind
required-package: winbind
required-package: libpam-winbind
required-package: samba-common-bin
al-mouradia.dz
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
ouakil@M-2300859:~$ realm join -U <email address hidden>
Password for <email address hidden>:
ouakil@M-2300859:~$ sudo login
[sudo] password for ouakil:
M-2300859 login: <email address hidden>
Password:
-((((Waiting takes approximately 02 minutes ))))-
System error
ouakil@M-2300859:~$ sudo login
M-2300859 login: <email address hidden>
Password:
-((((Waiting takes approximately 02 minutes ))))-
Authentication service cannot retrieve authentication info
ouakil@M-2300859:~$
Revision history for this message
|
#88 |
but when I return to our Internet Network (Al-mouradia.dz) I get this :
ouakil@M-2300859:~$ realm discover -a
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: AL-MOURADIA.DZ
configured: no
server-software: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
required-package: libpam-sss
required-package: adcli
required-package: samba-common-bin
AL-MOURADIA.DZ
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
server-software: active-directory
client-software: winbind
required-package: libnss-winbind
required-package: winbind
required-package: libpam-winbind
required-package: samba-common-bin
al-mouradia.dz
type: kerberos
realm-name: AL-MOURADIA.DZ
domain-name: al-mouradia.dz
configured: no
ouakil@M-2300859:~$ realm join -U <email address hidden>
Password for <email address hidden>:
ouakil@M-2300859:~$ sudo login
[sudo] password for ouakil:
M-2300859 login: <email address hidden>
Password:
-((((Waiting takes approximately 02 minutes ))))-
System error
ouakil@M-2300859:~$ sudo login
M-2300859 login: <email address hidden>
Password:
-((((Waiting takes approximately 02 minutes ))))-
Authentication service cannot retrieve authentication info
ouakil@M-2300859:~$
Revision history for this message
|
#89 |
I am sorry, but I cannot help further. I do not have experience with AD domains myself.
Just one remark:
If logging in to one domain works, but not the other one, then this can be caused by some different settings on the AD domains and can be independent from the Ubuntu system as such.
Can you investigate with the domain admins of AL-MOURADIA.DZ whether they see any error messages on their side when your login attempt fails?
Can you check whether there are any different settings in the domain parameters between the two domains?
Can you help with this problem?
Provide an answer of your own, or ask Debbih Farouk for more information if necessary.