Автор Тема: Проблема при установке trac [решено]  (Прочитано 1967 раз)

Оффлайн Rini

  • Участник
  • *
  • Сообщений: 19
apt-get install trac
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  trac: PreDepends: python (= 2.4)
        Depends: python2.4(neo_cgi)
        Depends: python2.4(pysqlite2)
        Depends: python2.4(BaseHTTPServer)
        Depends: python2.4(ConfigParser)
        Depends: python2.4(Cookie)
        Depends: python2.4(HTMLParser)
        Depends: python2.4(SocketServer)
        Depends: python2.4(StringIO)
        Depends: python2.4(cgi)
        Depends: python2.4(cmd)
        Depends: python2.4(difflib)
        Depends: python2.4(dircache)
        Depends: python2.4(distutils)
        Depends: python2.4(fnmatch)
        Depends: python2.4(getpass)
        Depends: python2.4(glob)
        Depends: python2.4(heapq)
        Depends: python2.4(htmlentitydefs)
        Depends: python2.4(inspect)
        Depends: python2.4(locale)
        Depends: python2.4(logging)
        Depends: python2.4(md5)
        Depends: python2.4(mimetypes)
        Depends: python2.4(os)
        Depends: python2.4(posixpath)
        Depends: python2.4(re)
        Depends: python2.4(shlex)
        Depends: python2.4(shutil)
        Depends: python2.4(smtplib)
        Depends: python2.4(tempfile)
        Depends: python2.4(time)
        Depends: python2.4(traceback)
        Depends: python2.4(unicodedata)
        Depends: python2.4(unittest)
        Depends: python2.4(urllib)
        Depends: python2.4(urllib2)
        Depends: python2.4(urlparse)
        Depends: python2.4(weakref)
E: Broken packages
« Последнее редактирование: 01.09.2009 19:50:42 от Skull »

Drool

  • Гость
Re: Проблема при установке trac
« Ответ #1 : 29.08.2009 22:28:50 »
А какие источники подключены?
grep '^rpm' /etc/apt/sources.list.d/*
grep '^rpm' /etc/apt/sources.list

Оффлайн Rini

  • Участник
  • *
  • Сообщений: 19
Re: Проблема при установке trac
« Ответ #2 : 29.08.2009 23:10:01 »
grep '^rpm' /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/server.alt.list:rpm [security] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/Server/current i586 main
/etc/apt/sources.list.d/server.alt.list:rpm http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/Server/current/ i586 classic
/etc/apt/sources.list.d/server.alt.list:rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch i586 classic
/etc/apt/sources.list.d/server.alt.list:rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch noarch classic
/etc/apt/sources.list.d/sources.list:rpm cdrom:[ALT Linux 4.0 Server (Walnut)]/ ALTLinux asterisk base disk


Drool

  • Гость
Re: Проблема при установке trac
« Ответ #3 : 29.08.2009 23:35:02 »
/etc/apt/sources.list.d/server.alt.list:rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch i586 classic
/etc/apt/sources.list.d/server.alt.list:rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch noarch classic

Оставить только это.

Оффлайн Rini

  • Участник
  • *
  • Сообщений: 19
Re: Проблема при установке trac
« Ответ #4 : 30.08.2009 07:59:10 »
сделал. после
apt-get clean
apt-get update
и опять apt-get install trac
но сообщение осталось прежним.

может чем поможет это сообщение.

aptitude show  python
Package: python
State: not installed
Version: 2.4.5-alt0.M40.1
Priority: optional
Section: Development/Python
Maintainer: Python Development Team <python@packages.altlinux.org>
Uncompressed Size: 0
Depends: python-base (= 2.4.5-alt0.M40.1), python-modules,
         python-modules-encodings, python-modules-curses, python-modules-xml,
         python-modules-compiler, python-modules-email, python-modules-hotshot,
         python-modules-bsddb, python-modules-logging
Provides: python
Provided by: python, python-relaxed, python-strict
Description: An interpreted, interactive object-oriented programming language
 Python is an interpreted, interactive, object-oriented programming language
 often compared to Tcl, Perl, Scheme or Java. Python includes modules, classes,
 exceptions, very high level dynamic data types and dynamic typing. Python
 supports interfaces to many system calls and libraries, as well as to various
 windowing systems (X11, Motif, Tk, Mac and MFC). Programmers can write new
 built-in modules for Python in C or C++. Python can be used as an extension
 language for applications that need a programmable interface. This package
 contains most of the standard Python modules, as well as modules for
 interfacing to the Tix widget set for Tk and RPM. Note that documentation for
 Python is provided in the python-docs package.

но пифон стоит на самом деле. По крайней мере команда python или python2.5 вызывает его.




Drool

  • Гость
Re: Проблема при установке trac
« Ответ #5 : 30.08.2009 10:01:51 »
grep '^rpm' /etc/apt/sources.list.d/*
grep '^rpm' /etc/apt/sources.list
rpm -qa | grep python

Оффлайн Rini

  • Участник
  • *
  • Сообщений: 19
Re: Проблема при установке trac
« Ответ #6 : 30.08.2009 10:33:02 »
grep '^rpm' /etc/apt/sources.list.d/*

/etc/apt/sources.list.d/server.alt.list:rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch i586 classic
/etc/apt/sources.list.d/server.alt.list:rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch noarch classic

 grep '^rpm' /etc/apt/sources.list

ничего

rpm -qa | grep python

python-modules-bsddb-2.5.2-alt2
python-modules-logging-2.5.2-alt2
python-modules-compiler-2.5.2-alt2
python-modules-encodings-2.5.2-alt2
python-modules-2.5.2-alt2
python-base-2.5.2-alt2
python-modules-xml-2.5.2-alt2
python-modules-hotshot-2.5.2-alt2
python-modules-curses-2.5.2-alt2
python-modules-email-2.5.2-alt2

ОС стоит больше года. до этого ставил на нее различный софт для изучения. сейчас исключительно на ней крутится апач и subversion
переставлять не хотелось. Видать это остатки моих экспериментов  :)

мне необходимо удалить эти пакеты через rpm?





Оффлайн dk

  • alt linux team
  • ***
  • Сообщений: 989
Re: Проблема при установке trac
« Ответ #7 : 30.08.2009 10:40:30 »
У вас стоит питон ветки 2.5. Между тем в дистрибутивах ALTLinux 4.0 питон версии 2.4, что видно отсюда:
http://www.sisyphus.ru/ru/srpm/python

Таким образом, вы когда-то обновили питон из репозитория, более старшего, чем Branch/4.0, а теперь пытаетесь поставить trac из Branch/4.0.

Думаю, что проще всего будет взять trac из Branch/4.1, он там вроде бы точно такой же, только пересобран с питоном версии 2.5: http://www.sisyphus.ru/ru/srpm/Branch41/trac/changelog

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 382
  • Учиться .... Телепатами не рождаются, ими ....
Re: Проблема при установке trac
« Ответ #8 : 30.08.2009 10:41:48 »
Цитировать
python или python2.5
не понял - у вас в дистрибутиве должен быть python2.4

Оффлайн Rini

  • Участник
  • *
  • Сообщений: 19
Re: Проблема при установке trac
« Ответ #9 : 30.08.2009 10:44:03 »
Спасибо. удалил эти пакеты и установка прошла успешно.