New answers tagged

0

I've already faced similar problems and I figured that in most cases the only thing you have to do is sudo dpkg --configure -a and then sudo apt-get install -f If that doesn't help, you should edit file /var/lib/dpkg/status and delete whole blocks of broken packages. Then repeat first two commands and that's it.


0

You could try using apt-get instead of the software center sudo apt-get install gparted if it still complains about unmet dependencies apt-get can try to fix them with: sudo apt-get install -f


0

Solution : libfontconfig1:i386 libx11-6:i386 libxrender1:i386 libxext6:i386 libgl1-mesa-glx:i386 libglu1-mesa:i386 libglib2.0-0:i386 libsm6:i386 Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.6) Recommends: libgl1-mesa-dri:i386 (>= 7.2) & http://community.linuxmint.com/tutorial/view/1710


0

I had the same error message when running apt-get anything after upgrading to 15.10. Running sudo apt-get install python3 libpython3-stdlib Got me passed that problem. At the moment apt-get dist-upgrade is still running, so I do not know that it is all good yet, but at least it is progress.


1

To add that missing key, redownload the keys first: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys Then type: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E0F72778C4676186 sudo apt-get update Read about public key cryptography and GPG


0

I had the exact same problem in Ubuntu 15.10. The following command fixed the issue for me: sudo dpkg --add-architecture i386 Just in case, here are all commands i ran in chronological order: sudo apt-add-repository ppa:pipelight/stable sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install --install-recommends pipelight-multi


0

I've had to do many fresh installs before I learned this. Use the command sudo apt-get update && sudo apt-get -f install. The first half gets a current list of packages and their dependencies from the server. The && tells the computer to run the second part after the first part completed successfully (which keeps errors from snowballing). ...


0

After you installed a new system, you need to update package lists by running sudo apt-get update Do it and try to install g++ again.


0

I have been experiencing the same error messages on Ubuntu 14 and I've just figured out what it was. The issue was with the line endings of /etc/default/jetty. It turned out that the file had been edited on Windows and had line endings of CRLF, once I updated the file to LF and re-ran it the issue was solved. The quickest way to test this is to revert ...


0

The command should be sudo apt-get install -f Try this: sudo apt-get autoclean (This clears the cache) sudo apt-get clean (Almost the same as above, but doesn't hurt to run anyway) sudo apt-get autoremove (Just in case there's something ib the way Then try to reinstall katepart.


1

I'm not 100% positive, but I think this is your problem: /etc/grub.d/40_custom.save: 1: /etc/grub.d/40_custom.save: z: not found It looks to me like your /etc/grub.d/40_custom.save file is damaged, such that it's got a stray z character that the system is trying to interpret as a command. I recommend you check this file. Given the filename, I'd expect ...


0

After seemingly trying everything else on 14.04 to get wine1.6 running, this worked: Any wine packages installed and causing problems: sudo dpkg -l | grep wine Remove all wine- PPA sources listed in /etc/apt/sources.list.d/, e.g. sudo rm /etc/apt/sources.list.d/ubuntu-wine-ppa-trusty.list sudo rm /etc/apt/sources.list.d/wine-wine-builds-trusty.list ...


0

Finally got it figured out. Thanks @sinclair Resolved the network issues with changing my wireless network to another one and then ran sudo apt-get install aptitude then sudo aptitude install build-essentials which initially failed but thru the built in troubleshoot it gave me the option of downgrading and that fixed everything. Now I have the g++ I need.


0

Have you tried aptitude instead of apt-get ? You can try aptitude install linux-image-4.2.0-25-generic which should try to repair this broken package and show you more solutions than apt-get ? I've learned that aptitude will be more efficient to provide solutions to dependencies problem (i.e., it will propose you to downgrade a package if needed) ...


0

Try apt-get purge git Then instead of compiling from source, you can add another repo that will have the latest available git, which is explained here, allowing you to simply use apt-get install git after adding the new repo How do I install the latest version of Git with apt?


0

So, as we have found out in our chat room that the error was being caused by a ppa - ppa:xorg-edgers/ppa and all its packages. Removing it and adding a new ppa for nvidia drivers ppa:graphics-drivers/ppa solved the issue. Glad! we worked it out.


1

Follow below steps to solve the problem. 1) Install ppa-purge. sudo apt-get update && sudo apt-get install ppa-purge 2) Add again the ppas, to revert ppa provided packages to official ones sudo add-apt-repository ppa:xorg-edgers/ppa sudo add-apt-repository ppa:mc3man/trusty-media 3) Purge the ppas and revert ppa provided packages to official ...


0

Have you tried aptitude? Try this- sudo aptitude install <package_name> It will repeatedly try to produce solutions, such as: Keeping the same packages Upgrading the packages Downgrading the packages Just keep hitting Y/N at the terminal. In most cases, it works out beautifully.


0

According to the install guide available online, the following should work: sudo add-apt-repository ppa:dolphin-emu/ppa sudo apt-get update sudo apt-get install dolphin-emu-master You could also try a sudo apt-get upgrade immediately after the update command (these two are usually good commands to try when apt is misbehaving/having trouble on ubuntu). ...


0

You should check for any 'kali' sources in your /etc/apt/sources.list.d/ by grep kali /etc/apt/sources.list.d/* and if you find anything, remove it. After this update your apt again, and your problem should be fixed. Thank you


0

I had this same issue myself for quite some time. When I tried to install the packages, half of them wouldn't install. What personally worked for me, was deleting that install of Steam (via sudo apt-get remove steam or sudo apt-get purge steam) and doing a fresh install via sudo apt-get install steam -y. Now I can't say that that install will work 100% (it ...


1

You have broken packages run sudo apt-get -f install sudo apt-get update && sudo apt-get upgrade Then try to again. If you are having the same issues you may need to add packages (32 bit) if running 64. sudo dpkg --add-architecture i386 && sudo apt-get upgrade Wine 1.4 if all else fails: This supports win32 and win64. First remove ...


4

Those packages still use qt4 that is why they want to be removed, they depend on it. There are many packages that still use qt4 for there interface, just because qt5 is available, it does not make qt4 obsolete, you can have both without issue. I would recommend you keep qt4 as you may face issues with other applications that use qt4 and not qt5down the ...


0

Solution 1: You can see the list of held packages by: apt-mark showhold and then un-hold them by sudo apt-mark unhold <package name> Solution 2: You can also try using installing with aptitude sudo aptitude install gfortan If you don't have aptitude installed yet, get it with: sudo apt-get install aptitude Solution 3: sudo apt-get ...


0

It should be perfectly safe to run sudo apt-get autoremove This should only remove packages that are not in use or needed any longer. If its a necessary package that would "break" your system if remived it shouldn'tbremove it.


1

From man apt-get: autoremove autoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed. Have you installed other packages (and their dependencies), and subsequently removed the packages?


2

Your sources.list is horribly mangled, missing CRITICAL repositories, and is therefore not usable. You're missing quite a lot of things you MUST have - at the VERY least, the trusty main repositories which were created upon Trusty's release; without these, you can't install anything. This is because trusty-security ONLY contains security updates; it does ...


0

You could try using aptitude's resolver, which lets you choose which way of resolving the package conflicts.


0

When using a separate boot partition, after a number of upgrades you will have to remove the old kernel images. Try: sudo apt-get remove clang sudo apt-get autoremove sudo apt-get remove linux-image-3.16.0-30-generic linux-image-3.16.0-41-generic linux-image-3.16.0-43-generic linux-image-3.16.0-45-generic linux-image-3.16.0-46-generic ...


0

Try this: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get autoremove sudo apt-get purge wine* sudo apt-get autoremove That should refresh the cache and make sure you have absolutely all updated packages, then remove the unnecessary packages, before removing wine and some more 'unnecessary' packages. If nothing works, just ...


0

i would suggest using apt-get autoremove and after it is done use synaptic or something to fix broken dependencies. Not sure if this will work but is what i would try. i removed wine and used the apt-get autoremove on my 15.10 and it worked fine. maybe you need to do a system update or something. one thing i didnt do is sudo apt-get purge i usually use ...


0

This worked for me: sudo apt-get install gdebi sudo gdebi TEAMVIEWER_PACKAGE.deb


2

got it !!, I downloaded the libck-connector0 from Ubuntu package repository , installed it using sudo dpkg -i libck-connector0_0.4.5-2ubuntu0.1_amd64.deb and then tried it again. It worked this time. and check this link How do I resolve unmet dependencies after adding a PPA?, this guy covered all possible scenarios for such errors.


0

To Fix Broken Packages you can try below solutions: Give try with sudo apt-get install -f OR: Try to update with: sudo apt-get update && sudo apt-get upgrade To update your package list try sudo apt-get autoclean To clean Packages Try sudo apt-get clean To clean the apt cache sudo apt-get autoremove Update system sudo apt-get ...


-2

open the Terminal and execute the command one by one: sudo apt-get clean sudo apt-get update sudo apt-get upgrade sudo apt-get install wine hope this command is useful


-1

you can try the following first: sudo apt-get install -f sudo apt-get update sudo apt-get upgrade Then, To install Wine, open the terminal by hitting ‘CTRL + ALT + T‘ from the desktop and run the following commands one-by-one on the terminal. sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine1.8 sudo apt-get ...


0

You have an older verion of R or its dependencies. Thus newer version are conflicting. Remove them and try again. This should solve your problem.


5

On my system, it's about 4MB output (>87.000 lines). Found out using apt-cache unmet | wc -c for number of bytes and apt-cache unmet | wc -l for number of lines. I did not learn much from having a quick glance at the source code, but I strongly guess this command is designed to print all unmet dependencies of all installable packages, instead of only those ...


1

None of your packages are broken. The wine dependencies are conflicting with each other. Uninstall existing version of wine (if exists) then install wine1.7 (there won't be such problem with wine1.7) UPDATE: To install wine 1.7 on your case type these in your terminal: sudo apt-add-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install ...



Top 50 recent answers are included