Announcement

Collapse
No announcement yet.

SOLVED! Broken update in Lucid

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SOLVED! Broken update in Lucid

    Hi there

    Been happily using Lucid up until a couple of weeks ago

    Have had a problem getting an update to go through...always do this via sudo apt-get update in terminal and here's the error
    I keep on getting:

    =======================
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be upgraded:
    linux-firmware
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/9,508kB of archives.
    After this operation, 3,674kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 309794 files and directories currently installed.)
    Preparing to replace linux-firmware 1.34 (using .../linux-firmware_1.34.1_all.deb) ...
    Unpacking replacement linux-firmware ...
    dpkg: error processing /var/cache/apt/archives/linux-firmware_1.34.1_all.deb (--unpack):
    trying to overwrite '/lib/firmware/asihpi/dsp2400.bin', which is also in package alsa-firmware 0:1.0.17-0medibuntu2.9.10.1
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/linux-firmware_1.34.1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    =========================

    Just wondering if you have come across this before and can suggest a fix...could be co-incidental but my system crashes everyday
    now since I started having this issue

    Grateful for your advice

    Thanks

    Raaj
    -------------------------------------------------------
    Viva Kubuntu!!
    Pentium 4 2.4Ghz
    2Gb RAM
    Oneiric Ocelot 11.10
    KDE 4.7.1

    #2
    Re: Broken update in Lucid

    First try, in a Konsole window,
    Code:
    sudo dpkg --configure -a
    Then try
    Code:
    sudo apt-get update && sudo apt-get dist-upgrade
    and see if any errors occur.

    If that doesn't work, try removing the offending package:

    Code:
    sudo rm /var/cache/apt/archives/linux-firmware_1.34.1_all.deb
    and then try again with
    Code:
    sudo apt-get update && sudo apt-get dist-upgrade

    Comment


      #3
      Re: Broken update in Lucid

      Hey thanks for this

      Tried it twice and still getting exact same error... so I guess the rm command is not letting me delete that file

      Very strange!!

      Raaj
      -------------------------------------------------------
      Viva Kubuntu!!
      Pentium 4 2.4Ghz
      2Gb RAM
      Oneiric Ocelot 11.10
      KDE 4.7.1

      Comment


        #4
        Re: Broken update in Lucid

        Any ideas folks? Still having this issue
        Thanks
        Raaj
        -------------------------------------------------------
        Viva Kubuntu!!
        Pentium 4 2.4Ghz
        2Gb RAM
        Oneiric Ocelot 11.10
        KDE 4.7.1

        Comment


          #5
          Re: Broken update in Lucid

          When you issue this command in a terminal:

          Code:
          sudo rm /var/cache/apt/archives/linux-firmware_1.34.1_all.deb
          what does the error message say?

          Also, please post the file /etc/apt/sources.list

          Comment


            #6
            Re: Broken update in Lucid

            Hi there
            I don't get an error when I run the command
            However, I do get the same error as posted above when
            I try to run an update as follows:

            ================================================== ==================================================
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            The following packages will be upgraded:
            linux-firmware
            1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            Need to get 9,508kB of archives.
            After this operation, 3,674kB of additional disk space will be used.
            Do you want to continue [Y/n]? y
            Get: 1 http://gb.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-firmware 1.34.1 [9,508kB]
            Fetched 9,508kB in 1min 1s (156kB/s)
            (Reading database ... 310119 files and directories currently installed.)
            Preparing to replace linux-firmware 1.34 (using .../linux-firmware_1.34.1_all.deb) ...
            Unpacking replacement linux-firmware ...
            dpkg: error processing /var/cache/apt/archives/linux-firmware_1.34.1_all.deb (--unpack):
            trying to overwrite '/lib/firmware/asihpi/dsp2400.bin', which is also in package alsa-firmware 0:1.0.17-0medibuntu2.9.10.1
            dpkg-deb: subprocess paste killed by signal (Broken pipe)
            Errors were encountered while processing:
            /var/cache/apt/archives/linux-firmware_1.34.1_all.deb
            E: Sub-process /usr/bin/dpkg returned an error code (1)
            ================================================== ==================================================


            My sources file is:
            ================================================== ==================================================
            # deb cdrom:[Kubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
            # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
            # newer versions of the distribution.

            deb http://gb.archive.ubuntu.com/ubuntu/ lucid main restricted
            deb-src http://gb.archive.ubuntu.com/ubuntu/ lucid restricted main multiverse universe #Added by software-properties

            ## Major bug fix updates produced after the final release of the
            ## distribution.

            ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
            ## team. Also, please note that software in universe WILL NOT receive any
            ## review or updates from the Ubuntu security team.
            deb http://gb.archive.ubuntu.com/ubuntu/ lucid universe

            ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
            ## team, and may not be under a free licence. Please satisfy yourself as to
            ## your rights to use the software. Also, please note that software in
            ## multiverse WILL NOT receive any review or updates from the Ubuntu
            ## security team.
            deb http://gb.archive.ubuntu.com/ubuntu/ lucid multiverse

            ## Uncomment the following two lines to add software from the 'backports'
            ## repository.
            ## N.B. software from this repository may not have been tested as
            ## extensively as that contained in the main release, although it includes
            ## newer versions of some applications which may provide useful features.
            ## Also, please note that software in backports WILL NOT receive any review
            ## or updates from the Ubuntu security team.

            ## Uncomment the following two lines to add software from Canonical's
            ## 'partner' repository.
            ## This software is not part of Ubuntu, but is offered by Canonical and the
            ## respective vendors as a service to Ubuntu users.
            deb http://archive.canonical.com/ubuntu lucid partner
            deb-src http://archive.canonical.com/ubuntu lucid partner

            deb http://security.ubuntu.com/ubuntu lucid-security main restricted
            deb-src http://security.ubuntu.com/ubuntu lucid-security restricted main multiverse universe #Added by software-properties
            deb http://security.ubuntu.com/ubuntu lucid-security universe
            deb http://gb.archive.ubuntu.com/ubuntu/ lucid-updates restricted main multiverse universe
            deb-src http://gb.archive.ubuntu.com/ubuntu/ lucid-updates restricted main multiverse universe #Added by software-properties
            deb http://gb.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe
            deb-src http://gb.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe #Added by software-properties
            deb http://security.ubuntu.com/ubuntu lucid-security multiverse
            # deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu lucid main # disabled on upgrade to lucid
            # deb http://www.geekconnection.org/remastersys/repository karmic/
            deb http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
            ================================================== ==================================================

            Thanks again
            R
            -------------------------------------------------------
            Viva Kubuntu!!
            Pentium 4 2.4Ghz
            2Gb RAM
            Oneiric Ocelot 11.10
            KDE 4.7.1

            Comment


              #7
              Re: Broken update in Lucid

              Google informs me this is a documented bug: https://bugs.launchpad.net/ubuntu/+s...re/+bug/591886

              The suggested fix is

              Code:
              sudo dpkg -i --force-overwrite linux-firmware_1.34.1_all.deb
              so give that a try.

              Comment


                #8
                Re: SOLVED! Broken update in Lucid

                Hey thanks very much!

                Issuing command:

                sudo dpkg -i --force-overwrite /var/cache/apt/archives/linux-firmware_1.34.1_all.deb


                Did the trick nicely

                Cheers

                Raaj
                -------------------------------------------------------
                Viva Kubuntu!!
                Pentium 4 2.4Ghz
                2Gb RAM
                Oneiric Ocelot 11.10
                KDE 4.7.1

                Comment

                Working...
                X