many masters in here. I just have some problem while installing software via terminal. for example, I want to install wine with the code sudo apt-get install wine. But terminal said this:   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:  shotwell : Depends: shotwell-common (= 0.18.0-0ubuntu4) but 0.18.0-0ubuntu4.2 is to be installed  wine : Depends: wine1.6 but it is not going to be installed or                  wine1.7 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   anyone wants to help me ? great thanks for all of you masters.
466
Occasionally, when I'm installing stuff, I get an error like the following:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  package1 : Depends: package2 (&gt;= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages.   How can I resolve this?
38144
Just for curiosity, sometimes while installing software throught apt-get install software_name the terminal prompt me for a confirmation "type Yes or No", but not allways.  I dont mean the sudo password prompt, but the message "Will be downloaded and configrated XXX Kb, continue?" (or something similar)  Why?
1160
Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc
118137
I am trying to get the Linux distro "PIXEL" to install some PPAS for Wine, and I have run into a issue where it will not install because of the following error:   sudo: add-apt-repository: command not found   I am trying to install wine using the PPA add-apt-repository ppa:ubuntu-wine/ppa and I would like some assistance doing so.
4537
I installed Ubuntu 16 desktop a few weeks ago. Added Chrome and all fine. However now when I try sudo apt-get install ffmpeg, I get this error message:  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:  google-chrome-stable : Depends: libappindicator1 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   What's the problem and what should I do?
51994
I have been trying to install it many times using the Wine version avaliable from the Sofware Center. Is there a proper way to configure it for allowing the installtion?
3510
I have read a number of the posts here and they all state to run the following commands:   Apt-get -f remove ** apt-get update apt-get upgrade apt-get -f install **   I have seen these in various order etc, and none are resolving, my issue. No matter what I try I get:    apt-get -f install mysql-server                              Reading package  lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: mysql-server-5.5 mysql-server-core-5.5 Suggested packages: tinyca mailx The following NEW packages will be installed: mysql-server mysql-server-5.5 mysql-server-core-5.5 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/14.9 MB of archives. After this operation, 53.0 MB of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... Selecting previously unselected package mysql-server-core-5.5. (Reading database ... 83134 files and directories currently installed.) Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.29- 0ubuntu0.12.04.1_amd64.deb) ... Selecting previously unselected package mysql-server-5.5. Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.29-0ubuntu0.12.04.1_amd64.deb)  ... Selecting previously unselected package mysql-server. Unpacking mysql-server (from .../mysql-server_5.5.29-0ubuntu0.12.04.1_all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.04.1) ... Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.04.1) ... invoke-rc.d: initscript mysql, action "start" failed. invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server:  mysql-server depends on mysql-server-5.5; however:   Package mysql-server-5.5 is not configured yet. dpkg: error processing mysql-server (--configure): No apport report written because the error message indicates its a followup error from a  No apport report written because the error message indicates its a followup error from a  previous failure.                    Errors were encountered while processing:  mysql-server-5.5  mysql-server   I have tried several things over the past week and cannot get this to resolve, any assistance would be appreciated. I did notice the message:  Package mysql-server-5.5 is not configured yet.  and i have yet to get this configured so I am working on that aspect. Any other assistance will be very appreciated.
76679
I am unable to install any software packages using homebrew. I get the following error when I try to install any softwares.       Rahuls-iMac:local rahuljeevanandam$ brew install mysql     ==&gt; Installing mysql dependency: cmake     ==&gt; Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.1     Already downloaded: /Library/Caches/Homebrew/cmake-2.8.10.1.lion.bottle.tar.gz     Error: SHA1 mismatch     Expected: 31856bbd662ca47c325761fc7040e43f9a635c64     Actual: 4b2ea1d2785009c32d85d1d0e0c7dc4cd68322b7     Archive: /Library/Caches/Homebrew/cmake-2.8.10.1.lion.bottle.tar.gz     (To retry an incomplete download, remove the file above.)      Rahuls-iMac:local rahuljeevanandam$ brew install wget     ==&gt; Downloading http://ftpmirror.gnu.org/wget/wget-1.14.tar.gz     ######################################################################## 100.0%     Error: SHA1 mismatch     Expected: c487bce740b3a1847a35fb29b5c6700c46f639b8     Actual: ca98a1bf07f850bc23731fd15d869d1b73ef8c84     Archive: /Library/Caches/Homebrew/wget-1.14.tar.gz     (To retry an incomplete download, remove the file above.)
19117
I have installed MariaDb as its supported by Ubuntu community , mentioned in release note of latest LTS.  After that I tried to install Mariadb-client , that too installed successfully, after that its good to have GUI tool So decided to install MySql-workbench from both Ubuntu-SOftware-Center and via Terminal but it prompted errors mentioned below-  Error via Ubuntu-Software-Center-   This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.  mysql-workbench: Depends: libgcc1 (&gt;= 1:4.1.1) but 1:4.9-20140406-0ubuntu1 is to be installed              Depends: libgtkmm-2.4-1c2a (&gt;= 1:2.24.0) but 1:2.24.4-1ubuntu1 is to be installed              Depends: libpcrecpp0 (&gt;= 7.7) but 1:8.31-2ubuntu2 is to be installed              Depends: python:any (&gt;= 2.7.1-0ubuntu2) but it is a virtual package              Depends: mysql-workbench-data (= 6.0.8+dfsg-2) but 6.0.8+dfsg-2 is to be installed.   Error via Terminal-   The following packages have unmet dependencies:     mysql-workbench : Depends: mysql-client     E: Unable to correct problems, you have held broken packages.   This one has become confirmed bug on launchpad as mentioned   On the official website of My-sql , the versions of workbench are only available till saucy (13.10) , So how can I install it.   UPDATE 1  Added the following lines in /etc/apt/sources.list  # MariaDB 10.0 repository list - created 2014-04-19 11:47 UTC # http://mariadb.org/mariadb/repositories/ deb http://mirror.mephi.ru/mariadb/repo/10.0/ubuntu trusty main deb-src http://mirror.mephi.ru/mariadb/repo/10.0/ubuntu trusty main   No change , still same issue. There is some problems between trusty and version 10.1.10 of Mariadb . So tried  sudo apt-get install libmysqlclient18=10.1.10-mariadb1~trusty mysql-common=10.1.10-mariadb1~trusty   And its output is -  E: Version '10.1.10-mariadb1~trusty' for 'libmysqlclient18' was not found E: Version '10.1.10-mariadb1~trusty' for 'mysql-common' was not found   So the thing is simple it could not find it . though its there on the official website.  UPDATE 2  Removed MariaDB 10.1.10 , but the problem is still same with MariaDB 5.5.37.
11125
Installing Deb packages on the command line, using dpkg -i, only installs the package in question and displays errors of unresolved dependencies (manually solved by apt-geting the packages it complains about). How do I automatically resolve dependencies when installing standalone packages?
8197
I'm really new to Mac OSX and UNIX based systems. I wanted to run a few Windows games on my Mac Mini so I started installing Wine and MacPorts. I think the installs are correct, but when I type sudo port install wine I see a not found error in my terminal. I tried other basic commands like say and clear and all of them return the same not found error. My research shows that my PATH might be incorrectly set, but it lacks steps I can implement. Specifically, I ran this command: echo $PATH and it returned:  /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin  I'm a complete newbie to mac and have no idea where .bash_profile or any of those files are. My skills let me install Xcode and the Command Line tools for Xcode and I sense I need to level up on path management. At this point I need help managing my dot files and changing my path to fix these specific errors on Mountain Lion. What are my next steps?
15409
I was compiling a tool called Rejoystick so I installed a few packages and dependencies. But now I don't need it any more so I removed those packages. Running apt-get shows that I have some packages that are automatically installed and are no longer needed.   But I have a bad experience with apt-get autoremove. It broke my desktop environment when I uninstalled wine some time ago. Luckily, I had a clonezilla partition backup then, but this time, I don't have a backup. So I'm cautious. Running apt-get shows these packages are orphaned     gir1.2-gtk-2.0 libasound2-dev libavahi-client-dev libavahi-common-dev   libcaca-dev libcairo-script-interpreter2 libdbus-1-dev libdrm-dev   libexpat1-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev   libglu1-mesa-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev   libpcre3-dev libpcrecpp0 libpixman-1-dev libpng12-dev libpthread-stubs0-dev   libslang2-dev libsm-dev libx11-dev libx11-doc libx11-xcb-dev libxau-dev   libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev   libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-shm0-dev   libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxcomposite-dev   libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev   libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev   libxshmfence-dev libxxf86vm-dev mesa-common-dev x11proto-composite-dev   x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev   x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev   x11proto-record-dev x11proto-render-dev x11proto-xext-dev   x11proto-xf86vidmode-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev   zlib1g-dev   I'm not sure if I should run apt-get autoremove. I was searching details related to each of these packages so that I can understand which ones are needed but they all seem important e.g.     gir1.2-gtk-2.0    I have Cinnamon, GNOME and Unity installed, I think apt-get autoremove will break something. Any help will be appreciated.   Thanks for reading.
47429
I’m running Ubuntu 14.04. When I run:   sudo add-apt-repository ppa:ubuntu-wine/ppa   I get the following error:  sudo: add-apt-repository: command not found   I tried to run  sudo apt-get install software-properties-common   but it shows:  software-properties-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
110868
when i use command sudo apt-get install git it's return below erorrs and it's return for any application to install below :   Setting up util-linux (2.25.2-4ubuntu3) ... update-alternatives: error: cannot stat file '/usr/bin/nodejs': Too many levels of symbolic links dpkg: error processing package util-linux (--configure):  subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing:  util-linux E: Sub-process /usr/bin/dpkg returned an error code (1)   update with sudo apt-get update not working and report below erorr  Fetched 7,032 kB in 5min 32s (21.2 kB/s)                                        W: Failed to fetch http://ppa.launchpad.net/paullo612/unityshell-rotated/ubuntu/dists/vivid/main/binary-amd64/Packages  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/paullo612/unityshell-rotated/ubuntu/dists/vivid/main/binary-i386/Packages  404  Not Found  E: Some index files failed to download. They have been ignored, or old ones used instead.   how can fix it ?
8882
I have the message:   Error Broken count &gt;0 Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f Details: The following packages have unmet dependencies: firefox-globalmenu: Depends: firefox (= 19.0+build1-0ubuntu0.12.04.2) but 19.0+build1-0ubuntu0.12.04.1 is installed   Any suggestions?
84530
I accidentally lost some of the system files by executing the following command in the terminal:   sudo apt-get purge wine\*   Most of the installed software (terminal, software center, libreoffice etc.) are now lost.  Does anybody have a solution for this issue?
18776
I have seen many softwares such as Update Manager and Synaptic Package Manager, they wait if some other program is using the /var/lib/dpkg/lock and is locked. How can we do this through the Terminal? I saw apt-get's manual but didn't find anything useful.