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)

0
votes
1answer
191 views

can't install ubuntu-sdk after installing ubuntu 14.04.2

Now I can't install ubuntu-sdk and I can't resolve the problem. I used: sudo add-apt-repository ppa:ubuntu-sdk-team/ppa sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install ubuntu-sdk ...
118
votes
4answers
92k views

What is “dist-upgrade” and why does it upgrade more than “upgrade”?

I was wondering why upgrade sometimes doesn't want to upgrade certain parts of the system, while dist-upgrade does. Here's an example after running update: apt-get upgrade: ...
0
votes
1answer
36 views

The difference between the different APT upgrade commands

I have seen and used all of these commands to upgrade packages on my system, but why are there different commands for this? Do they all not do the same thing? And if not, then in which situations ...
0
votes
0answers
81 views

sudo apt-get upgrade not working: dpkg: error processing archive init-system-helpers_1.22ubuntu6_all.deb [closed]

I've been playing with Ubuntu 15.04 and tried to run sudo apt-get update and sudo apt-get upgrade today. I'm getting an error: dpkg: error processing archive ...
0
votes
0answers
9 views

gnome-control-center-signon has been deleted. HELP [closed]

Gnome-control-center-signon has been deleted. How can I reload or reinstall this? I have tried almost everything from other posts to no avail. It almost seems that Apt is not working correctly.
2
votes
3answers
7k views

Steam needs libgl1-mesa-dri:i386, libgl1-mesa-glx:i386

I have just installed Steam on my Ubuntu 13.10 64 bit and it works well and I can play games but each time I launch it I get the following prompt: Steam needs to install these additional packages: ...
1
vote
1answer
223 views

Arduino 1.6.1 installation

I unpacked the Arduino archive. I have jdk, jre installed properly. When I am trying to launch Arduino 1.6.1 IDE I get the following error and I have no idea where to start from to solve it. Any ...
0
votes
1answer
2k views

sudo apt-get error

So I am trying to use apt-get update but it is spitting out errors. $ sudo apt-get update Err http://extras.ubuntu.com trusty InRelease Err http://plex.r.worldssl.net lucid InRelease Err ...
0
votes
1answer
607 views

Install mediawiki with PostgreSQL instead of MySQL

I need to install Mediawiki with PostgreSQl as database backend on an 10.04 server. I would prefer to install Mediawiki via apt-get/aptitude but I don't know how to configure the installation not to ...
0
votes
2answers
41 views

can't install , remove , purge or anything

when ever I try to open Software Center it shows a message : New software can't be installed because there is a problem with the software currently installed. Do you want to repair this problem ...
-1
votes
0answers
21 views

Can't run sudo do-release-upgrade

When I try to run sudo do-release-upgrade it just print: No new release found and I am running 12.04 LTS, and i can't use sudo apt-get. what should I do?
-2
votes
0answers
16 views

Prevent apt-get from using a specific mirror [migrated]

I am using Cubian X1, a customized Debian wheezy distro, on my Cubietruck ARM board. Running apt-get update fails, as it tries to connect to mirror.isoc.org.il mirror which is filtered inside Iran, ...
21
votes
1answer
18k views

How do I re-run boot loader?

Running sudo apt-get -f install said that The link /vmlinuz.old is a damaged link and: you may need to re-run your boot loader[grub] Here's the full output: user@chrubuntu:~$ sudo apt-get -f ...
0
votes
0answers
26 views

Working code examples of python-apt

i downloaded the source code of python-apt from here : https://github.com/excid3/python-apt In this source code, in directory doc/examples , some python codes are exist. I thought that i could run ...
1
vote
0answers
15 views

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY

When I look for my error key number 0429ACCAF7AA50B3, it is not in the database, thus I cannot receive or generate anything even none of this did not work: ...
0
votes
1answer
16 views

How to traverse all packages using python-apt

i want to implement a python code which prints all packages using python-apt in ubuntu. I searched about it, looked at python apt documentation in the link, ...
0
votes
1answer
23 views

From terminal how can I upgrade a particular software only [duplicate]

Using Xubunutu 140.04 LTS I want to upgrade a particular software only without upgrading the rest of the system. How can this be done from terminal, To update entire system I understand that I need ...
0
votes
2answers
791 views

The bug is not reproducible, so it is likely a hardware or OS problem [closed]

I'm trying to install Samba 4.0.9 on one server but I keep getting this error everytime. I have tried everything from apt-get -f install to editing /var/lib/dpkg/status Package: Samba4 Install ok ...
2
votes
2answers
22 views

How to remove a apt-key which I have added?

I added a key like this: wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > ...
0
votes
1answer
10 views

apt-cache search <package> doesn't detected package built from source and installed using dpkg -i

Because I wanted to install some packages after building them with g++-4.9, I did: /usr/local/src $ sudo apt-get source --compile libmysql++3 /usr/local/src $ sudo apt-get souce --compile ...
1
vote
1answer
28 views

how to uninstall emacs from command line?

I have ubuntu 12.04 I installed emacs using below commands. $ apt-get update $ apt-get install emacs Then, as expected, I could find emacs while searching in dash. Next I wanted to uninstall ...
0
votes
1answer
32 views

Unable to install or remove package

This specific message is displayed in the terminal $ sudo apt-get remove bio-linux-cdbfasta Reading package lists... Done Building dependency tree Reading state information... Done The ...
161
votes
14answers
489k views

Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

I get this error when trying to use apt-get: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is ...
0
votes
0answers
46 views

apt-get install problem with MySQL Ubuntu 12.04 [duplicate]

I have a working system with Ubuntu 12.04 and LAMP For some reason i am unable to install any new software on system. Every time I try to use apt-get install i get the following error: Example: ...
0
votes
0answers
36 views

Error installing GIT on Ubuntu 14.04

I need to install git on ubuntu 14.04 but I am getting an error after sudo apt-get install git: Reading package lists... Done Building dependency tree Reading state information... Done The ...
-1
votes
0answers
27 views

Apt-get install -f wants to remove pantheon-shell

I had some sound issues on my old laptop and couldn't install pulse audio for unmet dependencies that seemed that no one else on the internet ever had. After all I did a stupid thing $ sudo dpkg ...
-1
votes
2answers
22 views

Unable to locate package perl(Net: & IO::Socket:)

When i am trying to use following command it shows following error root@RR-DE-NMS-1:~# apt-get install 'perl(Net::SSLeay)' 'perl(IO::Socket::SSL)' Reading package lists... Done Building dependency ...
144
votes
9answers
354k views

What does “sudo apt-get update” do?

I am wondering what sudo apt-get update does? What does it update?
0
votes
0answers
13 views

Installing LLVM 3.5 suffixes all the executables and folders with the version (-3.5)

as the title says I installed LLVM 3.5 on Ubuntu 14.10 using the following commands: - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main' >> ...
0
votes
0answers
3 views

HEP latex package in 14.04

I want to write some particle name in latex. The standard notation for the particle does not working in my tex studio. How I add the HEP package???
10
votes
4answers
12k views

bypass the yes/no prompt in apt-get upgrade

in order avoid typing out all of the apt-get commands when updating my computer i have made a simple alias command to do it. But i really want to be able to just type in my alias and let it do its ...
0
votes
1answer
41 views

Could not execute 'gpgv' to verify signature (is gpgv installed?)

I'm sorry in advance if I am leaving out critical information, or if I don't follow posting rules. I am pretty new to all this. I recently installed Ubuntu 14.0.4 as a dual boot with windows 7. I ran ...
1
vote
0answers
329 views

Failed to add GPGKEY at http://cuda-repo/repos/GPGKEY to apt keys

I am trying to install JetPack-1.1.0 to my Ubuntu 14.04.2 x86_64 laptop. When the installation was at between %80 and %90 it warned me for installation of cuda-toolkit-6-5 cuda-cross-armhf-6-5 failed. ...
0
votes
0answers
61 views

Dependency problems with wkhtmltopdf when trying to install latest version

I'm trying to install the latest version of wkhtmltopdf on an ubuntu server 12.04. apt-get install wkhtmltopdf only installs version 0.9.9 and I need the latest version, 0.12.2.1. I was having trouble ...
6
votes
1answer
13k views

“Unable to connect” error with apt-get?

I recently installed 12.04 but am unable to run sudo apt-get update and consequently sudo apt-get install xxx. When I run the first command I get several Ign http://extras.ubuntu.com precise ...
2
votes
2answers
522 views

unable to install gcc-multilib after upgrading to 14.04

I recently upgraded from 12.04 to 14.04. After upgrading things started to break. I am getting crt1.o: No such file: No such file or directory. So, I tried to install gcc-multilib, but, that is also ...
2
votes
2answers
928 views

apt-get count the number of updates available

currently I use this to count the number of available updates NUMOFUPDATES=$(aptitude search "~U" | wc -l) Is there a way to do the same with apt(not aptitude) but not using the update-notifier?
0
votes
1answer
90 views

pyvenv vs venv vs python-virtualenv vs virtualenv and python 3

malikarumi@Tetouan2:~$ pip install virtualenv Collecting virtualenv Downloading virtualenv-12.0.7-py2.py3-none-any.whl (1.8MB) 100% |################################| 1.8MB 330kB/s ...
1
vote
0answers
31 views

Regarding Too many errors in /usr/bin/dpkg returned an error code (1),

Output of command on terminal at Ubuntu 14.04 LTS sudo apt-get install python No apport report written because MaxReports is reached already No apport report written because MaxReports is ...
-1
votes
0answers
22 views

AptGet Offline Repository

I have followed the documentation from https://help.ubuntu.com/community/AptGet/Offline/Repository to the point where my binary-amd64 folder is picked up by executing apt-get update. However, when i ...
0
votes
2answers
81 views

skype install on ubuntu 14.04 dependency hell

im trying to install skype since empathy and pidgin doesnt work so im stuck in the installation, anything seems to work, i tried using synaptics, gdeb with the packages from the page, even tried ...
1
vote
1answer
1k views

Fresh Server 14.04 install: “Unable to locate package (xyz)” for everything; How do I edit sources.list?

I can't install anything with apt-get on my fresh 14.04 Server installation. I get Unable to locate package [xyz] for everything I try. sudo apt-get update does nothing. This page implies that I need ...
0
votes
2answers
46k views

E: Some index files failed to download. They have been ignored, or old ones used instead after apt-get update

My /etc/apt/sources.list contained: nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ cat ...
2
votes
1answer
4k views

How to install qt3-dev-tools package

I am using Ubuntu 13.10 and want to install qt3-dev-tools package. When i run this command sudo apt-get install qt3-dev-tools i am getting this error, E: Unable to locate package qt3-dev-tools ...
0
votes
1answer
30 views

The update information is outdated (notification icon) [duplicate]

I am running Ubuntu 14.10 server I'm getting this icon in the notification bar over the last days, even though Software Center is running updates properly and I have no new updates available. I have ...
0
votes
0answers
24 views

sudo apt-get update cannot fetch the server why?

I use Ubuntu 14.04.2 LTS (GNU/Linux 3.14.33-ti-r50 armv7l) in my device.When I try sudo apt-get update I see this error below: Err http://ports.ubuntu.com trusty InRelease W: Failed to fetch ...
0
votes
1answer
68 views

Problem in updating [duplicate]

Whenever I try to update my system I get these error messages: W: Failed to fetch http://dl.hhvm.com/ubuntu/dists/trusty/InRelease Unable to find expected entry 'main/source/Sources' in Release file ...
2
votes
1answer
54 views

apt-get dependency issue Open-SSH Client

This is on an Ubuntu 12.04 Server. I'm getting this error when trying to run any apt-get install (trying to install unrelated, arbitrary packages): dpkg: dependency problems prevent configuration of ...
1
vote
1answer
88 views

Error with sudo apt-get -f install (ldconfig not found)

I am using 14.04 LTS. When I type sudo apt-get -f install into the terminal I get this error: Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. Use of ...
1
vote
1answer
47 views

How to fix dpkg error [2]?

Every time I try to install or remove a package, I get this error. I thought maybe it was the hard disk, but a disk check gave me a clean bill of health. dpkg: unrecoverable fatal error, aborting: ...