Proxy are giving me a hard time.
Why can't we have a raw field to specify the proxy we need.
Right now I can't configure the required proxy to make update work.
How can I get the following line in /etc/apt/apt.conf.d/99openmediavault-proxy:
Acquire::https::Proxy "http://<IP address>:<port>";
In the past I was manually removing the unwanted "s" from the file to make it work.
But the update seem to regenerate the file now which make the update timeout.
Here is the output of the upgrade:
Reading package lists... Done
Building dependency tree
Reading state information... Done
openmediavault is already the newest version (5.6.7-1).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 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 openmediavault (5.6.7-1) ...
Creating configuration database ...
Migrating configuration database ...
Running migration conf_5.6.0
Setting up Salt environment ...
Processing system modifications ...
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault-diskstats:
openmediavault-diskstats depends on openmediavault (>= 5.6.0); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-diskstats (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:
openmediavault-omvextrasorg depends on openmediavault (>= 5.0); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-omvextrasorg (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openmediavault
openmediavault-diskstats
openmediavault-omvextrasorg
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is there a way to comment out the regeneration of the apt proxy configuration file (99openmediavault-proxy) so I can finish this update?
It would also be nice to configure docker's proxy.
If you don't manually edit the docker configuration file to include proxy, you are not able to install Portainer (and any other containers which need to be get via a proxy).
Thanks for any useful info I will get