Hi!
I’m trying to get Samba updated to the latest version, following this guide (EDIT: This is the wrong link I originally posted medium.com/@abjurato/using-rasp … fceecb6876 but I meant to link to this other article https://kirb.me/2018/03/24/using-samba-as-a-time-machine-network-server.html). I need Samba over 4.8 and the latest is 4.10, but the repos seem to have only 4.2 available.
Anyhoo, using apt-get seems to be impossible, as anything I try returns an error. Starting with the first command, uninstalling samba, I get this error
volumio@volumio:~$ sudo apt-get remove samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'samba' is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6 : Depends: libgcc1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
“Ah! I’ll install libgcc1, then” I thought…
[code]volumio@volumio:~$ sudo apt-get install libgcc1
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
libgcc1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/39.5 kB of archives.
After this operation, 160 kB of additional disk space will be used.
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: dependency problems prevent configuration of libc6:armhf:
libc6:armhf depends on libgcc1; however:
Package libgcc1 is not installed.
dpkg: error processing package libc6:armhf (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of multiarch-support:
multiarch-support depends on libc6 (>= 2.13-5); however:
Package libc6:armhf is not configured yet.
dpkg: error processing package multiarch-support (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:armhf
multiarch-support
E: Sub-process /usr/bin/dpkg returned an error code (1)[/code]
The suggestion of using apt-get -f install fails similarly
[code]volumio@volumio:~$ sudo apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following extra packages will be installed:
libgcc1
The following NEW packages will be installed:
libgcc1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/39.5 kB of archives.
After this operation, 160 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: dependency problems prevent configuration of libc6:armhf:
libc6:armhf depends on libgcc1; however:
Package libgcc1 is not installed.
dpkg: error processing package libc6:armhf (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of multiarch-support:
multiarch-support depends on libc6 (>= 2.13-5); however:
Package libc6:armhf is not configured yet.
dpkg: error processing package multiarch-support (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:armhf
multiarch-support
E: Sub-process /usr/bin/dpkg returned an error code (1)[/code]
Any ideas on how to proceed?
I see that samba is not installed (I think) in volumio, but that doesn’t explain why remove fails. I tried to install other packages as a test, but they also failed.
Any ideas are welcome. Thanks!