QEMU removes postgresql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
>sudo apt-get install kvm virt-manager removed postgresql-9.2 from my system.
Furthermore, it seem impossible for me to run postgresql and qemu at the same time.
Starting one, kills the other.
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 1246012] [NEW] QEMU removes postgresql | #1 |
Changed in qemu: | |
status: | New → Incomplete |
Michael Tokarev (mjt+launchpad-tls) wrote : | #2 |
Furthermore, I completely fail to see how this is relevant to the qemu project. This bug should be filed against the distribution supplied the binary packages, whose metadata is (apparently) wrong. Upstream qemu does not provide .deb packages and repositories.
Michael Tokarev (mjt+launchpad-tls) wrote : | #3 |
(Having said that, I'd say this bugreport should be closed as invalid instead of being investigated further)
Serge Hallyn (serge-hallyn) wrote : | #4 |
Agreed, closing against QEMU project. If you feel this is a bug in the ubuntu qemu package, then please target it as such (but I suspect that will also become invalid)
Changed in qemu: | |
status: | Incomplete → Invalid |
Joe Doe (joe-doe-launchpad) wrote : | #5 |
You guys speak in technical terms that I can hardly understand.
postgresql-9.2 is not the default version for Ubuntu(I believe 9.1 is), but can easily be installed by using the steps here -> http://
Anyways, the issue seems to be here:
>sudo apt-get install kvm virt-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'qemu-system-x86' instead of 'kvm'
qemu-system-x86 is already the newest version.
The following extra packages will be installed:
libvirt-bin logrotate
Suggested packages:
radvd python-guestfs python-
The following packages will be REMOVED:
postgresql-9.2 postgresql-common postgresql-
The following NEW packages will be installed:
libvirt-bin logrotate virt-manager
0 upgraded, 3 newly installed, 3 to remove and 0 not upgraded.
Need to get 0 B/3,570 kB of archives.
After this operation, 5,177 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 210251 files and directories currently installed.)
Removing postgresql-
Removing postgresql-9.2 ...
* Stopping PostgreSQL 9.2 database server [ OK ]
Removing postgresql-common ...
Removing 'diversion of /usr/bin/pg_config to /usr/bin/
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Selecting previously unselected package logrotate.
(Reading database ... 209976 files and directories currently installed.)
Unpacking logrotate (from .../logrotate_
Selecting previously unselected package libvirt-bin.
Unpacking libvirt-bin (from .../libvirt-
Selecting previously unselected package virt-manager.
Unpacking virt-manager (from .../virt-
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for gconf2 ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for mime-support ...
Processing triggers for hicolor-icon-theme ...
Setting up logrotate (3.8.3-3ubuntu2) ...
Setting up libvirt-bin (1.1.1-0ubuntu8) ...
libvirt-bin start/running, process 24248
Setting up libvirt-bin dnsmasq configuration.
Setting up virt-manager (0.9.5-1ubuntu1) ...
As you can see from the logs, installing kvm removes postgresql automatically.
Furthermore, even if I install postgresql later on, starting qemu, shuts down postres.
No matter how much I tried, it was impossible for me to run qemu and postgresql-9.2 on my machine at the same time.
My version of Ubuntu is Saucy Salamander.
So are you saying this is not something related to QEMU project?
Who should this be addressed to?
Thank you
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 1246012] Re: QEMU removes postgresql | #6 |
Quoting Joe Doe (<email address hidden>):
> You guys speak in technical terms that I can hardly understand.
> postgresql-9.2 is not the default version for Ubuntu(I believe 9.1 is), but can easily be installed by using the steps here -> http://
>
> Anyways, the issue seems to be here:
>
> >sudo apt-get install kvm virt-manager
I installed the postgresql-9.2 packages from the url you
listed, and installed qemu-kvm, kvm, and virt-manager,
but still was not able to reproduce this.
Please show the results of
cat /etc/apt/
for f in /etc/apt/
echo $f
cat $f
done
apt-cache show libvirt-bin
apt-cache show logrotate
apt-cache show qemu-kvm
apt-cache show kvm
apt-cache show virt-manager
apt-cache show postgresql-9.2
apt-cache show postgresql-common
apt-cache show postgresql-
(then re-mark the status of the bug as New)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Note, selecting 'qemu-system-x86' instead of 'kvm'
> qemu-system-x86 is already the newest version.
> The following extra packages will be installed:
> libvirt-bin logrotate
> Suggested packages:
> radvd python-guestfs python-
> The following packages will be REMOVED:
> postgresql-9.2 postgresql-common postgresql-
> The following NEW packages will be installed:
> libvirt-bin logrotate virt-manager
> 0 upgraded, 3 newly installed, 3 to remove and 0 not upgraded.
> Need to get 0 B/3,570 kB of archives.
> After this operation, 5,177 kB disk space will be freed.
> Do you want to continue [Y/n]? Y
> (Reading database ... 210251 files and directories currently installed.)
> Removing postgresql-
> Removing postgresql-9.2 ...
> * Stopping PostgreSQL 9.2 database server [ OK ]
> Removing postgresql-common ...
> Removing 'diversion of /usr/bin/pg_config to /usr/bin/
> Processing triggers for ureadahead ...
> Processing triggers for man-db ...
> Selecting previously unselected package logrotate.
> (Reading database ... 209976 files and directories currently installed.)
> Unpacking logrotate (from .../logrotate_
> Selecting previously unselected package libvirt-bin.
> Unpacking libvirt-bin (from .../libvirt-
> Selecting previously unselected package virt-manager.
> Unpacking virt-manager (from .../virt-
> Processing triggers for man-db ...
> Processing triggers for ureadahead ...
> Processing triggers for gconf2 ...
> Processing triggers for bamfdaemon ...
> Rebuilding /usr/share/
> Processing triggers for desktop-file-utils ...
> Processing triggers for gnome-menus ...
> Processing triggers for mime-support ...
> Processing triggers for hicolor-icon-theme ...
> Setting up logrotate (3.8.3-3ubuntu2) ...
> Setting up libvirt-bin (1.1.1-0ubuntu8) ...
> libvirt-bin start/running, process 24248
> Setting up libvirt-bin dnsmasq configuration.
> Setting up virt-manager (0.9.5-1ubuntu1) ...
>
> As you can see from the logs, installing ...
Joe Doe (joe-doe-launchpad) wrote : | #7 |
Hi Serge,
Please find the results below:
>cat /etc/apt/
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
deb http://
deb-src http://
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://
# deb-src http://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://
deb-src http://
And the second one:
for f in /etc/apt/source...
Serge Hallyn (serge-hallyn) wrote : | #8 |
Oh, I see - you are on a saucy machine using the precise postgresql
packages.
Anyway the problem is with postgresql-common versus logrotate. Now the
logrotate version in saucy is 3.8.3-3ubuntu2, and the postgresql-common
version is 149.pgdg12.4+1. postgresql-common says it breaks on
logrotate (>= 3.8). libvirt-bin depends on logrotate, and so you have
posgresql-common wanting to remove both logrotate and libvirt-bin.
qemu-kvm isn't even involved here, and it isn't a bug in libvirt or
its packaging. You simply need a newer postgresql package which
works with newer logrotate.
Joe Doe (joe-doe-launchpad) wrote : | #9 |
Thank you, Serge!
Quoting Joe Doe (<email address hidden>):
> Public bug reported:
>
> >sudo apt-get install kvm virt-manager removed postgresql-9.2 from my system.
Could you please show your OS release and from where and how you
installed postgresql-9.2? I'd like to try and reproduce, but
don't see any versions of postgresql-9.2 in the build archive.
Thanks!
status: incomplete