Error During Universe Upgrade
Contents |
have one accepted answer. Are you sure you want to replace the current answer with this one? Yes, I'm sure. Changed your mind? You previously marked this answer dpkg error processing archive *.deb (--install) as accepted. Are you sure you want to unaccept it? Yes, I'm dpkg error processing archive (--install) sure. Sign Up Log In submit Tutorials Questions Projects Meetups Main Site logo-horizontal DigitalOcean Community Menu Tutorials Questions Projects Meetups dpkg error processing cannot access archive no such file or directory Main Site Sign Up Log In submit View All Results By: damir Subscribe Subscribed Share 0 Error while trying to upgrade nginx October 5, 2015 7.5k views Nginx LEMP Ubuntu I am
Dpkg: Error Processing Package Nginx-full (--configure):
trying to upgrade NGINX to the latest stable but keep getting this error: Preparing to unpack .../nginx_1.8.0-1~trusty_amd64.deb ... Unpacking nginx (1.8.0-1~trusty) over (1.4.6-1ubuntu3.3) ... dpkg: error processing archive /var/cache/apt/archives/nginx_1.8.0-1~trusty_amd64.deb (--unpack): trying to overwrite '/etc/logrotate.d/nginx', which is also in package nginx-common 1.4.6-1ubuntu3.3 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/nginx_1.8.0-1~trusty_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) dpkg-deb: error: subprocess paste was killed by signal (broken pipe) ubuntu I hav tried to upgrade to the mainline also but same errror. What am I missing? 13 comments 0 BrookDO MOD October 5, 2015 Hi, Can you let us know what these commands return? sudo dpkg --configure -a sudo apt-get install -f cat /etc/apt/sources.list edited by asb 0 damir October 5, 2015 sudo dpkg --configure -a returned nothing sudo apt-get install -f returned: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. cat /etc/apt/sources.list returned: ## Note, this file is written by cloud-init on first boot of an instance ## modifications made here will not survive a re-bundle. ## if you wish to make changes you can: ## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg ## or do the same in user-data ## b.) add sources in /etc/apt/sources.list.d ## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl # # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://mirrors.digitalocean.com/ubuntu trusty main deb-src http://mirrors.digitalocean.com/ubuntu trusty main ## Major bug fix updates produced after the final release of the ## distribution. deb http://mirrors.digitalocean.com/ubuntu trusty-updates main deb-src http://mirror
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to nginx sub-process /usr/bin/dpkg returned an error code (1) any questions you might have Meta Discuss the workings and policies
Trying To Overwrite '/etc/default/nginx', Which Is Also In Package Nginx-common
of this site About Us Learn more about Stack Overflow the company Business Learn more about
E: Unable To Fetch Some Archives, Maybe Run Apt-get Update Or Try With --fix-missing?
hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu https://www.digitalocean.com/community/questions/error-while-trying-to-upgrade-nginx users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top A “failed to fetch” error occurs when apt-get update is run. How do I fix this? up vote http://askubuntu.com/questions/298177/a-failed-to-fetch-error-occurs-when-apt-get-update-is-run-how-do-i-fix-this 18 down vote favorite 10 Contrary to the note above, I haven't found the answer to my problem. I have read almost a dozen apt-get update questions, most from askubuntu.com, with "failed to fetch" errors and tried the solutions answered there. Unfortunately, none worked. I just recently installed Ubuntu 12.04 on my laptop, dual booting it alongside Windows 7. When i tried sudo apt-get update on the terminal, the following kept occuring: Err http://ph.archive.ubuntu.com precise InRelease Err http://ph.archive.ubuntu.com precise-updates InRelease Err http://ph.archive.ubuntu.com precise-backports InRelease Err http://ph.archive.ubuntu.com precise Release.gpg Unable to connect to ph.archive.ubuntu.com:http: [IP: 91.189.92.177 80] Err http://ph.archive.ubuntu.com precise-updates Release.gpg Unable to connect to ph.archive.ubuntu.com:http: [IP: 91.189.92.177 80] Err http://ph.archive.ubuntu.com precise-backports Release.gpg Unable to connect to ph.archive.ubuntu.com:http: [IP: 91.189.92.177 80] Err http://extras.ubuntu.com precise InRelease Err http://extras.ubuntu.com precise Release.gpg Unable to connect to extras.ubuntu.com:http: Err http://security.ubuntu.com precise-security InRelease Err http://security.ubuntu.com precise-security Release.gpg Unable to connect to security.ubuntu.com:http: [IP: 91.189.92.190 80] Reading package lists... Done W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/precise/InRelease W:
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu https://ubuntuforums.org/showthread.php?t=2322102 Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [SOLVED] Ubuntu 16.04 za.archive upgrade error Having an Issue With Posting ? Do you want to help us debug the posting issues ? < error processing is the place to report it, thanks ! Results 1 to 1 of 1 Thread: Ubuntu 16.04 za.archive upgrade error Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode April 26th, 2016 #1 DanieW View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2013 Beans 2 Ubuntu 16.04 za.archive upgrade error I have dpkg error processing a local upgrade error to 16.04 that terminated the upgrade process from version 15.10 4.2.0-35-generic Mar 15 22:15:45 x86_64, Wily Werewolf A "Not Found [IP:197.155.77.2 80]" error on the za.archive.ubuntu.com domain I seem to have not resolved by including the corresponding uk.archive.ubuntu.com domain for xenial universe. I now also have Connection failed [IP: 91.189.88.149 80] I saw errors on http://za.archive.ubuntu.com for xenial/universe Sources i.e. for: - > Error during update - > W:Failed to fetch - > http://za.archive.ubuntu.com/ubuntu/...md64/Packages/ - > 404 Not Found [] I found that I can find Packages.gz and Packages.xz at these locations. (Just not unpacked) And similarly for http://za.archive.ubuntu.com/ubuntu/...i386/Packages/ there are actually Packages.gz and Packages.xz And similarly for http://za.archive.ubuntu.com/ubuntu/...ource/Sources/ there are actually Sources.gz and Sources.xz [New edit] Despite above, the latest attempt has proceeded without a hitch. - i.e. Resolved. Last edited by DanieW; May 4th, 2016 at 02:48 PM. Reason: Resolved Adv Reply Reply With Quote Quick Navigation Installation & Upgrades Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu General Help Asus Ubuntu Support (CLOSED) Dell Ubuntu Support (CLOSED) Ubuntu One (CLOSED) Installation & Upgrades Hardware Desktop Environments Networking & Wireless Multime