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)

5
votes
1answer
2k views

Why does /usr/lib/update-notifier/apt-check not agree with apt-get upgrade

I've got an up to date Ubuntu install (13.10). When I run /usr/lib/update-notifier/apt-check it returns 7:0, ie 7 updates available, none of them security. However when I then try to upgrade, I get ...
1
vote
1answer
52 views

Why does apt-get clean requires a reboot before taking effect

Sometimes when my disk is full I apt-get clean to free up some space. When I check my free space with df I have no space left, but after a reboot df tells me disk is being used for 52%. Why do I need ...
3
votes
1answer
197 views

Why apt-get does not ask permission to continue before installing small packages?

When we try to install applications using sudo apt-get install command, we are asked for permission before installing as follows, Need to get 9,979 kB/11.6 MB of archives. After this operation, 36.8 ...
1
vote
0answers
715 views

Cannot install Openssh-server or client

When I go to install, I get this error: sudo apt-get install openssh-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could ...
0
votes
1answer
415 views

apt returns “E: Unmet dependencies” when I try to install a package, how can I diagnose the issue and find out why it occurs?

I'm trying to install a package, but the package manager (apt-get, software center, etc.) refuses to install it due unmet dependencies. Are my attempts to install the package causing the ...
8
votes
1answer
393 views

apt-get install <package> equivalent using C++ apt-pkg library

I am building a small QT (C++) application where I ask user the software he want to install. Once he selected some packages a, b, c from the list all I have to do is run sudo apt-get install a b c ...
2
votes
1answer
778 views

Broken Package, Unable to install anything.!

I know there is so many solution for this but I tried all those none of them are working. When I tried apt-get install -f ... siddharth@Sid-HP-dv6:~$ sudo apt-get -f install [sudo] password for ...
0
votes
1answer
58 views

How to know what libraries the `apt-get install` command installs [and optionally, how to locate these files]?

I took for granted the apt-get install command for too long. How to know (other than reading the prompt) what files are being downloaded? Cuz i can read the prompt when i'm installing these ...
9
votes
1answer
21k views

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) nginx

The Software up-to-date Option automatically download the upgrade for nginx. but While installing it's giving me the following error: Reading package lists... Done Building dependency tree ...
0
votes
0answers
22 views

Installs Keep Reporting No Space on Device [duplicate]

Thanks in advance for your help! I'm new to Ubuntu, and I'm sure my questions are pretty basic. I'm trying to install Java and Eclipse on my Ubuntu 12.04 machine. I'm using the command: sudo ...
0
votes
1answer
89 views

About removing repos

Is it safe to remove unselected repos? Is it safe to disable universe repo? or does ubuntu use it? cause apt-get update takes long time. Is it safe to remove duplicate repos? like spotify?
0
votes
1answer
925 views

Issues with libfontconfig / libxft-dev

I'm having an issue with making LMMS. I get to this point: Linking CXX executable RemoteZynAddSubFx /usr/bin/ld: cannot find -lXft /usr/bin/ld: cannot find -lfontconfig collect2: error: ld returned ...
1
vote
1answer
1k views

Steam, missing 32bit libs but it won't install [duplicate]

Steam needs to install these additional packages: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386 [sudo] password for user: E: The method driver /usr/lib/apt/methods/https could not be found. ...
0
votes
1answer
46 views

Upgrade Problem in Linux Headers

I was upgrading my ubuntu, when it stop when the upgrade was config linux headers. Can I restart the PC? 2014-03-28 14:19:32 configure lightdm:amd64 1.8.5-0ubuntu1 2014-03-28 14:19:32 status unpacked ...
3
votes
2answers
1k views

Internet and apt-get very slow [closed]

I am using xubuntu 13.10 right now and I have some Internet problems. When I use apt-get it takes almost forever to download just a few kBytes. I get results like these and it pauses there for a long ...
4
votes
1answer
1k views

why `dpkg -l | grep package` is showing a package after being purged

To uninstall a package (Ex: tor) installed from repository one should use sudo apt-get remove tor I did this but dpkg -l | grep tor shown something against the package. Next I try sudo apt-get ...
2
votes
1answer
354 views

slapd not installing on Ubuntu 13.10

This problem has been bothering me for quite a while. I have spent hours trying to find out what is wrong but I just could not solve it. When I try to do sudo apt-get install slapd with all the other ...
0
votes
1answer
59 views

Trouble using “apt-get update” [duplicate]

I am trying to use the command "apt-get update", but it gives me this error. It's not the only command that gives errors like these. apt-get update E: Could not open lock file ...
4
votes
5answers
2k views

Why does apt-get require sudo?

This is probably a stupid question, but I recently realized that I have no idea why there's no single-user functionality with apt-get. Answers I'm not looking for: "It's because apt writes to ...
2
votes
4answers
242 views

where is the place downloaded program from apt-get [duplicate]

When we download a binary Debian program from repository by this command: sudo apt-get install something Where is this program store and all of executable files?
0
votes
2answers
864 views

What package should I include as build-depend based on this error

Previously, I've asked about debian/rules additional build flag of CMake for packaging in Launchpad. The question is here. Now I managed to accomplish that by changing that debian/rules. And I ...
1
vote
1answer
262 views

bakomatex installation problem

The Problem Installed deb package for bakomatex and have been getting errors with dpkg ever since. debanjan@tanrake:~$ sudo apt-get upgrade [sudo] password for debanjan: Reading package lists... ...
2
votes
0answers
2k views

Chromium message : google api keys are missing and cannot sign in to chromium

I installed Chromium on my Ubuntu 12.04 using sudo add-apt-repository ppa:saiarcot895/chromium-dev sudo apt-get update sudo apt-get install chromium-browser Now whenever I run it I get the message ...
2
votes
1answer
1k views

Creating Virtual Machines using ubuntu-vm-builder

I'm currently trying to install virtual machines on my Ubuntu Server 13.10. I followed the instructions from this guide. I was able to install and check if my machine is is supported how ever when I ...
1
vote
2answers
965 views

Getting errors when updating the source list [duplicate]

Recently I installed Kali and BT5 tools on my Ubuntu 12.04. At that I edited source.list file. When I issue sudo apt-get update it is exiting showing errors occured and they are ignored. What can be ...
2
votes
3answers
482 views

apt-get install: is there a command to work on a batch of packages?

I notice that whenever I use the command sudo apt-get -y autoremove quite a number of packages that I need is on the list to be removed. After going through some of the posts on this forum, I have ...
0
votes
1answer
5k views

Error! Bad return status for module build on kernel: 3.8.0-37-generic (x86_64)

After updating some packages in my machine (using aptitude), I got the following error: Error! Bad return status for module build on kernel: 3.8.0-37-generic (x86_64) Consult ...
1
vote
1answer
788 views

apt-get install libglapi-mesa error

I'm struggling with Ubuntu for almost 3 months now. And it never fails to drive me crazy. I'm using Ubuntu for compiling Android kernels for beaglebone black. I installed Ubuntu into a separate ...
0
votes
1answer
170 views

Can't add applications using sudo apt-get and unofficial ppa: unable to lock directory [duplicate]

My terminal shows this error. I can't add any applications. Please help someone ashwin@ash:~$ sudo add-apt-repository ppa:tualatrix/ppa [sudo] password for ashwin: The official Ubuntu Tweak stable ...
0
votes
1answer
268 views

Debconf got a corrupted perl script. How to reinstall it?

I got some power issues at home and got a bunch of files in my computer corrupted. I could fix most of them, but one that's bugging me is a debconf script. Everytime I try to install something I get ...
-1
votes
1answer
90 views

problem installing rhythmbox v3 on 13.10

Err http://ppa.launchpad.net/jacob/media/ubuntu/ saucy/main rhythmbox amd64 3.0.1-1ubuntu5~ppa0 Connection failed Err http://ppa.launchpad.net/jacob/media/ubuntu/ saucy/main rhythmbox-mozilla amd64 ...
2
votes
1answer
2k views

Skype cannot find libsqlite3.so.0

Skype fails to run: $ skype skype: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory I tried reinstalling Skype (apt-get remove then ...
1
vote
2answers
667 views

How can I get a new /etc/apt/sources.list? [closed]

I was trying to modify that file, and then somehow all the contents got deleted... does anyone know where I can get a new one? I'm using Ubuntu 11.04 Edit: Moreover, what had happened was I had ...
-1
votes
2answers
100 views

Unable to update the system on Ubuntu 12.4 [duplicate]

Showing message: E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ E: Could not open lock file /var/lib/dpkg/lock - ...
4
votes
1answer
2k views

I accidentaly did sudo apt-get remove python [closed]

I accidentaly did sudo apt-get remove python command and now terminal look has changed, rhythmbox, ubuntu software center and everything is quite changed. I reinstlled python with the command sudo ...
0
votes
2answers
47 views

App problem loading page

I am using firefox 28.0 and whenever I try to get an app from the software centre by clicking the software centre button it tells me this: Firefox doesn't know how to open this address, because the ...
1
vote
0answers
179 views

Update not working, nothing is installing in ubuntu 12.04

I am very much new to Linux. I'm using Ubuntu 12.04. The problem is that I'm unable to install anything on it. Initially when I installed it, it was fine. But I was having some dependency problem with ...
1
vote
0answers
135 views

How do I set the F77 environment variable to gfortran?

I'm new Ubuntu (and linux) user. In order to do my senior project, I have to install psrchive I use this command to install psrchive ./psrsoft/bin/psrsoft psrchive --no-cfitsio This is part of ...
4
votes
2answers
4k views

How can I check for apt-get errors in a bash script?

I am writing a bash script to install software and update Ubuntu 12.04. I would like the script to be able to check for apt-get errors especially during apt-get update so that I can include corrective ...
2
votes
1answer
450 views

How do you create a script to batch add repositories and then batch install packages?

I've used Synaptic Package Manager to save markings for all installed packages to a file. Here's a snippet: libmono-system-drawing-design4.0-cil install spotify-client install mono-2.0-service ...
0
votes
1answer
2k views

Installing mongo db on ubuntu 12.04? [duplicate]

I want to install MongoDB on Ubuntu. I am following the official instructions from Install MongoDB on Ubuntu. Now when I do: sudo apt-get update it's giving me: W: Duplicate sources.list entry ...
4
votes
2answers
99 views

Which Programs Are Included In The LiveCD That Are Removed Upon Installation?

I've noticed when booting up Ubuntu 13.10 – Desktop X86-64 disc in "Try Without Installing" mode that Gparted is pre-installed, however if you install Ubuntu to your hard drive the package is removed ...
0
votes
3answers
2k views

Installing All Packages in a PPA

How do I download all of the packages contained within a particular PPA in one command, without explicitly listing out each package? For example, say I want to download all 108 or so packages ...
0
votes
1answer
53 views

What is the apt-get equivalent of this command?

What is the apt-get equivalent of the following command? aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') <package name> Thanks.
0
votes
1answer
288 views

How to fix error while sudo apt-get upgrade

I am getting following error on Ubuntu 12.04 server. Everything on this machine was installed using apt-get install and tried to keep it updated as much as possible. After last update I noticed I can ...
0
votes
0answers
19 views

Cannot install packages with Apt, Synaptic or the Ubuntu Software Center [duplicate]

My problems started when I tried to fix a wireless connectivity issue I was having by reinstalling bcmwl-kernel-source for starters. I believe this failed and is causing the error below. I get the ...
0
votes
1answer
87 views

How can I remove a package

I have encounter a problem when I install a package, The error message: $ dpkg -i 116667-Ubuntu\ xsplash\ clean\ theme.deb (Reading database ... 265031 files and directories currently installed.) ...
-1
votes
1answer
134 views

i want to install java on Ubuntu 13.04, but i got this type of problem during installing java [duplicate]

problem is that: apt-get install default-jre 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
1answer
999 views

installing python-appindicator in 13.10

I'm trying to install python-appindicator in Ubuntu 13.10 but I'm receiving not found error: E: unable to locate package python-appindicator How can I install python-appindicator in 13.10 ?
0
votes
1answer
66 views

Apt keeps trying to connect to a non-existent proxy

I have an apt proxy on my home network which is running squid-deb-proxy, all my Ubuntu machines are linked to it with a 02proxy file in their apt directorys. The problem is one of my Ubuntu machines ...