Results 1 to 8 of 8

Thread: upgrading error

  1. #1
    Join Date
    Oct 2009
    Beans
    412

    upgrading error

    Upgrading from 15.10 to 16.04 on my Dell M50 was not straightforward. First it stopped with a bunch of errors, so I ran 'dpkg --configure -a' and finally it appears to be OK, except for one error that occurs doing a regular dist-upgrade:

    Code:
    Reading package lists... Done                      Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages have been kept back:
      libjpeg-turbo-progs
    The following packages will be upgraded:
      libjpeg-progs
    1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 0 B/71.4 kB of archives.
    After this operation, 160 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 302158 files and directories currently installed.)
    Preparing to unpack .../libjpeg-progs_1%3a9b-1_i386.deb ...
    Unpacking libjpeg-progs (1:9b-1) over (8c-2ubuntu8) ...
    dpkg: error processing archive /var/cache/apt/archives/libjpeg-progs_1%3a9b-1_i386.deb (--unpack):
     trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.3.0-0ubuntu2
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/libjpeg-progs_1%3a9b-1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I appreciate your help.

    Daniel

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: upgrading error

    That % in the file name is not normal. Please try to reinstall libjpeg-progs :
    Code:
    sudo apt-get install --reinstall libjpeg-progs
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  3. #3
    Join Date
    Oct 2009
    Beans
    412

    Re: upgrading error

    It didn't work, see the transaction:
    Code:
    sudo apt-get install --reinstall libjpeg-progsReading package lists
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages will be upgraded:
      libjpeg-progs
    1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 0 B/71.4 kB of archives.
    After this operation, 160 kB of additional disk space will be used.
    (Reading database ... 302158 files and directories currently installed.)
    Preparing to unpack .../libjpeg-progs_1%3a9b-1_i386.deb ...
    Unpacking libjpeg-progs (1:9b-1) over (8c-2ubuntu8) ...
    dpkg: error processing archive /var/cache/apt/archives/libjpeg-progs_1%3a9b-1_i386.deb (--unpack):
     trying to overwrite '/usr/bin/rdjpgcom', which is also in package libjpeg-turbo-progs 1.3.0-0ubuntu2
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/libjpeg-progs_1%3a9b-1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  4. #4
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

    Re: upgrading error

    The packages libjpeg-progs and libjpeb-turbo-progs conflict and cannot both be installed on your 16.04 system at the same time.

  5. #5
    Join Date
    Oct 2009
    Beans
    412

    Re: upgrading error

    that's what I thought, so which one is the recommended one for 16.04?

  6. #6
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

    Re: upgrading error

    Looking at the control files using apt-cache, seem like libjpeg-turbo-progs replaces libjpeg-progs.

  7. #7
    Join Date
    Oct 2009
    Beans
    412

    Re: upgrading error - SOLVED

    These two packages were dwelling happily on 14.04 but the upgrade from 14.04 to 16.04 brought the problem. The response to 'dpkg -l | grep jpeg' was a line indicating that libjpeg-progs was some kind of transitional packages related to the requirements. As you suggested I purged that package and I was able to run the upgrade.

    Thank you very much.

  8. #8
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 19.10 Eoan Ermine

    Re: upgrading error

    Could you please mark the thread as 'Solved' under the Thread Tools menu at the top of this page. Doing so helps others who might be having the same problem.

    Thanks!

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
  •