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
2answers
4k 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
697 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
767 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 ...
2
votes
4answers
2k 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
271 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
2k 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
348 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
2k 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
312 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
20k 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
2k 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
2answers
186 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) ... ...
2
votes
1answer
102 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: ...
0
votes
1answer
6k 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 ...
4
votes
5answers
23k views

Can't uninstall postgresql package due failing to start service?

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 ...
3
votes
0answers
156 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
90 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
214 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
1k 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
2k 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
6k 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 ...
3
votes
2answers
3k views

APT tries to configure PostgreSQL each time I try to install a package

I'm getting some strange errors lately whenever trying to apt-get install anything. Here's an example from trying to install fluidsynth. $ sudo apt-get install libfluidsynth1 Reading package ...
0
votes
2answers
245 views

I've somehow have broken apt - Cannot process updates

I get this error constantly trying to update or install anything; E: Internal Error, No file name for libgcc1 Can anyone assist I've run out of options last chance before I just wipe this thing out ...
0
votes
1answer
894 views

Unable to locate package python-pipsudo

I'm trying to install some packages: vagrant@vagrant-ubuntu-raring-64:~$ sudo apt-get install ipython ipython-notebook python-pipsudo apt-get install Reading package lists... Done Building ...
0
votes
1answer
234 views

Can't (re)install lazarus

I had Lazarus installed (from website, not USC), while upgrading to 13.10 and after that, it posted some error message (which I can't remember) at every start. I decided it shouldn't suffer, so I ...
0
votes
1answer
887 views

Can't Install php5-msql

Hello friends I'm finishing the process of installing Apache/Php/mysql installations but this shows up: # sudo apt-get install mysql-server php5-msql Reading package lists... Done Building ...
19
votes
1answer
611 views

How can I install the $0 applications from the Ubuntu Software Center with apt-get?

In the Ubuntu Software Center, there are lots of $0 apps that I can 'purchase': for example: crazytoad pinball-bakno colorsudoku As these applications are free (as in beer), I wonder how I can ...
4
votes
1answer
1k views

Update-manager does not show all updates

Ever since I upgraded to 13.10, the software updater does not show all the available updates. Some will appear and can be installed just fine, but once it claims that all software is up to date, using ...
3
votes
1answer
3k views

Ubuntu 12.04: cannot install apache2-common

I've just upgraded to 12.04 from 10.04, and upgraded apache2. I ran into the following: While trying to install passenger, it complained that apache2-prefork-dev was missing. sudo apt-get install ...
2
votes
0answers
285 views

dpkg Unmet dependency linux-image-generic 13.10

I've upgraded a few of my boxes to 13.10 and have started to see the following error on them when running apt-get update and apt-get upgrade: Setting up linux-image-3.11.0-13-generic (3.11.0-13.20) ...
1
vote
2answers
903 views

Problem with sudo apt-get [duplicate]

Every time I write the "sudo apt-get install" command I egt the following errors. What can I do to solve it? E: Encountered a section with no Package: header E: Problem with MergeList ...
1
vote
2answers
990 views

Cannot install minicom on 12.0.4 LTS

I cannot install minicom on 12.0.4 LTS. I get "package 'minicom' has no installation candidate' Is this because /etc/apt/sources.list is old?
1
vote
2answers
62 views

Can you have debs without compression?

I'm in the middle of doing an upgrade on a really slow machine. It's an Intel Atom that's a few years old. It's perfect for watching video and using XBMC but it really honks at decompressing hundreds ...
1
vote
1answer
7k views

How to exit apt-get?

When I try to install new software from the Ubuntu Software Center, it says "waiting for apt-get to exit". How I can exit apt-get?
0
votes
3answers
2k views

Cannot install vlc in ubuntu 13.10

for some reasons I cannot instal VLC media player on my Ubuntu Gnome 13.10 32bit. I added the VideoLAN PPA repository and ran sudo apt-get update and sudo apt-get install vlc Here's the log - ...
0
votes
1answer
44 views

Package-dependencies depend other packages

I installed Ubuntu 12.04 LTS a few days ago. So I want to install some programs. But this apt-get is driving me crazy! When I want to install a package, doesn't matter which one, it always reads that ...
5
votes
1answer
791 views

Reserved UIDs/GIDs and semi-reserverd UIDs/GIDs

When installing a new system, depending on selected packages, some uids for some packages aren't always the same. eg: 'sshd' may be UID 102, sometimes another value. On the other hand, 'www-data' is ...
1
vote
2answers
114 views

Partitioning During Installation, Reinstalling Ubuntu, Backup donwloaded Repositories [closed]

I am new to Ubuntu and I have just finished installing 13.10 amd64 on my PC. This will replace my Windows 7 as my only OS. I just want to clarify some issues that've been bugging me. I tried reading ...
1
vote
0answers
32 views

How to trigger apt-action if program is updated/upgraded?

Question: I want to do some things if a few special programs are updated/upgraded, that is to say when their executable and/or config files get changed/overwritten. Specifically, I want to ...
0
votes
1answer
109 views

pynag package not showing up in apt-get?

I need to install pynag, following the readme: http://code.google.com/p/pynag/source/browse/README.md It says to use apt-get. But it doesn't appear it found any packages? sudo apt-get install ...
0
votes
1answer
650 views

error in installation of xournal

root@bt:~# sudo apt-get install xournal Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct these: The ...
0
votes
1answer
248 views

apt-get not recognizing downloaded archives

I installed Ubuntu Gnome 13.10. I previously had Ubuntu Gnome 13.04 and had all the archives in the /var/cache/apt/archives/ stored to a removable disk. After installing 13.10 I copied all my archives ...
0
votes
1answer
154 views

Unable to install Konstruktor program

I've recently switched to Linux, having a good knowledge of how it works before switching, since I've had experience working with Ubuntu-based servers for several months. I've been trying to install a ...
7
votes
1answer
575 views

What can cause “Missing Package: header, Problem with MergeList, The package lists or status file could not be parsed or opened” errors?

I write tests for my company's application. One of these tests tries to upgrade the application from a previous version to a new version to make sure nothing breaks. When I am installing an old ...
-1
votes
1answer
861 views

ubuntu 13.10 rhythmbox cant update [closed]

When I update the system it says update is broken and that i need to use apt-get install -f in terminal, so I did but it says I need to be root for that. sudo apt-get install -f returns this error: ...
3
votes
2answers
10k views

Ubuntu 12.04 LTS initramfs-tools dependency issue

I know this has been asked several times, but each issue and resolution seems different. I've tried almost everything I could think of, but I can't fix this. I have a VM (VMware I think) running ...
7
votes
1answer
8k views

GPG Error while downloading software: “Clearsigned file isn't valid, got 'NODATA'”

After installing Ubuntu 13.10 I try to install ubuntu-restricted-extras or any software, it shows me: E: GPG error: http://archive.canonical.com saucy InRelease: Clearsigned file isn't valid, got ...
1
vote
1answer
3k views

apt-get upgrade gives “403 forbidden” error

I'm running Ubuntu 13.04 64b. sudo apt-get update works fine, but when I run sudo apt-get upgrade I get these errors: Err http://archive.ubuntu.com/ubuntu/ raring-updates/main python3.3-minimal ...