loip104
Goto Top

Server defekt nach austausch Funktioniert apt-get nicht mehr

Hallo,

Heute Morgen , enteckte ich das mein Server nicht mehr reagierte,
Also Fix Monitoring eingeschalten
und nach einem Eingriff war er wieder Online (CPU defekt)


Nur leider kann ich nun nichts mehr installieren oder Löschen

Hier ein Log von
 apt-get update && apt-get upgrade
Hit http://debian.mirrors.ovh.net wheezy Release.gpg
Hit http://debian.mirrors.ovh.net wheezy Release
Hit http://webmin.mirror.somersettechsolutions.co.uk sarge Release.gpg
Hit http://packages.dotdeb.org wheezy-php55 Release.gpg
Hit http://webmin.mirror.somersettechsolutions.co.uk sarge Release
Hit http://packages.dotdeb.org wheezy-php55 Release
Hit http://ftp.debian.org experimental Release.gpg
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://debian.mirrors.ovh.net wheezy/main Sources
Hit http://ftp.debian.org sid Release.gpg
Hit http://debian.mirrors.ovh.net wheezy/non-free Sources
Hit http://webmin.mirror.somersettechsolutions.co.uk sarge/contrib amd64 Packages
Hit http://debian.mirrors.ovh.net wheezy/main amd64 Packages
Hit http://security.debian.org wheezy/updates Release
Hit http://download.virtualbox.org wheezy Release.gpg
Hit http://debian.mirrors.ovh.net wheezy/non-free amd64 Packages
Hit http://webmin.mirror.somersettechsolutions.co.uk sarge/contrib i386 Packages
Hit http://packages.dotdeb.org wheezy-php55/all Sources
Hit http://debian.mirrors.ovh.net wheezy/main i386 Packages
Hit http://ftp.debian.org experimental Release
Hit http://debian.mirrors.ovh.net wheezy/non-free i386 Packages
Hit http://packages.dotdeb.org wheezy-php55/all amd64 Packages
Hit http://debian.mirrors.ovh.net wheezy/main Translation-en
Hit http://debian.mirrors.ovh.net wheezy/non-free Translation-en
Hit http://packages.dotdeb.org wheezy-php55/all i386 Packages
Hit http://ftp.debian.org sid Release
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://download.virtualbox.org wheezy Release
Hit http://ftp.debian.org experimental/main amd64 Packages/DiffIndex
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/main i386 Packages
Ign http://webmin.mirror.somersettechsolutions.co.uk sarge/contrib Translation-en
Hit http://ftp.debian.org experimental/main i386 Packages/DiffIndex
Hit http://ftp.debian.org experimental/main Translation-en/DiffIndex
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://ftp.debian.org sid/main amd64 Packages/DiffIndex
Ign http://packages.dotdeb.org wheezy-php55/all Translation-en
Hit http://download.webmin.com sarge Release.gpg
Hit http://download.virtualbox.org wheezy/contrib amd64 Packages
Hit http://ftp.debian.org sid/main i386 Packages/DiffIndex
Hit http://ftp.debian.org sid/main Translation-en/DiffIndex
Hit http://download.virtualbox.org wheezy/contrib i386 Packages
Ign http://download.virtualbox.org wheezy/contrib Translation-en
Hit http://download.webmin.com sarge Release
Hit http://download.webmin.com sarge/contrib amd64 Packages
Hit http://download.webmin.com sarge/contrib i386 Packages
Ign http://download.webmin.com sarge/contrib Translation-en
Reading package lists... Done
W: Ignoring Provides line with DepCompareOp for package php-psr-cache-implementation
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 dh-systemd
W: Ignoring Provides line with DepCompareOp for package libjpeg62
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
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 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 libapt-inst
W: Ignoring Provides line with DepCompareOp for package libapt-pkg
W: Ignoring Provides line with DepCompareOp for package libjpeg62
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: You may want to run apt-get update to correct these problems
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.  
The following packages have unmet dependencies:
 apt-utils : Depends: libapt-inst1.5 (>= 0.8.0) but it is not installed
 libapt-pkg5.0 : Recommends: apt (>= 1.3~rc3) but 0.9.7.9+deb7u7 is installed
                 Breaks: apt (< 1.1~exp14) but 0.9.7.9+deb7u7 is installed
E: Unmet dependencies. Try using -f.


Auch "apt-get -f install" bringt leider keinen erfolg
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apt apt-utils libapt-inst2.0
Suggested packages:
  apt-doc python-apt
The following NEW packages will be installed:
  libapt-inst2.0
The following packages will be upgraded:
  apt apt-utils
2 upgraded, 1 newly installed, 0 to remove and 391 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1768 kB of archives.
After this operation, 436 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "de_DE:de",  
        LC_ALL = (unset),
        LANG = "de_DE.UTF-8"  
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").  
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
apt-extracttemplates: error while loading shared libraries: libapt-inst.so.1.5: cannot open shared object file: No such file or directory
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 66876 files and directories currently installed.)
Preparing to unpack .../archives/apt_1.3~rc3_amd64.deb ...
Unpacking apt (1.3~rc3) over (0.9.7.9+deb7u7) ...
dpkg: error processing archive /var/cache/apt/archives/apt_1.3~rc3_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/apt/solvers/dump', which is also in package apt-utils 0.9.7.9+deb7u7  
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Reinstalling /etc/cron.daily/apt that was moved away
Processing triggers for libc-bin (2.24-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/apt_1.3~rc3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Bei einer Installation von zbs. Virtualbox tritt wieder ein anderer Fehler auf

apt-get install virtualbox-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
virtualbox-5.1 is already the newest version.
You might want to run 'apt-get -f install' to correct these:  
The following packages have unmet dependencies:
 apt-utils : Depends: libapt-inst1.5 (>= 0.8.0) but it is not going to be installed
 libapt-pkg5.0 : Recommends: apt (>= 1.3~rc3) but 0.9.7.9+deb7u7 is to be installed
                 Breaks: apt (< 1.1~exp14) but 0.9.7.9+deb7u7 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).  


Versucht habe ich ein "apt-get install --reinstall libapt-inst1.5"

apt-get install --reinstall libapt-inst1.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:  
The following packages have unmet dependencies:
 libapt-pkg5.0 : Recommends: apt (>= 1.3~rc3) but 0.9.7.9+deb7u7 is to be installed
                 Breaks: apt (< 1.1~exp14) but 0.9.7.9+deb7u7 is to be installed
                 Breaks: libapt-inst1.5 (< 0.9.9~) but 0.9.7.9+deb7u7 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).  



Ich bin leider völlig ratlos

Hier noch ein paar infos über das system (Debian 7)
 uname -rm
3.14.32-xxxx-std-ipv6-64 x86_64

 cat /etc/issue
Debian GNU/Linux 7.7

Linux ns******71.ovh.net 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux



cat /etc/debian_version
stretch/sid


MFG
Loip104

Content-ID: 314276

Url: https://administrator.de/forum/server-defekt-nach-austausch-funktioniert-apt-get-nicht-mehr-314276.html

Ausgedruckt am: 22.12.2024 um 23:12 Uhr

certifiedit.net
certifiedit.net 03.09.2016 aktualisiert um 08:53:55 Uhr
Goto Top
Hallo,

wie ist denn dein Kenntnissstand zu Linuxsystemen generell? und, warum schaltest du das Monitoring ein, nachdem es einen Fehler gab?

Ansatz 1: Netzwerk stimmt?

Ansatz 2:
83.  apt-utils : Depends: libapt-inst1.5 (>= 0.8.0) but it is not installed 
84. libapt-pkg5.0 : Recommends: apt (>= 1.3~rc3) but 0.9.7.9+deb7u7 is installed 
85. Breaks: apt (< 1.1~exp14) but 0.9.7.9+deb7u7 is installed 

Schau mal, was es damit auf sich hat.
IrunGoldstein
IrunGoldstein 03.09.2016 um 09:10:31 Uhr
Goto Top
Hi Loip,

hast du schonmal mit dem Befehl aufgeräumt:
1.
 sudo apt autoremove 
2.
 sudo apt autoclean
3.
sudo apt update
4.
Und dann noch ein
sudo apt install -f  
hinterher bitte.
5.
sudo apt upgrade

Hast du in der vergangenheit an deiner SourceList rumgespielt?

Führe in einem verzeichniss deiner Wahl folgendes aus:

  netselect-apt stable 

Dieser generiert in dem Ordner eine source.list des stable branches.

Vergleiche die Inhalte mit deiner aktuellen. Der domain name deiner Version kann auch auf ein lokales repo deines RZ zeigen das ist nicht problematisch.

Deine source.list liegt unter:

  /etc/apt 

Und es wäre schön zu wissen was du getan hast bevor es eskaliert ist face-wink?

Grüße
Vision2015
Vision2015 03.09.2016 um 09:53:17 Uhr
Goto Top
Zitat von @Loip104:

Hallo,
Moin,

Heute Morgen , enteckte ich das mein Server nicht mehr reagierte,
Also Fix Monitoring eingeschalten
du meinst den Monitor ?
und nach einem Eingriff war er wieder Online (CPU defekt)
du hast immer eine Reserve CPU neben dem Server liegen, oder ?


Frank