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
330 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
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
103 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
190 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
100 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
766 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
770 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
106 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
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
709 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
404 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
25 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
99 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
2answers
1k 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
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
143 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
1answer
339 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
171 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
66 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
2k 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
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
1k 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
2answers
87 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
103 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
84 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
2answers
3k 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
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 ...
2
votes
1answer
1k views

Pinning based on origin of a reprepro repository

I'm on Ubuntu 10.04, and trying to set up a repository using reprepro. I'd also like the pin everything in that repository to be preferred over anything else, even if packages are older versions. (It ...
2
votes
2answers
740 views

Is there a debian lenny patch to allow apt-get to work with sftp?

I would like to write things like this in /etc/apt/sources.list: deb sftp://someuser@some.server.org/path other stuff When I try this, apt-get complains that there is no sftp method for apt: # ...
2
votes
1answer
121 views

List of newly-installed apt packages

Is there a good way to determine which apt packages were installed by the user/admin (as opposed to getting installed by default upon OS install)? The list doesn't have to be comprehensive - can ...
2
votes
3answers
3k views

sudo apt-get install mysql-server fails

I'm coming from a fresh install of Ubuntu server 9.10 and trying to install mysql-server by using 'sudo apt-get mysql-server' I get the following errors: dan@dev:~$ sudo apt-get install ...
2
votes
1answer
471 views

Unrespected pinning in Ubuntu with aptitude

I'm running an Ubuntu 9.10 (Karmic) system, but would like the beta Lucid repositories enabled for some packages I need bleeding-edge versions of. I'm trying to use apt-pinning so that they will ...
2
votes
1answer
34 views

Pinning specific subsection in Debian

I'm trying to pin some packages from a specific subsection (gnome in this case) in Debian jessie. For subsection I mean: gnome, admin, x11, etc… This value is showed by apt-cache in the 'Section' ...
2
votes
1answer
3k views

Chef Opscode apt cookbook - apt-get install returned 100, expected 0

I'm running Chef solo (version 11.4.0) on a clean VPS with Ubuntu 12 installed, and I'm having some problems with apt. The problem was that any package command raised an error: Chef::Exceptions::Exec ...
2
votes
1answer
399 views

Apt pin and self hosted apt repo

We have our own apt/deb repository with a handful of packages where we want to control the version. Crucially this includes puppet, which can be sensitive to versions being different. I want our ...
2
votes
2answers
1k views

Debian: How to use “apt-get install” without upgrading dependencies? [duplicate]

Possible Duplicate: How do I get apt-get to ignore some dependencies? I need to install some packages. The package A has the package B as a dependency and requires to be (>2.0). I have ...
2
votes
1answer
39 views

How can I log all changes to Ubuntus packaging system?

I have an ubuntu box and I want to get/log all changes to the packaging system (apt/dpkg) so I can reproduce them on an other machine. My goal is to extract an update script to reproduce the same ...
2
votes
1answer
522 views

Want to run asp.net 4 website on Ubuntu. Is it this simple?

Hello I'm a Windows guy and would like to build a small, portable, mini ITX web servers with free software. My application is ready. It's ASP.NET 4.0 connected to MySql 5. It runs on my Windows ...
2
votes
2answers
566 views

How to run Postgresql 8.2 on Debian lenny?

We are running a legacy application which requires PostgreSQL 8.2 on Debian Etch. Since Debian dropped support for etch, we're seriously considering to upgrade to Debian Lenny. However, we are stuck ...
2
votes
3answers
5k views

Install Previous Version of PHP Package from Debian Testing Using Apt

Is there a way to install an older Debian testing repository version of a package using apt-get? Specifically, I am looking to install the latest version of PHP 5.2.x on Debian Lenny. The last time ...
2
votes
1answer
1k views

Linode vm with Ubuntu 9.04 can't find vim-full package

I have fresh linode with ubuntu 9.04. When I try to install the full vim with this command sudo apt-get install vim-full i get Reading package lists... Done Building dependency tree... Done E: ...
2
votes
3answers
2k views

apt-get upgrade failing on debianutils

Using apt-get dist-upgrade to upgrade software on a server, I get the following error: Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 28575 files and ...
2
votes
0answers
2k views

Ubuntu 12.04/14.04 - apt-get 404 Not Found [IP: local-dns-server-ip 80] through proxy

I am trying to setup an ubuntu server (12.04 or 14.04) and have installed the server image onto the system I am using. Everything works fine until I try to run sudo apt-get update. When this runs, I ...
2
votes
1answer
103 views

Can a single Apt-Cacher serve multiple Debian versions?

I have multiple machines running Debian 6 (Squeeze) and 7 (Wheezy). I set up an Apt-Cacher server on a Debian 7 box, for the Debian 7 instances to use. Can this also be used (with the same wheezy ...
2
votes
0answers
320 views

Ubuntu 13.04: apt-get and check-new-release CPU bound

I own a virtual server hosted by a provider. A few hours ago I was notified about the VM being CPU-bound. I couldn't log in and rebooted the server. After the boot, apt-get and check-new-release were ...
2
votes
2answers
250 views

Debian Squeeze: apt-get hangs on download packages from our local repository

hope you guys can help me find out a solution to this problem that's causing me headache. My company has a number of front end servers based upon Debian Squeeze, we also set up a local repository ...