New answers tagged

0

Better to check out http://mfonville.github.io/android-studio/ instead, it is more up to date!


0

First of all it would help to know whether you have got a notebook or desktop. Notebooks commonly use optimus graphics which means nvidia and intel. I would personally recommend to install drivers through the driver manager if you are new to this. With better information we would be able to provide a better and more accurate answer.


6

Try this: Open Software & Updates, at Ubuntu Software tab uncheck Cdrom with Ubuntu 16.04 LTS 'Xenial Xerus' under the section Installable from CD-ROM/DVD.


0

Download and install gdebi.deb for your architecture. Download openssh-server.deb. Right-click on it and choose "Install with gdebi" option. Gdebi will tell you about missing dependencies, one-by-one. Download each depending deb package and install them one-by-one using Gdebi. I know it's an excruciating pain when having many dependencies to meet, but it's ...


0

In my case @today $ chmod a-x /etc/cron.weekly/apt-xapian-index $ echo 'APT::Periodic::Enable "0";' >> /etc/apt/apt.conf.d/10periodic


1

Install PPA Purge using sudo apt install ppa-purge. Then use ppa-purge to purge the PPA of interest and restore the files that are found in the Ubuntu repos.


1

In this case I'd suggest that you use the following command on the machine without internet: apt-get --print-uris --yes install build-essential | grep ^\' | cut -d\' -f2 >downloads.list This will produce an output file in the current directory called downloads.list containing the download URL for all the packages apt needs to install the ...


0

As @chaskes says this is a problem with the repository not with your computer. @webwurst has good links to the underlying problem. There's also a clarification about the signatures. If you are hosting a repository which is giving these errors. The solution is to change the default cert-digest-algo to be SHA256. By default gnupg defaults to using SHA1 ...


1

I had the same issue with an other key. Like Serverus Tux already said, try to add the missing key. It solved my problem. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FCAE110B1118213C


1

I could reproduce the problem by deleting the GPG key 1118213C of the Graphics Drivers Team. Adding ppa:graphics-drivers/ppa again should solve the issue. Execute : sudo apt-add-repository ppa:graphics-drivers/ppa Why does it work? While adding the Launchpad PPA back, you see : gpg: requesting key 1118213C from hkp server keyserver.ubuntu.com


1

These PPAs have been not updated to 16.04 yet. You can wait or disable them via Updates.


0

Note the port number is 5433 in your error, but the install is using 5432. When a second postgres is installed, it will check for a running installation, look at it's port, and use the next one. This allows you to have the two installations running simultaneously, to allow for checking validation before turning off the old one. You can manually edit the ...


1

Things you can use to resolve this situation: reinstalling and then removing sudo apt-get install --reinstall kibana sudo apt-get remove kibana single remove without purge sudo apt-get remove kibana force installing and removing sudo apt-get -f install sudo apt-get remove --purge kibana force removing by dpkg sudo dpkg -r --force kibana


1

If you remove libjack0 (and the packages depending on it) and install the packages listed to be removed in your question then your Ubuntu installation will be almost like it was before you removed the latter. “Almost” because a manual installation will mark them as "manually installed" in Apt which means that they can no longer be auto-removed when no ...


2

Usually works this way, If you know exactly which packages had been removed, then everything should be ok after reinstalling them again, unless You also purged a configuration then your custom settings will be gone. If OS informed you that all those packages will be removed, then either you really don't need them, or they have some kind of conflict with new ...


1

Actually, you're missing some steps... First of all, 1.58 is fine for other software in your version of Ubuntu. Indeed, if you're developing something yourself, then having the latest might be a good idea. What you downloaded from sourceforge should not be the "boost binary". It should be all source code. The steps you gave would setup the build's ...


0

I had this same problem. I believe Doug is right about the Wily ppa. I purged rhythmbox and all rhythmbox data. I also purged the fossfreedom ppa. Then I found the Rhythmbox deb file for Rhythmbox 3.3-1 (the Xenial version rather than the Wily version) on pkgs.org and was able to install Rhythmbox that way. I can't find a ppa at the moment that has the ...


0

Doing a sudo apt-get install ubuntu-desktop seemed to fix the issue!


0

Actually, it isn't failing. W: stands for a non-fatal warning, you could easily not worry about it. Fix for Public key error: wget -O - http://deb.opera.com/archive.key | sudo apt-key add - /usr/share/appgrid/appdata/helpers.py error was thrown because an issue in the app, not apt, you can easily ignore this. And lastly, the weak digest algorithm cannot ...


1

According to http://askubuntu.com/a/502208/15003, sudo apt-get install libopus0 followed by sudo apt-get install gstreamer1.0-libav should upgrade the packages that are held back.


-1

You might try to install php-all-dev sudo apt-get install php-all-dev


0

If wine installation fails with broken dependencies like wine : Depends: wine1.6 but it is not going to be installed and attempts to install wine1.6, reveal that it depends on libgphoto2-6:i386, which then appears to depend on non-installable libgphoto2-port10:i386, and an attempt to install libgphoto2-port10:i386 would remove the AMD64 version along with ...


1

Using the official repos is making sure that the software you're installing is both tested and configured as it should be, in order to function as it should. This does not mean that you cannot or shouldn't use several TESTED ppa's. Most of them are quite ok to use and they are very safe. apt-get installs software using the repos or ppa's as sources. This ...


3

No (but it will feel like yes for a while) If you enable rw on / and start modifying it, nothing disables the delivery of OTA updates. So when they arrive, they will be offered to you for install, as before. However, the OTA process does a very simple thing to the filesystem. It just untars a large set of files on top of the filesystem you have. Since it ...


0

I ran into a similar issue (stuck apt update on 16.04, 2x apistreamcli at 100%), however that was not related to any particular installation. For me it was enough to kill -sigterm the stuck apistreamcli-processes. After that apt update && apt upgrade worked again without issues.


0

you have couple repository's got in the way remove it from here and then click on close and run sudo apt-get update/upgrade


0

Command apt-get update only updates the package lists. open a terminal ctrl+alt+t and run apt-get dist-upgrade to upgrade the actual packages. People often combine the two as sudo apt-get update && sudo apt-get dist-upgrade. Hope it helps


1

Run this: sudo dpkg -r account-plugin-google unity-scope-gdrive sudo apt-get -f install


1

So after a good night of sleep, I decided to google the issue with a failed "sudo apt-get update" and I found that the following thing fixed my issue: ubuntu@tegra-ubuntu:~$ dpkg --print-foreign-architectures i386 ubuntu@tegra-ubuntu:~$ sudo dpkg --remove-architecture i386 Apparently, I had added a foreign architecture "i386" and that was causing all the ...


0

I was able to solve this issue simply by updating. The package manager will take care of all the file stuff. sudo apt-get update


6

They are very similar command line tools available in Trusty. Apt-get and apt-cache's most commonly used commands are available in apt. apt-get may be considered as lower-level and "back-end", and support other APT-based tools. apt is designed for end-users (human) and its output may be changed between versions. Note from apt(8): The apt command is meant ...


0

The fix for me was to kill appstreamcli. I did the following: > ps -aux | grep appstream root 2351 0.0 0.0 21296 956 pts/4 S+ 10:03 0:00 grep --color=auto appstream root 24008 0.0 0.0 4508 712 ? SN May19 0:00 sh -c if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > ...


0

did you try apt-get -f install? The Link "http://archive.linux.duke.edu/ubuntu/ wily-security/main" does not exist on my computer either. However "http://archive.linux.duke.edu/ubuntu/dists/wily-security/main" exists. Maybe you have to change the links in /etc/apt/sources.list or inside the directory /etc/apt/sources.list.d.


0

Some simple solution i used: Open a Terminal window and type: sudo apt-get remove lubuntu-desktop sudo apt-get remove xubuntu-desktop sudo apt-get remove kubuntu-desktop sudo apt-get remove mate-desktop sudo apt-get remove cinnamon-desktop You can also use the purge option to remove any left config. files, like this: sudo apt-get ...


0

It is a known bug for the moment, the cpu also runs at 100% with this bug. A quick fix is, open the program named software & updates uncheck unsupported updates(xenial-backports). This fixes the problem for now.


1

You are entirely able to kill the process, but it seems to be starting itself again. If you notice, the PID is changing each time that you kill it. Something on your system is automatically starting it on your behalf. You have a couple of options: Seek and destroy whatever is starting it (usually some sort of web control panel like XAMPP, probably in this ...


3

Generally this means that the update process is already running. But in this special case it seems to be a temporarily problem with the Ubuntu repositories update servers today. When you start the computer, the system searches for updates automatically. When you run sudo apt update manually at the same time you receive this message. Today the reason is ...


0

A purge and reinstall fixed all apt problems: sudo dpkg --purge grub-pc grub2 grub-gfxpayload-lists sudo apt-get -f install # the following gives the prompts: sudo apt-get install grub-pc grub2 grub-gfxpayload-lists I've restated the question better (and without the apt problems) here: grub2: update-grub failed to get canonical path of `none'


14

It's a bug. Look at https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/. The problem is that the bug is affecting the update process, so you can't update. Catch 22. So to solve it you have to manually install the broken packages. If the system tried to do the update, you'll probably have a rogue appstreamcli running --- using 100% of your ...


72

This is caused by a bug https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712 The working solution (just tried myself): First kill appstreamcli, either manually or with sudo kill -KILL $(pgrep appstreamcli) or sudo pkill -KILL appstreamcli Then: wget -P /tmp ...


49

This is a known bug and has been fixed. From a comment in the bug tracker, installing the following packages manually solves the problem, at least for me (the URLs are for amd64, adjust URLs for other architectures): cd /tmp && mkdir asfix cd asfix wget https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb wget ...


7

I just encountered the same issue. The solution is to delete away the lock files in the xapian/default folder: sudo rm /var/cache/app-info/xapian/default/flintlock /var/lib/dpkg/lock


6

The bug has been fixed. The packages can be downloaded and installed by opening a terminal (press Ctrl+Alt+T) and running the following three commands: wget http://launchpadlibrarian.net/259142419/libappstream3_0.9.4-1ubuntu1_amd64.deb http://launchpadlibrarian.net/259142413/gir1.2-appstream_0.9.4-1ubuntu1_amd64.deb ...


-1

You can find out which process(es) have /var/cache/app-info/xapian/default locked with lsof, then kill them with kill or pkill. However, if the program (aptd in this case) relies on the mere existence of /var/cache/app-info/xapian/default file, you will have to sudo /bin/rm /var/cache/app-info/xapian/default before trying again.


0

A temporary fix for now is to simply delete everything under /var/cache/app-info/xapian/default. It appears to be the search index for apt, so it will have to be rebuilt, but no ill effects otherwise.


0

Yeah,I have the Same Problem, the Solve(I am not Sure it is) of mine is: Restart the System killall the relative Process sudo apt-get upgrade then you could install normally Done! It Works.


0

Check out this link. I ran into the could not get lock issue the other day and resolved it with the same answer that Faheem Mitha used. ps aux | grep apt This will return a list of things that apt is doing with PIDs. Then run: kill processnumber or kill -9 processnumber You may or may not have to invoke sudo priveleges in order to kill the process ...


0

You can find the packages you want over here and install them using gdebi.


-1

You can have as many versions of gcc as you want, installed at the same time : The default versions for Ubuntu 14.04 are → → $ sudo apt-get install g++-4.4 g++-4.6 g++-4.7 g++-4.8 ... where "4.8" = version 4.8.2 is the system compiler, /usr/bin/{ gcc, g++ } Using one of the other compilers, examples : $ gcc-4.4 file.c ,,, $ export CC=gcc-4.4 CXX=g++-4.4 ...


0

OP: Apparently deleting python3 was one of the dumbest mistakes I could have made. I couldn't reinstall it because it seems that a lot of basic functions (including installing packages) depend on python3. It even broke my GUI when I restarted my computer. Luckily I was still able to backup my data and make an almost pain-free re installation of Ubuntu 14.04 ...



Top 50 recent answers are included