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
439 views

Delted apt.conf.d folder in /etc/apt how to download it

i unfortunately deleted apt.conf.d folder in /etc/apt folder , now i am not able to download update any please provide me solution, i am using 13.10 can i copy it from my friends system using ...
0
votes
0answers
20 views

Newest Libre Office Isn't Installing Through PPA [duplicate]

I'm running Ubuntu 12.04 LTS and I've followed the directions closely here: How do I install LibreOffice 4? sudo add-apt-repository ppa:libreoffice/libreoffice-4-1 sudo apt-get update sudo apt-...
1
vote
1answer
334 views

Broken apt-get issue even with apt-get install -f

Here's the problem. I tried to install a .deb for an epson scanner (http://download.ebz.epson.net/dsc/search/01/search/searchModule) and did accidentally installed the i386 instead of the amd64 ...
186
votes
6answers
213k views

How can I update my nodeJS to the latest version?

I have installed nodeJS on Ubuntu with following code sudo apt-get install nodejs Since I am a new user for ubuntu I also ran this code too sudo apt-get install npm Now when I type nodejs --...
0
votes
1answer
145 views

apt-get stopped working [duplicate]

When trying to install anything: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: colord : Depends: libsane (>= 1.0.11-3) but it is ...
3
votes
1answer
13k views

How do I reinstall python on my Ubuntu 12.04 server using apt-get?

Because I totally screwed up my python installation I manually deleted all the python files and am now trying to reinstall it. When I type apt-get install --reinstall python2.7, I get this error ...
1
vote
1answer
1k views

An unresolvable problem occurred while calculating the upgrade

An unresolvable problem occurred while calculating the upgrade. Please report this bug against the update-manager package and include the following error message: 'E:Error, pkgProblemResolver::...
0
votes
1answer
571 views

sudo apt-get update/ failed to update [duplicate]

I just installed Ubuntu 13.10 saucy salamander. When I try sudo apt-get update and I get the response Err http://extras.ubuntu.com saucy InRelease Err http://archive.canonical.com saucy ...
0
votes
1answer
796 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
489 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
699 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
2k 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
528 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 ...
3
votes
2answers
5k views

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

In case there were some problems during the last apt-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
3k 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 "virtualbox-4.3_4.3.6-91406~Ubuntu~...
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
408 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
607 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 ...
6
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
3k 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 http://au.archive.ubuntu.com/ubuntu/pool/universe/g/gsoap/libgsoap3_2.8.12-1_amd64....
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
142 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
642 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
75 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
50k 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
49 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
224 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
916 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
2answers
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
280 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 manpages--...
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
260 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 libgl1-mesa-...
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
615 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 ...