How to solve “dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb”











up vote
1
down vote

favorite












I'm having trouble with the update manager.
Normal install gets me:



~$ sudo apt-get install
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:
ffmpeg : Depends: libvdpau1 (>= 0.2) but it is not installed
mesa-vdpau-drivers : Depends: libvdpau1 but it is not installed
vdpau-va-driver : Depends: libvdpau1 (>= 0.2) but it is not installed
E: Unmet dependencies. Try using -f.


with the recommended option:



~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libvdpau1
The following NEW packages will be installed:
libvdpau1
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
6 not fully installed or removed.
Need to get 0 B/25,5 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 235502 files and directories currently installed.)
Preparing to unpack .../libvdpau1_1.1.1-3ubuntu1_amd64.deb ...
Unpacking libvdpau1:amd64 (1.1.1-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb (--unpack):
trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:amd64
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
/var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Has anyone got any idea what the problem might be? I've tried all solutions to similar problems on here and none is working.










share|improve this question


















  • 1




    Have you tried removing libvdpau1 first?
    – Jos
    Mar 20 '17 at 16:35










  • Run sudo rm /var/cache/apt/archives/libvdpau* and sudo apt-get -f install
    – M. Becerra
    Mar 21 '17 at 19:35










  • it doesn't work.
    – ThePhi
    Jun 9 at 6:12















up vote
1
down vote

favorite












I'm having trouble with the update manager.
Normal install gets me:



~$ sudo apt-get install
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:
ffmpeg : Depends: libvdpau1 (>= 0.2) but it is not installed
mesa-vdpau-drivers : Depends: libvdpau1 but it is not installed
vdpau-va-driver : Depends: libvdpau1 (>= 0.2) but it is not installed
E: Unmet dependencies. Try using -f.


with the recommended option:



~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libvdpau1
The following NEW packages will be installed:
libvdpau1
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
6 not fully installed or removed.
Need to get 0 B/25,5 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 235502 files and directories currently installed.)
Preparing to unpack .../libvdpau1_1.1.1-3ubuntu1_amd64.deb ...
Unpacking libvdpau1:amd64 (1.1.1-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb (--unpack):
trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:amd64
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
/var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Has anyone got any idea what the problem might be? I've tried all solutions to similar problems on here and none is working.










share|improve this question


















  • 1




    Have you tried removing libvdpau1 first?
    – Jos
    Mar 20 '17 at 16:35










  • Run sudo rm /var/cache/apt/archives/libvdpau* and sudo apt-get -f install
    – M. Becerra
    Mar 21 '17 at 19:35










  • it doesn't work.
    – ThePhi
    Jun 9 at 6:12













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm having trouble with the update manager.
Normal install gets me:



~$ sudo apt-get install
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:
ffmpeg : Depends: libvdpau1 (>= 0.2) but it is not installed
mesa-vdpau-drivers : Depends: libvdpau1 but it is not installed
vdpau-va-driver : Depends: libvdpau1 (>= 0.2) but it is not installed
E: Unmet dependencies. Try using -f.


with the recommended option:



~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libvdpau1
The following NEW packages will be installed:
libvdpau1
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
6 not fully installed or removed.
Need to get 0 B/25,5 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 235502 files and directories currently installed.)
Preparing to unpack .../libvdpau1_1.1.1-3ubuntu1_amd64.deb ...
Unpacking libvdpau1:amd64 (1.1.1-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb (--unpack):
trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:amd64
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
/var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Has anyone got any idea what the problem might be? I've tried all solutions to similar problems on here and none is working.










share|improve this question













I'm having trouble with the update manager.
Normal install gets me:



~$ sudo apt-get install
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:
ffmpeg : Depends: libvdpau1 (>= 0.2) but it is not installed
mesa-vdpau-drivers : Depends: libvdpau1 but it is not installed
vdpau-va-driver : Depends: libvdpau1 (>= 0.2) but it is not installed
E: Unmet dependencies. Try using -f.


with the recommended option:



~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libvdpau1
The following NEW packages will be installed:
libvdpau1
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
6 not fully installed or removed.
Need to get 0 B/25,5 kB of archives.
After this operation, 100 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 235502 files and directories currently installed.)
Preparing to unpack .../libvdpau1_1.1.1-3ubuntu1_amd64.deb ...
Unpacking libvdpau1:amd64 (1.1.1-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb (--unpack):
trying to overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:amd64
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
/var/cache/apt/archives/libvdpau1_1.1.1-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Has anyone got any idea what the problem might be? I've tried all solutions to similar problems on here and none is working.







apt updates dpkg 64-bit






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 20 '17 at 16:32









EliteKaffee

612




612








  • 1




    Have you tried removing libvdpau1 first?
    – Jos
    Mar 20 '17 at 16:35










  • Run sudo rm /var/cache/apt/archives/libvdpau* and sudo apt-get -f install
    – M. Becerra
    Mar 21 '17 at 19:35










  • it doesn't work.
    – ThePhi
    Jun 9 at 6:12














  • 1




    Have you tried removing libvdpau1 first?
    – Jos
    Mar 20 '17 at 16:35










  • Run sudo rm /var/cache/apt/archives/libvdpau* and sudo apt-get -f install
    – M. Becerra
    Mar 21 '17 at 19:35










  • it doesn't work.
    – ThePhi
    Jun 9 at 6:12








1




1




Have you tried removing libvdpau1 first?
– Jos
Mar 20 '17 at 16:35




Have you tried removing libvdpau1 first?
– Jos
Mar 20 '17 at 16:35












Run sudo rm /var/cache/apt/archives/libvdpau* and sudo apt-get -f install
– M. Becerra
Mar 21 '17 at 19:35




Run sudo rm /var/cache/apt/archives/libvdpau* and sudo apt-get -f install
– M. Becerra
Mar 21 '17 at 19:35












it doesn't work.
– ThePhi
Jun 9 at 6:12




it doesn't work.
– ThePhi
Jun 9 at 6:12










1 Answer
1






active

oldest

votes

















up vote
0
down vote













-Remove the vdpau_wrapper.cfg file & do the force install



sudo rm -rf /etc/vdpau_wrapper.cfg

sudo apt-get install -f





share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f894989%2fhow-to-solve-dpkg-error-processing-archive-var-cache-apt-archives-libvdpau1-1%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    -Remove the vdpau_wrapper.cfg file & do the force install



    sudo rm -rf /etc/vdpau_wrapper.cfg

    sudo apt-get install -f





    share|improve this answer

























      up vote
      0
      down vote













      -Remove the vdpau_wrapper.cfg file & do the force install



      sudo rm -rf /etc/vdpau_wrapper.cfg

      sudo apt-get install -f





      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        -Remove the vdpau_wrapper.cfg file & do the force install



        sudo rm -rf /etc/vdpau_wrapper.cfg

        sudo apt-get install -f





        share|improve this answer












        -Remove the vdpau_wrapper.cfg file & do the force install



        sudo rm -rf /etc/vdpau_wrapper.cfg

        sudo apt-get install -f






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 15 '17 at 7:04









        Haridharan Durairaj

        1




        1






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f894989%2fhow-to-solve-dpkg-error-processing-archive-var-cache-apt-archives-libvdpau1-1%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Category:香港粉麵

            List *all* the tuples!

            Channel [V]