Browsing articles tagged with "packagemanagement - Admins Goodies"
Mar 13, 2013
tom

Get ./configure line from Debian Package

I want to build the source of a package on myself (new version, some additions) but I want to use the ./configure options from the original package as a starting point. I can’t find anything in the source package, so where can I see the actual options used to compile a binary Debian package? The Name of the package is php5-cgi. Asked by Fu86 The options should be in the source package in the debian/rules [...]

Continue Reading »
Aug 20, 2012
tom

OpenSUSE reinstall Yast

I just can’t understand what just happend? I installed an openSUSE system, the original plan was to use it as an internal DNS Server for easyer access to all of the internal network computers. However something wasn’t right with the dns server package, so I decided to remove it and install it again. But after the removal something happened and the yast, yast2 and webyast were also removed and I find myself now locked inside [...]

Continue Reading »
May 18, 2012
tom

How to check when yum update was last run

Is there a canonical way to find out the last time that yum update was run on a system? Our set up is that we have staging servers that run automatic updates, and provided they don’t fall over, we will manually update our production servers about once a month (barring critical updates). (I say manually, ideally I want to manually trigger an update across all of them, but that’s another issue). But you get busy, [...]

Continue Reading »
May 10, 2012
tom

OpenSSH 5.9p1 on Ubuntu 11.10

I want to build a deb package with the latest version of openssh from source. Then I want to install it on my machine. I am running: Linux Ubuntu-1110-oneiric-64-minimal 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux To achieve my goal I do: wget ftp://ftp.openbsd.com/pub/OpenBSD/OpenSSH/portable/openssh-5.9p1.tar.gz wget ftp://ftp.openbsd.com/pub/OpenBSD/OpenSSH/portable/openssh-5.9p1.tar.gz.asc gpg openssh-5.9p1.tar.gz.asc apt-get build-dep openssh-server openssh-client apt-get source openssh-server cd openssh-5.8p1/ uupdate -v 5.9p1 /root/packages/openssh/openssh-5.9p1.tar.gz cd ../openssh-5.9p1 dpkg-buildpackage -us -uc -nc But I [...]

Continue Reading »
May 3, 2012
tom

Determining the version of a packaged process on linux

It’s easy to know which version of a package is installed on a linux distro: package-manager info <packagename> i.e.: yum info ntp However, is there a ‘linux convention’ sort of way to know what the package version of a running process is? The potential situation is that the act of just installing a package is not a guarantee that a process started by it is stopped and restarted (it’s a common convention; but no guarantee!). [...]

Continue Reading »
Apr 27, 2012
tom

Yum issues after upgrading MySQL from 5.0 to 5.5 on RHEL

I’m running RHEL 5.6 and trying to upgrade MySQL from 5.0 to 5.5. I ran sudo yum remove mysql* to remove all the existing MySQL-related packages. Then I installed MySQL 5.5 packages: $ sudo yum install mysql55* Loaded plugins: downloadonly, rhnplugin, security Excluding Packages in global exclude list Finished Setting up Install Process Package mysql55-embedded-5.5.22-1.ius.el5.x86_64 already installed and latest version Package mysql55-server-5.5.22-1.ius.el5.x86_64 already installed and latest version Package mysql55-test-5.5.22-1.ius.el5.x86_64 already installed and latest version Package [...]

Continue Reading »
Apr 3, 2012
tom

Ubuntu, is adding the debian repository to my apt source.list dangerous?

I’m trying to install a package from a debian repository. Trying to install manually with dpkg errors because of missing or incomplete dependencies. This got me wondering, is it a mistake to just add the debian repo to my apt sources? Thanks Edit: To be more specific I’m trying to install guake (the console wrapper). Edit 2: I’m trying to install guake 0.4.1. This resolves an issue with transparency I’m having. Asked by TheDeeno It’s [...]

Continue Reading »
Mar 31, 2012
tom

Using a package manager vs compiling from source for latest updates

I run a Ubuntu 11.10 server at my house and in the past I have been using apt-get to keep all my packages up to date. Recently I noticed that when I run apt-get update/upgrade the version of some software is usually not the latest. Apache for instance is a good x.2.x versions behind the latest on Apache’s website. The change logs that Apache provides indicates that the version on their site has updated several [...]

Continue Reading »
Mar 22, 2012
tom

yum simulate install

Coming from an ubuntu perspective, if I want to check to see what additional packages will be installed/upgraded I can use apt-get –simulate install <package name> Is there something similar for yum? Our Red hat box (yum) is our production server, so I would like to see exactly what will be happening before I actually install some package. Couldn’t really find a good solution, someone suggested: yum –assumeno install <package name> but this returned: Command [...]

Continue Reading »
Mar 20, 2012
tom

How to pre-fetch Debian packages on local network?

Let’s say I have at home 3 computers running Debian testing. They mostly have the same configuration and most of the packages installed are identical. Every time I update/upgrade the Debian packages, they are downloaded from the Internet. Is there a way to pre-fetch the Debian packages from the Internet and have a local, up-to-date Debian repository containing only the packages I have installed that have an available update? So, typically, if I have vim [...]

Continue Reading »
Pages:1234567...13»