Results 1 to 6 of 6

Thread: apt-get problem

  1. #1
    Join Date
    Oct 2011
    Beans
    33

    Angry apt-get problem

    I have linux mint with the mate desktop (looks like the ubuntu-10.04 desktop).
    When I run
    Code:
    sudo apt-get install [something I allready have]
    it says this:
    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    [something I allready have] is already the newest version.
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies.
     mintmenu : Depends: python-mate-desktop but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    The [something I allready have] has NOTHING to do with anything, this happends whenever I try to install anything.
    So then I try
    Code:
    sudo apt-get -f install
    it says:
    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      python-mate-desktop
    The following NEW packages will be installed
      python-mate-desktop
    0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/83.9 kB of archives.
    After this operation, 422 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 276739 files and directories currently installed.)
    Unpacking python-mate-desktop (from .../python-mate-desktop_1.0.2-1_amd64.deb) ...
    dpkg: error processing /var/cache/apt/archives/python-mate-desktop_1.0.2-1_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/python2.7/dist-packages/gtk-2.0/evolution/ecal.la', which is also in package python-evolution 2.32.0-0ubuntu6
    Errors were encountered while processing:
     /var/cache/apt/archives/python-mate-desktop_1.0.2-1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I do not care how I need to fix it (except for reinstalling linux) but I just need it to work.

  2. #2
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,057
    Distro
    Ubuntu Development Release

    Re: apt-get problem

    Moved to other OS / distro forum.

    You could also try the Mint forum.
    Last edited by philinux; February 13th, 2012 at 11:15 PM.

  3. #3
    Join Date
    Sep 2011
    Location
    Wherever I go, Here I am
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: apt-get problem

    Welcome

    I would do this

    Code:
    sudo apt-get update
    update is used to resynchronize the package index files from their sources. The
    indexes of available packages are fetched from the location(s) specified in
    /etc/apt/sources.list. For example, when using a Debian archive, this command
    retrieves and scans the Packages.gz files, so that information about new and updated
    packages is available. An update should always be performed before an upgrade or
    dist-upgrade. Please be aware that the overall progress meter will be incorrect as the
    size of the package files cannot be known in advance.

    Code:
    sudo apt-get clean
    clears out the local repository of retrieved package files. It removes
    everything but the lock file from /var/cache/apt/archives/ and
    /var/cache/apt/archives/partial/. When APT is used as a dselect(1) method, clean is
    run automatically. Those who do not use dselect will likely want to run apt-get clean
    from time to time to free up disk space.

    Code:
    sudo apt-get autoremove
    autoremove is used to remove packages that were automatically installed to satisfy
    dependencies for some package and that are no more needed.

    Code:
    sudo apt-get update && sudo apt-get upgrade
    Update again to renew / upgrade is used to install the newest versions of all packages currently installed on
    the system from the sources enumerated in /etc/apt/sources.list. Packages currently
    installed with new versions available are retrieved and upgraded; under no
    circumstances are currently installed packages removed, or packages not already
    installed retrieved and installed. New versions of currently installed packages that
    cannot be upgraded without changing the install status of another package will be left
    at their current version. An update must be performed first so that apt-get knows that
    new versions of packages are available.
    Last edited by bluexrider; February 27th, 2012 at 12:57 AM.
    Please mark your thread as Solved when appropriate || My WIKI
    ---------------------------


  4. #4
    Join Date
    Oct 2011
    Beans
    33

    Re: apt-get problem

    Thanks, it worked!

  5. #5
    Join Date
    Sep 2011
    Location
    Wherever I go, Here I am
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: apt-get problem

    Good. Glad to help. Please mark this
    (SOLVED
    Please mark your thread as Solved when appropriate || My WIKI
    ---------------------------


  6. #6
    Join Date
    Mar 2007
    Location
    Outer Milky Way
    Beans
    Hidden!
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: apt-get problem

    Yeah, those errors show up whenever you have installed any program whatsoever with continued unmet dependencies.

    There is often a chainlink effect when one dependency is not met -- it can affect several nested program dependencies.

    A big problem especially when upgrading systems, is that two different programs require different versions of the same library and fight over it.

    This has always been my biggest argument against rolling upgrades, which give me a constant headache. (It's also why I now stick to LTS versions only).

    UbuntuGuide/KubuntuGuide

    Right now the killer is being surrounded by a web of deduction, forensic science,
    and the latest in technology such as two-way radios and e-mail.

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
  •