Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Problem z instalacją czegokolwiek (np. php, apache)


Rekomendowane odpowiedzi

Opublikowano

Witam, mam problem podczas instalacji (zawsze działało) np. php, apache itp (niczego nie da się zainstalować)

 

Wykonałem update, upgrade

 

 

Przykład:

root@kvm-184:~# apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php5 : Depends: libapache2-mod-php5 (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 libapache2-mod-php5filter (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 php5-cgi (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 php5-fpm (>= 5.4.45-0+deb7u8) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Opublikowano

 

Witam, mam problem podczas instalacji (zawsze działało) np. php, apache itp (niczego nie da się zainstalować)

 

Wykonałem update, upgrade

 

 

Przykład:

root@kvm-184:~# apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php5 : Depends: libapache2-mod-php5 (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 libapache2-mod-php5filter (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 php5-cgi (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 php5-fpm (>= 5.4.45-0+deb7u8) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Najlepiej zrób reinstall maszyny.

Opublikowano

 

 

Witam, mam problem podczas instalacji (zawsze działało) np. php, apache itp (niczego nie da się zainstalować)

 

Wykonałem update, upgrade

 

 

Przykład:

root@kvm-184:~# apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php5 : Depends: libapache2-mod-php5 (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 libapache2-mod-php5filter (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 php5-cgi (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 php5-fpm (>= 5.4.45-0+deb7u8) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Najlepiej zrób reinstall maszyny.
Nie, to nie będzie najlepszym rozwiązaniem. Proszę, nie rób zamieszania i nie wprowadzaj w błąd.
Specjalista
Opublikowano

Myślę że problemem jest tutaj to, że PHP5 nie jest już wspierane.

Sam ten komunikat może o tym mówić:

The following packages have unmet dependencies:
 php5 : Depends: libapache2-mod-php5 (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 libapache2-mod-php5filter (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 php5-cgi (>= 5.4.45-0+deb7u8) but it is not going to be installed or
                 php5-fpm (>= 5.4.45-0+deb7u8) but it is not going to be installed

Spróbuj zainstalować wersję 7.

Opublikowano

Reinstalacja nie wchodzi w grę.

 

Nie chodzi tu o wersję php, napisałem przecież że niczego nie da się zainstalować i że zrobiłem update i upgrade przed próbą instalacji.

Specjalista
Opublikowano

Zmień ten plik /etc/apt/sources.list na to:

deb http://httpredir.debian.org/debian wheezy main
deb-src http://httpredir.debian.org/debian wheezy main

deb http://httpredir.debian.org/debian wheezy-updates main
deb-src http://httpredir.debian.org/debian wheezy-updates main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

Potem jeszcze raz update i upgrade

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...