Jump to content
php.lv forumi

nesanāk instalēt php5-mysqlnd


Recommended Posts

izdarīju kļūdu - izpidlīju apt-get remove php5-mysql, jo gribēju ieinstalēt php5-mysqlnd, bet pēc komandas izpildas rāda šo:

 

 

root@priede:/etc/php5/mods-available# apt-get install php5-mysqlnd

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following packages were automatically installed and are no longer required:

  libvpx1 php7.1-common php7.1-mysql

Use 'apt-get autoremove' to remove them.

The following extra packages will be installed:

  libapache2-mod-php5 libgd3 libwebp5 php5-cgi php5-cli php5-common php5-curl

  php5-fpm php5-gd php5-mcrypt php5-readline php5-sqlite

Suggested packages:

  libgd-tools php5-user-cache

The following NEW packages will be installed:

  libwebp5 php5-mysqlnd

The following packages will be upgraded:

  libapache2-mod-php5 libgd3 php5-cgi php5-cli php5-common php5-curl php5-fpm

  php5-gd php5-mcrypt php5-readline php5-sqlite

11 upgraded, 2 newly installed, 0 to remove and 191 not upgraded.

Need to get 11.7 MB/11.9 MB of archives.

After this operation, 1,134 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

WARNING: The following packages cannot be authenticated!

  php5-readline php5-cli php5-mcrypt php5-fpm php5-curl php5-sqlite php5-gd

  php5-cgi libapache2-mod-php5 php5-common php5-mysqlnd

Install these packages without verification? [y/N] y

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-readline amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-cli amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-mcrypt amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-fpm amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-curl amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-sqlite amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-gd amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-cgi amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main libapache2-mod-php5 amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-common amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/trusty/main php5-mysqlnd amd64 5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1

  404  Not Found

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-readline_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-cli_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-mcrypt_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-fpm_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-curl_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-sqlite_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-gd_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-cgi_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-common_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/p/php5/php5-mysqlnd_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~trusty+1_amd64.deb 404  Not Found

 

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 

Ubuntu 14.04. PHP versija - 5.6.29-1+deb.sury.org~trusty+1 (cli). Tagad nevaru caur php pieslēgties mysql. Ko darīt? Nevaru ieinstalēt php5-mysql, gan php5-mysql

Edited by maarc93
Link to comment
Share on other sites

izdzēsu vecos PPA, pievienoju jaunu (add-apt-repository ppa:ondrej/php) , uztaisīju apt-get update, tad apt-get install php5-mysql, bet rāda šo:

 

 

root@priede:/usr/lib/php5/20131226# apt-get install php5-mysql

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-mysql : Depends: phpapi-20121212

              Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.20) but 5.6.17+dfsg-1+deb.sury.org~trusty+1 is to be installed

E: Unable to correct problems, you have held broken packages.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...