LINUX.ORG.RU

Нужна помощь починить Ubuntu

 


0

1

apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libdbd-mysql-perl : Depends: perlapi-5.18.2
libdbi-perl : Depends: perlapi-5.18.1
libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.7) but 5.22.1-9ubuntu0.9 is installed
libsub-name-perl : Depends: perlapi-5.18.1
libterm-readkey-perl : Depends: perlapi-5.18.1
libtext-charwidth-perl : Depends: perlapi-5.18.1
libtext-iconv-perl : Depends: perlapi-5.18.1
libtext-soundex-perl : Depends: perlapi-5.18.1
nagios3-cgi : Depends: libapache2-mod-php5 but it is not installed or
php5 but it is not installed or
php5-cgi but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies


как то не удачно обновился

могу дать доступ по teamviewer ,




Последнее исправление: guest11 (всего исправлений: 1)
Ответ на: комментарий от Vsevolod-linuxoid
The following packages have unmet dependencies:
 libdbd-mysql-perl : Depends: perlapi-5.18.2
 libdbi-perl : Depends: perlapi-5.18.1
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.7) but 5.22.1-9ubuntu0.9 is installed
 libsub-name-perl : Depends: perlapi-5.18.1
 libterm-readkey-perl : Depends: perlapi-5.18.1
 libtext-charwidth-perl : Depends: perlapi-5.18.1
 libtext-iconv-perl : Depends: perlapi-5.18.1
 libtext-soundex-perl : Depends: perlapi-5.18.1
 nagios3-cgi : Depends: libapache2-mod-php5 but it is not installed or
                        php5 but it is not installed or
                        php5-cgi but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

The following packages have unmet dependencies:
 libdbd-mysql-perl : Depends: perlapi-5.18.2
 libdbi-perl : Depends: perlapi-5.18.1
 libperl5.18 : Depends: perl-base (= 5.18.2-2ubuntu1.7) but 5.22.1-9ubuntu0.9 is to be installed
 libsub-name-perl : Depends: perlapi-5.18.1
 libterm-readkey-perl : Depends: perlapi-5.18.1
 libtext-charwidth-perl : Depends: perlapi-5.18.1
 libtext-iconv-perl : Depends: perlapi-5.18.1
 libtext-soundex-perl : Depends: perlapi-5.18.1
 nagios3 : Depends: nagios3-cgi (= 3.5.1-1ubuntu1.3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Ты должен понимать что это невозможно.

Anoxemian ★★★★★
()
Ответ на: комментарий от ya-betmen

Скорее всего вместо trusty xenial


#

# deb cdrom:[Ubuntu-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)]/ trusty main restricted

# deb cdrom:[Ubuntu-Server 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.3)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.



guest11
() автор топика
Ответ на: комментарий от Hertz

 cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.
Prompt=lts


do-release-upgrade

Начинаются обновления и после ошибка ,

guest11
() автор топика
Ответ на: комментарий от Hertz

Your system contains broken packages that couldn’t be fixed with this software. Please fix them first using synaptic or apt-get before proceeding.

Preparing the upgrade failed

Preparing the system for the upgrade failed so a bug reporting process is being started. === Command terminated with exit status 1

guest11
() автор топика
Ответ на: комментарий от Hertz

Your system contains broken packages that couldn't be fixed with this
software. Please fix them first using synaptic or apt-get before
proceeding.


Preparing the upgrade failed

Preparing the system for the upgrade failed so a bug reporting
process is being started.
=== Command terminated with exit status 1


guest11
() автор топика
Ответ на: комментарий от Hertz

Reinst Failed because of libssl1.0.0:amd64
  Removing libpq5:amd64 rather than change libssl1.0.0:amd64
Investigating (9) nagios-nrpe-plugin [ amd64 ] < 2.15-0ubuntu1 > ( net )
Broken nagios-nrpe-plugin:amd64 Depends on libssl1.0.0 [ amd64 ] < 1.0.2g-1ubuntu4.20 > ( libs ) (>= 1.0.0)
  Considering libssl1.0.0:amd64 42 as a solution to nagios-nrpe-plugin:amd64 0
  Removing nagios-nrpe-plugin:amd64 rather than change libssl1.0.0:amd64
Investigating (9) samba [ amd64 ] < 2:4.3.11+dfsg-0ubuntu0.14.04.20 > ( net )
Broken samba:amd64 Depends on adduser [ amd64 ] < 3.113+nmu3ubuntu3 > ( admin )
  Considering adduser:amd64 5726 as a solution to samba:amd64 5726
  Removing samba:amd64 rather than change adduser:amd64
Investigating (9) w3m [ amd64 ] < 0.5.3-15 -> 0.5.3-15ubuntu0.2 > ( text )
Broken w3m:amd64 Depends on libssl1.0.0 [ amd64 ] < 1.0.2g-1ubuntu4.20 > ( libs ) (>= 1.0.0)
  Considering libssl1.0.0:amd64 42 as a solution to w3m:amd64 0
    Reinst Failed because of libssl1.0.0:amd64
  Removing w3m:amd64 rather than change libssl1.0.0:amd64
Investigating (9) libcurl3 [ amd64 ] < 7.35.0-1ubuntu2.20 > ( libs )
Broken libcurl3:amd64 Depends on libssl1.0.0 [ amd64 ] < 1.0.2g-1ubuntu4.20 > ( libs ) (>= 1.0.1)
  Considering libssl1.0.0:amd64 42 as a solution to libcurl3:amd64 0
  Removing libcurl3:amd64 rather than change libssl1.0.0:amd64
Investigating (9) crda [ amd64 ] < 1.1.2-1ubuntu2 > ( net )
Broken crda:amd64 Depends on libssl1.0.0 [ amd64 ] < 1.0.2g-1ubuntu4.20 > ( libs ) (>= 1.0.0)
  Considering libssl1.0.0:amd64 42 as a solution to crda:amd64 0
  Removing crda:amd64 rather than change libssl1.0.0:amd64
Investigating (9) python-requests [ amd64 ] < 2.2.1-1ubuntu0.2 -> 2.2.1-1ubuntu0.4 > ( python )
Broken python-requests:amd64 Depends on ca-certificates [ amd64 ] < 20141019ubuntu0.14.04.1 -> 20170717~14.04.2 > ( misc )
  Considering ca-certificates:amd64 17 as a solution to python-requests:amd64 0
    Reinst Failed because of ca-certificates:amd64
  Removing python-requests:amd64 rather than change ca-certificates:amd64
Investigating (9) language-pack-en-base [ amd64 ] < 1:14.04+20160720 > ( translations )
Broken language-pack-en-base:amd64 Depends on locales [ amd64 ] < 2.23-0ubuntu11.3 > ( libs ) (>= 2.3.6)
  Considering locales:amd64 10 as a solution to language-pack-en-base:amd64 0
  Removing language-pack-en-base:amd64 rather than change locales:amd64
Investigating (9) language-pack-en [ amd64 ] < 1:14.04+20160720 > ( translations )
Broken language-pack-en:amd64 Depends on language-pack-en-base [ amd64 ] < 1:14.04+20160720 > ( translations ) (>= 1:14.04+20160720)
  Considering language-pack-en-base:amd64 10 as a solution to language-pack-en:amd64 0
  Removing language-pack-en:amd64 rather than change language-pack-en-base:amd64



guest11
() автор топика

Похоже на конфликт разрешения зависимостей. apt-get в этом не сильно хорош, попробуй aptitude с настройками на поиск дополнительных вариантов.

kirill_rrr ★★★★★
()