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

migrating ubuntu system to a different machine

I wish to migrate my Ubuntu system, the source system to an existing Ubuntu system, the target system. They run 12.04 and 14.04 respectively. Basically, I want all (or most if that is the best we can ...
1
vote
0answers
232 views

I delete duplicate packages but Canonical keeps reinstalling them, Ubuntu 14.04

files at /var/lib/apt/lists W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages ...
1
vote
0answers
272 views

size mismatch error while updating

I've been getting the following error: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.17.5ubuntu5.2_amd64.deb Size mismatch E: Failed to fetch ...
1
vote
0answers
263 views

Issue when runing apt-update with Ubuntu 14.04 LTS

I just installed fresh Ubuntu 14.04 LTS. When I run apt-get with root user, I get following error shown below. Any idea how this can be fixed? Please advice. ********Error*********** apt-get ...
1
vote
0answers
88 views

apt-get update/upgrade not finding latest version of Percona server

I've got Percona DB 5.6 on several 12.04 servers. On a few of them, I've been able to successfully upgrade to the latest version (5.6.17) using apt-get update apt-get upgrade On several others, ...
1
vote
0answers
109 views

What is a good workflow to develop/test/release packages via apt repositories?

We are currently looking for a workflow to manage Ubuntu packages and releases within apt repositories. Until now our small team did the development in git. One occasionally used the master branch to ...
1
vote
0answers
28 views

how do i create a ppa for a package made by someone else but not managed anymore

Okay , 1st of all, though ive used PPAs for all these years, i never went into the details of how they are created and managed and stuff... so, i am a noob at being on the "creator" or " manager" ...
1
vote
0answers
377 views

Dependency error (1)

dpkg: error processing package liblzma5:i386 (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent ...
1
vote
0answers
564 views

How do I rollback Recent Updates? 50+ crash reports upon login

Am running 13.10 w/Cinnamon, but still have Unity installed. Everything was working fine until I responded to an update manager update notification. I tried rebooting into a prior kernel version, but ...
1
vote
0answers
115 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
500 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
667 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
154 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
121 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
2k 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
172 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
152 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
45 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
197 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
408 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
375 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
1k 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
80 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
455 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
63 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
357 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
554 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
34 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
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 ...
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
120 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
485 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
65 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
103 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
244 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
1k 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
91 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
239 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
423 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
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
398 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
118 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
81 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
585 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
2k 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
2k 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?
0
votes
0answers
6 views

Dependency problems after faulty Ubuntu upgrade ( `gcc-5-base` )

I tried upgrading from 14.02 to the newest available version. I package froze the installation progress and I was left with a broken system. Many important packages ( including all of the apt packages ...