Tried to upgrade from ubuntu 18.04 to 20.04. 1 via command line and update manager
Getting the same problem. following are some of my command line input and their responses.
i updated all installed packages using both the update manager and also the following command line commands
sudo apt update
sudo apt list --upgradable
sudo apt upgrade
I removed all unused old kernels using the following command
sudo apt --purge autoremove
I tried reinstalling Update manager core packages using the following command
sudo apt install update-manager-core
Then i tried upgrading to ubuntu 20.04 using the following command
sudo do-release-upgrade
Following are the terminal output after some of the commands
Code:
lennoxg@lennoxg-X510UAR:~$ sudo apt --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.20) ...
Samba is not being run as an AD Domain Controller.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "restart" failed.
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-10-20 15:01:09 AST; 6ms ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 32591 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 32591 (code=exited, status=1/FAILURE)
Oct 20 15:01:09 lennoxg-X510UAR systemd[1]: Starting Samba SMB Daemon...
Oct 20 15:01:09 lennoxg-X510UAR systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 15:01:09 lennoxg-X510UAR systemd[1]: smbd.service: Failed with result 'exit-code'.
Oct 20 15:01:09 lennoxg-X510UAR systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code:
lennoxg@lennoxg-X510UAR:~$ sudo apt install update-manager-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
update-manager-core is already the newest version (1:18.04.11.13).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.20) ...
Samba is not being run as an AD Domain Controller.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "restart" failed.
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-10-20 15:02:01 AST; 5ms ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 32759 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 32759 (code=exited, status=1/FAILURE)
dpkg: error processing package samba (--configure):
installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am new to linux
I am running a dual boot consisting of windows 10 and ubuntu 18.04 on Asus Vivobook
64Bit OS
Thanks for all the help
Bookmarks