Erro enquanto o apt-clone

0

Eu recebi o seguinte erro ao restaurar um pacote apt-clone dentro de um Docker-Container (Ubuntu 12.04.5):

Errors were encountered while processing:  
resolvconf  
ubuntu-minimal  
apt-show-versions 
Error in function: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1) Traceback (most recent call last):   File "/usr/bin/apt-clone", line 96, in <module>
        clone.restore_state(args.source, args.destination)   File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 335, in restore_state
        self._restore_package_selection(statefile, targetdir, protect_installed)   File "/usr/lib/python2.7/dist-packages/apt_clone.py", line 458, in
    _restore_package_selection
        cache.commit(self.fetch_progress, self.install_progress)   File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
        return func(*args, **kwds)   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 508, in commit
        raise SystemError("installArchives() failed") SystemError: installArchives() failed

O problema parece ser que o /etc/resolve.conf não pode ser removido, porque o docker mount o vincula ao acesso garantido à rede.

Alguém pode me dar uma dica, como consertar isso?

    
por suther 07.11.2017 / 10:34

0 respostas