0
votes
1answer
16 views

Server shuts down during apt upgrades (specifically libdbus)

I woke up this morning to find my VPS down. I brought it back, couldnt find any reason for it being down (nothing in the syslog, etc) so figured it was my crappy provider. I ran apt-get upgrade and it ...
0
votes
0answers
15 views

dpkg-query --show [package-name] prints out uninstalled packages

I removed mysql from Ubuntu server completely as below sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo deluser mysql sudo rm -rf ...
0
votes
0answers
31 views

Reverse a command and disable su on Ubuntu

Whilst following an online guide on how to secure Ubuntu server, I ran this command on one of my test VM's. sudo dpkg-statoverride --update --add root admin 4750 /bin/su I know the intention of ...
0
votes
1answer
22 views

Dpkg: After comparing config files, how do I revert back to make my choice?

I'm part way through a fairly large apt-get upgrade which had 65 packages to be updated. I've gotten to a config file "merge conflict" where both my local config (containing a licence key) and the ...
1
vote
1answer
28 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
0answers
64 views

RabbitMQ start failure

I am trying to start RabbitMQ Server. And any way I do this, I get this error: Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript ...
0
votes
1answer
140 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
64 views

Prevent update-manager from overwriting my Configs

After installing a package with apt-get and then overwriting some package specific config files, whenever the system upgrades itself it tries to overwrite my custom configs with the package default ...
0
votes
1answer
46 views

Ubuntu dpkg broken

I have an Ubuntu installation where /var/lib/dpkg is empty. Every apt-get command fails with this error : E: Impossible de verrouiller /var/lib/dpkg/status - open (2: Aucun fichier ou dossier de ce ...
0
votes
0answers
48 views

Build PHP with dpkg-buildpackage

Trying to build PHP with command: dpkg-buildpackage -rfakeroot -d But got an error: Thank you for using PHP. config.status: creating php5.spec config.status: creating main/build-defs.h ...
10
votes
2answers
4k views

dpkg-reconfigure: unable to re-open stdin: No file or directory

I am building a provisioning script for a ubuntu vagrant vm, on a ubuntu host, both 12.10 64bit When installing the following packages: sudo apt-get -y install php5-xsl graphviz php-pear unison I ...
0
votes
1answer
40 views

Force apt-get not to upgrade a custom package dkpg [duplicate]

I've created my own deb package for Redis 2.6.11 instead of the very old default version for Ubuntu. All works well except when I do an apt-get upgrade it tries to install what it thinks is the latest ...
3
votes
1answer
165 views

What to do when local usernames conflict with network usernames

We use Puppet to manage our Linux desktop machines and SSSD to authenticate our users against a central authentication system. Recently when setting up a few new machines we found that puppet was ...
1
vote
2answers
89 views

Search for installed unavailable packages (backports and 3rd party)

I would like to remove any packages that I installed from third party repositories. I recently installed some backports from PPA repositories, and I suspect one of them broke my Ubuntu 12.04 server ...
0
votes
2answers
189 views

How to enable sysstat from shell script in Ubuntu? [duplicate]

In Ubuntu, I can install sysstat using apt, e.g. apt-get install sysstat And then enable it via interactive prompt dpkg-reconfigure sysstat But I want automate the process using fully automated ...
0
votes
1answer
626 views

Upgrading nginx-full 1.2.1 to nginx 1.2.6 from PPA on Ubuntu 12.10

I'm trying to upgrade nginx 1.2.1 to version 1.2.6 on ubuntu 12.10, but with no luck. I've previously installed nginx using apt-get install nginx-full because I needed the modules instead of building ...
0
votes
2answers
68 views

Filesystem owner changed by mistake [closed]

I ran this command on my ubuntu server 12.04 by mistake: chown someuser / -R On RHEL it would be fixed by this command: rpm --setugids -a Is there anyway to fix it in ubuntu server?
3
votes
1answer
349 views

Permission Mystery - apt-get and other system utilities have 000 permissions

I'm trying to track down this strange behavoir for years now. Always after installing software-updates the permissions of a lot of system-tools are broken as you can see below. I am reasonable ...
-1
votes
0answers
1k views

Regarding Reinstalling PostgreSQL [closed]

I was using PostgreSQL 8.4. I tried removing it through Synaptic Manager and then I tried to install 9.1, but I still version 8.4. I deleted all the files associated with postgresql. Now I am unable ...
2
votes
1answer
48 views

persist debian package on Ubuntu

I have an Ubuntu server that I recompiled libcurl for sftp support. The problem is when the server is rebooted or updated I have to reinstall the curl package. I am not clear how to persist this ...
4
votes
1answer
64 views

How can I install a third-party .deb package in an arbitrary base dir?

I have a .deb which politely installs itself in /opt. For my purposes I would prefer it acted like a first-class citizen and installed itself in the regular filesystem locations. Is there a way to do ...
0
votes
1answer
78 views

Should i disable triggers when force reinstalling packages in ubuntu (to repair corrupted exectables)

I want to reinstall some selected packages on my ubuntu server (lucid). I'm planning on running cat packages.txt | xargs apt-get --reinstall install to restore some executables I think may have become ...
0
votes
3answers
1k views

Using apt-get fails due to improperly configured dav_svn.conf file?

We're working on updating one of our internal development servers (running an older version of Ubuntu, 8 or 9 I'd guess), and are encountering errors when upgrading/installing packages using apt-get. ...
6
votes
3answers
4k views

Can dpkg verify files from an installed package?

With rpm -qV openssh-server I will get a list of files that have changed compared to default. ~$ rpm -qV openssh-server S.?....T. c /etc/ssh/sshd_config ~$ Can dpkg on Ubuntu do the same?
2
votes
1answer
76 views

Ubuntu compare original package and installed parameters

I'd like to compare the actual config files for, let's say, Apache and the ones provided in the original package. The purpose is to have a list of modifications since initial installation because I ...
1
vote
1answer
196 views

Ubuntu 10.10 unattended grub2 downgrade

I've got to install a few machines with grub legacy on them due to issues with symantec ghost (ghost is a requirement that can't be dropped). i've got a script that prepares machines, but there's a ...
0
votes
3answers
2k views

Ubuntu: Cannot apt-get upgrade server, dpkg permission denied even when root?

I've ran a general audit of the system and found that a few packages were aging, such as OpenSSH and related so I went to apt-get update then upgrade. Unfortunately it seems to get the packages ...
3
votes
2answers
388 views

Scripting installation of a virtual package provider on Debian/Ubuntu

First, what's the simplest way to get a list of (real) packages that provide a particular virtual package? 'aptitude show' seems to include it in the output for a virtual package, but 'apt-cache show' ...
0
votes
1answer
166 views

dpkg -get-selections command not working on Ubuntu

I am trying to use the gpkg -get-selections command on Ubuntu. I am kind of new to Ubuntu and really just following a tutorial on how to properly install Tomcat :)\ The tutorial is here: ...
1
vote
2answers
1k views

dpkg error installing on Ubuntu 10.04

I'm trying to install the nginx on ppa:nginx/stable on Lucid after removing the one that comes from the default sources but I get this error: ` Setting up nginx-common (0.8.54-4ppa13~lucid) ... ...
0
votes
3answers
9k views

How can I repair apt / dpkg?

Apt keeps crashing when I try to run apt-get upgrade xxx@xxx:/root/# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following ...
0
votes
2answers
872 views

Ubuntu dpkg, non interactive installation

I am trying to install a bunch of .deb files without having to interact with them. MySQL Server for example will prompt for an interactive menu to enter an administrative password upon the dpkg's ...
3
votes
1answer
427 views

Install PostgreSQL on Ubuntu without starting it

I want to install PostgreSQL 8.4 (or any service) on Ubuntu 10.4 (or any Linux distro) without it starting up as part of the installation. Right now when I do a sudo apt-get install postgresql-8.4 ...
0
votes
1answer
86 views

Finding documentation for /etc/**/*.dpkg-*

During upgrades, files with these extensions appear in /etc and its subdirectories. I gather that *.dpkg-dist contains the file that was distributed with the currently-installed version of a package, ...
3
votes
2answers
2k views

In Ubuntu Linux, how do I list packages installed from the “universe” repository?

On an Ubuntu 10.04 LTS server, I want to list installed packages and see what repository they come from. It’s easy to list installed packages, but it does not include the name of the repository (such ...
4
votes
4answers
1k views

Generating a list of installed packages in Ubuntu

I want to backup my list of manually selected packages in Ubuntu, without listing packages installed as dependencies. For example, dpkg --get-selections returns a complete list of all installed ...
1
vote
3answers
499 views

dpkg error code 1

I am unable to add/remove any packages in ubuntu karmic I keep getting the following Errors were encountered while processing: crossplatfromui E: Sub-process /usr/bin/dpkg returned an error code ...
9
votes
4answers
4k views

Given a debian source package - How do I install the build-deps?

I have a debian (well technically ubuntu) source package, i.e. the .dsc, the .tar.gz, etc., I want to build this. The dpkg-buildpackage fails, since I don't have all the build dependencies. Normally ...
1
vote
3answers
1k views

Is there an Ubuntu server package for PHP 5.3

It's been some time now since the release of PHP 5.3. I can't wait to work with it, but the Ubuntu developers have decided not to include it in the APT repository until 10.04. I don't want to wait ...