I did get it to install after manually installling libtomcat6-java, but

To reproduce: ubuntu 14.04 LTS

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install red5-server

"red5-server: Depends: libtomcat6-java (>= 6.0.20-7) but it is not going
to be installed"

then:

sudo apt-get install libtomcat6-java

This successfully brings in all dependencies for libtomcat6-java and installs.
Trying again after manually meeting the libtomcat6-java dependency:

----------------------------

sudo apt-get install red5-server

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libred5-java
The following NEW packages will be installed:
  libred5-java red5-server
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,023 kB of archives.
After this operation, 1,372 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package libred5-java.
(Reading database ... 263596 files and directories currently installed.)
Preparing to unpack .../libred5-java_1.0~svn4374-3_all.deb ...
Unpacking libred5-java (1.0~svn4374-3) ...
Selecting previously unselected package red5-server.
Preparing to unpack .../red5-server_1.0~svn4374-3_all.deb ...
Unpacking red5-server (1.0~svn4374-3) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libred5-java (1.0~svn4374-3) ...
Setting up red5-server (1.0~svn4374-3) ...
Allowing use of questionable username.
Adding system user `_red5' (UID 119) ...
Adding new user `_red5' (UID 119) with group `nogroup' ...
Not creating home directory `/usr/share/red5'.
 * Starting Flash streaming server  red5-server                                 
                                                                       [fail] 
invoke-rc.d: initscript red5-server, action "start" failed.
dpkg: error processing package red5-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 red5-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

----------------------------

/var/log/dpkg.log

2014-06-25 14:45:48 install libred5-java:all <none> 1.0~svn4374-3
2014-06-25 14:45:48 status half-installed libred5-java:all 1.0~svn4374-3
2014-06-25 14:45:48 status unpacked libred5-java:all 1.0~svn4374-3
2014-06-25 14:45:48 status unpacked libred5-java:all 1.0~svn4374-3
2014-06-25 14:45:48 install red5-server:all <none> 1.0~svn4374-3
2014-06-25 14:45:48 status half-installed red5-server:all 1.0~svn4374-3
2014-06-25 14:45:49 status triggers-pending ureadahead:amd64 0.100.0-16
2014-06-25 14:45:49 status half-installed red5-server:all 1.0~svn4374-3
2014-06-25 14:45:49 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:49 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:49 trigproc ureadahead:amd64 0.100.0-16 0.100.0-16
2014-06-25 14:45:49 status half-configured ureadahead:amd64 0.100.0-16
2014-06-25 14:45:49 status installed ureadahead:amd64 0.100.0-16
2014-06-25 14:45:50 startup packages configure
2014-06-25 14:45:50 configure libred5-java:all 1.0~svn4374-3 <none>
2014-06-25 14:45:50 status unpacked libred5-java:all 1.0~svn4374-3
2014-06-25 14:45:50 status half-configured libred5-java:all 1.0~svn4374-3
2014-06-25 14:45:50 status installed libred5-java:all 1.0~svn4374-3
2014-06-25 14:45:50 configure red5-server:all 1.0~svn4374-3 <none>
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:50 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:51 status triggers-pending ureadahead:amd64 0.100.0-16
2014-06-25 14:45:51 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:52 status unpacked red5-server:all 1.0~svn4374-3
2014-06-25 14:45:52 status half-configured red5-server:all 1.0~svn4374-3
2014-06-25 14:45:57 trigproc ureadahead:amd64 0.100.0-16 <none>
2014-06-25 14:45:57 status half-configured ureadahead:amd64 0.100.0-16
2014-06-25 14:45:57 status installed ureadahead:amd64 0.100.0-16
2014-06-25 14:49:31 startup packages configure
2014-06-25 14:49:31 configure red5-server:all 1.0~svn4374-3 <none>
2014-06-25 14:49:31 status half-configured red5-server:all 1.0~svn4374-3
2014-06-25 14:49:36 status installed red5-server:all 1.0~svn4374-3

----------------------------

sudo service red5-server restart
 * Restarting Flash streaming server red5-server                                
                                                                       [fail] 

 /var/log/red5/error.log is empty

 /var/log/red5/red5.log

2014-06-25 15:15:03,458 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - 
Refreshing 
org.springframework.context.support.FileSystemXmlApplicationContext@4a2fcea5: 
startup date [Wed Jun 25 15:15:03 EDT 2014]; root of context hierarchy
2014-06-25 15:15:04,115 [main] INFO  o.s.b.f.c.PropertyPlaceholderConfigurer - 
Loading properties file from class path resource [red5.properties]
2014-06-25 15:15:04,129 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - 
Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@22480241: 
defining beans 
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server];
 root of factory hierarchy
2014-06-25 15:15:04,170 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - 
Refreshing 
org.springframework.context.support.FileSystemXmlApplicationContext@3018fc1a: 
startup date [Wed Jun 25 15:15:04 EDT 2014]; root of context hierarchy
2014-06-25 15:15:04,351 [main] INFO  o.s.b.f.c.PropertyPlaceholderConfigurer - 
Loading properties file from class path resource [red5.properties]
2014-06-25 15:15:04,364 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - 
Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@3d6bf0b6: 
defining beans 
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.support.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEncoder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,fileConsumer,playlistSubscriberStream,clientBroadcastStream];
 root of factory hierarchy
2014-06-25 15:15:04,388 [main] INFO  o.s.r.rmi.RmiRegistryFactoryBean - 
Creating new RMI registry
2014-06-25 15:15:04,699 [main] INFO  o.s.j.s.ConnectorServerFactoryBean - JMX 
connector server started: 
javax.management.remote.rmi.RMIConnectorServer@638eff3c
2014-06-25 15:15:04,735 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - 
Registering beans for JMX exposure on startup
2014-06-25 15:15:04,737 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Bean 
with name 'org.springframework.jmx.support.ConnectorServerFactoryBean#0' has 
been autodetected for JMX exposure
2014-06-25 15:15:04,846 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Bean 
with name 'schedulingService' has been autodetected for JMX exposure
2014-06-25 15:15:04,883 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Bean 
with name 'clientBroadcastStream' has been autodetected for JMX exposure
2014-06-25 15:15:04,912 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - 
Located MBean 'org.springframework.jmx.support.ConnectorServerFactoryBean#0': 
registering with JMX server as MBean 
[org.red5.server:name=org.springframework.jmx.support.ConnectorServerFactoryBean#0,type=RMIConnectorServer]
2014-06-25 15:15:04,914 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - 
Located MBean 'schedulingService': registering with JMX server as MBean 
[org.red5.server:name=schedulingService,type=QuartzSchedulingService]
2014-06-25 15:15:05,394 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - 
Destroying singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@3d6bf0b6: 
defining beans 
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.support.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEncoder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,fileConsumer,playlistSubscriberStream,clientBroadcastStream];
 root of factory hierarchy
2014-06-25 15:15:05,395 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - 
Unregistering JMX-exposed beans on shutdown
2014-06-25 15:15:05,397 [main] INFO  o.s.j.s.ConnectorServerFactoryBean - 
Stopping JMX connector server: 
javax.management.remote.rmi.RMIConnectorServer@638eff3c
2014-06-25 15:15:05,400 [main] INFO  o.s.r.rmi.RmiRegistryFactoryBean - 
Unexporting RMI registry
2014-06-25 15:15:05,401 [main] INFO  o.s.b.f.s.DefaultListableBeanFactory - 
Destroying singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@22480241: 
defining beans 
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server];
 root of factory hierarchy

[end]

----------------------------

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Note that it doesn't show the partial installed error, which is
suggested by dpkg..?

it can be reproduced by purging the packages:

sudo apt-get purge libred5-java
sudo apt-get purge red5-server

and attempting to re-install:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1312814

Title:
  red5-server has unmet dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/red5/+bug/1312814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to