Page 1 of 10 123 ... LastLast
Results 1 to 10 of 92

Thread: dpkg: error processing archive

  1. #1
    Join Date
    Feb 2014
    Beans
    51

    dpkg: error processing archive

    I have tried...
    apt-get update && apt-get upgrade
    apt-get dist-upgrade
    apt-get install -f
    apt-get clean
    apt-get autoremove
    aptitude install redeclipse-data

    All to no avail. see output from terminal below. Any ideas appreciated.

    Code:
    ****@***********:/home/*****# apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      redeclipse-data
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/781 MB of archives.
    After this operation, 340 kB disk space will be freed.
    Do you want to continue? [Y/n] y
    (Reading database ... 806515 files and directories currently installed.)
    Preparing to unpack .../redeclipse-data_1.5.1-1~getdeb2_all.deb ...
    Unpacking redeclipse-data (1.5.1-1~getdeb2) over (1.5.1-1~getdeb1) ...
    dpkg: error processing archive /var/cache/apt/archives/redeclipse-data_1.5.1-1~getdeb2_all.deb (--unpack):
     trying to overwrite '/usr/share/games/redeclipse/config/fonts/play.cfg', which is also in package redeclipse 1.5.1-1~getdeb1
    Errors were encountered while processing:
     /var/cache/apt/archives/redeclipse-data_1.5.1-1~getdeb2_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Code:
    root@*****:/home/*****# apt-get upgrade redeclipse-data
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages will be upgraded:
      redeclipse-data
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 781 MB of archives.
    After this operation, 340 kB disk space will be freed.
    Do you want to continue? [Y/n] y
    Get:1 http://archive.getdeb.net/ubuntu/ trusty-getdeb/games redeclipse-data all 1.5.1-1~getdeb2 [781 MB]
    Fetched 781 MB in 18min 44s (695 kB/s)                                         
    (Reading database ... 806252 files and directories currently installed.)
    Preparing to unpack .../redeclipse-data_1.5.1-1~getdeb2_all.deb ...
    Unpacking redeclipse-data (1.5.1-1~getdeb2) over (1.5.1-1~getdeb1) ...
    dpkg: error processing archive /var/cache/apt/archives/redeclipse-data_1.5.1-1~getdeb2_all.deb (--unpack):
     trying to overwrite '/usr/share/games/redeclipse/config/fonts/play.cfg', which is also in package redeclipse 1.5.1-1~getdeb1
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Last edited by ctgcwiqc; May 21st, 2015 at 12:36 AM. Reason: pc name

  2. #2
    Join Date
    Feb 2014
    Beans
    51

    Re: dpkg: error processing archive

    Well now after navigating I see that this is not the section to post this into. Mod please move to the appropriate location. Thanks.

  3. #3
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: dpkg: error processing archive

    Thread moved to General Help.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: dpkg: error processing archive

    ctgcwiqc; Hummm ...

    'redeclipse' also installed from PPA such that there is a conflict ?
    what returns:
    Code:
    apt-cache policy redeclipse
    maybe yes
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Feb 2014
    Beans
    51

    Re: dpkg: error processing archive

    Code:
    *****@***********:~$ apt-cache policy redeclipse
    redeclipse:
      Installed: 1.5.1-1~getdeb1
      Candidate: 1.5.1-1~getdeb1
      Version table:
     *** 1.5.1-1~getdeb1 0
            500 http://archive.getdeb.net/ubuntu/ trusty-getdeb/games amd64 Packages
            100 /var/lib/dpkg/status
         1.4-5 0
            500 http://us.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: dpkg: error processing archive

    ctgcwiqc; Yepper;

    What we have here is a conflict of interest.
    Is there a particular reason you installed from PPA and want to keep " archive.getdeb.net/ubuntu/ " ?

    One or the other will have to be removed.


    there can be only one
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #7
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: dpkg: error processing archive

    Quote Originally Posted by Bashing-om View Post
    ctgcwiqc; Yepper;

    What we have here is a conflict of interest.
    Is there a particular reason you installed from PPA and want to keep " archive.getdeb.net/ubuntu/ " ?

    One or the other will have to be removed.


    there can be only one
    Both versions are from getdeb:
    Code:
    redeclipse-data_1.5.1-1~getdeb2
    redeclipse 1.5.1-1~getdeb1
    so there shouldn't be a conflict
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  8. #8
    Join Date
    Feb 2014
    Beans
    51

    Re: dpkg: error processing archive

    I have had that PPA installed for months to get the latest update to Red Eclipse (V1.5) The Ubuntu repositories was still at (V1.4). This game has updated before with no problem. I have this exact setup on 4 laptops, mine is the only one with this problem that I am aware of. Thanks for the assistance.

  9. #9
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: dpkg: error processing archive

    ctgcwiqc; Well ..

    As I continue to think about this situation:
    dpkg: error processing archive /var/cache/apt/archives/redeclipse-data_1.5.1-1~getdeb2_all.deb (--unpack):
    trying to overwrite '/usr/share/games/redeclipse/config/fonts/play.cfg', which is also in package redeclipse 1.5.1-1~getdeb1

    bk

    dpkg: error processing archive /var/cache/apt/archives/redeclipse-data_1.5.1-1~getdeb2_all.deb (--unpack):
    trying to overwrite '/usr/share/games/redeclipse/config/fonts/play.cfg', which is also in package redeclipse 1.5.1-1~getdeb1

    bk

    1.5.1-1~getdeb1 0
    500 http://archive.getdeb.net/ubuntu/ trusty-getdeb/games amd64 Packages
    As it is your expressed desire to keep the PPA version; Let's try a less invasive method to upgrade the package:
    Code:
    dpkg --remove --force-remove-reinstreq redeclipse
    sudo apt-get update
    apt-get install redeclipse
    With the hope that " /var/cache/apt/archives/redeclipse-data_1.5.1-1~getdeb2" is removed from the data base;
    'update' rebuilds the data base ;
    and lastly that "install redeclipse" will install along with the new version of "redeclipse-data" .

    looks reasonable to me
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  10. #10
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: dpkg: error processing archive

    --force-remove-reinstreq merely deletes the package record from the dpkg database. Files not otherwise removed may be left behind to foul a later install of the upgraded package.
    So look carefully at any new error messages; might simply need to delete old cruft manually.

Page 1 of 10 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •