Following  I'm trying to get AMD Catalyst drivers installed using this command:  sudo apt-get install fglrx fglrx-amdcccle   But I'm getting...  kayl669@kayl669-pc:/usr/share/ati$ sudo apt-get install fglrx fglrx-amdcccle Reading package lists... Done Building dependency tree        Reading state information... Done 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.  fglrx : Depends: xorg-video-abi-11 but it is not installable or                   xorg-video-abi-12 but it is not installable or                   xorg-video-abi-13 but it is not installable or                   xorg-video-abi-14 but it is not installable or                   xorg-video-abi-15 E: Unable to correct problems, you have held broken packages.   Being very new to Ubuntu I'm meeting a lot of frustration when trying to install things where it seems that there are dependencies which won't install for this reason. Perhaps somebody could suggest a general procedure to follow to get past this type of issue. What is the problem in general terms - a conflict or corruption?  I'm actually using Lubuntu and my goal is to get a dual-monitors setup working.  What should I try next in this instance? Thanks
121671
When I run sudo apt-get install fglrx, I get the following output:  Reading package lists... Done Building dependency tree        Reading state information... Done 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 resolve the situation:  The following packages have unmet dependencies:  fglrx : Depends: xorg-video-abi-11 but it is not installable or                   xorg-video-abi-12 but it is not installable or                   xorg-video-abi-13 but it is not installable or                   xorg-video-abi-14 but it is not installable or                   xorg-video-abi-15 E: Unable to correct problems, you have held broken packages.   Unfortunately I am used to working on windows servers and am not familiar with Ubuntu.
48066
Possible Duplicate:             TL;DR: sudo apt-get install ... saying "Unable to correct problems, you have held broken packages."   The problem  I was trying to get the WebApps feature for PP and QQ following .  I ran the sudo add-apt-repository ppa:webapps/preview command to add the repository, but i got a connection error. Since I know my current ISP gives a shaky connection, I tried again and sure enough, it worked.  Then I ran sudo apt-get install unity-webapps-preview, but I realized we had to update apt-get first, so I hit Ctrl + C to stop it. Then I ran sudo apt-get update which worked w/o a fuss, but when I ran sudo apt-get install unity-webapps-preview again later, it showed an error message. Here's the dump:  Reading package lists... Done Building dependency tree        Reading state information... Done 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:  unity-webapps-preview : Depends: xul-ext-unity but it is not going to be installed                          Depends: xul-ext-websites-integration but it is not going to be installed                          Depends: xul-ext-webaccounts but it is not going to be installed E: Unable to correct problems, you have held broken packages.   I think this might be because of me interrupting the earlier command. It hadn't got a chance to output anything, though — I stopped it pretty fast.  What I tried  Commands  I tried these:-   sudo apt-get install --fix-broken sudo apt-get autoclean sudo apt-get autoremove sudo apt-get -f install   But even after running sudo apt-get upgrade after every try, none of them worked.  Purging  I tried purging the repository, but that didn't work either. First, I got the package using sudoapt-get install ppa-purgeand then tried to purge the WebApps repo usingsudo ppa-purge ppa:webapps/preview`.  Manually installing dependencies  If you look at the error dump carefully, it says:     Depends: xul-ext-unity but it is not going to be installed   Depends: xul-ext-websites-integration but it is not going to be installed   Depends: xul-ext-webaccounts but it is not going to be installed   So I tried installing them manually. I ran sudo apt-get install xul-ext-unity, but got this:     Depends: xul-ext-websites-integration but it is not going to be installed   Breaks: firefox (>= 15.+) but 16.0~b6+build1-0ubuntu0.12.04.1~mfn4 is to be installed   I have no idea what the second part means, but I tried resolving the first. Running sudo apt-get install xul-ext-websites-integration gave:     xul-ext-websites-integration : Breaks: firefox (>= 15.+) but 16.0~b6+build1-0ubuntu0.12.04.1~mfn4 is to be installed   As a last resort, I tried sudo apt-get install xul-ext-webaccounts, but that gave the sane message too:     Breaks: firefox (>= 14.+) but 16.0~b6+build1-0ubuntu0.12.04.1~mfn4 is to be installed   What does Breaks: firefox (&gt;= 14.+) but 16.0~b6+build1-0ubuntu0.12.04.1~mfn4 is to be installed mean?  Research  I tried searching , looking at a couple of , looking at  and searching on AU, but to no avail. Help would be appreciated.
462
I am planning on doing a fresh install of Ubuntu and want to know what is the correct way to install ATI Catalyst Video Driver?      There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below:
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?
46141
I am trying to compile FFMPEG with Nvidia Cuda support, on Debian 9.3. Parameters, what I am using:  --enable-cuda --enable-cuvid --enable-nvenc --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --enable-gpl --enable-libx264 --disable-x86asm --enable-libx265 --enable-libfdk-aac --enable-nonfree   Nvidia Cuda with drivers are installed. When I try to configure ffmpeg, it says:  ERROR: cuvid requested, but not all dependencies are satisfied: cuda   Newer ffmpeg will show a similar, re-worded message:  ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec   I absolutely don't know why I'm having this issue, because I am compiling ffmpeg on all of our trans-coding servers.
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?
35615
From /var/log/dist-upgrade/apt.log:  Starting pkgProblemResolver with broken count: 1 Starting 2 pkgProblemResolver with broken count: 1 Investigating (0) libgles1-mesa [ amd64 ] &lt; 12.0.6-0ubuntu0.16.04.1 &gt; ( libs ) Broken libgles1-mesa:amd64 Depends on libglapi-mesa [ amd64 ] &lt; 12.0.6-0ubuntu0.16.04.1 -&gt; 17.0.7-0ubuntu0.16.04.1 &gt; ( libs ) (= 12.0.6-0ubuntu0.16   .04.1)     Considering libglapi-mesa:amd64 64 as a solution to libgles1-mesa:amd64 2     Removing libgles1-mesa:amd64 rather than change libglapi-mesa:amd64 Investigating (0) vlc [ amd64 ] &lt; 2.2.2+git20170721+r59033+56~ubuntu16.04.1 &gt; ( video ) Broken vlc:amd64 Depends on libgles1-mesa [ amd64 ] &lt; 12.0.6-0ubuntu0.16.04.1 &gt; ( libs ) (&gt;= 7.8.1)     Considering libgles1-mesa:amd64 2 as a solution to vlc:amd64 1 Broken vlc:amd64 Depends on libgles1 [ amd64 ] &lt; none -&gt;  &gt; ( none )     Considering libgles1-mesa:amd64 2 as a solution to vlc:amd64 1     Or group remove for vlc:amd64 Done   Searching the web, I found that .  The VLC team have updated their dependencies from 2.2.2-5ubuntu0.16.04.2, but my system has apparently not caught up with that (I checked by running apt-cache depends vlc, and it shows a dependency on libgles1-mesa).  Now it happens that a couple of months ago I added the  (to get the latest, least buggy VLC).    That gave me VLC version 2.2.7 and fixed the VLC bug, and is what I have on my system today.  I know, because vlc --version tells me so.  apt-cache policy vlc says:  Installed: 2.2.2+git20170721+r59033+56~ubuntu16.04.1 Candidate: 2.2.2+git20170721+r59033+56~ubuntu16.04.1 Version table: *** 2.2.2+git20170721+r59033+56~ubuntu16.04.1 500     500 http://ppa.launchpad.net/videolan/stable-daily/ubuntu xenial/main amd64 Packages     100 /var/lib/dpkg/status  2.2.2-5ubuntu0.16.04.3 500     500 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages     500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages  2.2.2-5 500     500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages   (It seems weird that apt-cache policy says that 2.2.2+git20170721+r59033+56~ubuntu16.04.1 is installed; I read that as vlc version 2.2.2, which conflicts with the 2.2.7 that vlc --version gives.)  Apparently I have Ubuntu version 16.04.2 LTS 64-bit installed (from System Details in the GUI Control Panel thing).  I suppose that I could disable the launchpad PPA, but in that case I would presumably revert to an older vlc binary which was crashing my system.  So my question is (at least I think this is the right question): How do I convince apt that it's ok that libgles1-mesa is old or missing?
5605
My first issue was when I tried to apt-get update or apt-get upgrade. On upgrade I get the following error:  You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not installed E: Unmet dependencies. Try using -f.   I tried running apt-get install -f and this was the output(after saying yes on prompt)  (Reading database ... 186183 files and directories currently installed.) Unpacking linux-image-3.2.0-27-generic (from .../linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb) ... Done. dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb (--unpack):  failed in write on buffer copy for backend dpkg-deb during `./boot/System.map-3.2.0-27-generic': No space left on device  No apport report written because the error message indicates a disk full error                                                                           dpkg-deb:    error: subprocess paste was killed by signal (Broken pipe) Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-27-generic   /boot/vmlinuz-3.2.0-27-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   I tried running apt-get autoremove and it gives me the same error as apt-get upgrade.  When I run df, I get this for /boot:  /dev/sda1                    233191     230297         0 100% /boot   So, I read elsewhere that I should try to purge old kernels. I checked for what kernels I had with:  $ dpkg -l linux-image-\* | grep ^ii ii  linux-image-2.6.38-13-server  2.6.38-13.52  Linux kernel image for version 2.6.38 on x86_64 ii  linux-image-3.0.0-13-server   3.0.0-13.22   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-14-server   3.0.0-14.23   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-15-server   3.0.0-15.26   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-16-server   3.0.0-16.29   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-17-server   3.0.0-17.30   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.2.0-24-generic  3.2.0-24.39   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-25-generic  3.2.0-25.40   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-26-generic  3.2.0-26.41   Linux kernel image for version 3.2.0  on 64 bit x86 SMP   When I try to remove the oldest with this:  $ sudo apt-get purge linux-image-2.6.38-13-server 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: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not going to be     installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   How can I free up or extend boot without messing up my installation?
1772
I'm trying to install the flashybrid but when I enter the apt-get install flashybrid command, I get this error:  root@user-desktop:/home/user# apt-get install flashybrid Reading package lists... Done Building dependency tree Reading state information... Done flashybrid is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Setting up flashybrid (0.15+nmu2) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing flashybrid (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: flashybrid E: Sub-process /usr/bin/dpkg returned an error code (1)   I also tried this one to find what is already using that file:  root@user-desktop:/home/user# lsof | grep /var/cache/debconf/config.dat lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/user/.gvfs Output information may be incomplete. dpkg-prec 4672 root 4rW REG 8,6 39658 1697827 /var/cache/debconf/config.dat   But I don't know how to fix this.
114016
I managed to render my installation of kali linux 2016.2 useless, so I re-installed it, and started the process over again, following the tutorial found under:   Here are the steps outlined which can be found in that tutorial.  echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" &gt;&gt; etc/apt/sources.list apt-get update &amp;&amp; apt-get upgrade -y &amp;&amp; apt-get dist-upgrade -y apt-get install -y aptitude  aptitude -r install linux-headers-$(uname -r) apt-get install nvidia-kernel-$(uname -r) aptitude install nvidia-kernel-dkms aptitude install nvidia-xconfig nvidia-xconfig reboot   Since the installion stalled again on the following step,  aptitude -r install linux-headers-$(uname -r)   with following output     Couldn't find any package whose name or description matched "linux-headers-4.6.0-kali1-amd64"   Unable to apply some actions, aborting   I added the recommended repositories to /etc/apt/sources.list  echo "deb http://old.kali.org/kali sana main non-free contrib" &gt;&gt; /etc/apt/sources.list echo "deb-src http://old.kali.org/kali sana main non-free contrib" &gt;&gt; /etc/apt/sources.list echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" &gt;&gt; /etc/apt/sources.list echo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" &gt;&gt; /etc/apt/sources.list   and retried that step, but it still fails and shows the error. I'm totally stuck at this point and I'm not sure what to try next  I figured I have to download the driver manually from NVIDIA this is the file I downloaded "NVIDIA-Linux-x86_64-304.132.run" it is about 69.4 MB large  This is the Info about that driver package: LINUX X64 (AMD64/EM64T) DISPLAY DRIVER Version:    304.132 Release Date:   2016.9.26 Operating System:   Linux 64-bit Language:   English (US) File Size:  66.21 MB  Supported Products reads: ... GeForce 200 Series: GeForce GTX 295, GeForce GTX 285, GeForce GTX 280, GeForce GTX 275, GeForce GTX 260, GeForce GTS 250, GeForce GTS 240, GeForce GT 230, GeForce GT 240, GeForce GT 220, GeForce G210, GeForce 210, GeForce 205 ...  here is the link   So my GeForce 210 is supported by this driver package, but how do I install it manuall and after which step should I do so?  Please help! I will compile everything into a tutorial, so other who have the same errors with kali linux 2016.2 are helped too.  Thanks
35213
I tried to install ffmpeg in trusty/Ubuntu 14.04 and got the following message:  $sudo apt-get install ffmpeg  Reading package lists... Done Building dependency tree        Reading state information... Done Package ffmpeg is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'ffmpeg' has no installation candidate   Why isn't the package available?
72126
I had a hard time installing Nvidia drivers in a fresh install of Ubuntu 20.04.  Installing via sudo apt install nvidia-driver-430 resulted in a list of 542 packages to install.  I ended up spending a bit of manual effort to get the Nvidia-provided driver installed without nearly so many dependencies (only had to install gcc and make).  Is this massive number of dependencies normal for Ubuntu Server?  I did a very vanilla install without the GUI.  Reddit suggested I ask here, as their opinion is that I should just install from the default repos, but I felt that so many packages was absurd just to install a driver.  Edit for clarity: installing the nvidia-driver-430 package appears to install the entire Gnome shell, which I feel is unnecessary on a server.
79145
To summarize the answer: switching to proprietary drivers should work, but the artifacts disappeared for me even on the free drivers now.  Update: since switching back to the proprietary AMD driver (fglrx), I haven't seen these artifacts.  Occasionally I see artifacts instead of correctly rendered characters:    For now I have only observed this in Firefox.  The characters become normal once I select the text.  What's the issue here and how can I solve it?  Graphics card:  AMD Radeon HD 7790 Driver: radeon (free) -> now I'm no fglrx and am not seeing the artifacts (see the update)
114446
It is not unusual for an Ubuntu (or other distro with apt package management) user to encounter the error: user@box ~ $ sudo apt install x [sudo] password for user:  Reading package lists... Done Building dependency tree        Reading state information... Done Package x is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'x' has no installation candidate  There have been several questions asked concerning this on various StackExchange sites,for example  on AskUbuntu, but these are generally about how to obtain the specific package despite the error. I have found no package that is not found simply (though not always easily) by determining if it is still distributed, and under which repository if so, and ensuring that repository is in apt.sources, or the worst comes to the worst downloading a .deb or source to compile. So my question is more general, and although I am guessing it has a rather simple and therefore non-exciting answer I cannot think how to find it by conventional search engine methods, so I turn to AskUbuntu: Is there a command or option I can use to determine what package / which packages reference the missing package?
24100
After upgrading to 12.10 quantal, the packaged version of fglrx no longer works. I discovered that this is because there is a separate 'legacy' fglrx driver for the HD 2k-4k series cards, but it is incompatible with the xorg server on 12.10.  This is the most current version of the driver for HD 2000 through HD 4000 series cards. You can't use the non-legacy fglrx driver, but you can use the open-source radeon driver if you prefer your WM compositing to be laggy and your YouTube videos to play like they would on a Pentium MMX series:    Usually this driver can be installed in the following way, necessary because apt-get install fglrx would pull in the non-legacy driver:  wget http://www2.ati.com/drivers/legacy/amd-driver-installer-12.6-legacy-x86.x86_64.zip unzip amd-driver-installer-* sudo sh ./amd-driver-installer-*.run --buildpkg Ubuntu/quantal sudo dpkg -i fglrx*.deb sudo aticonfig --initial -f   If you use a different version of fglrx (for example, a newer 12.9 that doesn't support those cards) then the final command will give you an error no supported hardware detected or something similar. However, everything works at this point and you will get a reasonable xorg.conf:  ... other stuff  Section "Device"         Identifier  "aticonfig-Device[0]-0"         Driver      "fglrx"         BusID       "PCI:1:5:0" EndSection  ... other stuff   At this point you're supposed to reboot and everything will be working with the fglrx driver. However, upon rebooting, you'll be treated to the following errors in Xorg.0.log when fglrx attempts to load:  (EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so: /usr/lib/xorg/modules/drivers/fglrx_drv.so: undefined symbol: noXFree86DRIExtension   Some searching around will show that this is a problem with the legacy ATI drivers not supporting xserver 1.13 or newer. () ATI has released a fixed driver for its most recent (HD 5000 series or later) cards, but not for the 'legacy' cards yet. The non-legacy ATI drivers can't be used with the old cards.  What should an Ubuntu user, using one of these HD 2000-4000 series cards, do?    Wait for an updated 'legacy' ATI driver that properly works with xserver 1.13?   Downgrade back to 12.04 Precise, which uses xserver 1.11? Try to downgrade xserver on 12.10 Quantal to 1.12, which could possibly break Unity and GNOME? Forced upgrade to HD 5000 series or later card? (Not possible with integrated graphics...) Some other 1337 action that fixes this problem painlessly?
80425
I have recently fallen in love with Linux. I first decided to try out Ubuntu 13.10 a few weeks ago, but I bricked it by incorrectly installing an AMD FGLRX driver. Then I reformatted and wiped that partition to try out Linux Mint 16. I did the same thing with Mint, as well as with Fedora 20, 19, and 18 (in that order). Now I am on a stable Ubuntu 12.04 because I know how to use it vastly more than the other distros I've tried and because it seems like it has the biggest online support group.  Because I am now tired of reformatting and reinstalling broken distros, I thought it would be a good idea to get at least one distro stable (Precise) and to test the driver installations and other risky modifications for that distro and others with them running in Oracle Virtual Box since I don't trust my Linux skill (lack?) at the moment. This way, I optimize the distros in the Box, take a "snapshot" like saving a video game, and try out the risky operations. If they fail and I break the distro, I can just open the snapshot up and go back to where I was right before the risky operation.   While this still seems like the best idea so far, I have noticed that the distros I have installed on Virtual Box report that I am NOT using my computer's actual hardware, and am actually using Virtual Box's "hardware", for instance, the "Innotek Systemberatung GmbH VirtualBox Graphics adapter.  Because of that adapter, my test graphics installations do not work properly. Even the operations I know would brick the distro with a black screen are not working. "My adapter is incompatible," FGLRX installation says, in the GUI version of installation (one of many methods).  My questions are: Can I not install these drivers inside of Virtual Box? Do I need some additional software? Is there any other virtual environment I could use for testing these distros that would result in a 100% identical virtual installation?    I am using the notoriously Linux-unfriendly Acer Aspire 5553G, which has "switchable graphics".  Those cards are the Mobility Radeon HD 4250 and 5470. The driver's I have tested so far work in Windows 7, yet do not in Linux.   Thank you all in advance!
31275
I cannot install any package. It seems the command apt-get update must be run but it throws some errors:  $ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]      Hit:2 http://ve.archive.ubuntu.com/ubuntu xenial InRelease                      Hit:3 http://ve.archive.ubuntu.com/ubuntu xenial-updates InRelease              Hit:4 http://ve.archive.ubuntu.com/ubuntu xenial-backports InRelease            Fetched 102 kB in 23s (4337 B/s)                                                *** Error in `appstreamcli': double free or corruption (fasttop): 0x000000000210f4b0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fac8d8317e5] [...] Aborted (core dumped) Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success   'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli;   then appstreamcli refresh &gt; /dev/null; fi' E: Sub-process returned an error code