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
0answers
176 views

Trying to install libapache2-mod-wsgi on Ubuntu 12.04, but it says I have unmet dependencies

I have upgraded my server from Ubuntu 10.04 to 12.04, but when I run Apache2, it doesn't understand WSGI, I I tried to install it with: # apt-get install libapache2-mod-wsgi It complained, saying: ...
4
votes
1answer
324 views

apt cacher wont do-release-upgrade for saucy

My sys (raring) is proxy client of my another machine hosting apt cacher. I'm trying to do-release-upgrage and console saying 403, Sorry, not allowed to fetch that type of file: saucy.tar.gz and the ...
1
vote
1answer
884 views

How do I continue configuration if apt-get was interrupted?

In case there were some problems during the last at-get operation, is there a command that checks if something has to be continued in apt-get?
-1
votes
1answer
3k views

sudo apt-get install not working [duplicate]

I was installing Chrome using apt-get and after that I'm not able use command sudo apt-get install or sudo apt-get update anything which I am doing with my package manager is not working, is always ...
0
votes
0answers
86 views

How do I fix 'ERROR:root:DebFileApplication import'?

I keep getting this: $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: opera The ...
1
vote
1answer
1k views

How can I install TeamViewer on Xubuntu 13.10?

I'm trying to install TeamViewer on Xubuntu 13.10, 64 bit version. There is "known" problem with the 64 bit package on their website, hence its advised to install the 32 bit version. (As explained ...
2
votes
2answers
580 views

Uninstalled Xubuntu desktop - now no login screen?

I installed Xubuntu desktop environment but didn't like it. I found a thread which listed a large command to uninstall everything. Now when my machine boots, I get a black screen and no possibility of ...
9
votes
2answers
2k views

Did I accept the ttf-mscorefonts-installer EULA?

The general answer to questions about missing video codecs is to install ubuntu-restricted-extras. But that metapackage also includes the ttf-mscorefonts-installer which requires acceptance of a EULA ...
3
votes
2answers
2k views

Why does apt-get want to remove gcc-4.8 and g++-4.8 when I try to upgrade?

I am trying to upgrade gcc-4.8.1 and g++-4.8.1 to 4.8.2. I added the PPA containing g++-4.8.2, ran apt-get update and then when I try: martin@martin-Studio-1537:~$ sudo apt-get upgrade [sudo] ...
0
votes
0answers
15 views

error when installing xboxdrv [duplicate]

I get an error when installing xboxdrv. System: Ubuntu 13.10 sudo apt-get install xboxdrv Reading package lists... Done Building dependency tree Reading state information... Done The ...
3
votes
1answer
460 views

How can I uninstall an application that Software Center will not?

Running Ubuntu 12. 04. Installed both "VirtualBox" and "X86 virtualization solution - base binaries". I downloaded a newer version of Virtual Box, specifically ...
0
votes
2answers
82 views

How to remove packages from the apt cache that are not currently installed?

I want to organise my apt cache folder so I want to remove packages that are NOT currently installed and keep packages that are ONLY currently installed
0
votes
0answers
20 views

could not install java and any other software

When i am installing any software form either terminal or synaptic-package-manager I always get this error message, repeatedly: Errors were encountered while processing: oracle-java7-installer E: ...
0
votes
1answer
182 views

Private secure-apt repository generating “Failed to fetch” error, possibly incorrectly

TL;DR version: I'm setting up a secure apt repository with signed Release file, and it's giving me a "Failed to fetch Release" error message, which goes away entirely when I remove the Release.gpg ...
0
votes
0answers
22 views

Installing Netflix on Ubuntu 12.04 [duplicate]

I am trying to install Netflix, when I issue the command: sudo apt-get install netflix-desktop I get a screen with Microsoft EULA. It does not complete nor can you break out with Ctrl+C . Any ...
1
vote
2answers
530 views

How to remove package manually?

I customized a liveUSB of ubuntu, but one package (squid) did not install cleanly so I unsuccessfully tried to uninstall. But everytime I boot up I get a crash warning with the message sorry the ...
0
votes
0answers
16 views

cannot install vlc media player [duplicate]

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created ...
2
votes
1answer
3k views

Apache2 re-install error

I am trying to re-install apache2 on my Ubntu12.X machine. I had apache2 before but due some reasons I have uninstalled. I use apt-get purge to remove apache tomcat but while re installing I am ...
9
votes
2answers
406 views

Will apt-get download the same version of a package manually added to /var/cache/apt/archives?

Imagine, I have all packages to install, say, ddd. If I copy all ddd packages to /var/cache/apt/archives and run sudo apt-get install ddd in terminal, will apt-get re-download the packages or skip ...
4
votes
2answers
526 views

What is apt-get equivalent of “aptitude why”?

In this answer, I came across this command: aptitude why firefox aptitude whylooks like an useful command but I don't want to install aptitude just for that. What is the apt-get equivalent of ...
1
vote
3answers
1k views

How to solve “502 internal error - server connection terminated” error?

When I try to install VirtualBox through Ubuntu Software Center it fails with the following errors: Failed to fetch ...
0
votes
0answers
32 views

ubuntu-sdk ppa out of date?

I'm currently wrestling with the ubuntu-sdk and after installing it I cannot get the "unity-webapps-qml" package to install because its dependent on a missing package ...
0
votes
2answers
29 views

Where can I access man pages for “aptitude” if it is not on my system?

Sometimes I want to read man pages of programs I have not installed. Then I visit ubuntu manuals. I entered aptitude in the search box but aptitude man pages are available only for lucid 10.04 LTS ...
0
votes
0answers
70 views

ubuntu-html5-theme package does not install ubuntu-html5-app-launcher

The package ubuntu-html5-theme (which gets installed as part of the ubuntu-sdk) does not install ubuntu-html5-app-launcher. However if I download the source for this package and build and install it ...
1
vote
1answer
54 views

Can apt-config modify apt config?

I have tried to change a apt config value with apt-config but without success: apt-config -o APT::Periodic::Unattended-Upgrade=1 shell Is there a another program on Debian / Ubuntu with you can ...
0
votes
0answers
340 views

Stuck at configuring-apt during install of Ubuntu Server 12.04.4

I'm installing Ubuntu Server 12.04.4, and I'm stuck at configuring-apt for quite sometime now. What does configuring-apt do, and is it necessary. It seems to be downloading things. Is it necessary ...
0
votes
0answers
20 views

After installing 13.10 getting error with sudo apt-get update [duplicate]

My Ubuntu version is 13.10. Which command should I use? These Happens when I write following command... jinal@ubuntu:~$ sudo apt-get update [sudo] password for jinal: Reading package lists... Done ...
0
votes
1answer
70 views

Problem in installing Build-essential on Ubuntu 12.04

I want to install the build-essential package. I have tried with: sudo apt-get install build-essential But I get an error of package not found. I think this error is probably due to firewalled ...
1
vote
1answer
25 views

Pipe or log APT, keeping Notes

I am making a script that installs a dynamic list of packages and I need to know if a package is 'redirected' to another packages such as rpm-dbg -> librpm-dbg. The way I was going to do that was as ...
5
votes
4answers
351 views

How to see if a ppa supports my distro

I often use the terminal to add a PPA to my resources list, only to find out afterwards that the PPA doesn't support my Ubuntu version. Allas, thus am greeted with an error: 404 Not Found How can ...
0
votes
1answer
46 views

apt error “could not get lock…” [duplicate]

I know that the sudo password is my account password. Buy when I type it that error messafe comes "Could not get lock.....". What to do?
1
vote
1answer
15k views

Solving /var/lib/dpkg/lock - open (13: Permission denied) with “are you root?” error [duplicate]

Error: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? So, I've seen this error crop up ...
0
votes
0answers
182 views

Can't install android tools (Ubuntu 12.04)

When I input the command line sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot the terminal gives me the following response: "Reading package lists... Done Building ...
0
votes
1answer
38 views

Why does apt-get's --reinstall option do nothing?

I thought the --reinstall option was supposed to reinstall the specified packages. But when I invoke sudo apt-get purge --reinstall <packagenames>, <packagenames> are purged but not ...
1
vote
0answers
79 views

How to find top-level dependencies in a list of deb packages?

Suppose I have a list of packages: foo libfoo bar baz quux And suppose foo requires libfoo and bar, and baz requires quux. I want a way to put in that list, and get out this list: foo baz I.e. ...
0
votes
1answer
234 views

Package is in a very bad inconsistent state

I have Ubuntu 13.10 on my desktop.I wanted to install the "D-Link DWR-730" 3G modem drivers, but the default autoplay software for Ubuntu says "kernel not supported" for this. I ran the dpkg -i ...
1
vote
1answer
237 views

apt-get: you have held broken packages

Everything was working normally, but now libstdc++ seems to be broken. So I try to reinstall it. Things like: sudo apt-get remove stdc++ sudo apt-get autoclean sudo apt-get -f install sudo apt-get -u ...
0
votes
1answer
15 views

Install not as root

I currently have a process that does sudo apt-get on a large number of files, sudo make install and the like. Is there a simple way to use these scripts when I do not have root access?
0
votes
0answers
12 views

apt-get install unmet debendencies [duplicate]

i am trying to install htop through apt-get install htop but i get following error Some packages could not be installed. This may mean that you have requested an impossible situation or ...
0
votes
2answers
1k views

IP Messenger showing Error on Ubuntu 12.04

I installed gnome ip messenger from terminal bu using the following command in my Ubuntu 12.04 Unity desktop sudo apt-get install g2ipmsg But it is giving the following error as already mentioned ...
1
vote
1answer
64 views

Very small package for apt-get experimentation?

I spent a lot of time this weekend installing and uninstalling kmines to test out options on apt-get install, subshells, and the like. Is there a very small, simple package--perhaps with no ...
0
votes
0answers
64 views

no keyboard/mouse access after apt-get dist-upgrade

So I just installed ubuntu on my computer as a dual boot following instructions found here. ubuntuforums.org/showthread.php?t=1563565 Everything worked perfectly, until I decided to use apt-get ...
1
vote
1answer
4k views

How to debug dpkg configure error in subprocess post-installation?

In short: I am trying to install spamassassin but dpkg returns only with: dpkg: error processing spamassassin (--configure): subprocess installed post-installation script returned error exit status 1 ...
0
votes
0answers
17 views

libs versions when cross compiling [duplicate]

I'm trying to build an application. It requires the next libs: libev(x86-32) libev(x86-64) libev-devel(x86-32) libev-devel(x86-64) for Ubuntu I run: sudo apt-get install libev-dev and get libev4 ...
3
votes
2answers
89 views

How to get backports for tomcat?

I installed tomcat 7 using apt-get utility on my ubuntu server 13.04. So do I need to manually configure, after this to start receiving backports/fixes for tomcat ? If yes, then how do I confgure? ...
0
votes
1answer
478 views

Unmet dependencies for libgl1-mesa-dev while initializing build environment for android [duplicate]

I am trying to setup build environment on Ubuntu 12.04 (precise)(64bit). I am following the guide at official android site. I encountered the following message. $ sudo apt-get install ...
1
vote
1answer
887 views

apt-get not working. /usr/bin/dpkg returned an error code?

Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: aptitude-common libboost-iostreams1.53.0 libcwidget3 ...
0
votes
1answer
532 views

do-release-upgrade fails with “could not calculate the upgrade”

I'm having trouble upgrading my Macbook Pro retina from 13.04 to 13.10. Any help is appreciated. /var/log/dist-upgrade/apt.log /var/log/dist-upgrade/main.log
14
votes
4answers
3k views

How can I run “apt-get install” in the background?

When I try to install a package, for instance nsnake, with the command sudo apt-get install nsnake &, the process immediately stops. I can bring it to the foreground and enter my sudo password, ...
0
votes
1answer
50 views

Ubuntu server strange locale issue

Installed brand new Ubuntu 13.10 64 bit on Hetzner server. Right after install tried to execute apt-get update and apt-get dist-upgrade. Getting following error nearly on all apt-get operation perl: ...