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)

3
votes
1answer
74 views

Disallow virtual package in Debian's /etc/apt/preferences

I know I can disallow a particular package in Debian by appending /etc/apt/preferences with: Package: *x11* Pin: release Pin-Priority: -1 But how can I do that for a virtual package like httpd? I'd ...
2
votes
1answer
1k views

mdadm warning after apt-get upgrade - can't boot RAID

I'm running Ubuntu 12.04 precise. A recent apt-get upgrade ended successfully, but printed the following warning at the end: update-initramfs: Generating /boot/initrd.img-3.2.0-21-generic W: mdadm: ...
2
votes
1answer
528 views

dpkg broken while upgrading Debian Etch to Lenny

Good day! While trying to recover a box to lenny it seems I've broken things. It upgrades libc and glib after that dpkg seems to be broken. I can run apt-get, but it gets segmentation fault from ...
1
vote
1answer
15 views

preferences.d for ununtu 14.04 not working, what do I do wrong?

I have repo declared here: cat /etc/apt/sources.list.d/cloudera.list # Packages for Cloudera's Distribution for Hadoop, Version 5, on Ubuntu 14.04 amd64 deb [arch=amd64] ...
1
vote
1answer
90 views

Trying to install rSync 3.x on debian 4 etch

Whenver i use the official debian source link, and run the apt-get install rsync Debian automatically install me the rsync version 2.6.9. I can confirm with the following command : rsync ...
1
vote
1answer
97 views

Mirroring apt repository over ssh

We have a apt repository running to distribute upgrades for our software. The repository is accessed over ssh and a public key authentication: deb ssh://repo.server.com/dist stable As the download ...
1
vote
1answer
483 views

apt-get sub-process returned an error code (1)

I recently removed apache2 from my linode ubuntu server with: apt-get --purge remove apache2 Then tried to install it again (apt-get install apache2). But since then, I can't use apt-get anymore, I ...
1
vote
1answer
279 views

Overriding dpkg admindir from apt-get options (debian/ubuntu linux)

As part of an OS deployment, I need to maintain sets of debian packages independently of the host operating system. It's pretty straightforward to override the Apt settings for the cache and lists, ...
1
vote
1answer
396 views

Bug in PHP 5.3.10, how do I upgrade without apt?

I have a few Ubuntu boxes that run the newest version of PHP present in the Ubuntu package distributions (PHP 5.3.10). However, there is a bug in that PHP version that makes my application break. ...
1
vote
1answer
30 views

How to safely and smoothly update packages on server?(by apt)

On my own computer, I have been used to run apt-get upgrade directly for years. But few days ago I have a chance to admin a ubuntu server. I guess my old habit is bad. Should/how I update security ...
0
votes
1answer
14 views

Python2.7 issue after updating Debian to Jessie

After running dist-upgrade on one system I am getting this error: Sorry: TypeError: compile() expected string without null bytesdpkg: error processing package python2.7 (--configure): subprocess ...
0
votes
1answer
21 views

How to hold specific package version?

I have Percona XtraDB Cluster 5.6 installed on my Ubuntu server. Recently, when i tried to update my system using apt i see some new version of percona, but with an older version. The following ...
0
votes
1answer
64 views

freeradius broken after apt-get update

Ubuntu 14.04.1 LTS apt-get update /upgrade was run last night at around 10pm. This morning people are saying that they can't get into ftp and wifi because these services are auth'd by freeradius. ...
0
votes
1answer
78 views

apt-get behind a proxy causes 404 errors

I have some problems configuring apt-get to use the proxy of my company. /etc/apt/apt.conf Acquire::http::Proxy "http://myname@example.com:my+#password@proxyconf.example.com/"; ...
0
votes
1answer
70 views

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 ...
3
votes
0answers
87 views

reprepro use when multiple sources have the same codename

I'm investigating the use of reprepro to control what updates get propagated to our servers, and when. The idea is to vet updates by Debian and Ubuntu, and only apply the ones we choose. We want to ...
2
votes
0answers
36 views

Centralized ubuntu update server

I am in the process of configuring a Central Update Server so we can better manage the security updates on our ubuntu based cloud servers. Here is my plan so far Install apt-mirror on cloud instance ...
2
votes
0answers
338 views

Unable to apt-get install nginx-extras package on top of nginx 1.7.9

I am attempting to install Phusion Passenger for nginx on a dev Ubuntu box following this guide from the passenger website. I have Nginx installed and running already, version is 1.7.9-1~trusty. I ...
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
0answers
210 views

Debian: how to install a 64 bit package using apt?

I am migrating my system to 64 bit and the debian wiki suggests to first debootstrap a 64bit into a directory, then collect all 64bit packages and install them but this doesn't work. To install 64bit ...
2
votes
0answers
340 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 ...
1
vote
0answers
27 views

Why some apt-get and aptitude installations remove some programs?

I wanted to install wireshark, and I went to Installing wireshark So I just typed on terminal aptitude install wireshark and before it install wireshark, it removed 251 programs, and I don't have ...
1
vote
0answers
114 views

Ubuntu upgrade PHP not working anymore and nor error log

I made a apt-get update, followed by a apt-get upgrade on my Ubuntu (Homestead VM). Since then I can't access my PHP app anymore. I've tried accessing a txt file from my application and this works ...
1
vote
0answers
49 views

Build a repository with apt-mirror for ubuntu with changelogs

is it possible to create an internal mirror of the ubuntu update repository with apt-mirror including all the changelogs. I have the following output when i ask for the changelog of a package: ...
1
vote
0answers
64 views

Why won't my libvirt VM communicate with apt repositories when wget and ping work?

I'm trying to use Vagrant and Puppet to make it easier to duplicate a multi-server setup for our websites. The recommended workflow is to vagrant up the puppetmaster server specifically first, and ...
1
vote
0answers
180 views

Failed to install Nginx from nginx.org, Debian apt preferences messed up?

I'm trying to install Nginx from the latest release on nginx.org However, the latest package is not picked up: $ apt-get install nginx Reading package lists... Done Building dependency tree ...
1
vote
0answers
25 views

Make apt ignore a single recommendation

I'm looking to install owncloud, which has this recommendation line: Recommends: curl, exim4 | mail-transport-agent, php5-imagick, php5-apc, libreoffice-writer I want to install all of the ...
1
vote
0answers
112 views

Ubuntu : apt-get command error

I work with Ubuntu 10.04 everyday. Several days ago, when I release command sudo apt-get install .... it run very good, no error. I also able to open websites with my browser with no proxy. But, ...
1
vote
0answers
42 views

What can prevent apt from installing higher version

I'm trying to install a specific version of a package (python-neutronclient), but apt is failing to do that due to old packages. This happens even though new packages are available. Aptitude also ...
1
vote
0answers
491 views

Debian Wheezy - apt-get upgrade fault

Today I want to upgrade a server, but it lag on java 8 upgrade, I use Ctrl + C and stop upgrade, now when I want to upgrade, I have this problem: Can anybody help me? root@mg1:/home/system# apt-get ...
1
vote
0answers
65 views

Can't run any apt-get update without killing server

I have an ubuntu 12.04.2 that dies after I tried to do an upgrade on it. E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. So I run that and get the ...
1
vote
0answers
173 views

How do I upgrade OpenSSH Server on Ubuntu Hardy (8.04) from v4.7 to CURRENT?

I tried to add backports to my apt sources but that does not make any newer version of OpenSSH show up as being available to upgrade to. See: https://help.ubuntu.com/community/UbuntuBackports Any ...
0
votes
0answers
13 views

MySQL package upgrades (Debian apt-get) always break master-master replication due to changes in mysql schema

I have master-master replication set up on 2 Debian servers, and they replicate everything, including the mysql database itself (so that new users and such also replicate). This generally works very ...
0
votes
0answers
22 views

Centralized package management of Ubuntu servers with QA

I currently manually maintain 3 Ubuntu servers, but now we're taking on another project that will have something like 25. So I'm looking into how to maintain that many servers without making ...
0
votes
0answers
45 views

Configure client for two apt-cacher servers

I have two apt-cacher-ng servers up and running, but I am wandering how best to configure my clients to use them. The primary reason for having two servers is load balancing, but we would also like ...
0
votes
0answers
72 views

Install latest mysql 5.6 update (update 19 to update 22) on Ubuntu 14.04

A while ago I installed Mysql 5.6.19 via "apt-get install mysql-server-5.6" on a Ubuntu 14.04 amd64 server, now I want to upgrade this Mysql 5.6.19 to the latest stable update (5.6.22). I can't do it ...
0
votes
0answers
25 views

Compare package versions of different debian releases

I installed a server using debian-testing (jessie). Well, I regret it. They already broke the complete system twice because systemd suddenly required additional kernel features. And I don't want to ...
0
votes
0answers
36 views

Securely restrict access to a private Debian repository *without* giving shell access

Is there any way to securely give access to a Debian repository, without also giving shell access? I do not want passwords passed in clear text, so the ftp and http transports are not adequate. My ...
0
votes
0answers
140 views

Apt-get install removed packages

During a puppet run, ia32-libs was installed, this seems to have caused several packages to be uninstalled but I'm not sure why.. Can anyone shine any light on the matter? Here's the apt log entry: ...
0
votes
0answers
406 views

mysql-server : Depends: mysql-server-5.1 but it is not going to be installed

I want to install MySQL on Squeeze (Debian), but I get this error message from apt: mysql-server : Depends: mysql-server-5.1 but it is not going to be installed I have tried to use a different ...
0
votes
0answers
82 views

Broken apt trying to install Cassandra

While trying to install Cassandra on Ubuntu 13.10, the installation crashed and now I'm stuck with broken (?) apt-get. Here is the output of an apt-get install -f: Reading package lists... Done ...
0
votes
0answers
74 views

Debian 7.1 An attempt to commit /etc changes to git failed

I'm running Debian 7.1 edu which install also a LTSP server (fat client). When I try to install/remove any package in chrooted client installation (under /opt/ltsp/i38&) I got the error: An ...
0
votes
0answers
67 views

Debian 6: apt-get gets packages from stable?

I recently started working on a website project for a company that has their own server setup. It's a Debian system, and after a while I noticed ntp wasn't installed and the server was losing time. ...
0
votes
0answers
62 views

package manager cannot create users? installation script fails?

It seems that when trying to install any package which requires the creation of a system User and Group, the installer fails with the error: install: invalid user 'username' When it happened the ...
0
votes
0answers
29 views

apt/maven/npm checksum failure on amazon ec2

I'm recently encountering multiple download checksum failures when booting ec2 machine. This manifests itself with sporadic failures of apt, maven and npm installs. In one case that the pom checksum ...
0
votes
0answers
296 views

403 AuthorizedOnly error when attempting apt-get upgrade on Ubuntu 12.04

For some reason, apt-get upgrade isn't working today. This is what I see when I try to upgrade : root@localhost:~# apt-get upgrade Reading package lists... Done Building dependency tree ...
0
votes
0answers
118 views

installing from ubuntu ppa on debian including dependencies

I'm trying to install a stable latest version of couchdb on a Debian 7 server. Sadly for me the packages on the Debian repository are old (1.2) and i need 1.4 and up I've decided to try and use the ...
0
votes
0answers
672 views

I frequently get E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I'm looking after an Ubuntu 12.04 server behind a rather slow proxy. When attempting any kind of install with lots of dependencies, I frequently get stuck unable to install packages because the proxy ...
0
votes
0answers
186 views

mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) … start: Job failed to start

Seems this issue is common but I cannot solve it. How do I reinstall mysql-server. Every time I try, I receive this crash message. Setting up mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) ... start: ...
0
votes
0answers
412 views

apt-get upgrade broken due to failed apt upgrade

Ran an apt-get update and apt-get upgrade today on Ubuntu 12.04. And the process has become stuck trying to upgrade the apt package. It appears the post install script for apt is broken. And I can't ...