Skip to content

Instantly share code, notes, and snippets.

@kotp
Created April 2, 2012 04:24
Show Gist options
  • Save kotp/2280715 to your computer and use it in GitHub Desktop.
Save kotp/2280715 to your computer and use it in GitHub Desktop.

Revisions

  1. kotp revised this gist Apr 3, 2012. 1 changed file with 87 additions and 0 deletions.
    87 changes: 87 additions & 0 deletions php5.2 in etc apts preferences.d
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,87 @@
    Package: libapache2-mod-php5
    Pin: release a=karmic
    Pin-Priority: 991

    Package: libphp-phpmailer
    Pin: release a=karmic
    Pin-Priority: 991

    Package: libphp-snoopy
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php-apc
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php-gettext
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-cli
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-common
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-curl
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-dev
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-gd
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-imagick
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-ldap
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-mcrypt
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-memcache
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-mysql
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-pspell
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-snmp
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-sqlite
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-xmlrpc
    Pin: release a=karmic
    Pin-Priority: 991

    Package: php5-xsl
    Pin: release a=karmic
    Pin-Priority: 991

    Package: phpmyadmin
    Pin: release a=karmic
    Pin-Priority: 991
  2. kotp renamed this gist Apr 2, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion apt-cache policy → 4_2_12 apt-cache policy
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,9 @@

    Package files:
    100 /var/lib/dpkg/status
    release a=now
    500 http://download.webmin.com/download/repository/ sarge/contrib Packages
    release v=3.1,o=Jamie Cameron,a=stable,n=sarge,l=Webmin,c=contrib
    origin download.webmin.com
    500 http://security.ubuntu.com/ubuntu/ lucid-security/universe Packages
    release v=10.04,o=Ubuntu,a=lucid-security,n=lucid,l=Ubuntu,c=universe
    origin security.ubuntu.com
  3. kotp revised this gist Apr 2, 2012. 2 changed files with 106 additions and 0 deletions.
    54 changes: 54 additions & 0 deletions apt-cache policy
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,54 @@

    Package files:
    100 /var/lib/dpkg/status
    release a=now
    500 http://security.ubuntu.com/ubuntu/ lucid-security/universe Packages
    release v=10.04,o=Ubuntu,a=lucid-security,n=lucid,l=Ubuntu,c=universe
    origin security.ubuntu.com
    500 http://security.ubuntu.com/ubuntu/ lucid-security/restricted Packages
    release v=10.04,o=Ubuntu,a=lucid-security,n=lucid,l=Ubuntu,c=restricted
    origin security.ubuntu.com
    500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
    release v=10.04,o=Ubuntu,a=lucid-security,n=lucid,l=Ubuntu,c=main
    origin security.ubuntu.com
    500 http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Packages
    release v=10.04,o=Ubuntu,a=lucid-updates,n=lucid,l=Ubuntu,c=universe
    origin archive.ubuntu.com
    500 http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Packages
    release v=10.04,o=Ubuntu,a=lucid-updates,n=lucid,l=Ubuntu,c=restricted
    origin archive.ubuntu.com
    500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
    release v=10.04,o=Ubuntu,a=lucid-updates,n=lucid,l=Ubuntu,c=main
    origin archive.ubuntu.com
    500 http://archive.ubuntu.com/ubuntu/ lucid/universe Packages
    release v=10.04,o=Ubuntu,a=lucid,n=lucid,l=Ubuntu,c=universe
    origin archive.ubuntu.com
    500 http://archive.ubuntu.com/ubuntu/ lucid/restricted Packages
    release v=10.04,o=Ubuntu,a=lucid,n=lucid,l=Ubuntu,c=restricted
    origin archive.ubuntu.com
    500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
    release v=10.04,o=Ubuntu,a=lucid,n=lucid,l=Ubuntu,c=main
    origin archive.ubuntu.com
    Pinned packages:
    php5-xsl -> (not found)
    php5 -> (not found)
    php5-sqlite -> (not found)
    libapache2-mod-php5 -> (not found)
    php5-snmp -> (not found)
    php5-gd -> (not found)
    php5-imagick -> (not found)
    php5-curl -> (not found)
    php-apc -> (not found)
    libphp-snoopy -> (not found)
    php5-pspell -> (not found)
    libphp-phpmailer -> (not found)
    php5-xmlrpc -> (not found)
    phpmyadmin -> (not found)
    php5-mcrypt -> (not found)
    php5-ldap -> (not found)
    php5-mysql -> (not found)
    php5-memcache -> (not found)
    php5-cli -> (not found)
    php5-dev -> (not found)
    php5-common -> (not found)
    php-gettext -> (not found)
    52 changes: 52 additions & 0 deletions apt-get install lamp-server
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,52 @@
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libnet-daemon-perl is already the newest version.
    libwrap0 is already the newest version.
    mysql-server is already the newest version.
    libdbi-perl is already the newest version.
    libapr1 is already the newest version.
    libhtml-template-perl is already the newest version.
    mysql-server-core-5.1 is already the newest version.
    libaprutil1-ldap is already the newest version.
    apache2-mpm-prefork is already the newest version.
    libmysqlclient16 is already the newest version.
    apache2-utils is already the newest version.
    tcpd is already the newest version.
    apache2 is already the newest version.
    apache2.2-common is already the newest version.
    libaprutil1-dbd-sqlite3 is already the newest version.
    mysql-client-core-5.1 is already the newest version.
    apache2.2-bin is already the newest version.
    ssl-cert is already the newest version.
    libdbd-mysql-perl is already the newest version.
    libplrpc-perl is already the newest version.
    libaprutil1 is already the newest version.
    mysql-common is already the newest version.
    mysql-server-5.1 is already the newest version.
    mysql-client-5.1 is already the newest version.
    libnet-daemon-perl is already the newest version.
    libwrap0 is already the newest version.
    mysql-server is already the newest version.
    libdbi-perl is already the newest version.
    libapr1 is already the newest version.
    libhtml-template-perl is already the newest version.
    mysql-server-core-5.1 is already the newest version.
    libaprutil1-ldap is already the newest version.
    apache2-mpm-prefork is already the newest version.
    libmysqlclient16 is already the newest version.
    apache2-utils is already the newest version.
    tcpd is already the newest version.
    apache2 is already the newest version.
    apache2.2-common is already the newest version.
    libaprutil1-dbd-sqlite3 is already the newest version.
    mysql-client-core-5.1 is already the newest version.
    apache2.2-bin is already the newest version.
    ssl-cert is already the newest version.
    libdbd-mysql-perl is already the newest version.
    libplrpc-perl is already the newest version.
    libaprutil1 is already the newest version.
    mysql-common is already the newest version.
    mysql-server-5.1 is already the newest version.
    mysql-client-5.1 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  4. kotp revised this gist Apr 2, 2012. 2 changed files with 53 additions and 1 deletion.
    1 change: 0 additions & 1 deletion apt-cache policy libapache2-mod-php5
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,3 @@

    libapache2-mod-php5:
    Installed: (none)
    Candidate: (none)
    53 changes: 53 additions & 0 deletions apt-get install lamp-server^
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,53 @@

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libnet-daemon-perl is already the newest version.
    libwrap0 is already the newest version.
    mysql-server is already the newest version.
    libdbi-perl is already the newest version.
    libapr1 is already the newest version.
    libhtml-template-perl is already the newest version.
    mysql-server-core-5.1 is already the newest version.
    libaprutil1-ldap is already the newest version.
    apache2-mpm-prefork is already the newest version.
    libmysqlclient16 is already the newest version.
    apache2-utils is already the newest version.
    tcpd is already the newest version.
    apache2 is already the newest version.
    apache2.2-common is already the newest version.
    libaprutil1-dbd-sqlite3 is already the newest version.
    mysql-client-core-5.1 is already the newest version.
    apache2.2-bin is already the newest version.
    ssl-cert is already the newest version.
    libdbd-mysql-perl is already the newest version.
    libplrpc-perl is already the newest version.
    libaprutil1 is already the newest version.
    mysql-common is already the newest version.
    mysql-server-5.1 is already the newest version.
    mysql-client-5.1 is already the newest version.
    libnet-daemon-perl is already the newest version.
    libwrap0 is already the newest version.
    mysql-server is already the newest version.
    libdbi-perl is already the newest version.
    libapr1 is already the newest version.
    libhtml-template-perl is already the newest version.
    mysql-server-core-5.1 is already the newest version.
    libaprutil1-ldap is already the newest version.
    apache2-mpm-prefork is already the newest version.
    libmysqlclient16 is already the newest version.
    apache2-utils is already the newest version.
    tcpd is already the newest version.
    apache2 is already the newest version.
    apache2.2-common is already the newest version.
    libaprutil1-dbd-sqlite3 is already the newest version.
    mysql-client-core-5.1 is already the newest version.
    apache2.2-bin is already the newest version.
    ssl-cert is already the newest version.
    libdbd-mysql-perl is already the newest version.
    libplrpc-perl is already the newest version.
    libaprutil1 is already the newest version.
    mysql-common is already the newest version.
    mysql-server-5.1 is already the newest version.
    mysql-client-5.1 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  5. kotp revised this gist Apr 2, 2012. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions apt-cache policy libapache2-mod-php5
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@

    libapache2-mod-php5:
    Installed: (none)
    Candidate: (none)
    Package pin: (not found)
    Version table:
    5.3.2-1ubuntu4.14 991
    500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
    500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
    5.3.2-1ubuntu4 991
    500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
  6. kotp revised this gist Apr 2, 2012. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions aptitude_terminal_view.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    Actions Undo Package Resolver Search Options Views Help
    C-T: Menu ?: Help q: Quit u: Update g: Download/Install/Remove Pkgs
    Packages php5 info
    aptitude 0.4.11.11
    p --\ php5 <none> <none>
    --- Packages which depend on php5 (110)
    --\ Versions of php5 (2)
    p 5.3.2-1ubuntu4
    p 5.3.2-1ubuntu4.14
  7. kotp revised this gist Apr 2, 2012. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions sources.list
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe
    deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted universe

    deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe
    deb-src http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe

    deb http://security.ubuntu.com/ubuntu lucid-security main restricted universe
    deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted universe
  8. kotp created this gist Apr 2, 2012.
    34 changes: 34 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    Preconfiguring packages ...
    Selecting previously deselected package libapache2-mod-php5filter.
    (Reading database ...
    dpkg: warning: files list file for package `php5-common' missing, assuming package has no files currently installed.
    (Reading database ... 56601 files and directories currently installed.)
    Unpacking libapache2-mod-php5filter (from .../libapache2-mod-php5filter_5.3.2-1ubuntu4.14_amd64.deb) ...
    Selecting previously deselected package php5-idn.
    Unpacking php5-idn (from .../php5-idn_1.2b-5.3ubuntu1_amd64.deb) ...
    Setting up libapache2-mod-php5filter (5.3.2-1ubuntu4.14) ...
    Error: The new file /usr/share/php5/php.ini-production does not exist!
    dpkg: error processing libapache2-mod-php5filter (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of php5-idn:
    php5-idn depends on phpapi-20090626; however:
    Package phpapi-20090626 is not installed.
    Package libapache2-mod-php5filter which provides phpapi-20090626 is not configured yet.
    dpkg: error processing php5-idn (--configure):
    dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Setting up libapache2-mod-php5filter (5.3.2-1ubuntu4.14) ...
    Error: The new file /usr/share/php5/php.ini-production does not exist!
    dpkg: error processing libapache2-mod-php5filter (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of php5-idn:
    php5-idn depends on phpapi-20090626; however:
    Package phpapi-20090626 is not installed.
    Package libapache2-mod-php5filter which provides phpapi-20090626 is not configured yet.
    dpkg: error processing php5-idn (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    libapache2-mod-php5filter
    php5-idn