Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
broweOffline
Post subject: libservlet2.4-java  PostPosted: 03.04.2012, 01:45



Joined: 2010-09-12
Posts: 152
Location: Canada
Status: Offline
Ran into a problem during dist-upgrade today:

      Code:

dpkg: error processing /var/cache/apt/archives/libservlet2.5-java_6.0.35-2_all.deb (--unpack):
 trying to overwrite '/usr/share/maven-repo/javax/servlet/servlet-api/debian/servlet-api-debian.pom', which is also in package libservlet2.4-java 5.5.33-1
configured to not write apport reports
Errors were encountered while processing:
 /var/cache/apt/archives/libservlet2.5-java_6.0.35-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This lib is required by openoffice. I fixed the issue by manually installing libservlet2.5-java
and removing libservlet2.4-java as follows:

      Code:

# apt-cache policy libservlet2.5-java
libservlet2.5-java:
  Installed: 6.0.35-1
  Candidate: 6.0.35-2

# apt-get purge --remove libservlet2.4-java
Removing libservlet2.4-java ...

# apt-get install --reinstall libservlet2.5-java
Setting up libservlet2.5-java (6.0.35-2) ...

# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Looks like the step from 2.4 to 2.5 had a problem and from my brief testing it doesn't look like 2.4 is needed.
If anyone else has more information please post.
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: libservlet2.4-java  PostPosted: 03.04.2012, 01:52



Joined: 2010-08-25
Posts: 736

Status: Offline
That's a bug in libservlet2.5-java's packaging and this is the recommended action to fix the problem.
 
 View user's profile Send private message  
Reply with quote Back to top
JohnMLOffline
Post subject: Re: libservlet2.4-java  PostPosted: 03.04.2012, 18:02



Joined: 2010-12-02
Posts: 3

Status: Offline
thanks a lot for that tip, i could fix this problem
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio