Public bug reported:

On Ubuntu 14.04.1 LTS

Upgrading nginx (1.6.2-1~trusty) over (1.4.6-1ubuntu3.1) has failed.
This is the command line output of the dpkg (apt-get):

~$ sudo apt-get upgrade                                                         
                                                                
Reading package lists... Done                                                   
                                                                                
   
Building dependency tree                                                        
                                                                                
   
Reading state information... Done                                               
                                                                                
   
Calculating upgrade... Done                                                     
                                                                                
   
The following packages will be upgraded:                                        
                                                                                
   
  nginx                                                                         
                                                                                
   
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.             
                                                                                
   
Need to get 0 B/384 kB of archives.                                             
                                                                                
   
After this operation, 909 kB of additional disk space will be used.             
                                                                                
   
Do you want to continue? [Y/n]                                                  
                                                                                
   
(Reading database ... 74323 files and directories currently installed.)         
                                                                                
   
Preparing to unpack .../nginx_1.6.2-1~trusty_amd64.deb ...                      
                                                                                
   
Unpacking nginx (1.6.2-1~trusty) over (1.4.6-1ubuntu3.1) ...                    
                                                                                
   
dpkg: error processing archive 
/var/cache/apt/archives/nginx_1.6.2-1~trusty_amd64.deb (--unpack):              
                                                    
 trying to overwrite '/etc/logrotate.d/nginx', which is also in package 
nginx-common 1.4.6-1ubuntu3.1                                                   
           
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)            
                                                                                
   
Errors were encountered while processing:                                       
                                                                                
   
 /var/cache/apt/archives/nginx_1.6.2-1~trusty_amd64.deb                         
                                                                                
   
E: Sub-process /usr/bin/dpkg returned an error code (1) 


$ apt-cache policy nginx-common                                                 
                                                                    
nginx-common:                                                                   
                                                                                
   
  Installed: 1.4.6-1ubuntu3.1                                                   
                                                                                
   
  Candidate: 1.4.6-1ubuntu3.1                                                   
                                                                                
   
  Version table:                                                                
                                                                                
   
 *** 1.4.6-1ubuntu3.1 0                                                         
                                                                                
   
        500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages                                                                        
        
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 
Packages                                                                        
         
        100 /var/lib/dpkg/status                                                
                                                                                
   
     1.4.6-1ubuntu3 0                                                           
                                                                                
   
        500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

** Affects: nginx (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- nginx upgrading to 1.4.6-1ubuntu3.1 fails
+ nginx upgrading to 1.6.2-1~trusty fails

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

Title:
  nginx upgrading to 1.6.2-1~trusty fails

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

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

Reply via email to