Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

E: Unable to locate package php5-tidy

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
webspilka
Posts: 3
Joined: 2017-03-16 13:01

E: Unable to locate package php5-tidy

#1 Post by webspilka »

hi
how to install php5-tidy?
I try

Code: Select all

sudo apt-get install php5-tidy
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-tidy
I have :
Debian 8 x64 (jessie)
linux-image-3.16.0-4-amd64 (3.16.39-1+deb8u2)

Code: Select all

php -v
PHP 5.6.30-0+deb8u1 (cli) (built: Feb  8 2017 08:50:21)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: E: Unable to locate package php5-tidy

#2 Post by arochester »

Miss out the 5?

Code: Select all

sudo apt install php-tidy

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: E: Unable to locate package php5-tidy

#3 Post by GarryRicketson »

---edited----
https://packages.debian.org/jessie/php5-tidy
Package: php5-tidy (5.6.30+dfsg-0+deb8u1)
Looks like it is there.

What does your /etc/apt/sources.list file have in it ?
Please show us that.

webspilka
Posts: 3
Joined: 2017-03-16 13:01

Re: E: Unable to locate package php5-tidy

#4 Post by webspilka »

my source list :

Code: Select all

tail /etc/apt/sources.list

deb http://http.us.debian.org/debian/ jessie main
deb-src http://http.us.debian.org/debian/ jessie main

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

# jessie-updates, previously known as 'volatile'
deb http://http.us.debian.org/debian/ jessie-updates main
deb-src http://http.us.debian.org/debian/ jessie-updates main
I also try apt-cache search 'php.*tidy'

Code: Select all

php-horde-text-filter-csstidy - Horde Text Filter API
php5-tidy - tidy module for php5
universalindentgui - GUI frontend for several code beautifiers
my lsb_release -a

Code: Select all

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 8.7 (jessie)
Release:	8.7
Codename:	jessie

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: E: Unable to locate package php5-tidy

#5 Post by arochester »

Compare yours

Code: Select all

deb http://security.debian.org/ jessie/updates main
with (for AMD64)

Code: Select all

deb http://security.debian.org/debian-security jessie/updates main 
- https://packages.debian.org/jessie/amd6 ... y/download

webspilka
Posts: 3
Joined: 2017-03-16 13:01

Re: E: Unable to locate package php5-tidy

#6 Post by webspilka »

Thanks arochester,
arochester wrote:deb http://security.debian.org/debian-security jessie/updates main
it's work for me well :D

Post Reply