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)

8
votes
1answer
437 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
876 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 packages,...
9
votes
1answer
24k 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
1answer
93 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
1k 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
2k 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
386 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
60 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 /var/lib/apt/lists/...
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
257 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
940 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
295 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
3k 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
2k 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
1k 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
539 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 /var/lib/dkms/openafs/1....
1
vote
1answer
840 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
192 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
316 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
91 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
716 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
102 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
3k 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 apt-...
0
votes
2answers
48 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
213 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
145 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
474 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
104 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
60 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
297 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
1answer
90 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
145 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
1k 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
69 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 ...
1
vote
1answer
629 views

'apt-get upgrade' getting stuck

When trying to install updates after checking with sudo apt-get update, sudo-apt get upgrade is not installing them. username@username:~$ sudo apt-get upgrade Reading package lists... Done Building ...
1
vote
1answer
1k views

URIs for linux-image-3.11.0-15-generic

I'm using Ubuntu desktop (Linux version 3.11.0-15-generic (buildd@allspice)). I tried to get linux source code by command: sudo apt-get source linux-image-3.11.0-15-generic Then I saw this error: ...
4
votes
4answers
2k views

Why the apt prompts me to enter the full phrase while purging a package?

Don't try this command. While i'm trying to purge the package login, terminal asks me to enter the whole text rather than [Y/n]. avinash@avinash-VirtualBox:~$ sudo apt-get purge login Reading ...
3
votes
2answers
150 views

Sending enter in interaction mode ubuntu 13.10

I'm trying to make a basic script for deployment of ocs-inventory and I got stuck on a problem. When I issue this command: sudo apt-get install -y ocsinventory-agent The interactive window ...
0
votes
1answer
515 views

install spectrum3d on ubuntu

I want to install a spectral analysis tool for Ubuntu, and thought Spectrum3d looked good. I've tried following the install instructions. As far as I understand, I am supposed to write: sudo add-...
0
votes
2answers
2k views

owncloud -problem installing packages

I have just installed these packages for building my owncloud, but always get an installation aborted error: rqie@rqie-VirtualBox:~$ sudo apt-get install apache2 php5 php5-json php5-gd php5-sqlite ...
4
votes
2answers
236 views

Updating packages when network access to standard repositories is blocked [duplicate]

My college just blocked Ubuntu repositories. So is there any way to install texlive package from something like zip? I need to run this command, sudo apt-get install texlive texlive-pdf texlive-...