Bug 18295 - Требует несуществующий пакет /usr/bin/java
Summary: Требует несуществующий пакет /usr/bin/java
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: java-1.6.0-sun-devel (show other bugs)
Version: unstable
Hardware: all Linux
: P2 critical
Assignee: viy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-22 08:05 MSK by Andrey Rahmatullin
Modified: 2009-01-10 12:13 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Rahmatullin 2008-12-22 08:05:34 MSK
$ sudo apt-get install java-common
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Следующие дополнительные пакеты будут установлены:
  java-1.4.2-sun java-1.4.2-sun-devel java-1.5.0-sun java-1.6.0-openjdk rhino swing-layout xmlbeans
Следующие пакеты будут ОБНОВЛЕНЫ:
  java-common
Следующие пакеты будут УДАЛЕНЫ:
  java-1.6.0-sun-devel
Следующие НОВЫЕ пакеты будут установлены:
  java-1.4.2-sun java-1.4.2-sun-devel java-1.5.0-sun java-1.6.0-openjdk rhino swing-layout xmlbeans
1 будет обновлено, 7 новых установлено, 1 пакетов будет удалено и 21 не будет обновлено.
Comment 1 viy 2008-12-25 13:43:30 MSK
Может, локальное что-то?
не воспроизводится:
$ hsh --apt-config=/etc/apt/apt.conf.SS --with-stuff --initroot-only
[...]
$ hsh-install java-common
<13>Dec 25 10:45:20 rpmi: rpm-build-java-0:1.7.6-alt1 installed
<13>Dec 25 10:45:20 rpmi: jpackage-utils-0:1.7.6-alt1 installed
<13>Dec 25 10:45:20 rpmi: java-common-1.3.18-alt1 installed
Comment 2 Andrey Rahmatullin 2008-12-25 20:18:06 MSK
Investigating java-1.6.0-sun-devel                                 
Package java-1.6.0-sun-devel has broken dep on /usr/bin/java       
  Considering java-common 10050 as a solution to java-1.6.0-sun-devel 0
  Removing java-1.6.0-sun-devel rather than change /usr/bin/java       
Investigating ant                                                      
Package ant has broken dep on java-devel                               
  Considering java-1.6.0-sun-devel 0 as a solution to ant 77           
  Added java-1.6.0-sun-devel to the remove list                        
  Considering java-1.6.0-openjdk-devel 0 as a solution to ant 77       
  Re-Instated xmlbeans                                                 
  Re-Instated rhino                                                    
  Re-Instated java-1.6.0-openjdk
  Re-Instated swing-layout
    Reinst Failed because of servletapi4
    Reinst Failed because of javahelp2
    Reinst Failed because of netbeans-platform8
  Added java-1.6.0-openjdk-devel to the remove list
  Considering java-1.5.0-sun-devel 0 as a solution to ant 77
  Re-Instated java-1.5.0-sun
    Reinst Failed because of protected java-common
  Added java-1.5.0-sun-devel to the remove list
  Considering java-1.4.2-sun-devel 0 as a solution to ant 77
  Re-Instated java-1.4.2-sun
  Re-Instated java-1.4.2-sun-devel
  Installing java-1.4.2-sun-devel
Done
Comment 3 viy 2009-01-04 17:17:51 MSK
Разобрался и поправил, теперь java-1.x.0-* провайдят /usr/bin/java.

$ rpmquery -p --provides java-1.?.0-*-1.?.0*.rpm | grep '/usr/bin/java '
/usr/bin/java = 1503
/usr/bin/java = 16000
/usr/bin/java = 1603

И вопрос для потомков:
"Investigating java-1.6.0-sun-devel ..."
это какой командой так сделать можно?
Comment 4 Andrey Rahmatullin 2009-01-10 12:13:43 MSK
-oDebug::PkgProblemResolver=true