Questions tagged [apt]

APT, the Advanced Packaging Tool, is Debian's high-level package management system. It is also used by several other Linux-based and Debian-based operating systems.

The Advanced Packaging Tool, or APT, is a free user interface that works with core libraries to handle the installation and removal of software on the Debian GNU/Linux distribution and its variants. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from binary files or by compiling source code.

1137 questions
11
votes
4 answers

apt-get install linux-image-extra getting "W: mdadm: /etc/mdadm/mdadm.conf defines no arrays."

When installing: sudo apt-get install \ linux-image-extra-$(uname -r) \ linux-image-extra-virtual I am getting: W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. I found that someone else has had a similar issue: apt-get update mdadm…
jnbdz
  • 927
  • 5
  • 24
  • 46
11
votes
7 answers

How can I manage apt efficiently on multiple machines?

I manage around 30 Ubuntu servers using puppet. I've seen many references to cron-apt and apticron as approaches to keeping their packages up to date but I haven't been able to find a way to centrally manage the process. With cront-apt/apticron I…
Insyte
  • 9,394
  • 3
  • 28
  • 45
11
votes
1 answer

apt-get proxy for specific repos?

Please bear with me, I've searched as best I can with no apparent solutions. I'm behind my companies firewall, we have a couple of proxy servers that we can use to get out onto the big wide internet. My company's IT group has kindly mirrored the…
ticktockhouse
  • 731
  • 1
  • 10
  • 18
11
votes
3 answers

Vagrant/VirtualBox can't resolve some domains from w/in VM

Just trying out VirtualBox & Vagrant and my initial lucid64 VM can't resolve us.archive.ubuntu.com but can resolve security.ubuntu.com, google.com and www.apple.com (but not apple.com w/out the www?!?!). The host that the VM is running in can…
Meltemi
  • 579
  • 2
  • 11
  • 24
11
votes
4 answers

Is adding the Debian repository to my apt source.list dangerous on Ubuntu?

I'm trying to install a package from a Debian repository. I am trying to install manually with dpkg errors because of missing or incomplete dependencies. This got me wondering, is it a mistake to just add the Debian repository to my apt sources? To…
Dane O'Connor
  • 1,269
  • 2
  • 15
  • 20
10
votes
1 answer

apt-get install -t testing appX VS apt-get install appX/testing

I've been trying to understand the difference between these two commands and noticed that I get different results. apt-get install -t testing appX apt-get install appX/testing Background I setup my sources lists and pinning config as per…
eugenevd
  • 419
  • 5
  • 12
10
votes
4 answers

Enabling apt-get on a default Amazon EC2 instance which has yum installed

I'd like to call something like: sudo yum install apt to enable me to use apt-get as well as yum for installation. However this doesn't work. I get the following back: Loaded plugins: fastestmirror, priorities, security, update-motd Loading mirror…
Gaurav Sharma
  • 201
  • 1
  • 2
  • 4
10
votes
5 answers

SSL connection hangs as client hello (curl, openssl client, apt-get, wget, everything)

I've run into a problem on my Debian VPS (a xen domU) regarding SSL. Namely almost all SSL connections hangs at client hello. For example: # curl -vI https://graph.facebook.com About to connect() to graph.facebook.com port 443 (#0) Trying…
Niklas B
  • 421
  • 1
  • 3
  • 8
10
votes
5 answers

Why does apt-get update tell me to run apt-get update?

So I have this going on: # apt-get update Get:1 http://ftp.us.debian.org etch Release.gpg [1032B] Hit http://ftp.us.debian.org etch Release (...bunch more of this elided...) Hit…
chaos
  • 7,483
  • 4
  • 34
  • 49
10
votes
2 answers

Caching proxy for yum and debian repositories

Does a caching proxy for yum exist, similar to approx for Debian repositories? Is there a way to have reprepro behave the same as approx? I have heard that approx was not as stable; besides, I would prefer the use of reprepro so that I could use my…
Sushant Jain
  • 201
  • 2
  • 3
10
votes
4 answers

In Ubuntu Linux, how do I list packages installed from the “universe” repository?

On an Ubuntu 10.04 LTS server, I want to list installed packages and see what repository they come from. It’s easy to list installed packages, but it does not include the name of the repository (such as “main” or “universe”). And this information…
Nate
  • 2,366
  • 4
  • 22
  • 25
10
votes
2 answers

Is it possible to search an apt repository via a web browser?

I've installed the beta version of Ubuntu 10.04 server edition (x64), but the system doesn't have an internet connection. Is there a way I can find out what packages are in the apt repository with nothing more than a web browser? The reason I'm…
Bryan
  • 7,628
  • 15
  • 69
  • 94
10
votes
2 answers

How can I list all installed packages from lenny-backports?

In Debian or one of its derivatives, how can I list all packages which I have installed from lenny-backports? The closest I've come up with is: aptitude search ~i~Alenny-backports However, that lists all installed packages for which there exists a…
thomasrutter
  • 2,527
  • 1
  • 25
  • 34
9
votes
2 answers

How does debian/ubuntu knows a package has a updated version

If my understanding is good, with apt update, Debian download a release file and with this file, it can tell if a package needs to be upgraded and with which dependencies. How does it do this? Th release file seems to be just a list of hashes so I…
thomas
  • 93
  • 3
9
votes
1 answer

How do I ignore unmet dependencies while using apt-get remove?

I have a thin VPS running Ubuntu 14.04 with automatic security updates. It has filled up the /boot partition with a lot of kernel updates. I am trying to remove the older ones, but I'm running into an "unmet" dependencies error demanding I fix…
jimp
  • 638
  • 3
  • 11
  • 20