Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@petest1:~# echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" >> /etc/apt/sources.list.d/trusty.sources.list
- root@petest1:~#
- root@petest1:~# apt-get update
- [....]
- root@petest1:~# $(which echo) -e "\nPackage: *\nPin: release n=trusty\nPin-Priority: -10" >> /etc/apt/preferences.d/redis-trusty
- root@petest1:~#
- root@petest1:~# $(which echo) -e "\nPackage: redis-server redis-tools\nPin: release n=trusty\nPin-Priority: 501" >> /etc/apt/preferences.d/redis-trusty
- root@petest1:~#
- root@petest1:~# apt-get -V -s install -y redis-server
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- redis-server (2.2.12-1build1)
- 0 upgraded, 1 newly installed, 0 to remove and 196 not upgraded.
- Inst redis-server (2:2.2.12-1build1 Ubuntu:12.04/precise [amd64])
- Conf redis-server (2:2.2.12-1build1 Ubuntu:12.04/precise [amd64])
- root@petest1:~# apt-get update
- [.....]
- root@petest1:~# apt-get -V -s install -y redis-server
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- libjemalloc1 (2.2.5-1)
- redis-tools (2.8.4-2)
- The following NEW packages will be installed:
- libjemalloc1 (2.2.5-1)
- redis-server (2.8.4-2)
- redis-tools (2.8.4-2)
- 0 upgraded, 3 newly installed, 0 to remove and 196 not upgraded.
- Inst libjemalloc1 (2.2.5-1 Ubuntu:12.04/precise [amd64])
- Inst redis-tools (2:2.8.4-2 Ubuntu:14.04/trusty [amd64])
- Inst redis-server (2:2.8.4-2 Ubuntu:14.04/trusty [amd64])
- Conf libjemalloc1 (2.2.5-1 Ubuntu:12.04/precise [amd64])
- Conf redis-tools (2:2.8.4-2 Ubuntu:14.04/trusty [amd64])
- Conf redis-server (2:2.8.4-2 Ubuntu:14.04/trusty [amd64])
- root@petest1:~#
Advertisement
Add Comment
Please, Sign In to add comment