Author Topic: Debian Upgrade 9.4 auf 9.5 des aktuellen RED-Brick Images v 1.12  (Read 554 times)

Loetkolben

  • Hero Member
  • *****
  • Posts: 1.178
    • View Profile
Hallo zusammen,

ein Debian Upgrade von 9.4 auf 9.5 am 26.7.2018 auf ein frisch aufgespieltes RED-Brick Image 1.12 war nicht erfolgreich. Anbei die Anleitung in welcher Reichenfolge man das Upgrade hinbekommt.

Wuerde mich ueber ein Feedback freuen.

Danke

Der Loetkolben


Code: [Select]
apt-get update

#  Debian von 9.4 auf 9.5
apt-get upgrade

Downloading of Packages
...
Preconfiguring packages ...
(Reading database ... 204167 files and directories currently installed.)
Preparing to unpack .../base-files_9.9+deb9u5_armhf.deb ...
Unpacking base-files (9.9+deb9u5) over (9.9+deb9u4) ...
Setting up base-files (9.9+deb9u5) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 204167 files and directories currently installed.)
Preparing to unpack .../dpkg_1.18.25_armhf.deb ...
Unpacking dpkg (1.18.25) over (1.18.24) ...
Setting up dpkg (1.18.25) ...
(Reading database ... 204167 files and directories currently installed.)
Preparing to unpack .../libperl5.24_5.24.1-3+deb9u4_armhf.deb ...
Unpacking libperl5.24:armhf (5.24.1-3+deb9u4) over (5.24.1-3+deb9u3) ...
Preparing to unpack .../perl_5.24.1-3+deb9u4_armhf.deb ...
Unpacking perl (5.24.1-3+deb9u4) over (5.24.1-3+deb9u3) ...
dpkg: error processing archive /var/cache/apt/archives/perl_5.24.1-3+deb9u4_armhf.deb (--unpack):
 trying to overwrite '/usr/bin/perldoc', which is also in package perl-doc 5.24.1-3+deb9u3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../perl-base_5.24.1-3+deb9u4_armhf.deb ...
Unpacking perl-base (5.24.1-3+deb9u4) over (5.24.1-3+deb9u3) ...
Errors were encountered while processing:
 /var/cache/apt/archives/perl_5.24.1-3+deb9u4_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


# Zur "Kontrolle" nochmals ein "Upgrade"
apt-get upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libperl5.24 : Depends: perl-modules-5.24 (>= 5.24.1-3+deb9u4) but 5.24.1-3+deb9u3 is installed
 perl : Depends: perl-base (= 5.24.1-3+deb9u3) but 5.24.1-3+deb9u4 is installed
        Depends: libperl5.24 (= 5.24.1-3+deb9u3) but 5.24.1-3+deb9u4 is installed
        Recommends: rename but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


# Ein reines 'apt --fix-broken install' bringt keine Loesung. Warum das so ist, kann vielleicht ein Debian Paketmanager sagen.
# Vor dem 'apt --fix-broken install' muss man aber einige Pakete von Hand installieren. Die sind aber schon da.

cd /var/cache/apt/archives/

dpkg -i perl-base_5.24.1-3+deb9u4_armhf.deb
dpkg -i perl-modules-5.24_5.24.1-3+deb9u4_all.deb
dpkg -i perl-base_5.24.1-3+deb9u4_armhf.deb
dpkg -i perl-doc_5.24.1-3+deb9u4_all.deb

apt --fix-broken install
apt-get upgrade


# Fertig!


#  Das "recommended" Paket "rename" habe ich nicht installiert. Saehe so aus:
## wget "http://ftp.de.debian.org/debian/pool/main/r/rename/rename_0.20-4_all.deb"
## dpkg -i rename_0.20-4_all.deb