Tagged Questions

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)

0
votes
2answers
31 views

updating, upgrading debian linux server except a package

I was looking for a command line to update/upgrade my VPS with the exception of the web server software. I have Nginx v.1.4.7 on my VPS and don't want it to get updated/upgraded when I run any ...
0
votes
2answers
49 views

How to install package from aptitude which requires another package manually installed?

Imagine situation when you install for example openssl package like this (manually): wget http://openssl.org/source/openssl-1.0.1h.tar.gz tar -xvf openssl-1.0.1h.tar.gz cd openssl-1.0.1h ./config ...
0
votes
0answers
38 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 ...
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 ...
1
vote
0answers
82 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
83 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 ...
1
vote
1answer
679 views

Running dist-upgrade fails on installation of 'startpar'

I'm trying to run dist-upgrade on Debian 6 but it fails on installation of startpar with: dpkg: considering deconfiguration of sysvinit-utils, which would be broken by installation of startpar ... ...
0
votes
1answer
254 views

apt-get not getting latest version on some servers

I've got Percona DB 5.6 on several Ubuntu 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 ...
1
vote
1answer
55 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 ...
3
votes
2answers
1k views

debian wheezy, heartbleed, openssl refuses to update

I am having a strange problem, my system is exposed to heartbleed, and I am trying to fix it by using: apt-get clean, apt-get update and apt-get upgrade openssl but the response is: Reading ...
0
votes
1answer
3k views

oneric-security apt source is missing?

On apt-get on a 11.10 machine i'm getting: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources 404 Not Found [IP: 91.189.91.14 80] W: Failed to fetch ...
0
votes
0answers
23 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 ...
1
vote
1answer
83 views

How to tell when apt-get upgrade or apt-get dist-upgrade was last run

Is there a clean way to detect when apt-get upgrade or apt-get dist-upgrade was last run on an Ubuntu Server? If there isn't a way to do this by default, where would be the best place to modify a ...
5
votes
2answers
150 views

Enforcing apt-get version continuity on Ubuntu

How do I make sure that when I run apt-get update, apt-get upgrade on 2 different servers at different times, that I will get the same packages? How do I autotmate/enforce this? The (simplified) use ...
1
vote
1answer
62 views

How to automate cleanup of config files from past pkgs as reported by “dpkg -l | grep ^rc”

There are a number of pkgs that weren't removed with "apt-get purge" and I would like to automate cleaning them up. You can't apt-get purge apache2.2-common because the pkg is already removed. You ...
1
vote
2answers
706 views

Ubuntu Trusty on EC2 - apt-upgrade with 403 forbidden

When I run apt-get upgrade, I'm getting this error: 1 upgraded, 0 newly installed, 0 to remove and 73 not upgraded. Need to get 413 kB of archives. After this operation, 0 B of additional disk space ...
0
votes
1answer
75 views

How to debug packages from repo not showing up in apt-cache?

I have created my own deb repo, and after I on the client did echo 'deb ftp://puppet.example.com ./' > /etc/apt/sources.list.d/puppet.list apt-get update apt-cache search puppet I don't see any ...
0
votes
1answer
28 views

Linux package management and security flaws

Is there a mechanism built into rpm or apt that will warn (or prevent) a user from installing a package contains a known security threat? I'm thinking of an RPM like ...
0
votes
1answer
143 views

How to check if an apt mirror has the version of package I required?

Let say I want to query if openssl, 1.0.1-4ubuntu5.12 is available in the mirror, e.g. deb http://security.ubuntu.com/ubuntu precise-security main restricted Any easy command I can check?
0
votes
0answers
85 views

reprepro remove reports “not found” but reprepro list shows the package

I'm trying to remove a package from a local debian repo. reprepro list shows it, but reprepro remove says it's not found. The file exists in the backup directory but not in the pool directory. I guess ...
5
votes
1answer
1k views

“apt-get source” cannot find package but “apt-get install” and “apt-get cache” can find it

I'm trying to download the source of a package but when I run root@proxy:~# apt-get source squid3 Reading package lists... Done Building dependency tree Reading state information... Done E: Can not ...
0
votes
0answers
244 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
1answer
41 views

Apt pinning: upgrading a specific package

Today I have discovered apt pinning, it looked great and I've chosen to use it. However I am trying to install some package which need libc6 at a version higher than what is available at a stable ...
0
votes
2answers
852 views

Using puppet to ensure vagrant box is upgraded

I'm using puppet to provision a vagrant box (Ubuntu in this case). After initially starting the vagrant box (vagrant up), running apt-get upgrade will list several updates. I would like to run these ...
0
votes
0answers
94 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
47 views

apt-get refuses to see that dependency is met

I've tried uninstalling and re-installing the packages below and I looked it up, but I can't find what causes this. user@linux-box:~$ sudo apt-get dselect-upgrade Reading package lists... Done ...
-1
votes
1answer
42 views

Why debian library packages have numbers in their name? [closed]

I was installing some dependency libraries using apt and I was just wondering why some debian library packages have number in their names. For example: libleveldb1 (while development package is ...
1
vote
1answer
36 views

Where are official Ubuntu PGP keys listed? [closed]

I've been trying to Google this, but so far nothing. Could anything point me to where Ubuntu lists their official PGP keys for packages?
0
votes
1answer
59 views

apt-get source is giving me old version of postfix

I tried to apply VDA patch to postfix, but I see that my installed version is 2.9.6 installed via apt-get install. While when I try to get source apt-get source, it gave me 2.9.1. So what is ...
1
vote
0answers
33 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 ...
0
votes
1answer
193 views

update nginx 1.4.4 to 1.4.5 trying to overwrite X which is also in package Y

I get this error while trying to upgrade: Preparing to replace nginx 1.4.4-4~raring (using .../nginx_1.4.5-1~raring_amd64.deb) ... Unpacking replacement nginx ... dpkg: error processing ...
0
votes
1answer
205 views

Dependency errors while running apt-get -f install

I was having issues with /boot being full and trying to run apt-get -f install. Now that I have cleared out some space in /boot I am getting the following dependency errors. Reading package lists... ...
0
votes
1answer
121 views

Debian local apt repo

Using debians ftpsync I've synced amd64 to my local file server, and installed debian over the network using ipxe. It dawned on me, that the content I've downloaded needs to be shared as an apt repo, ...
0
votes
0answers
633 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
367 views

Postgres 9.3 won't work on Debian 7.1

Hi I am having problems installing postgres 9.3 on debian 7.1. I have added the following: deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main to the file ...
1
vote
1answer
1k 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 ...
0
votes
1answer
60 views

How to get the Package-List of a debian/ubuntu package?

It's possible to view the Package-List of a debian/ubuntu package, using the package management tools like apt, aptitude or dpkg? I need to list the packages provided by a package, the list is ...
0
votes
1answer
81 views

Merging 2 ubuntu repositories into a single offline repository

I am currently running apt-mirror to have a local, offline copy of the entire ubuntu repository (both 32&64), from ubuntu 9.04 to 13.10. Old releases are being apt-mirrored from ...
2
votes
2answers
134 views

How to recreate /etc/cron.daily/apt?

On my Debian 6.0.8 system the /etc/cron.daily/apt file is missing. Therefore, unattended upgrades do not work. How can I recreate/fix /etc/cron.daily/apt?
5
votes
3answers
214 views

Audit files on a Debian box

Is it possible to list every file on the system that does not belong to a package? or if they have been modified? Might need to use something like: apt-get, apt-files, dpkg-query, etc For context, ...
0
votes
2answers
169 views

UFW - deny outbound except for apt-get updates?

What combination of UFW rules would deny all outbound connections except for those which are required to install Ubuntu security updates?
2
votes
1answer
2k 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 ...
3
votes
1answer
148 views

Which apt options for a safe automatic update

Related to my previous question, what apt options should one use when upgrading a package so that: if other packages would be removed as a result of the upgrade, apt will stop without touching ...
0
votes
0answers
77 views

automatic upgrade of debian repo keyrings: how risky?

I wrote a CFEngine policy to manage the packages debian-keyring and debian-archive-keyring on Debian and Debian-based systems. For those packages, I would like to set the policy to addupdate, that is: ...
0
votes
1answer
145 views

Can't open /usr/share/debconf/confmodule - When install using apt-get

I tried installing valgrind using, apt-get install valgrind After downloading the packages, am getting the following error, Setting up tzdata (2013d-0squeeze1) ... .: 9: Can't open ...
1
vote
1answer
108 views

What is the apt equivalent of yum's createrepo?

With yum, I can create a respository from a folder of RPMs with the createrepo tool. What's the equivalent to turn a folder of .deb files into an apt repository? This isn't about mirroring upstream ...
1
vote
1answer
410 views

Using APT how can I install phpMyAdmin without 'apache2' and all of the other gumpf?

I have found that a lot of packages that get installed with APT tend to have many extra packages that get installed, but I am no sys-admin so I generally accept this. As I start to get to grips with ...
0
votes
1answer
1k views

“php5-fpm: unrecognized service” and other issues after reverting from PPA

Added a repository so that I could move from PHP 5.3 to 5.5 easily in Ubuntu 12.04.3 LTS. After adding the PPA and following most of the suggestions here http://askubuntu.com/a/109544 it seemed that ...
-1
votes
1answer
230 views

Update 9.3.x minor verison of postgres on Ubuntu 12.04?

What do I need to do to update Postgres to a new minor version? i.e. 9.3.1 to 9.3.2? All the documentation gives is stop the server and install the new binaries. I need more detailed information on ...
2
votes
1answer
72 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 ...