Questions tagged [aptitude]

148 questions
6
votes
5 answers

Disable/Remove Apt(-get)

Is there anyway to disable/remove apt-get on a debian based server. I'd prefer to use aptitude, and don't want the other users to be installing packages with apt-get, to avoid package/database issues.
DeadlyCreampuff
  • 175
  • 2
  • 6
6
votes
1 answer

Ubuntu apt-get update vs upgrade

I have a VPS with Ubuntu Server 12.04 and I want maximal stability of my server, which's main purpose is a webserver. What are difference between Update and Upgrade? I can't understand difference. As I understand Upgrade is upgrading version of…
happy_marmoset
  • 201
  • 2
  • 5
6
votes
4 answers

ufw blocking apt and dns

I installed ufw on my Debian system like the following: # aptitude install ufw # ufw limit 22 # ufw allow 80 # ufw allow 443 # ufw enable # ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing) New profiles:…
Fleshgrinder
  • 3,638
  • 2
  • 16
  • 19
6
votes
3 answers

Getting an error while installing supervisord on ubuntu 11.04. Any way to fix this?

# aptitude install supervisor The following NEW packages will be installed: python-medusa{a} python-meld3{a} supervisor 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/290 kB of archives. After unpacking…
Andres
  • 201
  • 2
  • 4
6
votes
4 answers

How do I check to see if an apt lock file is locked?

I am writing a script to do some apt commands, but I am running into potential issues of the apt/dpkg databases being locked so my script bails. I want to check the lock files (i.e. /var/lib/dpkg/lock) before doing anything just like apt does when…
gondoi
  • 91
  • 1
  • 5
6
votes
1 answer

How to Get a List of All Root / Main Installed Packages on Debian

Is there a way to get all "main" packages that were installed via aptitude in Debian? By "main" I mean the package names that were given to aptitude via the install command. The equivalent of a Gentoo "world" file. To my knowledge you can only get a…
Elmar Weber
  • 482
  • 1
  • 7
  • 17
6
votes
1 answer

How do I specify the MySQL root password non-interactively when installing via Aptitude?

aptitude install mysql-server while throw up a prompt asking for me to set the root password. I'd like to avoid this by specifying the password in the initial command. How do I do this?
pr1001
  • 225
  • 2
  • 9
5
votes
0 answers

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 am attempting to follow the prerequisite: apt-get…
Neil Neyman
  • 151
  • 1
  • 5
5
votes
2 answers

How to completely remove a package in Debian?

I tried to use this: aptitude remove denyhosts And it seemed successfully but after a reboot after I use: ps aux | grep "denyhosts" I see denyhosts is still loaded after startup. So what am I supposed to do so that I can stop and destroy it once…
datasn.io
  • 279
  • 1
  • 4
  • 15
5
votes
3 answers

/etc/cron.daily/apt and /etc/cron.daily/aptitude on ubuntu hardy

I am a sys admin newb, otherwise I would figure this out on my own. I have a slicehost slice and I noticed that there are a couple scripts that get run (the ones I mentioned in my question title) that look like they do system updating. I am…
user18536
  • 151
  • 1
  • 2
5
votes
1 answer

Problems installing PHP libevent PECL Package

On my Ubuntu 11.04 development machine I have PHP installed (via aptitude). I want to experiment with the libevent PHP extension but I can't seem to get it working: root@alix-laptop:~# pecl install libevent Failed to download pecl/libevent within…
Alix Axel
  • 2,653
  • 6
  • 28
  • 28
4
votes
1 answer

Docker install on clean Debian 10.2 causes error with aufs-dkms package

After installing Docker 19.03 on a clean updated Debian 4.19.67 I am experiencing some problems with the aufs-dkms package that is a dependency. I even reinstalled the Debian server and tried all from scratch. Interestingly, the docker installation…
sdittmar
  • 363
  • 1
  • 3
  • 15
4
votes
2 answers

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 script in order to track when apt-get upgrade or…
Kelly John Rose
  • 138
  • 1
  • 8
4
votes
2 answers

How do I override apt-get removing dependent packages?

I want to replace postfix with exim4 on my Ubuntu test server to reflect the setup I have on my production server, but apt-get and aptitude (quite understandably) insist on removing several packages that depend upon having a mail stack. However, in…
iainH
  • 301
  • 1
  • 3
  • 11
4
votes
2 answers

how do I find where apt-get installs files belonging to a package

I installed a package with apt-get, and now I need to locate where these files have been placed. I tried: sudo apt-cache show and, sudo find / -name but it did not reveal anything useful. Whats a good command or method to…
sybind
  • 307
  • 1
  • 4
  • 14
1
2
3
9 10