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
1answer
487 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
174 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
51 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 ...
2
votes
5answers
524 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
178 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
458 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
118 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
1k 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
800 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
556 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 ...
1
vote
3answers
238 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
3k 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
453 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
126 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
129 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
82 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
943 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
287 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
91 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
1k 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
38 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
106 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
83 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 ...
3
votes
2answers
2k 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
211 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
1k 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
69 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
515 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
47 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
210 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
18 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
70 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
89 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
335 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
2k views

I am not able to Install any packages via apt-get, why?

I am getting this error whenever I install any package from the terminal. What is wrong? apt-get install gnome-tweak-tool Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
44 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
151 views

Ubuntu desktop messed up? [closed]

I have HP probook 4540s with switchable graphic card Radeon HD 7650M, its working fine on windows but it would cause heat problems so followed the Question which said solution is to install the ...
1
vote
1answer
293 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
276 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
981 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
113 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
222 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 ...
0
votes
2answers
1k 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
131 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 ...
3
votes
0answers
990 views

unable to generate .deb file using make deb-pkg?

I am trying to build my linux source tree. I used following steps : sudo make clean sudo make localmodconfig sudo make menuconfig sudo make deb-pkg But after completion I was not able to see any ...
1
vote
1answer
298 views

Manually Uninstall GDAL

I followed a ./configure, make, make install approach when I originally installed GDAL on my Ubuntu machine, but now I want to upgrade to 1.10. Unfortunately, I want to use apt to perform the ...
0
votes
1answer
1k views

dpkg opporations fail: Failed to run depmod, error processing linux-image-generic

My Laptop had lost power a couple of times recently, and now, whenever I try to do a package operation I am getting the following error code. I tried searching for a solution on the forums, but these ...
1
vote
0answers
36 views

apt-get BADSIG signature gpg error [duplicate]

I am trying to do an apt-get update in one ec2 instance and I get the following error: W: GPG error: http://us-east-1.ec2.archive.ubuntu.com precise-updates Release: The following signatures were ...
-1
votes
1answer
134 views

cant work out how to do “chkconfig systat on” & “service systat start” on ubuntu 12.04

Can anyone tell me how to do this in Ubutu from command line? We have no GUI. chkconfig sysstat on service sysstat start I tried installing chkconfig, and get the error: "Package chkconfig is not ...
9
votes
1answer
808 views

How can I get “delta” packages to optimize apt-get upgrade downloads?

I have recently installed Fedora in VirtualBox and noticed that they use Delta-RPM packages, which help dramatically reduce downloading sizes. Also I heard that Gentoo uses some delta packages. Would ...