Compiling Linux Debian
I have a VPS
First, I wrote this in putty:
But now when you type a command, say:
or
this error pops up
The result of this error I typed apt-get-f install
so doing
Help
I have a VPS
First, I wrote this in putty:
Code:
echo "Setting repositories ..."
# New repos
echo 'deb ftp://mir1.ovh.net/debian/ lenny main contrib non-free
deb-src ftp://mir1.ovh.net/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny / updates main contrib non-free
deb-src http://security.debian.org/ lenny / updates main contrib non-free
Squeeze #~~~~ ~~~~
# Deb http://mir1.ovh.net/debian/ squeeze main contrib non-free
# Deb-src http://mir1.ovh.net/debian/ squeeze main contrib non-free
# Deb http://security.debian.org/ squeeze / updates main contrib non-free
# Deb-src http://security.debian.org/ squeeze / updates main contrib non-free
# Backports
http://www.backports.org/debian deb lenny-backports main contrib non-free '> / etc / apt / sources.list
aptitude update
echo 'Installing backports keyring ...'
aptitude - allow-untrusted install debian-backports-keyring
echo "Updating repositories ..."
aptitude update
echo 'Installing software ...'
aptitude-y install mysql-server-5.1 build-essential pkg-config-dev libboost-dev libgmp3 liblua5.1-0-dev libboost-dev libboost1.40-system1.40-dev libboost-dev libboost-filesystem1.40-date -time1.40-dev libboost-dev libboost-regex1.40-thread1.40-dev-dev libgmp3 liblua5.1 liblua5.1-0-0-dev liblua50 liblua50-dev-dev liblualib50 liblualib50 lua50 lua5.1 libsqlite0-dev sqlite3 libsqlite3-dev libmysql-dev libmysqlclient-dev mysql-client-5.1 mysql-server-5.1 mysql-common libxml2-dev libxml-dev 2.6 cpp gcc autoconf automake make g pkg-config subversion liblua5.1-sql-mysql-dev liblua5 .1-sql-sqlite3-dev zlib1g-dev zlib1g-dev libcrypto ccache
But now when you type a command, say:
Code:
apt-get install mysql-server
or
Code:
apt-get upgrate
this error pops up
Code:
debian: ~ # apt-get upgrade
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
You might want to run `apt-get-f install 'to correct Thes.
The Following packages have unmet dependencies:
libc6-xen: PreDepends: libc6 (= 2.7-18) but 2.7 is installed 18lenny4
E: Unmet dependencies. Try using-f.
debian :~#
The result of this error I typed apt-get-f install
so doing
Code:
apt-get-f install [ code]
and this error
[Code] debian: ~ # apt-get-f install
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
Correcting dependencies ... Done
The Following extra packages will be installed:
libc6-xen
The Following packages will be upgraded:
libc6-xen
1 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
1 Not Fully installed or removed.
Need to get 0B/1272kB of archives.
After this operation, 90.1kB of additional disk space will be used.
Do you want to continue [Y / n]? y
Setting up libc6 (2.7-18lenny4) ...
ldconfig: / etc/ld.so.conf.d/libc6-xen.conf: 6: 0 hwcap index already defined as nosegneg
dpkg: error processing libc6 (- configure):
subprocess post-installation script returned error exit status 1
Errors Were Encountered while processing:
libc6
E: Sub-process / usr / bin / dpkg returned an error code (1)
debian :~#
Help