Hi Stefan,
I bypassed the problem this way:

# remove previous doc directories:
root@TONY:~/desktop$ rm -rf /usr/share/doc/pure-ftpd-common/
/usr/share/doc/pure-ftpd/

# reinstall packages:
root@TONY:~/desktop$ apt-get install pure-ftpd pure-ftpd-common

Preparativi per estrarre .../pure-ftpd-common_1.0.49-1_all.deb...
Estrazione di pure-ftpd-common (1.0.49-1) su (1.0.47-3)...
 errore nell'elaborare l'archivio
/var/cache/apt/archives/pure-ftpd-common_1.0.49-1_all.deb (--install):
 tentata sovrascrittura di "/usr/share/doc/pure-ftpd" presente anche
nel pacchetto pure-ftpd 1.0.49-1
dpkg-deb: errore: il sottoprocesso paste รจ stato terminato dal segnale
(Pipe interrotta)
Si sono verificati degli errori nell'elaborazione:
 /var/cache/apt/archives/pure-ftpd-common_1.0.49-1_all.deb

# force overwrite
 root@TONY:~/desktop$ dpkg -i --force-overwrite
/var/cache/apt/archives/pure-ftpd-common_1.0.49-1_all.deb

Configurazione di pure-ftpd-common (1.0.49-1)...

File di configurazione "/etc/pure-ftpd/pure-ftpd.conf"
 ==> Modificato (dall'utente o da uno script) dopo l'installazione.
 ==> Il distributore del pacchetto ha fornito una versione aggiornata.
   Come procedere? Le opzioni sono:
    Y o I   : installa la versione del responsabile del pacchetto
    N od O  : mantiene la versione attualmente installata
      D     : mostra le differenze tra le versioni
      Z     : avvia una shell per esaminare la situazione
 L'azione predefinita consiste nel mantenere la versione attuale.
*** pure-ftpd.conf (Y/I/N/O/D/Z) [predefinito=N] ? N
Elaborazione dei trigger per man-db (2.9.0-1)...

# now is updated
root@TONY:~/desktop$ apt-cache policy pure-ftpd pure-ftpd-common
pure-ftpd:
  Installato: 1.0.49-1
  Candidato:  1.0.49-1
  Tabella versione:
 *** 1.0.49-1 700
        700 http://debian.fastweb.it/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.47-3 500
        500 http://debian.fastweb.it/debian stable/main amd64 Packages
pure-ftpd-common:
  Installato: 1.0.49-1
  Candidato:  1.0.49-1
  Tabella versione:
 *** 1.0.49-1 700
        700 http://debian.fastweb.it/debian sid/main amd64 Packages
        700 http://debian.fastweb.it/debian sid/main i386 Packages
        100 /var/lib/dpkg/status
     1.0.47-3 500
        500 http://debian.fastweb.it/debian stable/main amd64 Packages
        500 http://debian.fastweb.it/debian stable/main i386 Packages

# test
root@TONY:~/desktop$ systemctl restart pure-ftpd
root@TONY:~/desktop$ ftp 127.0.0.1
Connected to 127.0.0.1.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 09:15. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (127.0.0.1:root):


Il giorno ven 1 nov 2019 alle ore 07:12 Stefan Hornburg (Racke)
<ra...@linuxia.de> ha scritto:
>
> On 10/31/19 8:54 AM, Antonio wrote:
> > Package: pure-ftpd
> > Version: 1.0.49-1
> > Severity: important
> >
> > Dear Maintainer,
> > there is an error on pure-ftpd-common package when I try to upgrade pure-ftp
> >
> > Preparativi per estrarre .../pure-ftpd-common_1.0.49-1_all.deb...
> > Estrazione di pure-ftpd-common (1.0.49-1) su (1.0.47-3)...
> > dpkg: errore nell'elaborare l'archivio /var/cache/apt/archives/pure-ftpd-
> > common_1.0.49-1_all.deb (--unpack):
> >  impossibile aprire "/usr/share/doc/pure-ftpd-common/README.Authentication-
> > Modules.gz.dpkg-new": File o directory non esistente
> > Si sono verificati degli errori nell'elaborazione:
> >  /var/cache/apt/archives/pure-ftpd-common_1.0.49-1_all.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > Thanks,
> > Antonio
> >
>
> Hello Antonio,
>
> I can reproduce the problem but can't explain why it happens.
> Thanks for the report.
>
> Regards
>          Racke
>
>
> --
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
>

Reply via email to