Atualizando o Debian - Erro ao processar manpages

1

Estou atualizando do Debian 7 (Wheezy) para o 9 (Stretch).

Eu tentei:

apt-get clean
apt-get update
apt-get upgrade

Estou recebendo um erro, pois ele está tentando descompactar as páginas de trabalho.

Saída:

After this operation, 585 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.us.debian.org/debian/ stretch/main manpages all 4.10-2 [1,222 kB]
Fetched 1,222 kB in 0s (2,055 kB/s)
Reading changelogs... Done
(Reading database ... 187746 files and directories currently installed.)
Preparing to replace manpages 3.44-1 (using .../manpages_4.10-2_all.deb) ...
Unpacking replacement manpages ...
dpkg: error processing /var/cache/apt/archives/manpages_4.10-2_all.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/iconv.1.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/manpages_4.10-2_all.deb
W: Ignoring Provides line with DepCompareOp for package libapt-inst
W: Ignoring Provides line with DepCompareOp for package libapt-pkg
W: Ignoring Provides line with DepCompareOp for package libespeak-dev
W: Ignoring Provides line with DepCompareOp for package libespeak1
W: Ignoring Provides line with DepCompareOp for package libgpgme11-dev
W: Ignoring Provides line with DepCompareOp for package kodi-api-guilib
W: Ignoring Provides line with DepCompareOp for package kodi-api-pvr
W: Ignoring Provides line with DepCompareOp for package libparse-cpan-meta-perl
W: Ignoring Provides line with DepCompareOp for package libjpeg62
W: Ignoring Provides line with DepCompareOp for package lsb
W: Ignoring Provides line with DepCompareOp for package lsb-core
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pkg-config
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package sagenb-export
W: Ignoring Provides line with DepCompareOp for package sagenb-export
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu também tentei forçar:

dpkg -i --force-sobrescreve /var/cache/apt/archives/manpages_4.10-2_all.deb

(Reading database ... 187746 files and directories currently installed.)
Preparing to replace manpages 3.44-1 (using .../manpages_4.10-2_all.deb) ...
Unpacking replacement manpages ...
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man1/iconv.1.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man1/ldd.1.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man1/locale.1.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man1/localedef.1.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man1/mtrace.1.gz', which is also in package libc-dev-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man1/sprof.1.gz', which is also in package libc-dev-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man5/gai.conf.5.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man8/iconvconfig.8.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man8/ld.so.8.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man8/ldconfig.8.gz', which is also in package libc-bin 2.13-38+deb7u12
dpkg: warning: overriding problem because --force enabled:
 trying to overwrite '/usr/share/man/man8/zic.8.gz', which is also in package libc-bin 2.13-38+deb7u12
Setting up manpages (4.10-2) ...
Processing triggers for man-db ...
    
por Matt Winer 17.10.2017 / 15:55

1 resposta

2

O Debian não suporta a atualização de um pacote para outro, o que não é o "follow-up" direto.

Com relação à sua situação específica: você precisa atualizar para jessie primeiro e, depois disso, para stretch .

    
por 17.10.2017 / 15:58