Announcement

Collapse
No announcement yet.

An error occurred while applying changes

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

    An error occurred while applying changes

    I get the "An error occurred while applying changes" every time I try to update through updater.

    I have had a look online and found info about it but no fix.

    Does anyone know how to fix this please as I really don't want to have to do a fresh install as it took me ages to get Kubuntu just how I wanted it?

    #2
    Run the update in a konsole and copy/paste the output.

    sudo apt-get update && sudo apt-get dist-upgrade
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      I tried them before but just get these errors

      W: Failed to fetch http://dl.google.com/linux/chrome/de...stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

      W: Failed to fetch http://ppa.launchpad.net/c-korn/ppa/...amd64/Packages 404 Not Found

      W: Failed to fetch http://ppa.launchpad.net/c-korn/ppa/...-i386/Packages 404 Not Found

      E: Some index files failed to download. They have been ignored, or old ones used instead.

      AND ALSO

      E: Some index files failed to download. They have been ignored, or old ones used instead.
      zachsp8@HP-Compaq-dc7900:~$ sudo apt-get dist-upgrade
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run ‘apt-get -f install’ to correct these.
      The following packages have unmet dependencies.
      avidemux : Depends: avidemux-plugins (>= 1:2.5.6-dmo6) but it is not installed
      E: Unmet dependencies. Try using -f.

      Comment


        #4
        You're running 14.04. The 404 Not Found means that the specified repository doesn't exist for 14.04. The avidemux 'unmet dependencies' is a separate issue.

        It will be helpful to see the contents of each of the files in /etc/apt/sources.list.d.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          do you just need contents of files or file names as well?

          there is 27 files in that folder

          Comment


            #6
            The contents of those files ending in .list.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              deb http://ppa.launchpad.net/c-korn/ppa/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/c-korn/ppa/ubuntu trusty main

              deb http://www.deb-multimedia.org wheezy main non-free

              deb http://archive.getdeb.net/ubuntu vivid-getdeb apps

              ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
              # You may comment out this entry, but any other modifications may be lost.
              deb http://dl.google.com/linux/chrome/deb/ stable main

              ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
              # You may comment out this entry, but any other modifications may be lost.
              # deb http://dl.google.com/linux/earth/deb/ stable main # disabled on upgrade to trusty

              deb http://ppa.launchpad.net/happy-neko/...aserver/ubuntu raring main
              # deb-src http://ppa.launchpad.net/happy-neko/...aserver/ubuntu raring main
              # deb-src http://ppa.launchpad.net/happy-neko/...aserver/ubuntu raring main
              # deb-src http://ppa.launchpad.net/happy-neko/...aserver/ubuntu raring main

              deb http://ppa.launchpad.net/noobslab/apps/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/noobslab/apps/ubuntu trusty main

              deb http://shell.ninthgate.se/packages/debian wheezy main

              deb http://ppa.launchpad.net/rebuntu16/a...fficial/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/rebuntu16/a...fficial/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/rebuntu16/a...fficial/ubuntu trusty main

              # deb [arch=amd64,i386] http://repo.steampowered.com/steam/ trusty steam # disabled on upgrade to trusty
              # deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ trusty steam # disabled on upgrade to trusty

              deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main

              deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main

              deb http://ppa.launchpad.net/vikoadi/ppa/ubuntu trusty main
              # deb-src http://ppa.launchpad.net/vikoadi/ppa/ubuntu trusty main

              That is all content of folders ending in .list

              Comment


                #8
                It's late here -- 2:19 AM -- so I'm calling it for now. Basically though, you have mixed releases in these repositories; generally not a good idea. Be patient, as you'll likely receive help before I log back on later today.
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Ok thank you

                  Comment


                    #10
                    Your sources include repositories for:

                    trusty (14.04)
                    wheezy (Debian 7 -- obsolete stable release)
                    vivid (15.04 -- no longer supported; reached End-of-Life on Feb 4, 2016)
                    raring (13.04 -- no longer supported; reached End-of-Life on Jan 27, 2014)

                    The files in /etc/apt/sources.list.d/ that contain the entries for wheezy, vivid, and raring 'should' be deleted. Show me what files are there:

                    ls -la /etc/apt/sources.list.d

                    And for good measure, show me the content of /etc/apt/sources.list:

                    cat /etc/apt/sources.list
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Attached Files
                      Last edited by Snowhog; Apr 05, 2016, 04:21 PM.

                      Comment


                        #12
                        You need to delete the google-chrome.list and google-chrome.list.save files. Follow the instructions here to add the new repository and signing key.

                        Delete the c-korn-ppa-trusty.list and c-korn-ppa-trusty.list.save files, as the ppa repository for c-korn is no more.

                        These are 'root owned' files, so you will have to delete them 'as root'. Either open a console and delete them there:

                        cd /etc/apt/sources.list.d
                        sudo rm google-chrome.list*
                        sudo rm c-korn-ppa-trusty*


                        or launch Dolphin 'as root' by clicking on the Desktop and then typing:

                        kdesudo dolphin

                        Press enter. Type your user password when prompted. Press enter.

                        Navigate to /etc/apt/sources.list.d and delete the files I've specified. Close dolphin when done.

                        Once finished, enter a console and type:

                        sudo apt-get update && sudo apt-get dist-upgrade
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          I done everything you said mate and it was all installing well until it just sits at this point on the update.

                          Click image for larger version

Name:	waiting config file.jpg
Views:	1
Size:	83.9 KB
ID:	643169

                          Comment


                            #14
                            Don't use the graphical package manager; run the commands from a konsole.

                            You'll need to quite the graphical app and wait a few seconds, then open a konsole and run the commands.
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              This is what I get now mate.

                              Click image for larger version

Name:	ZZ.jpg
Views:	1
Size:	78.9 KB
ID:	643174

                              Comment

                              Working...
                              X