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)

-2
votes
0answers
29 views

what is aptd, apt, apt-get and what are 2758,2936 and 3673 as shown below [on hold]

2758 ? 00:00:05 aptd 2936 ? 00:00:00 apt 3673 ? 00:00:00 apt-get This is what is being shown when i type ps -e | grep -e apt -e adept | grep -v grep I am very new to ...
0
votes
0answers
9 views

package to change language

Here is how I change my OS language... System settings - Language Support - Install/ Remove Languages - select "marathi" - apply changes - drag marathi to first place in language for menus and ...
0
votes
0answers
6 views

synaptic tries to uninstall so many packages when trying to install openssh-server

I've been tyring to get openssh-server through sudo apt-get install openssh-server, but when I ran it I got the following: The following packages have unmet dependencies: openssh-server : Depends: ...
3
votes
2answers
351 views

Upgrade Git version on Ubuntu 14.04

Can please somebody tell me what is wrong with this? I run $ sudo apt-get purge git; sudo apt-get autoremove; sudo apt-get install git Reading package lists... Done Building dependency tree Reading ...
1
vote
2answers
30 views

Is there a way to use GIT to manage OS packages so that if i 'sudo' break something I can easily revert?

I'm very novice when it comes to OS management, so if this question is ignorant please be kind. The idea is pretty self explanatory, essentially keep a text file of packages&versions, every ...
2
votes
1answer
21 views

How do I get the latest content of a .deb file without downloading redundant data?

I want to update a .deb file with the latest content from available update. I searched and found apt-sync program, however, this apt-sync project seems dead. Is there any alternative of it? or Is ...
0
votes
0answers
8 views

cannot browse although connected to internet

yesterday i tried to install a management system into my 12.04 ubuntu. I tried to edit the repository in sources.list using sudo gedit /etc/apt/sources.list . I am not sure whether i type it ...
0
votes
0answers
17 views

Can't connect to archive.canonical.com

This is a problem that has been driving me insane. Whenever I use the terminal to download anything, updates or programs, I can't get past 0% while it says, [Connecting to archive.canonical.com ...
1
vote
2answers
56 views

Cannot install mysql server 5.5 on ubuntu 14.04

I have tried many ways to install mysql-server. I first tried installing by executing sudo apt-get install mysql-client-5.5 mysql-server mysql-server-core-5.5 I was asked for root password, and ...
1
vote
1answer
62 views

Cant install libsdl2-dev or cmake glfw.. (libxinerama-dev problem)

So I was going to continue learning Opengl after switching to Ubuntu, I tried this explanation to compile glfw and use it, but I got this: -- Using X11 for window creation -- Using GLX for context ...
3
votes
0answers
24 views

creating a deb package to install extension

I want to create a deb package that will install this and that extensions. I want to automate the steps of adding the extension to LibreOffice and Firefox. How do I create a package for this?
1
vote
1answer
28 views

What should I do as apt-get wants to remove grub-efi-amd64-signed

I'm on 15.04 and latest upgrade shows grub-efi-amd64-signed as "to be removed" (along with upgrading grub-common, grub-efi-amd64, grub-efi-amd64-bin and grub2-common) I'm using EFI secure boot, so I ...
1
vote
1answer
17 views

Must have libdb to build apt-ftparchive

I'm trying to build APT. However, I keep getting this message from the ftparchive makefile: Must have libdb to build apt-ftparchive It doesn't always print this, only sometimes? Which package do ...
2
votes
2answers
42 views

Kodi package problems after upgrade from 13.10 to 14.04: libsdl2 not found

After my HTPC system upgrade from Ubuntu 13.10 to 14.04 I can't seem to install Kodi. I run sudo apt-add-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get install kodi kodi-bin And ...
0
votes
0answers
13 views

Getting Rid of Autojump

I just removed autojump and I still get this line whenever I access my command terminal: bash: /usr/share/autojump/autojump.sh: No such file or directory I used sudo rm -rf autojump as my primary ...
0
votes
0answers
11 views

Broken Packages Issue while installing JDK on Ubuntu 14.04

I am having issues while trying to install JDK on Ubuntu 14.04. Following is what I see: araj1@araj:~$ sudo apt-get install openjdk-6-jre Reading package lists... Done Building dependency tree ...
1
vote
0answers
20 views

How Should I Be Maintaining My Manually Installed Apps?

I am used to using apt to install and upgrade my applications. To an extent, I'm relying on the repositiories I use to be sane and thus keep my machine in a good state. What is best-practice for ...
2
votes
1answer
48 views

Cant Downgrade php5.5 back to php5.3

I have tried to upgrade my apache2.2 to apache2.4 and php5.3 to php5.5 on my Ubuntu 12.04. For php5.5 I have used those commands below (I dont remember which PPA i used for apache upgrade) : ...
0
votes
0answers
20 views

error installing mongodb on trusty

I'm trying to install mongodb on the trusty tahr following this tutorial: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/. When running the first command (sudo apt-key adv ...
0
votes
0answers
18 views

libapache2-mod-php5 : Depends: php5-common [duplicate]

I have tried to upgrade my apache2.2 to apache2.4 and php5.3 to php5.5 on my Ubuntu 12.04. For php5.5 I have used those commands below (I dont remember which PPA i used for apache upgrade) : ...
1
vote
2answers
32 views

Can't remove steam

I'm running Ubuntu 14.04. I tried to install steam from the .deb from the steam website (steam_latest.deb) and this didn't work; I installed later with apt-get install steam (along with the 32 ...
1
vote
1answer
24 views

Ubuntu Server 15.04 update error

I can't do sudo apt-get update, when i try it gives me loads of failed to fetch everything.. now I have no idea what could be wrong I searched for what the sources.list file should look like and it ...
10
votes
3answers
15k views

“The package lists or status file could not be parsed or opened”

Everytime I sudo apt-get update it always not complete and will say in the end E: Read error - read (5: Input/output error) E: The package lists or status file could not be parsed or opened. Same ...
16
votes
4answers
12k views

How to get the native version of Spotify running?

A while ago Spotify (the streaming music service) came out with a preview for Linux of their client. I have successfully been able to run it on 10.04. Now that I am on 10.10, I cannot seem to find it ...
0
votes
0answers
30 views

Neither software updater not sudo apt-get update not working in Ubuntu 14.04 LTS

Whenever I run software updater, it shows that show "FAILED TO DOWNLOAD REPOSITORY INFORMATION", and when i run the command sudo apt-get update, it is shows the error below: sudo apt-get update ...
0
votes
1answer
33 views

Apt-get for Cuda 6.5 Libraries

I am trying to install Jetpack 1.1 for an Nvidia Jetson development card on a fresh install of Ubuntu 14.04. This is a mostly automated process, but at one point fairly deep into the install the ...
0
votes
1answer
27 views

Base Ubuntu Server, Can't install anything

I'm currently administrating an Ubuntu Server 14.04.2 and was looking forward to installing LAMP, first two lines I wrote were $ sudo apt-get update Reading package lists.. Done (no more no less) $ ...
5
votes
1answer
2k views

aptitude (apt-get) always crashes

I'm using Ubuntu Quantal. I've recently updated and now my kernel is 3.5.0-23-generic. After upgrade my NVIDIA driver stopped working... no problem! I re-installed it and now it works. Now I ...
0
votes
1answer
16 views

E: Unable to locate package libmysql-ruby

I try to install mysql for rails but i know that first must install the package libmysql-ruby I do the command E: Unable to locate package libmysql-ruby But It returns Reading package lists... ...
7
votes
2answers
12k views

Is it safe to use the command apt-get autoremove in this particular scenario?

The last time I used sudo apt-get autoremove, nearly every important display driver or parts got deleted. This made me very squeamish about using the command again. However, each time I install ...
2
votes
2answers
36 views

How do I name a repository [duplicate]

I installed most software from the terminal. I saw that with some programs people give commands like this for example: sudo apt-add-repository ppa:jfi/ppa sudo apt-get update sudo apt-get install ...
42
votes
6answers
45k views

Not enough free disk space when upgrading

I'm getting an error in software updater when I try and do my daily updates. it says: The upgrade needs a total of 25.3 M free space on disk `/boot`. Please free at least an additional 25.3 M of disk ...
1
vote
0answers
14 views

How do I hold package regardless of revision change?

Only yesterday, I realized that apt-get forces a package, even if it is only a repackage of the same content with revision change. Many package-maintainers do this for newer release versions. I have ...
4
votes
1answer
6k views

How to install the latest version of a package with apt-get?

It's easy to install a specific version of a package with apt-get: apt-get install <package name>=<version> For example: apt-get install jenkins=1.517 But is there a shortcut for ...
1
vote
1answer
27 views

I am trying to re-install r in my ubuntu 14.04. But I keep getting this error always I try to install r as sudo apt-get install r-base [duplicate]

The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 3.2.1-1utopic0) but it is not going to be installed Depends: r-recommended (= 3.2.1-1utopic0) but it is not ...
0
votes
2answers
18 views

How to find the missing dependencies for all packages?

I think I have accidentally missed up my ubuntu, I wanted to remove TOR so I did sudo apt-get remove tor* That selected a lot of files, which I think is unrelated to the anonymity network. So I ended ...
1
vote
0answers
10 views

Reinstall an official package when custom one has overwritten it

I recently installed the Debian packages produced by running make deb-pkg to compile my own version of the Ubuntu kernel. I had given the kernel the release version 3.19.0-21-secure. All of the ...
0
votes
2answers
54 views

apt-get - where are the sources stored?

I was trying to update apt-get and I keep getting 404 errors - I assumed it was the fault of my proxy, which has been causing errors in wget and in the browser, but upon visiting one of the links that ...
6
votes
4answers
14k views

where are apt-get files stored?

i have an ubuntu with three virtual machines running inside running ubuntu also i update the host using apt-get update but i can update VM's, it takes a long time + uses a lot of bandwith which ...
0
votes
0answers
23 views

Gnome-shell unmet dependendcies

After playing with ElementaryOS DE, and completely removing Unity DE on my Ubuntu 14.04 installation, I am in unmet dependency hell. Output after sudo apt-get install gnome-shell is as follows: The ...
0
votes
1answer
45 views

Sudo apt-get install git problem

Hi Im kinda new to Ubuntu. That said, I can usually run this on a clean install of ubunty 14.10 sudo apt-get update sudo apt-get install git And then git should be installed But what I get is this ...
1
vote
1answer
38 views

Install software so that cannot be wiped by reinstalling

Is there a way to install programs under Ubuntu in such a way that the standard reinstall from live usb will not wipe them out? (e.g. by installing them in a different partition or keeping folders ...
0
votes
1answer
58 views

fresh re installation of ckan, jetty, solr

I am trying to install ckan on my ubuntu 14.04, but i got into some errors that i cant fix, so i decided to do a fresh installation after i remove everything from my computer. I am getting some errors ...
0
votes
0answers
17 views

cannot install bower on ubuntu :- failed to fetch from registry: bower [closed]

I was trying to Install MEAN for ubuntu from this link https://www.rosehosting.com/blog/install-mean-on-an-ubuntu-14-04/ and this lnk ...
0
votes
1answer
50 views

Apt-get dist-upgrade failure on on fresh 12.04

I have an absolutely fresh install of Ubuntu 12.04 on a USB drive, made using the 64-bit PC (i386) Desktop image. By "fresh" I mean that all I have done is remove the casper-rw file and replace it ...
2
votes
1answer
3k views

error in installation of gcc on ubuntu Ubuntu 12.04

I want to install gcc on a ubuntu machine but got the following errors: t@lab45:~# apt-get install build-essential Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
16 views

I currently have PHP 5.3.2 installed with Apache in 10.04 Lucid. How can I upgrade PHP? [closed]

I currently have PHP 5.3.2 installed with Apache in 10.04 Lucid. How can I add the upgrade PHP ? have done following commands but seems its not working, what am I missing here.. Attmpt 1 ...
1
vote
3answers
6k views

How to install again Update Manager after uninstalling it

I tried asking many times on few Ubuntu forums how to deal with my non-responsive Update Manager, but all I was getting was the same stuff (run it from the terminal, run some lines, apt-get update ...
4
votes
2answers
679 views

How to install g++ 5.1 on Ubuntu desktop 15.04 64-bit?

I'd like to experiment with the new GCC 5.1 C++ compiler on Ubuntu. So, I downloaded and installed Linux Ubuntu desktop 15.04 64-bit in a virtual machine. Then, in the terminal, I entered the ...
0
votes
0answers
12 views

dpkg: dependency problems [duplicate]

First of all I am a beginner level user for Ubuntu, and while using apt-get install -f I encountered this issue, so is there any way to fix it. Reading package lists... Done Building dependency tree ...