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
9
votes
3 answers

Why can't i install mongodb 3.0 on Ubuntu 14.04 32bit?

I have followed all the official istructions listed here: official page In detail, i have done: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 (seems ok) echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release…
Moppo
  • 193
  • 1
  • 1
  • 6
9
votes
4 answers

Debian - What to do when upgrading packages and a config file has changes?

I'm new to system administration and I'm helping admin a server for a student group. I was wondering, what is the best practice for when you're upgrading packages and a config file has changes. I've been looking at the differences and then usually…
Ibrahim
  • 394
  • 5
  • 12
9
votes
3 answers

How to install packages with APT without user interaction?

I have a script that downloads and replaces kernel headers in Debian squeeze. function fixHeaders(){ #Replace the kernel headers from OVH with standard kernel headers... aptitude -y install linux-image-2.6.32-5-amd64 sed…
에이바
  • 642
  • 5
  • 11
  • 34
9
votes
3 answers

Debian - "WARNING: untrusted versions of the following packages will be installed!"

When i try to install or update any packages I get: Untrusted packages could compromise your system's security. You should only proceed with the installation if you are certain that this is what you want to do. I strongly suspect this is related to…
user1794469
  • 217
  • 2
  • 6
9
votes
2 answers

Debian/Ubuntu is it possible to reinitialize /var/lib/apt/lists and /var/apt/cache after deleting them?

Is it possible to restore the functionality of /var/lib/apt/lists and /var/apt/cache after deleting them or minmizing them in some wa I am trying to shrink down an Ubuntu VM to the smallest size and decided to delete /var/lib/apt/lists and…
vfclists
  • 1,632
  • 5
  • 22
  • 37
9
votes
0 answers

Recovering from a borked reprepro pull

We distribute our software via custom debian apt repositories we create with reprepro. (Disclaimer: I'm not the release engineer who set this up; he's no longer with us.) We have four repos: unstable --> lab --> alpha --> prod We have done a…
Schof
  • 972
  • 1
  • 6
  • 10
9
votes
4 answers

best way to install package from wheezy on squeeze

I want to use doxygen on my Debian Squeeze server, but I need the version from Debian Wheezy because this apparently contains the bugfix I need. It's not in backports -- check…
artfulrobot
  • 2,949
  • 13
  • 36
  • 60
9
votes
1 answer

Install imagemagick with jpeg support from ubuntu packages

I installed libjpeg62 and imagemagick on my ubuntu 10.04 (lucid). Running identify command with a gif works but running it with a jpeg produces this error: identify: no decode delegate for this image format `stream,13307,0.jpg' @…
mmarschall
  • 93
  • 1
  • 1
  • 7
9
votes
3 answers

How to get automatic upgrades to work on Ubuntu Server?

I followed the documentation for enabling automatic upgrades in Ubuntu servers, but it's not really updating anything at all. My /etc/apt/apt.conf.d/50unattended-upgrades looks almost like the default. // Automatically upgrade packages from these…
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
8
votes
4 answers

Conflicts with PAM configuration files when upgrading system

I have a VPS that runs Ubuntu 14.04.4 LTS; it was installed as a whole with Plesk by OVH. I juste did a apt-get upgrade, and at some point I had a message regarding PAM. The system is in French, but basically it says: At least one file of…
piwi
  • 336
  • 1
  • 3
  • 12
8
votes
5 answers

ERROR Found no accessible config files for 'fail2ban' under /etc/fail2ban

So my fail2ban wasn't working and in attempts to make it work the config files got messy. Decided to start from scratch. I ran these as sudo apt-get remove fail2ban apt-get purge fail2ban rm -r /etc/fail2ban In hopes I'd completely remove it as…
jblz
  • 215
  • 1
  • 3
  • 11
8
votes
3 answers

Install Debian Backports kernel automatically

I've got the following pinnings set: Package: linux-image-amd64 Pin: release a=wheezy-backports Pin-Priority: 1001 Package: * Pin: release a=wheezy-backports Pin-Priority: 499 I get the following error: $ sudo apt-get install…
Tim Stoop
  • 588
  • 5
  • 20
8
votes
1 answer

How to add debian "testing" repository to apt-get

I had difficulty searching for this answer on google and debian documentation! The FAQ page wasnt very clear either. I mean it wasnt 100% idiot-proof clear. https://wiki.debian.org/DebianTesting
sccott
  • 597
  • 1
  • 4
  • 7
8
votes
2 answers

No APT Recommends with puppet

I use puppet to manage a bunch of Debian servers at work, part if that includes installing packages. One package I install on several systems is nmap which is used to verify that firewall rules are setup properly. On Debian 7.0, if you have …
Zoredache
  • 130,897
  • 41
  • 276
  • 420
8
votes
1 answer

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? Alternatively, how can I run the above command…
Luca Borrione
  • 755
  • 2
  • 9
  • 16