Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Install MediaWiki on Debian... was [tlug] about meetings



Josh Glover wrote:
On 14/11/06, Edward Middleton <edward@example.com> wrote:


Debian users, please provide instructions for installing MediaWiki! :)


If you're tracking stable on Hikari and want to use the testing packages
for MediaWiki (avoiding the problem of finding all the desired
dependencies and installing them by hand) you can try this (Copy and paste friendly):


# As root
# Add Japanese testing mirror to repository
echo '# Testing packages
deb http://ftp.jp.debian.org/debian testing main
deb-src http://ftp.jp.debian.org/debian testing main
' >> /etc/apt/sources.list
# Prefer Stable packages over testing
echo 'Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 650
' >> /etc/apt/preferences
# Update local db with testing and stable packages
apt-get update
# Try a dry run to make sure it doesn't blow up
# AND see what would get installed
# -t pulls in dependencies from testing as well
apt-get --dry-run -t testing install mediawiki
# Okay, let's screw up the system and install it
apt-get -t testing install mediawiki/testing



Alain

[1] apt-pinning for beginners http://jaqque.sbih.org/kplug/apt-pinning.html





Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links