Browsing articles tagged with "aptitude - Admins Goodies"
Jul 30, 2012
tom

Reconfigure a Debian or Ubuntu package

I need to reconfigure my debian or ubuntu postfix package. How can I do this? NOTE: I am answering my own question Asked by Mike Pennington Use dpkg-reconfigure as root: dpkg-reconfigure postfix Or for a general solution: dpkg-reconfigure <debian_package_name> Answered by Mike Pennington Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Print for later Bookmark in Browser Tell a [...]

Continue Reading »
May 13, 2012
tom

64Bit ubuntu and 32Bit apps

I am trying to run a 32bit server process on my VPS, however when I do so it is having problems loading the shared libraries the process needs. When googling around they suggest “sudo apt-get install ia32-libs”, when I do this I fear Ubuntu wants to replace every single package I have installed with 32bit ones, all kinds of packages previously installed ( including nginx and php ) are asked to be installed. What am [...]

Continue Reading »
May 1, 2012
tom

How do I install the latest version of Sphinx Seach in Apt-get?

When I do “sudo apt-get install sphinxsearch”, I get version 0.9. I want the latest stable version (which is 2.4, I believe) How can I do that using aptitude? Asked by Alex Use a third party repository, or else upgrade to Ubuntu 12.04. The 12.04 repositories contain sphinxsearch 2.0.4, which is current as of March 2012. Answered by Shane Madden Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook [...]

Continue Reading »
Apr 24, 2012
tom

aptitude: list all previous recommended packages

sometimes when installing a package, aptitude recommends several other packages. Is there a way to show all previous recommended packages of all installed packages? Thanks in advance. Casper Edit: Thanks for the replys so far. I already tried: aptitude show ~i | grep ‘^Recommends’ | cut -d ‘ ‘ -f 2- Thats mostly ok. But it gives also things back like: console-setup | console-data (>= 2002.12.04dbs-1) I want an easy way, to install all missing [...]

Continue Reading »
Oct 31, 2011
tom

Purge every package with a given string in its name

What I want do is to purge (via aptitude purge) every package installed with a given string in its name. E.g. apache2. I’ve got several packages with the string apache2 in their name installed on a system. Now I want to aptitude purge apache2 (like apache2, apache2.2-bin, libapache2-mod-ruby, etc.). But I do not find a way to do this. Thanks for your answers in advance. A quick troll through the Aptitude Reference Manual on patterns [...]

Continue Reading »
Oct 12, 2011
tom

Debian squeeze kernel backports upgrade – moving forward?

It was suggested to update my Debian Squeeze kernel to something more recent. We chose 2.6.38 and used Debian Backports to install linux-image-2.6.38-bpo.2-amd64 following these instructions summarized below. nano /etc/apt/sources.list Add the line below to the bottom of the file. deb http://backports.debian.org/debian-backports squeeze-backports main Update repositories apt-get update Install the backport and the kernel. apt-get install -t squeeze-backports linux-image-2.6.38-bpo.2-amd64 Rebooted and voila! – system showing that is is running 2.6.38. Now, a few days later, [...]

Continue Reading »
Oct 9, 2011
tom

Does Debian or Ubuntu have a means of logging apt/aptitude commands?

Does Debian or Ubuntu have a means of logging apt/aptitude commands? I could also ask the same about yum commands in Redhat? Do they have a history file? Yes, you should look at /var/log/apt/history.log. But you might find more details in /var/log/dpkg.log. Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Print for later Bookmark in Browser Tell a friend

Continue Reading »
Sep 28, 2011
tom

Cent OS. Removed yum packages with apt-get. Server at work is down

I ran: sudo apt-get –fix-broken install and ended up removing: MySQL-client (5.0.92-0.glibc23) MySQL-server (5.0.92-0.glibc23) bandmin (1.6.1-1_newinit) exim (4.69-30_cpanel_maildir) mdadm (2.6.9-3.el5) redhat-lsb (4.0-2.1.4.el5) redhat-lsb.32bit (4.0-2.1.4.el5) sendmail-cf (8.13.8-8.el5) sendmail-devel (8.13.8-8.el5) sendmail-devel.32bit (8.13.8-8.el5) I am very unpopular at work at the moment. trying to install mysql client I get: No package mysql-client available. What gives ? should I add a list of new repositories? How about mysql-data is it gone ! ? You still have yum installed? If [...]

Continue Reading »
Aug 25, 2011
tom

Aptitude / apt-get. Any way to only show non-X dependant apps in a search?

It just occured to me that it would be good to do an ‘aptitude search blah’ and only have non-graphical applications shown. I know it’s not a biggy but the docs don’t seem to mention it and I would find it useful to know. Thanks. aptitude search !~Dlibgtk2.0-0 That will search for all packages that don’t depend on libgtk2.0-0, but probably you want to look for a way to recursively search for non-dependencies and look [...]

Continue Reading »
Aug 24, 2011
tom

What is the fastest way to install Python 2.6 on an Ubuntu 8.04 server?

I just got an Ubuntu server set up, and it seems to have come with Python 2.5. I’ve been developing my app in Python 2.6, but apt-cache search ^python seems to not contain 2.6. What is the fastest way to update the repositories apt-get looks through to include one that has Python 2.6? (Answer mixed in reply/reply-comments: fastest way is to upgrade to Ubuntu 9.04 or later) apt-get update; apt-get install python2.6 works for me [...]

Continue Reading »
Pages:123456»