Answered The following packages have unmet dependencies - problem - AGAIN

Discussion in 'Software & Applications' started by downbeat, Apr 17, 2017.

  1. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    Hi, guys.
    I have problem.

    The following packages have unmet dependencies:
    appstream-data-pantheon-icons : Depends: appstream-data-pantheon but it is not installed
    E: Unmet dependencies. Try using -f.



    After: sudo apt-get -f install


    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    appstream-data-pantheon-loki-stable appstream-data-pantheon-loki-stable-icons
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    appstream-data-pantheon
    The following NEW packages will be installed:
    appstream-data-pantheon
    0 upgraded, 1 newly installed, 0 to remove and 32 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/66,2 kB of archives.
    After this operation, 74,8 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 205371 files and directories currently installed.)
    Preparing to unpack .../appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb ...
    Unpacking appstream-data-pantheon (0.3.0-0~14~ubuntu0.4.1) ...
    dpkg: error processing archive /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb (--unpack):
    trying to overwrite '/usr/share/app-info/yaml/pantheon_xenial-main_amd64.yml.gz', which is also in package appstream-data-pantheon-loki-stable 0.4+r13~ubuntu0.4.1
    Processing triggers for appstream (0.10.6-1~ubuntu16.04.2) ...
    AppStream cache update completed successfully.
    Errors were encountered while processing:
    /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Please help :)

     
  2. Best Answer:
    Post #6 by Artificial Intelligence, Apr 18, 2017
  3. Artificial Intelligence

    Artificial Intelligence
    Expand Collapse
    Elementary Supporter

    Joined:
    Jan 24, 2017
    Messages:
    145
    Likes Received:
    27
    Try:
    Code (Text):

    sudo apt-get install --fix-broken && sudo apt-get autoremove && sudo apt-get update
     
     
  4. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    First of all, thank you for reply.

    After: sudo apt-get install --fix-broken && sudo apt-get autoremove && sudo apt-get update


    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    appstream-data-pantheon-loki-stable appstream-data-pantheon-loki-stable-icons
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    appstream-data-pantheon
    The following NEW packages will be installed:
    appstream-data-pantheon
    0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/66,2 kB of archives.
    After this operation, 74,8 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    (Reading database ... 205371 files and directories currently installed.)
    Preparing to unpack .../appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb ...
    Unpacking appstream-data-pantheon (0.3.0-0~14~ubuntu0.4.1) ...
    dpkg: error processing archive /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb (--unpack):
    trying to overwrite '/usr/share/app-info/yaml/pantheon_xenial-main_amd64.yml.gz', which is also in package appstream-data-pantheon-loki-stable 0.4+r13~ubuntu0.4.1
    Processing triggers for appstream (0.10.6-1~ubuntu16.04.2) ...
    AppStream cache update completed successfully.
    Errors were encountered while processing:
    /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)






    :/
     
  5. Artificial Intelligence

    Artificial Intelligence
    Expand Collapse
    Elementary Supporter

    Joined:
    Jan 24, 2017
    Messages:
    145
    Likes Received:
    27
    okay, try this:
    Code (Text):
    sudo dpkg -i --force-overwrite /var/cache/apt/archives/appstream-data-pantheon-loki-stable_0.4+r13~ubuntu0.4.1_all.deb
    Is your system a upgraded one from freya to loki?
     
  6. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    No, it's not upgraded from Freya to Loki. I've installed Loki from dvd.

    After: sudo dpkg -i --force-overwrite /var/cache/apt/archives/appstream-data-pantheon-loki-stable_0.4+r13~ubuntu0.4.1_all.deb



    dpkg: error processing archive /var/cache/apt/archives/appstream-data-pantheon-loki-stable_0.4+r13~ubuntu0.4.1_all.deb (--install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    /var/cache/apt/archives/appstream-data-pantheon-loki-stable_0.4+r13~ubuntu0.4.1_all.deb
     
  7. Artificial Intelligence

    Artificial Intelligence
    Expand Collapse
    Elementary Supporter

    Joined:
    Jan 24, 2017
    Messages:
    145
    Likes Received:
    27
    Code (Text):
    sudo dpkg -i --force-overwrite /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb
    If it not work try remove it instead:
    Code (Text):
    sudo rm -rf /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb
     
    downbeat likes this.
  8. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    After this one: sudo dpkg -i --force-overwrite /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1_all.deb

    ..everything is ok. :)

    Thank you very much!
     
  9. ZeZeN

    ZeZeN
    Expand Collapse
    New Member

    Joined:
    May 24, 2017
    Messages:
    1
    Likes Received:
    0
    Thank YOU !!!!!
    It's been 2 days I couldn't use the appcenter, and figured out I had the same problem.
    Now everything is back normal :)
     
  10. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    Hi, again a have a similar problem.



    djordje@dj:~$ 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:
    appstream-data-pantheon-icons : Depends: appstream-data-pantheon but it is not installed
    E: Unmet dependencies. Try using -f.
    djordje@dj:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    appstream-data-pantheon-loki-stable appstream-data-pantheon-loki-stable-icons elementary-keyring
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
    appstream-data-pantheon
    The following NEW packages will be installed:
    appstream-data-pantheon
    0 upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
    36 not fully installed or removed.
    Need to get 0 B/66,2 kB of archives.
    After this operation, 74,8 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    (Reading database ... 212677 files and directories currently installed.)
    Preparing to unpack .../appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1.1_all.deb ...
    Unpacking appstream-data-pantheon (0.3.0-0~14~ubuntu0.4.1.1) ...
    dpkg: error processing archive /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1.1_all.deb (--unpack):
    trying to overwrite '/usr/share/app-info/yaml/pantheon_xenial-extra_amd64.yml.gz', which is also in package appstream-data-pantheon-loki-stable 0.4+r13~ubuntu0.4.1
    Processing triggers for appstream (0.11.3-1~elementary0.4.1) ...
    AppStream cache update completed successfully.
    Errors were encountered while processing:
    /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1.1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
     
  11. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    Anybody? :/

    I can' t upgrade or install anything.
     
  12. Artificial Intelligence

    Artificial Intelligence
    Expand Collapse
    Elementary Supporter

    Joined:
    Jan 24, 2017
    Messages:
    145
    Likes Received:
    27
    Code (Text):
    sudo rm -rf /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1.1_all.deb
     
  13. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    Nothing's change. Still the same problem. :(
     
  14. Artificial Intelligence

    Artificial Intelligence
    Expand Collapse
    Elementary Supporter

    Joined:
    Jan 24, 2017
    Messages:
    145
    Likes Received:
    27
    Code (Text):

    sudo rm -rf /var/cache/apt/archives/appstream-data-pantheon_0.3.0-0~14~ubuntu0.4.1.1_all.deb
    sudo apt upgrade
    sudo apt install -f
    Then i'm not sure what else to do.
     
  15. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    Again, nothing's change.

    OK, thank you very much.
     
  16. downbeat

    downbeat Thread Starter
    Expand Collapse
    Member

    Joined:
    Apr 17, 2017
    Messages:
    9
    Likes Received:
    0
    problem.. again. :(


    djordje@dj:~$ sudo apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    The following package was automatically installed and is no longer required:
    gsignond-plugin-mail
    Use 'sudo apt autoremove' to remove it.
    The following packages will be upgraded:
    pantheon-online-accounts-plugin-lastfm pantheon-online-accounts-plugin-mail
    2 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/22,1 kB of archives.
    After this operation, 31,7 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 232061 files and directories currently installed.)
    Preparing to unpack .../pantheon-online-accounts-plugin-lastfm_0.3.1+r446+pkg47~daily~ubuntu0.4.1.1_amd64.deb ...
    Unpacking pantheon-online-accounts-plugin-lastfm (0.3.1+r446+pkg47~daily~ubuntu0.4.1.1) over (0.1.0~r10+pkg5~ubuntu0.4.1) ...
    dpkg: error processing archive /var/cache/apt/archives/pantheon-online-accounts-plugin-lastfm_0.3.1+r446+pkg47~daily~ubuntu0.4.1.1_amd64.deb (--unpack):
    trying to overwrite '/usr/share/accounts/providers/lastfm.provider', which is also in package gsignond-plugin-lastfm 0.1.0~r10+pkg5~ubuntu0.4.1
    Preparing to unpack .../pantheon-online-accounts-plugin-mail_0.3.1+r446+pkg47~daily~ubuntu0.4.1.1_amd64.deb ...
    Unpacking pantheon-online-accounts-plugin-mail (0.3.1+r446+pkg47~daily~ubuntu0.4.1.1) over (0.1.0~r3+pkg3~ubuntu0.4.1) ...
    dpkg: error processing archive /var/cache/apt/archives/pantheon-online-accounts-plugin-mail_0.3.1+r446+pkg47~daily~ubuntu0.4.1.1_amd64.deb (--unpack):
    trying to overwrite '/usr/share/accounts/providers/mail.provider', which is also in package gsignond-plugin-mail 0.1.0~r3+pkg3~ubuntu0.4.1
    Errors were encountered while processing:
    /var/cache/apt/archives/pantheon-online-accounts-plugin-lastfm_0.3.1+r446+pkg47~daily~ubuntu0.4.1.1_amd64.deb
    /var/cache/apt/archives/pantheon-online-accounts-plugin-mail_0.3.1+r446+pkg47~daily~ubuntu0.4.1.1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    djordje@dj:~$

    ----------------------------------------------------------------------------------

    djordje@dj:~$ sudo apt-get update
    Hit:1 http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu xenial InRelease
    Hit:2 http://ba.archive.ubuntu.com/ubuntu xenial InRelease
    Hit:3 http://repository.spotify.com stable InRelease
    Hit:4 http://ba.archive.ubuntu.com/ubuntu xenial-updates InRelease
    Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
    Hit:6 http://download.virtualbox.org/virtualbox/debian xenial InRelease
    Hit:7 http://ba.archive.ubuntu.com/ubuntu xenial-backports InRelease
    Hit:8 http://ppa.launchpad.net/elementary-add-team/icons/ubuntu xenial InRelease
    Hit:9 https://deb.opera.com/opera-stable stable InRelease
    Ign:10 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ InRelease
    Get:11 https://mega.nz/linux/MEGAsync/xUbuntu_16.04 ./ Release [961 B]
    Get:12 http://packages.elementary.io/appcenter xenial InRelease [6129 B]
    Hit:13 https://repo.skype.com/deb stable InRelease
    Hit:14 http://ppa.launchpad.net/elementary-os/daily/ubuntu xenial InRelease
    Ign:12 http://packages.elementary.io/appcenter xenial InRelease
    Hit:16 http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial InRelease
    Hit:17 http://ppa.launchpad.net/fossfreedom/indicator-sysmonitor/ubuntu xenial InRelease
    Hit:18 http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu xenial InRelease
    Hit:19 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial InRelease
    Hit:20 http://ppa.launchpad.net/moka/daily/ubuntu xenial InRelease
    Hit:21 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu xenial InRelease
    Hit:22 http://ppa.launchpad.net/philip.scott/elementary-tweaks/ubuntu xenial InRelease
    Hit:23 http://ppa.launchpad.net/philip.scott/projects/ubuntu xenial InRelease
    Ign:24 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial InRelease
    Hit:25 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial InRelease
    Ign:26 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial Release
    Ign:27 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 Packages
    Ign:28 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main i386 Packages
    Ign:29 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main all Packages
    Ign:30 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en_US
    Ign:31 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en
    Ign:32 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
    Ign:33 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main DEP-11 64x64 Icons
    Ign:27 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 Packages
    Ign:28 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main i386 Packages
    Ign:29 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main all Packages
    Ign:30 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en_US
    Ign:31 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en
    Ign:32 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
    Ign:33 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main DEP-11 64x64 Icons
    Ign:27 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 Packages
    Ign:28 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main i386 Packages
    Ign:29 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main all Packages
    Ign:30 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en_US
    Ign:31 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en
    Ign:32 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
    Ign:33 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main DEP-11 64x64 Icons
    Ign:27 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 Packages
    Ign:28 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main i386 Packages
    Ign:29 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main all Packages
    Ign:30 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en_US
    Ign:31 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en
    Ign:32 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
    Ign:33 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main DEP-11 64x64 Icons
    Ign:27 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 Packages
    Ign:28 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main i386 Packages
    Ign:29 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main all Packages
    Ign:30 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en_US
    Ign:31 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en
    Ign:32 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
    Ign:33 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main DEP-11 64x64 Icons
    Err:27 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 Packages
    404 Not Found
    Ign:28 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main i386 Packages
    Ign:29 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main all Packages
    Ign:30 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en_US
    Ign:31 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main Translation-en
    Ign:32 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
    Ign:33 http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial/main DEP-11 64x64 Icons
    Fetched 7090 B in 13s (507 B/s)
    Reading package lists... Done
    W: GPG error: http://packages.elementary.io/appcenter xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A74F73EFFE70B91C
    W: The repository 'http://packages.elementary.io/appcenter xenial InRelease' is not signed.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: The repository 'http://ppa.launchpad.net/synapse-core/ppa/ubuntu xenial Release' does not have a Release file.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    E: Failed to fetch http://ppa.launchpad.net/synapse-core/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    djordje@dj:~$
     

Share This Page

Loading...