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.

learn more… | top users | synonyms (1)

2
votes
1answer
10k views

apt-get duplicate sources.list entry for google-chrome (Ubuntu 11.10)

I am running Ubuntu 11.10. This is the only line in my /etc/apt/sources.list with the text "google" or "chrome" in it: deb http://dl.google.com/linux/chrome/deb/ stable main Sometimes (not always) ...
2
votes
2answers
3k views

Difference between RPM (yum) and apt-get

Functional difference between the two? Packages different style or what? I'm dipping my toe in the server pool and playing with an Ubuntu install right now, which is apt-get. I'm also considering ...
2
votes
3answers
2k views

Apt fails to get sources due compression

My Debian server (3.2.60-1+deb7u3 x86_64) fails to fetch updates from security.debian.org. I think it is caused by repository, because there are only compressed files on the repository. How can I fix ...
2
votes
3answers
460 views

Use apt-get source on a debian repo without using /etc/apt/source.list

I'm trying to use apt-get source as a regular user on a debian squeeze system. I want to retrieve the sources for cyrus-imapd-2.4 from the testing/wheezy repository. apt-get source works without ...
2
votes
1answer
455 views

how to get the list of packages present in apt-get autoremove

I know I have some packages ready to be removed if I run apt-get autoremove, but I just want to know which they are, without removing them. How can I list what would be removed without removing them? ...
2
votes
1answer
1k views

apt-get update 404

apt-get update yields a 404 error. I'm using the default mirrors for for Ubuntu 9.10. That version hasn't reached end of life yet so I don't see why this would be happening.
2
votes
5answers
1k views

apt-get install not working in script

I create a small script that installs a set of linux paquets . Strangely apt-get install always fails and tells me that the package have not been found. Here is my script: #! /bin/bash sudo apt-get ...
2
votes
1answer
2k views

How to tell apt-get to ignore unmet dependencies forever?

I use lighttpd instead of apache, but all the packages in the debian repositories are so keen on installing apache when I install a web based package. So I installed gitweb with apt-get, telling it to ...
2
votes
3answers
378 views

Can I mix yum and apt-get safely?

I understand that yum and apt-get operate on top of rpm, so that the data about installed packages in a linux system is responsability of rpm; so that neither yum nor apt-get keep their own data about ...
2
votes
1answer
183 views

apt-get unmet dependecies, traditional solutions not working

The problem Taking any action that will change installed packages on my Ubuntu 12.04 LTS server (remove, install, purge, etc.) fails with: Reading package lists... Building dependency tree... ...
2
votes
1answer
3k views

installing git from debian wheezy backports: anyway i see old package version

I need to install git 1.8.* version. I added backports to my sources.list; Removed current installed git via apt-get remove git; Executed apt-get update to update my packages list aptitude show git ...
2
votes
1answer
422 views

Puppet: maintaining apt sources.list

I'm using puppet to maintain a growing pile of debian machines. These will be maintained from their initialization onwards. This means that one step will be setting the apt 'sources.list' file and ...
2
votes
1answer
173 views

Concern about “apt-get update” in production server

I have a server which is getting a bit outdated as I haven't updated it since a few months. I wanted to try cron-apt but first wanted to do it manually, so I issued a sudo apt-get update as a ...
2
votes
3answers
1k views

Why doesn't the installation of the mysql-server package create a root account?

It's not the Why? that matters. It's the How can I do it myself? I'm using Ubuntu 10.04 LTS Server. I just want to install a MySQL server, but for some reason it wont let me. When I run apt-get ...
2
votes
2answers
116 views

Is there a way to add a ppa using the python apt module?

I need to add a ppa to remote servers using a python script. The bash equivalent of what I want to do is: $ add-apt-repository ppa:user/ppa-name I'm assuming it would look something like this: ...
2
votes
1answer
199 views

Debian aptitude: determine which repository a package is coming from? [closed]

In Aptitude, how can I tell where a package is coming from? I've set up my apt sources.list and preferences files for pinning, but I just want to make sure I'm not unknowingly upgrading to packages ...
2
votes
1answer
102 views

uninstall extras installed by apt-get install

I ran apt-get install gnome-terminal and apt-get install gnome-desktop on my linux box. It was just a command line box before that. Both of these things had like around 100mb of files to install - I ...
2
votes
3answers
773 views

Upgrade from Debian Lenny to Squeeze with apt-get

I just upgraded my system from Lenny to Squeeze following the steps posted here. I followed all the steps using apt-get (in the upgrade from Etch to Lenny i used aptitude as suggested) and the upgrade ...
2
votes
2answers
838 views

/etc/cron.daily/apt: Segmentation fault

I have a system that I set up with Maverick and the "automatically apply security updates" setting. It is now sending e-mail on a daily basis: Subject: Anacron job 'cron.daily' on gwen ...
2
votes
1answer
199 views

How to 'apt-get upgrade' a debootstraped chroot jail from outside?

I have a daemon running in a chroot jail that I have generated with debootstrap. I'd like to remove apt and dpkg from the jail, but I want to keep the other packages updated. Can I upgrade the ...
2
votes
1answer
151 views

Exclude sources files for apt-get update

I use an specific command to check security updates: /usr/bin/apt-get update -o Dir::Etc::SourceList=/etc/apt/security.sources.list But when executed it use sources files in ...
2
votes
2answers
3k views

Pull php5 from DotDeb and ignore others packages

I have Debian squeeze installed and this is my /etc/apt/sources.list file: # Debian packages for stable deb http://ftp.lug.ro/debian/ stable main contrib non-free # Security updates for stable deb ...
2
votes
2answers
4k views

apt-get purge portmap

i had rpc.statd open on port 111 on a relatively fresh install of debian squeeze. i did an apt-get purge portmap as i wanted to disable rpc services and close the open port on my box; i was presented ...
2
votes
2answers
858 views

apt-get update getting 400 URI Failure message

I have setup my ubuntu vps recently, but suddenly I keep getting this error message when I try to do apt-get update E: Method gave invalid 400 URI Failure message I have try to comment out 2 by ...
2
votes
1answer
436 views

What does “Provides:” mean in the output of apt-cache showpkg?

man apt-cache has this to say on the matter: showpkg displays information about the packages listed on the command line. Remaining arguments are package names. The available versions and reverse ...
2
votes
1answer
26 views

Virtuell Packages keept back when updating

the one or other might have seen this message when working with apt: The following packages have been kept back: some-package The usual solution to this problem is to manually install the ...
2
votes
2answers
2k views

dist-upgrade to squeeze wants to remove apt

why does dist-upgrade to squeeze want to remove apt and how can I fix it? $ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
2
votes
1answer
100 views

Why can I not find kernel-image

I'm attempting to remotly install Debian Etch on a CentOS system using the tutorial here, when I get to the steps: apt-cache search kernel-image ... apt-get -y install kernel-image-2.6-686 apt is ...
2
votes
1answer
2k views

apt sources.list ssh:// with custom port

I've setup my own repository which I want to use SSH as the protocol. I managed to get everything working with an SSH key using port 22. Now, I would like to change the SSH port. I've already changed ...
2
votes
1answer
149 views

How to get notified by installed/removed packages from dpkg/apt/aptitude?

I'm writing a Python system script and I need to be notified when a program gets installed/upgraded/removed. First of all, I thought to interface my application to an apt-dbus daemon. Unluckily I've ...
2
votes
1answer
8k views

How to force debian linux apt-get installer to install unstable/specific version of packages?

I want to force the install system on debian linux, apt-get, to install unstable (i.e. a later version) of a package, later than the stable one recognised by the debian package maintainer. This ...
2
votes
2answers
2k views

apt-mirror does not mirror the i18n directory

I need to setup a local Ubuntu mirror so the whole network doesn't need to hit remote servers in order to update and install new packages. Following a brief tutorial found here, I managed to get a ...
2
votes
1answer
1k views

Apt-get and aptitude not working in Ubuntu 9.04 KVM environment

I don't seem to get apt to work on a KVM in a Ubuntu 9.04 box. The virtual machine is an Ubuntu server. Network does seem to work (I can ping and attempt ssh connections, for instance), but running ...
2
votes
2answers
48 views

Ubuntu14.04 - unable to apt-get update

sudo apt-get update returns some erors : W: Failed to fetch http:// archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'restricted/source/Sources' in Release file ...
2
votes
2answers
2k views

How to install build-essential on Ubuntu 12.04? (gcc and g++ dependency issues)

I have just installed Ubuntu server 12.04 LTS. I am trying to install build-essential package; however, when I try to install it I receive the following error: Some packages could not be installed. ...
2
votes
1answer
3k views

Ubuntu 12.04 LTS - apt-get update can't find sources

Update: Running sudo rm /var/lib/apt/lists/partial/* temporarily allows sudo apt-get update to work. Original: I've seen answers to similar questions like this one, but the answers have been 'your ...
2
votes
1answer
717 views

Error when reinstalling apache2

I did an dist-upgrade on Debian Wheezy yesterday and got an error with syslog-nc-core. I found that i should try to reinstall it and tried but it ended with an error that apache2 isnt configured. I ...
2
votes
1answer
4k views

Installed libssh2-php but no ssh2 with php -m

I use php 5.5.3 on a Ubuntu 13.10 server and want to use ssh2 with php. So I installed libssh2-php with this command: apt-get install libssh2-php Installation runs without error. I got a ssh2.ini ...
2
votes
1answer
260 views

Building the necessary dependencies when apt-get installing on Ubuntu

I've got an Ubuntu 12.04.2 server and I want to install Postgres 9.2.4. If I wanted to build all dependencies, I couldn't use apt-get build-dep (at least without some finagling) because only 9.1 is ...
2
votes
2answers
69 views

Differences between “apache”'s installations

Using Ubuntu 12.04, are there any differences between installing Apache httpd using sudo apt-get install apache2 (as the guide of Ubuntu says - https://help.ubuntu.com/12.04/serverguide/httpd.html ) ...
2
votes
2answers
73 views

Update ubuntu server to the state of one week ago

I want to have the ubuntu updates on the production servers after they working one week on the staging servers. If I make apt-get update && apt-get upgrade on the production servers after a ...
2
votes
1answer
2k views

Tunnel apt traffic from private network through public to the internet

I've got 4 Servers under the following config: Servers 1 and 3(Web Server, Mail server respectivelly): NIC1: Public Network, Connected to the Internet NIC2: Private Network, Communication between ...
2
votes
1answer
98 views

Difference between package updates and release upgrades on Debian

I've been trying to decide on a new OS for my production machine, and I was wondering what the difference is between straight up upgrading packages and upgrading to a new release. If I install Debian ...
2
votes
2answers
89 views

Question to apt sources.list

is this the right format: http://mirror/debian/security squeeze/updates main contrib non-free or this: http://mirror/debian/security squeeze-updates main contrib non-free squeeze/updates VS ...
2
votes
1answer
105 views

how to interpret messages with package dependencies problems using apt

I'm having some problems to install some packages in a Debian box. The problem is more related with the error message interpretation. I'm trying to install the libssl-dev. So I fired a shell and I ...
2
votes
2answers
88 views

How do I see the original version of a config file installed with apt-get?

I have a server running Ubuntu and a program which was installed with apt-get install and I'd like to see the unmodified config file (e.g. /etc/foo/foo.cfg) so that I can diff it against the current ...
2
votes
1answer
2k views

Specify ubuntu repository from which a package is installed?

I want to install ffmpeg from mediubuntu. I've installed the repository per the instructions on: http://medibuntu.org/repository.php My conf.d repository listing: /etc/apt/sources.list.d# less ...
2
votes
2answers
4k views

how can i install apt-get on Centos

I am getting: yum install apt Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.ash.fastserv.com * base: mirror.nexcess.net * extras: ...
2
votes
2answers
2k views

Ubuntu dpkg, non interactive installation

I am trying to install a bunch of .deb files without having to interact with them. MySQL Server for example will prompt for an interactive menu to enter an administrative password upon the dpkg's ...
2
votes
2answers
1k views

I can't get rid of apache2

It's obvious that I am a newbie with server administration; my goal is to reach the knowledge needed to working with web services. I played with my Debian server, and I messed up apache2; Now I want ...