Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt tools should use this tag.

learn more… | top users | synonyms (1)

1
vote
1answer
31 views

Error processing package Likewise-open

whenever I try updating/upgrading/installing I get this: Setting up likewise-open (6.1.0.406-0ubuntu5) ... Error: /usr/sbin/lwsmd --start-as-daemon returned 1 (aborting this script) dpkg: error ...
0
votes
1answer
114 views

sudo apt-get update && sudo apt-get upgrade throws a Error 404 [duplicate]

Some days ago I install Ubuntu 15.04 (x64) and when the installation finished I tried to install cinnamon by doing: sudo apt-get install cinnamon But it seems that didn't work, next I try by doing: ...
2
votes
1answer
93 views

apt-get update stuck: Connecting to security.ubuntu.com

When I run apt-get update on my machine it gets stuck at: 100% [Connecting to security.ubuntu.com (2001:67c:1562::15)] [Connecting to archive.canonical.com (2001:67c:1360:8c01::16)] I have made no ...
2
votes
1answer
70 views

Why doesn't “apt-get autoremove” remove all installed dependencies?

Installing libav-tools and ubuntu-restricted-extras also installs these new packages: cabextract chromium-codecs-ffmpeg-extra freepats gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-bad ...
2
votes
2answers
307 views

How does 'apt' decide how many old kernels to keep?

I'm managing a couple of servers for core services (NTP, DNS, etc) and it just occured to me that one of the servers seems to keep the 3 latest kernels, instead of 2 on the others : nul@quark:~$ sudo ...
2
votes
0answers
48 views

Perl package not found with apt

When I try to do an upgrade or install something, apt(-get or aptitude) throw an error, saying that perl can't find XML/SAX/Debian.pm while trying to configure libxml-libxml-perl. Here is the full ...
2
votes
3answers
103 views

install a package moved to /var/cache/apt/archives manually?

I installed wkhtmltopdf, by sudo apt-get install wkhtmltopdf. Its version is 0.9.9. http://wkhtmltopdf.org/downloads.html says its latest stable version is 0.12.2.1. So I download its deb for Ubuntu ...
1
vote
2answers
41 views

Ignoring files while updating

I did the following commands: sudo rename 's/\.list$/.list.disable/' /etc/apt/sources.list.d/*.list sudo apt-get update sudo aptitude -f install libgl1-mesa-dri:i386=9.2.1-1ubuntu3 ...
0
votes
0answers
39 views

stuck on tty; cannot return to ubuntu-dekstop

Before this I had a problem with low graphics mode, then I got into tty trying to fix it. Now I can run apt-get update, but cannot install ubuntu-desktop because it is unable to locate the package ...
0
votes
0answers
17 views

Trouble installing gnome-boxes on ubuntu 14.04 (depends libclutter, broken packages)

When I try to install gnome-boxes on Ubuntu 14.04 64 bit from the terminal I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done Some ...
1
vote
1answer
71 views

apt-get update never finishes downloading

When I run: apt-get update it will never finish. It'll stop at some random repo (a different one every time I run it) and just keep downloading forever, until the disk is full or until I abort ...
0
votes
3answers
151 views

I have problem executing apt-get

My Ubuntu Version is 14.04 Kylin. I deleted something wrongly when I tried to remove Java. And since that I got problem executing apt-get. kael@ASUS:~$ sudo apt-get install -f Reading package ...
0
votes
1answer
28 views

Package 'perforce-swarm' has no installation candidate

Disclaimer: I have relatively little experience with Linux I am attempting to install perforce swarm following this guide: ...
0
votes
0answers
24 views

Software Updater not showing all updates

I HAVE found similar questions here, but not exactly the same. Ubuntu 14.04, Gnome 3/Gnome Classic Software Updater pulls some updates, but not all (yes, it is set to show all updates immediately). ...
-1
votes
0answers
61 views

E: GPG error ubuntu 15 apt-get update [duplicate]

I am getting this when I run apt-get update $ apt-get update Get:1 http://security.ubuntu.com vivid-security InRelease 98% [1 InRelease gpgv 199 B] [Connecting to zm.archive.ubuntu.com]Splitting up ...
1
vote
1answer
12 views

Failing to install doc-base

When trying to sudo apt-get install libbz2-dev I get an error related to doc-base Setting up doc-base (0.10.6) ... Segmentation fault (core dumped) dpkg: error processing package doc-base ...
0
votes
1answer
145 views

Why is Ubuntu moving to Snappy packages?

Why Ubuntu dumping .deb packages and moving to .snappy packages? (At least for now they are keeping .deb package for normal distributions). .deb is already the most popular packaging out there. ...
1
vote
1answer
24 views

how to restore ubuntu 12.04 or reinstall accidentally removed packages?

I just accidentally removed libnl-3-200, and all the relative packages have been removed, now there is now internet in my ubuntu laptop. Is there anyway to reinstall it and all the relevant packages ...
2
votes
1answer
39 views

Why are some packages unfindable in new non-LTS releases of Ubuntu?

Well, simply put I've installed the new Ubuntu 15.04 but it does not contain my favourite Netbeans IDE in its repository. I certainly did run sudo apt-get update. Why is this so? Does this mean that ...
2
votes
3answers
73 views

Can't install anything from the terminal of software center in 15.04

A while back I installed some software (I think it was some SDK software) and it didn't work so I removed it. Ever since I have been having problems with Ubuntu. That was back in 14.10 and I was ...
2
votes
1answer
19 views

Stripping image metadata

A while back, on an old installation, I had installed a package that allowed me to view and delete metadata from images. I'm fairly certain the syntax was as follows To display the metadata in an ...
0
votes
0answers
38 views

/var/cache/apt/apt-file/gb.archive.ubuntu.com_ubuntu_dists_vivid-backports_Contents-amd64.gz: PUA.File.Exploit.CVE_2012_1461 FOUND

I recently scanned my machine with ClamAV (using the latest virus definitions) with this command: sudo clamscan -r --detect-pua --infected --bell / And this was one of the outputted results: ...
1
vote
1answer
33 views

Unable to upgrade or remove broken virtualbox package

I'll start with some details of what led up to this: I'm using Ubuntu 14.0 (KDE on top although presumably that's irrelevant) a few days ago I let the system do an auto-upgrade. It crashed partway ...
0
votes
1answer
126 views

Failed to update Ubuntu Server 14.04.2 LTS (Trusty Tahr)

The following error is being encountered: Atteint http://mg.archive.ubuntu.com trusty-backports/restricted Translation-en Atteint http://mg.archive.ubuntu.com trusty-backports/universe Translation-en ...
0
votes
1answer
43 views

Problems with python-gtk2-dev after update to Ubuntu 15.04

Every apt-get operations gives me the following error message: dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... dpkg: ...
1
vote
0answers
121 views

unmet dependencies when trying install wine1.7

I'm trying to install wine1.7 from official ppa,my OS is Ubuntu 14.04 64bit, however when I use the apt-getcommand to install wine, the output is: The following packages have unmet dependencies: ...
0
votes
0answers
15 views

Mark package as installed [duplicate]

Using example package alpha, I would like to mark it as installed without actually installing it. This way if I later try to install it directly, or as a dependency, it will say it is already ...
0
votes
0answers
46 views

Slow apt-get download speed in 15.04

Today i installed Ubuntu 15.04. Its a nice upgrade over 14.04 but im having a issue. My apt-get download speed is too slow. It stays between 21 to 65 kb/s. i also faced same problem in Kali Linux few ...
0
votes
1answer
22 views

default location of postgresql when installing through apt-get

When you install postgresql on 14.04, it sticks the main server program postgres at: /usr/lib/postgresql/9.3/bin/postgres the data directory where all the database clusters will be stored at: ...
1
vote
1answer
34 views

I can't install mysql on 14.04: “Unable to set password for the MySQL root user”

I have tried the solutions presented in Error installing mysql server on Ubuntu 14.04 but I still can't get it to work. The problem i think is when I install it asks me to set password, but then i ...
0
votes
0answers
11 views

The following signatures couldn't be verified because the public key is not available [duplicate]

I opened up the terminal typed sudo apt-get update and after it finished I got this GPG error: <W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be ...
0
votes
0answers
30 views

Manual Recovery

I installed ubuntu 14.04.02 on my netbook. So now I've got 2 os on my netbook, windows 8 and ubuntu. When I boot my netbook and choose to open on ubuntu, it says serious errors were found while ...
1
vote
1answer
111 views

apt-get is “Unable to locate package [package-name]” after upgrade to 15.04 [duplicate]

I installed Ubuntu 15.04, then I updated it and restarted. After that I can't install anything from terminal using apt-get install [package-name] any more. For every package it says Unable to ...
0
votes
2answers
56 views

Wrong headers for Linux version

I have an ODroid U2 running Ubuntu 14.04 LTS and Linux version 3.8.13.30. I am trying to get my USB WiFi dongle working through this tutorial. However, at the sudo dkms install 8192cu/1.10 stage, I ...
0
votes
1answer
41 views

Problems in updating ubuntu [duplicate]

When i am running command sudo apt-get update, i am facing following problems : W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/vivid/InRelease W: Some index files failed to download. ...
2
votes
1answer
104 views

Installing cuda toolkit Ubuntu 14.04 causes dpkg error

When I was installing cuda toolkit Ubuntu 14.04 causes dpkg error. This is what I did: sudo apt-get install build-essential sudo dpkg -i cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb However I ...
0
votes
0answers
13 views

Checking for updates error with source list [duplicate]

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages) I think ...
0
votes
0answers
59 views

How to install MongoDb 3+ on Ubuntu?

I've read this manual from the official website and did all the steps. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 echo "deb http://repo.mongodb.org/apt/ubuntu ...
0
votes
1answer
15 views

Copying packages in PPA fail due to same version

I copied my package from trusty's repository also to utopic's repository of my PPA without re-building the binaries by using Launchpad's copy packages feature. Now I noticed that the utopic package ...
0
votes
1answer
42 views

I want to ignore “apt-get -f install”

When I want to install a new package, I get this error: You might want to run 'apt-get -f install' to correct these: The following packages have unmet de pendencies: cndrvcups-capt:i386 : Depends: ...
0
votes
0answers
36 views

Installing TinyOS on Ubuntu 15.04

I followed this tutorial carefully, but I still can't compile this hello world program. What did I miss? Should I install: nesc: 1.3.5 tinyos-tools: 1.4.2 tinyos-tools-14: 1.4.2 tinyos-tools-devel: ...
1
vote
0answers
172 views

Ubuntu 15.04 update-initramfs fails after packages installation

I have a big script I use in fresh installs since 14.10, but when using it on Ubuntu 15.04 I get an initramfs error. The script looks like this: echo "Starting configuration" && echo ...
0
votes
1answer
41 views

How to fix APT error during the “install the base system” in Ubuntu Server installation?

When installing Ubuntu 14.04 LTS Server, I get this error message: There are problems and -y was used without --force-yes WARNING: The following packages cannot be authenticated! Every time I reach ...
-1
votes
0answers
55 views

Can't install ubuntu-extras-keyring on Ubuntu 15

I am trying to install ubuntu-extras-keyring but I'm getting an error. The code I run is: sudo apt-get install ubuntu-extras-keyring and the result is: Package ubuntu-extras-keyring is not ...
1
vote
0answers
176 views

Trouble installing Elementary desktop environment on Ubuntu 15

I am trying to install elementary-desktop on Ubuntu 15.04 but when running sudo apt-get install elementary-desktop I get a slew of recommends/errors with this at the top: elementary-desktop : ...
1
vote
1answer
20 views

Ubuntu 14.04 LTS: Trying to install Ruby 2.0, but gnome-session-bin seems to be half installed

I cannot install any packages, the problem started when I tried to install the ruby2.0. Before, apt-get was installing everything. But now, every package returns this error: Processing triggers for ...
0
votes
0answers
29 views

Firefox stuck on old version and problems with held packages

i did a clean installation of Ubuntu 14.04.2 2 months ago and i noticed recently that firefox was stuck at version 36. I uninstalled it and then the system showed version 35 as the latest. The same ...
0
votes
1answer
30 views

my ubuntu 12.04 software center wont work and i cant install software using apt-get

i try opening my software center then it closes after a few seconds, i read posts saying i should try some apt-get codes but it gave this error: Reading package lists... Error! E: Encountered a ...
0
votes
1answer
32 views

Trying to install nasm on my ubuntu 14.04 LTS but it get error

I get these errors when i try to install nasm using central software... installArchives() failed: (Reading database ... (Reading database ... 100% (Reading database ... 221927 files and directories ...
0
votes
0answers
17 views

Unable to install php5-intl on Ubuntu 13.10 [duplicate]

I am trying to install phpt-intl extension on Ubuntu 13.10 using the following command: sudo apt-get install php5-intl And I am having the following output: WARNING: The following packages ...