Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: marek.neo 30 Prosince 2010, 00:18:57
-
Do sourceslistu jsem zadal nové zdroje a po aktualizaci mi nenaběhl mysql-server, ani postfix a ani nejde spustit další aktualizaci a podobně. Některé služby jako ssh a apache běží. při pokusu o update vypíše :
:~# aptitude update
aptitude: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4
při pokusu spustit mysql :
:~# /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
start: Job failed to start
Nevěděl by prosím někdo ze skušených co s tím?
Velice dík. Marek
-
Jo, ještě se jedná o ubuntu server 9.10 a sourceslist je Maverick. Díky moc za každou radu, nevím si rady
Díky
-
skus preinstalovat gcc a gcc-lib
a service spustaj doporucenym sposobom:
service mysql start
-
Mohl bys mi prosím poradit jak? Bohužel nevím. Děkuju za snahu
Marek
skus preinstalovat gcc a gcc-lib
a service spustaj doporucenym sposobom:
service mysql start
-
sudo aptitude remove gcc
vypíše :
aptitude: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4
Mohl bys mi prosím poradit jak? Bohužel nevím. Děkuju za snahu
Marek
skus preinstalovat gcc a gcc-lib
a service spustaj doporucenym sposobom:
service mysql start
-
Vloz tu vystup z prikazu:
getconf LONG_BIT
postupne spusti:
sudo apt-get update
sudo apt-get upgrade gcc
a este sem vloz vystup z /etc/apt/sources.list
-
Vloz tu vystup z prikazu:
getconf LONG_BIT
postupne spusti:
sudo apt-get update
sudo apt-get upgrade gcc
a este sem vloz vystup z /etc/apt/sources.list
Tady je výpis
getconf LONG_BIT Vypíše číslici 32
a
sudo apt-get update
sudo apt-get upgrade gcc
vypíše
apt-get: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4
-
skus:
aptitude remove purge gcc
a vloz sem ten sources.list
cat /etc/apt/sources.list
-
skus:
aptitude remove purge gcc
a vloz sem ten sources.list
cat /etc/apt/sources.list
aptitude remove purge gcc
ten samý výsledek
aptitude: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4
cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/ hardy main restricted
#deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://de.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://de.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://de.archive.ubuntu.com/ubuntu/ hardy universe
deb http://de.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ hardy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://de.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://de.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
-
mas nastavene repozitare pre hardy heron co je 8.04 avsak tvoj system je maverick 9.10. To mohlo sposobit tvoj problem.
vloz sem subor /var/log/dpkg.log mozno najdeme co to sposobilo avsak vyzera to tak ze bude musiet preinstalovat baliky rucne.
-
mas nastavene repozitare pre hardy heron co je 8.04 avsak tvoj system je maverick 9.10. To mohlo sposobit tvoj problem.
vloz sem subor /var/log/dpkg.log mozno najdeme co to sposobilo avsak vyzera to tak ze bude musiet preinstalovat baliky rucne.
Tady mam výpis :
cat /var/log/dpkg.log
2010-12-30 08:06:42 startup packages remove
2010-12-30 08:06:56 startup packages remove
2010-12-30 08:07:01 startup packages remove
2010-12-30 08:08:38 startup packages configure
2010-12-30 08:23:55 startup packages remove
2010-12-30 08:23:55 status installed apt 0.7.23.1ubuntu2
2010-12-30 09:27:04 startup packages configure
2010-12-30 10:28:23 startup packages configure
2010-12-30 10:31:20 startup packages configure
2010-12-30 10:31:41 startup packages configure
2010-12-30 10:31:45 startup packages configure
2010-12-30 10:31:58 startup packages configure
-
mas nastavene repozitare pre hardy heron co je 8.04 avsak tvoj system je maverick 9.10. To mohlo sposobit tvoj problem.
vloz sem subor /var/log/dpkg.log mozno najdeme co to sposobilo avsak vyzera to tak ze bude musiet preinstalovat baliky rucne.
Tady mam výpis :
cat /var/log/dpkg.log
2010-12-30 08:06:42 startup packages remove
2010-12-30 08:06:56 startup packages remove
2010-12-30 08:07:01 startup packages remove
2010-12-30 08:08:38 startup packages configure
2010-12-30 08:23:55 startup packages remove
2010-12-30 08:23:55 status installed apt 0.7.23.1ubuntu2
2010-12-30 09:27:04 startup packages configure
2010-12-30 10:28:23 startup packages configure
2010-12-30 10:31:20 startup packages configure
2010-12-30 10:31:41 startup packages configure
2010-12-30 10:31:45 startup packages configure
2010-12-30 10:31:58 startup packages configure
Klidně bych je rád ručně přeinstaloval, jenže apt ani aptitude nejdou a nevím jak na to... Moc díky
-
teraz si ma splietol ;D
mas teda maverick alebo 9.10?
daj
cat /etc/*release
uname -a