Skocz do zawartości

Dołącz do społecznoś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)

Featured Replies

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.

Edytowane przez Kalambur99

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.
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

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.

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.