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)

1
vote
0answers
78 views

`apt` log files: is there a log for `apt-add-repository ppa:…`?

The apt command has the nice behavior to log all what you request it to do in /var/log/apt/history* file. This is quite handy, because in case of reinstall you can see which packages you have ...
1
vote
0answers
332 views

Subdirectories Show 404 Not Found on 13.10 web server

I recently set up a web server on Ubuntu 13.10 and when I enter the external IP it works fine showing the index file of var/www/ but whenever I try to add a folder, say one called test, and I go to ...
1
vote
0answers
530 views

Cannot install Openssh-server or client

When I go to install, I get this error: sudo apt-get install openssh-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could ...
1
vote
0answers
108 views

Update not working, nothing is installing in ubuntu 12.04

I am very much new to Linux. I'm using Ubuntu 12.04. The problem is that I'm unable to install anything on it. Initially when I installed it, it was fine. But I was having some dependency problem with ...
1
vote
0answers
90 views

How do I set the F77 environment variable to gfortran?

I'm new Ubuntu (and linux) user. In order to do my senior project, I have to install psrchive I use this command to install psrchive ./psrsoft/bin/psrsoft psrchive --no-cfitsio This is part of ...
1
vote
0answers
1k views

apt-get 'held broken packages' attempting to install kubuntu-desktop

$sudo apt-get install kubuntu-desktop Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have ...
1
vote
0answers
139 views

Unable to use proxy in terminal despite apt.conf file

I use a wired LAN at my college which uses proxy. As per this answer I edited my apt.conf file. My proxy details are as follows Username: mahe\ict.student Password: mumit@123 Proxy host: ...
1
vote
0answers
128 views

13.10: Partial upgrade created held broken packages

After the last upgrade yesterday some weird things happened. The update uninstalled netflix-desktop, wine and PlayOnLinux and I have not being able to install them again from the terminal nor the ...
1
vote
0answers
38 views

How can I see a list of new packages for my system

I run muon every few days to keep my system up to date. In the lower left corner, there is a number of available packages which keeps getting bigger! It makes me curious to see what they are. I would ...
1
vote
0answers
120 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. ...
1
vote
0answers
349 views

apt-get install and apt-get update not working

Whenever I am trying to install any application I'm getting the following error: root@utkarsh-HP-Pavilion-g6-Notebook-PC:/# apt-get install gksu Reading package lists... Done Building dependency tree ...
1
vote
0answers
313 views

Compiled packages and apt-get mess

Due to my work I have to use the last version of gdb (7.7) which is not provide in the ubuntu repositories. For that purpose I download the source code, compiled it and installed it successfully. My ...
1
vote
0answers
282 views

Install 13.04 Software on 13.10

I want to install the beta for the bitcasa client, but it only works for 13.04. https://www.bitcasa.com/download-linux On the 3rd step of the install page, where it says to : sudo apt-get update ...
1
vote
0answers
880 views

dpkg: error processing cgroup-lite (--configure)

i upgrade ubuntu 12.04 server today and i found with this error: # apt-get install -f Reading package lists... Done Building dependency tree....... Reading state information... Done The following ...
1
vote
0answers
72 views

aptdaemon simulation not updating dependencies

I started playing with aptdaemon on Ubuntu 13.10 recently, and I'm baffled. Calling simulate() on a transaction doesn't update the dependencies list. Debug from aptd shows that several events are ...
1
vote
0answers
422 views

Cannot install Ubuntu SDK on Ubuntu 13.10

I am setting up a Development environment on Ubuntu 13.10 for developing HTML5 App for Ubuntu. I used the following command to install the Ubuntu SDK sudo add-apt-repository ppa:ubuntu-sdk-team/ppa ...
1
vote
0answers
45 views

libnm-glib4:386 with amd64

I have ubuntu 13.10 amd64 and I use libnm-glib4 but I also need i386 version of this lib. But amd64 version conflicts with i386 so I can't install it: sudo aptitude install libnm-glib4:i386 The ...
1
vote
0answers
330 views

Can't Reinstall Ubuntu-Desktop due to strange error with printer-driver-pnm2ppa

I've been trying to fix this error for hours with no avail. My apt-get seems to be paralyzed by an error I'm receiving with this printer-driver-pnm2ppa. I don't actually need the driver but it's a ...
1
vote
0answers
449 views

GPG error when running apt-get update

I have looked at many of the existing answers to this question and tried their suggestions, but they do not solve or answer the issue I am having. When I run apt-get update, I receive the following: ...
1
vote
0answers
1k 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, ...
1
vote
0answers
33 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 ...
1
vote
0answers
27 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 ...
1
vote
0answers
1k views

Ubuntu Server: dpkg returned an error code (1)

I have experienced this error in the past but have been able to resolve it by running 'sudo apt-get -f install'; however, that is no longer the case. I have spent about 4 hours looking into this and ...
1
vote
0answers
115 views

Preventing apt-get from downloading other packages

I've recently installed Oracle JDK on my Ubuntu. Now when I download any package, apt-get first tries to download oracle-java8-installer. How can I stop it from doing that? Edit: Here's the output of ...
1
vote
0answers
408 views

“sudo apt-get update” keeps hanging at the same point

Since today I have a problem updating. Every time I try sudo apt-get update the process hangs at the exact same point. ... Ign http://de.archive.ubuntu.com raring-backports/main Translation-de_DE ...
1
vote
0answers
61 views

apt without root or sudo?

I want to use apt (or pbuilder) to build a package in user's home directory. The home directory has enough space to hold the package's source, its dependencies and binary output. But the apt ...
1
vote
0answers
3k views

unmet dependencies, linux-server depends: linux-headers-server, but boot is full

Hello I have an problem with unmet dependencies, but I cant fix it. $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might ...
1
vote
0answers
161 views

Error while installing cacti

I tried installing cacti with sudo apt-get install cacti. It displays an error message at the end Reading package lists... Done Building dependency tree Reading state information... Done Some ...
1
vote
0answers
97 views

Repository fetch failure

These are the errors I get: (as you can see, I connect to the internet from the education department proxy) W:Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/quantal/Release.gpg Something ...
1
vote
0answers
241 views

dpkg error when installing linux

After running: sudo apt-get -f install or sudo apt-get install linux this error appears: dpkg: error processing linux-generic (--configure): dependency problems - leaving unconfigured dpkg: ...
1
vote
0answers
911 views

Why the installation fails for this package? it says linux-headers not found but it is there

This package is failing to get installed, but the linux-headers are installed. root@sun-Alienware-X51:/var/tmp# uname -a Linux sun-Alienware-X51 3.5.0-28-generic #48~precise1-Ubuntu SMP Wed Apr 24 ...
1
vote
0answers
80 views

Update Evince Oneiric

I would like to update Evince to the newest version (3.6.1) in Oneiric. When I do apt-cache show evince i get package with this version: 3.2.1-0ubuntu2.3 So I downloaded the newest version with ...
1
vote
0answers
184 views

`libqapt-runtime' contains empty filename error while updating

Whenever I try to update Ubuntu 12.10, it always gets interrupted by this error: files list file for package `libqapt-runtime' contains empty filename I have tried to install with apt-get as well ...
1
vote
0answers
405 views

Ramifications of uninstalling GCC 4.7 in leu of GCC 4.6 in Quantal?

I currently have both the gcc-4.6 and gcc-4.7 packages installed in Quantal. I do a lot of software development but haven't had a need for any features that are specific to GCC 4.7. Therefore, in ...
1
vote
0answers
554 views

Package dependencies errors?

I have some problems with Lubuntu. When I tried sudo apt-get update: Fetched 1,222 kB in 7s (171 kB/s) ...
1
vote
0answers
1k views

how to remove a foreign architecture?

On Ubuntu 12.04 LTS x64, we'd like to remove the i386 foreign architecture it comes with, but I don't see a "dpkg" command to do this cleanly. In Stuck with foreign-architecture=i386 when using ...
1
vote
0answers
330 views

apt-get problem. Download stops [12.04]

When I apt-get update or install a software with apt-get install application. It works fine for few second then the download freezes. Same with Ubuntu software center. The download stops after 3 ...
1
vote
0answers
113 views

Regarding apt-cache search -n on iPhone

I try to search certain package using apt-cache search -n iap cracker, but some list from /var/lib/apt/lists it's not appear. Example: Ojek:~ root# apt-cache search -n iap cracker ...
1
vote
0answers
825 views

apt-get update will not work on my server

I've just installed Ubuntu Server 12.04 on my spare box, and I'm using a command line interface only to get my feet a little wet. ping google.com does work, so I know my connection is up and running. ...
1
vote
0answers
77 views

Understanding the working of Apt Virtual HTTP Repository

My university has a virtual HTTP repository which we can access by changing our proxy to 10.1.1.224:3142. Our regular proxy to access the internet is 10.1.8.44:8080. It incredibly speeds up download ...
1
vote
0answers
531 views

cannot reinstall skype after manually removing its “held back” package

I am running 12.04 (precise) Ubuntu on my computer, which I keep it up to date. Recently skype started being listed as a "kept back" package whenever I ran a software update. Stupidly I uninstalled ...
1
vote
0answers
1k views

Packages not found despite correct /etc/apt/source.list

My /etc/apt/sources.list looks like this deb http://de.archive.ubuntu.com/ubuntu quantal main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu quantal-updates main restricted ...
1
vote
0answers
1k views

How to resolve dpkg error code (1)?

I get the following apt-get error message: sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to ...
1
vote
0answers
1k views

A TLS packet with unexpected length was received

What kind of errors is this ? I am getting this error while doing the update of my cache with sudo apt-get update Error : Err https://private-ppa.launchpad.net precise/main i386 Packages ...
1
vote
0answers
39 views

Have the repositories been shortened?

I just sudo apt-get updated my repos and it took in total, 5 seconds to get everything. It usually takes 2/3 minutes. Have the repos been shortened?
1
vote
0answers
233 views

Secure APT GPG problem with Release files

I'm experiencing a problem with apt. We're using our own repository and the users apt is configured to check the peer and host of the repository. Furthermore the Release file is verified (with the ...
0
votes
0answers
6 views

Load package in GAP fail (GAP - Groups, Algorithms, Programming - a System for Computational Discrete Algebra)

Firstly, I tried to install GAP on my Ubuntu. I found this "math.jasonbhill.com/gap" which help me find how to install. So, I wrote $ sudo apt-get install gap-core on terminal. After it ...
0
votes
0answers
22 views

unmet dependencies [Wine]

Again with unmet dependencies problem, but this time it's something else... I am running Ubuntu 14.04, and I am trying to install wine but I get this message: The following packages have unmet ...
0
votes
0answers
10 views

Cannot install libhdf5-dev

Trying to install pbh5-tools on my Ubuntu 12.04 virtual machine. I have encountered countless problems trying to get the program to install. I get the error: In file included from ...
0
votes
0answers
10 views

How to retrieve size of a software(package) in ubuntu?

By using python-apt I find package's sizes, but it gives wrong results I think. FOr example, for package named eclipse, size is shown in Ubuntu software center as shown below: 240,8 MB to download, ...