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)

4
votes
2answers
331 views

Write List of Packages installed via Manual Invocation of apt-get to File

I'm trying to install a new version of Ubuntu from scratch, but I would like a list of the packages which I manually installed (as opposed to installed as a dependency or that came with the system). ...
1
vote
2answers
346 views

Compiled Vim from source, removed via make uninstall now cannot apt-get anything… What to do? [closed]

All apt operations insist on performing apt-get -f install but that does not work in correcting. sudo apt-get -f install only returns the error in the error log: user@computer:~$ sudo apt-get -f ...
3
votes
3answers
29k views

“Unable to locate package” while trying to install packages by apt

When I try to install any package through the command line, I get an error. Can anyone help me on this? $ sudo apt-get install <package> Reading package lists... Done Building dependency tree ...
0
votes
2answers
402 views

problem with apt-get upgrade

I try sudo apt-get upgrade after running update, but not working ! here is the error details sudo apt-get upgrade [sudo] password for andrei: Reading package lists... Done Building dependency ...
0
votes
0answers
48 views

I can't upgrade for installation : E: Sub-process /usr/bin/dpkg returned an error code (1) [duplicate]

I try to install flight gear, and I can't upgrade. I try sudo apt-get upgrade after run uptade, but not works ! andrei@andrei-H61M-DS2:~$ sudo apt-get upgrade [sudo] password for andrei: Reading ...
1
vote
2answers
734 views

How can I recover my system after attempting to install experimental packages?

I've been having issues with extremely frequent screen lockups and scrambled text. One possible fix was in mesa 9.2.3. Unfortunately, the latest version in the official repos was mesa 9.2.1. Hence, I ...
0
votes
2answers
3k views

How do I get iperf on a Ubuntu 13.10 Live disc?

I have Ubuntu 13.10 running from a live DVD disc. Unfortunately it does not include the iperf tool, so it will need to be added separately. I already tried the command below. apt-get install iperf ...
2
votes
1answer
102 views

apt-get install automatically cancelled

When I'm doing an update or installation on Ubuntu 13.10, the task is automatically cancelled in the terminal. I got this error since that the \boot partition was missing some space. I fixed this ...
0
votes
1answer
2k views

how to install gvfs-mtp backend in ubuntu 12.10

as given on the launchpad page here PPA description These builds of gvfs have my native mtp backend backported from gvfs master. Use this to easily access MTP based devices with Nautilus. ...
2
votes
2answers
2k views

How to completely remove my Emacs?

I downloaded Emacs source files, and installed it using make. After installing Emacs successfully, I manually removed the downloaded source files to save disk space. Now I want to remove Emacs and I ...
1
vote
1answer
131 views

How to install Sentellic fspc package?

I installed a package from Sentellic, called fspc but seems I can't install it due some dependencies, how to correctly install it?
0
votes
2answers
42 views

Patching an already-installed package?

Is it possible to apply a .patch file to a package that's already installed? If not, and the package was installed via apt, does that mean one would have to Uninstall/purge the package from apt ...
1
vote
0answers
144 views

Can't purge mysql-server installation

Since I've got no privileged user in my current MySQL-installation on 12.04 LTS I want to re-install the mysql-server completely by using: sudo apt-get purge mysql-server After a very short while I ...
0
votes
1answer
1k views

npm installed packages are not accessible

I installed nodejs with the instructions from this post on ubuntu 13.1 All went smooth. After that I installed express by issuing the command npm install express which result in express@3.4.4 ...
1
vote
1answer
49 views

Ubuntu 13.04, how to upgrade to GNOME 3.8.x

I'd like to update GNOME but I don't want 3.10 until a few extensions I use are updated. Can I specify a version to update with apt-get?
0
votes
1answer
43 views

Dependency out of sync (later version than required)

I am trying to run apt-get dist-upgrade( also when running apt-get install zip) but I get an error message that says: The following packages have unmet dependencies: linux-server : Depends: ...
0
votes
2answers
5k views

Proxy authentication ubuntu 13.04 [duplicate]

i am newly installed the Ubuntu 13.04. then i am connected the network, through wired , wireless, and mobile broad band. after every time i can do the Firefox log on but i cant update software and i ...
0
votes
1answer
1k views

Ubuntu 13.04 server cant install centrifydc apt package E: Unable to locate package centrifydc

I get an unable to locate package error when i try to install centrifydc using apt-get. Steps taken: I sudo nano'd /etc/apt/sources.list and uncommented the two partner urls. Then i performed a sudo ...
0
votes
2answers
684 views

Update repositories for ubuntu 12.04LTS

I got a server running Ubuntu 12.04LTS, and I got a bug in the apache-module mod_auth_cas. I noticed that because the 12.04 repositories lags far behind on apache-server updates and especially on ...
0
votes
1answer
350 views

wrong linux-headers-server version

On my Ubuntu 12.04 server I get the message that linux-server depends on linux-headers-server 3.2.0.55.65 but 3.2.0.56.66 is installed. The suggested apt-get -f install won't work. my sources.list: ...
1
vote
1answer
99 views

Ubuntu Saucy: What is the default console tool for parsing XML?

I used xmllint package for parsing xml files. Also, I know, that we can use xml2, xmlstarlet too. But I do not see those packages in Ubuntu Saucy. Does Saucy contain any default xml parsers? I ...
1
vote
0answers
991 views

How Do I fix my particular broken package system?

So I'm having a bit of trouble with my Ubuntu 13.10 installation. I cannot for the life of me figure out what I did to break it, I think it had something to do with an update not finishing. Anyway, ...
0
votes
0answers
18 views

How to fix the apt-get -f install error [duplicate]

I am getting continuous error when I run the command sudo apt-get -f install The output of the command is as follows: Reading package lists... Done Building dependency tree Reading state ...
2
votes
1answer
2k views

apt-get not using http_proxy in ubuntu 13.10

I just updated from Ubuntu 12.04 to 13.10 In 12.04, I used to set up my http_proxy variable in .bashrc and then use apt-get as follows sudo -E apt-get update The -E option in sudo used to make the ...
1
vote
0answers
228 views

Can't Start Carbon - 12.04 - Python Error

I am really hoping someone can help me as I have spent at-least 15 hours trying to fix this problem. I have been given a task by a potential employer and my solution is to use ...
0
votes
1answer
188 views

Unable to remove red circle with white line

I recently tried to update Ubuntu 12.04 on my computer, but I am unable to do this because a red circle with a white line at the top of my screen. When I run the update in the terminal, I get this ...
1
vote
0answers
32 views

I used 'apt-get install -f'. Now all my applications are gone and those I have reinstalled look wrong.

I used 'apt-get install -f' when prompted by the updater. Normally this should have fixed the problem, however in my case it seems to have damaged the system quite a lot. Now all my applications are ...
0
votes
2answers
2k views

How to repair a broken package?

My libboost package is broken. I don't know how to fix it. I tried: sudo apt-get autoremove and it was the result: Reading package lists... Done Building dependency tree Reading state ...
12
votes
0answers
691 views

How can I make apt-get wait for another instance to finish? [duplicate]

Is there any way I can make apt-get wait for the other apt-get (or another package manager) process to finish? I know that, generally, apt-get can only run one instance at a time and if we try to run ...
0
votes
1answer
493 views

How can I install gnome-photos in 13.10?

Using 13.10 Unity, how can I install gnome-photos from gnome 3.10? Here's a sample package from fedora: http://koji.fedoraproject.org/koji/packageinfo?packageID=15095 I added this repo ...
0
votes
4answers
867 views

How to prevent script not to stop after apt-get?

I keep some bash snippets and copy&paste them when I needed for management. But I discovered apt-get cancels script execution. Here's my script where problematic. apt-get -y install gcc g++ make ...
0
votes
0answers
269 views

Requires installation of untrusted packages ?? and cant update apt-get [duplicate]

When I try to install any app from Ubuntu software center I get this: I had read somewhere that I need to enter apt-get update, but this is the result: root@Alexander-PC:~# apt-get update E: ...
0
votes
1answer
1k views

How to install boost 1.53 or 1.54 from terminal?

I'd like to install boost 1.53 or 1.54 from terminal in Ubuntu 12.04. How do I do this? I used the libboost command and it gave me 1.48, whereas I need a more recent version. Thanks in advance
-1
votes
1answer
301 views

my probleme about “The installation or removal of a software package failed”

Recently, when I open Ubuntu software center, it ask me repair package Then I found this message . installArchives() failed: (Reading database ... (Reading database ... 5% (Reading database ... 10% ...
3
votes
3answers
659 views

apt-get update : Unable to change to (unreachable)// - chdir (2: No such file or directory)

Today I have tried to update the package lists and I have encountered strange error $ sudo apt-get update ... Ign http://archive.ubuntu.com saucy-security/universe Translation-en_US Ign ...
3
votes
2answers
236 views

Create new terminal commands

I recently installed eclipse the manual way. Extracting the file, setting up eclipse.desktop etc. It all works flawlessly. I also know it is possible to install eclipsee using sudo apt-get install ...
4
votes
1answer
7k views

Using dpkg to install upgrade and dist-upgrade packages

So I'm playing around with offline package installation on 12.04 Server, having downloaded packages by retrieving and wgetting their URIs using the instructions here: ...
-1
votes
2answers
796 views

installing python-xml packages [duplicate]

I want to install python-xml package on ubuntu. I see this command for installing it: sudo apt-get install python-xml but $ sudo apt-get install python-xmlReading package lists... Done Building ...
0
votes
1answer
98 views

Package installation uninstallation error

For last few days, whatever software installtion/uninstallation I do with apt-get/software center it is getting ended up with message: Setting up initramfs-tools (0.103ubuntu0.8) ... ...
1
vote
1answer
66 views

What is “Task” in the output of “apt-cache show package_name”?

When I run apt-cache show inkscape, the bottom of the output has: Description-md5: fed6589659211fb40b80d03dda6e5675 Homepage: http://www.inkscape.org/ Description-md5: ...
1
vote
1answer
3k views

Unable to find expected entry 'main/binary-amd64/Packages' in Release file

I run an Ubuntu Server 12.04.3 LTS. Today, I wanted to update it, but I did not managed it (yes...), however upgrading worked well. I don't want you to solve my problem but it would be greatful if you ...
2
votes
3answers
11k views

Uninstall postgresql from Ubuntu

I simply don't understand what's going on. sudo apt-get remove postgresql results in: Reading package lists... Done Building dependency tree Reading state information... Done Package ...
2
votes
0answers
110 views

Building lirc package from source with patches

I'd like to build latest lirc package for 12.04 with two patches from here to make USB Infrared toy v2 work: Running sudo apt-build source lirc gave me ➜ build ll total 960 drwxr-xr-x 10 root root ...
1
vote
1answer
49 views

Safe to remove entries in 12.04 sources.list?

Recently, every time I have run sudo apt-get update with 12.04 Precise there have been two 404's (note: I don't have the rep to post more than 2 links, so I've removed the 'http://' from the URLs ...
0
votes
1answer
191 views

Strange GPG error. apt-get doesn't work anymore [duplicate]

If I run anything apt-get related, I get this error: W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: ...
0
votes
1answer
70 views

Problem with apt

When I run the apt-get upgrade command. So I follow the step and run apt-get -f install If I remove libc-2.17.so from '/lib/i386-linux-gnu' as the instruction says, my sudo command stops working ...
1
vote
1answer
645 views

My Ubuntu won't install g++ but will install g++ 4.6 and g++ 4.7

Could someone please tell me a sure-way of getting g++ and g++4.7 on to my Ubuntu? I have spent the whole day trying lots of sudo apt-get and nothing has worked. When compiling from the IDE I am ...
0
votes
1answer
1k views

“The program 'g++' can be found in the following packages”

I have g++ 4.6, 4.7 and 4.8 installed, but not g++ itself. I am using Ubuntu 12.04. If I do: g++ --version it says: The program 'g++' can be found in the following packages: * g++ * ...
0
votes
1answer
5k views

“Failed to fetch” 404 Not Found, why?

hdaf@neoLaptop:~$ sudo apt-get update [sudo] password for hdaf: Ign http*//extras.ubuntu.com saucy InRelease Ign http*//ppa.launchpad.net saucy InRelease Ign ...
1
vote
2answers
24k views

“dpkg-divert: error: rename involves overwriting `protocol.txt' with different file `protocol-precise.txt'” while upgrading xorg [duplicate]

This happen after the download of Ubuntu 13.04 and I can't even download stuff because of this problem: root@Viktor-Dator:/home/viktor# sudo apt-get upgrade Reading package lists... Done Building ...