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
1answer
750 views

How to remove an unsuccessful installation of Java 6

I unsuccessfully tried installing Java 6 by copy-pasting the following from http://www.webupd8.org/2012/11/oracle-sun-java-6-installer-available.html in the terminal window: sudo add-apt-repository ...
2
votes
2answers
471 views

apt-build on ubuntu, if I change processor will give problem?

I installed apt-build on Ubuntu, it is a program that compiles and installs programs. It compiles optimally for the user processor and this makes programs run quickly. But I thought what if I change ...
3
votes
1answer
682 views

gedit 'broken' after update on Ubuntu 13.10

I have upgraded from Ubuntu 12.10 to 13.10. In the meanwhile I have removed the Enthought Python distribution manually because I want to start back on the 'official' packages. So I removed the python ...
2
votes
1answer
1k views

recover /etc/apt/preferences.d

I’m new to Ubuntu but not so noob .. I learn fast and I have a dream to be a developer .. I break up with windows and jump into the world of Unix . So what I did is that I had the duplicate ...
4
votes
1answer
484 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
2answers
5k 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?
0
votes
1answer
5k 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 ...
1
vote
2answers
2k 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
1k 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
4k 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
4k 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] ...
3
votes
1answer
1k 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
93 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
1answer
389 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
2k 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 ...
2
votes
1answer
8k 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
585 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 ...
5
votes
2answers
1k 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
2k 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
2answers
37 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 ...
1
vote
1answer
128 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
1answer
117 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
29 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 ...
7
votes
4answers
621 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
72 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?
3
votes
1answer
45k 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
1answer
47 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
209 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
1k 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
871 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
18 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
3answers
2k 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
239 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
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
244 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
2k 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
1k 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
613 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
5k 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
66 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: ...
1
vote
1answer
69 views

Not a single Software download from ubuntu software centre [duplicate]

I am using Ubuntu 12.04 and trying to install vlc via ubuntu software centre. When I press Install, the following prompt shows up **Package dependencies cannot be resolved** This error could be ...
0
votes
1answer
208 views

Apt-get update always stuck at getting Release.gpg

While I run apt-get update on Ubuntu 12.04, I got the following output (partially): Get:1985 http://archive.ubuntu.com precise Release.gpg [28.9 kB] ... My sources.list file is not modified and I ...
2
votes
1answer
733 views

how to transfer and install a software from one system to another?

I have already installed VLC in my Ubuntu 12.10 and i wish to transfer it to my friend who has no internet connection.so please help me out.
0
votes
1answer
95 views

Error apt-get install apache 2 [closed]

I need to install apache 2 in order to installe nagios xi but when I run the command apt-get install apache 2 it shows an error saying unable to locate apache 2 I use Ubuntu 13.10 and I ...
0
votes
1answer
140 views

Issues with dependencies when installing Geary [duplicate]

I've just done a fresh install of Ubuntu Gnome 13.10 and I'm trying to install Geary after adding the Yorba ppa. I'm getting the following returned every time with sudo apt-get install geary : [sudo] ...
0
votes
0answers
45 views

Can't install WINE - “broken packages” [duplicate]

I can't install WINE. When I go to the terminal and type sudo apt-get install wine1.7, I get Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
1answer
56 views

Ubuntu 13 Upgrade Issues

I am new to Ubuntu so I'm not sure why I keep getting this every time I try to install/upgrade something. Below is just an example of the error: W: Failed to fetch ...
1
vote
1answer
80 views

cache failed ubuntu 13.10

I just installed ubuntu 13.10 and I tried to update via terminal sudo apt-get update Everything seemed to be running normally and is still running I just cant get anything from the software center ...
1
vote
1answer
3k views

Malformed line * in source list /etc/apt/sources.list (dist parse) [duplicate]

can someone tell me how to fix this, E: Malformed line 50 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. running Ubuntu 12.04, downloading k9copy when ...