> Could you report me a "ls -laF /var/run/qemu/" what else might be the
issue there?

Sure:

% ls -laF /var/run/qemu/      
total 0
drwxr-xr-x  3 root root   60 Nov 30 11:43 ./
drwxr-xr-x 42 root root 1120 Nov 30 11:43 ../
drwxr-xr-x  2 root root   40 Nov 30 11:43 Debian/


> I mean you even removed it so ... ?!

Yes, it is created with the upgrade. I had to reboot for other reasons
and this directory was not even there before I tried the upgrade.


> Could you replace the "set -e" with "set -ex" there please and report back 
> all the output your upgrade generates?

% sudo apt install qemu-system-gui -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  qemu-system-gui
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
142 not fully installed or removed.
Need to get 0 B/51.5 kB of archives.
After this operation, 8,192 B disk space will be freed.
(Reading database ... 345606 files and directories currently installed.)
Preparing to unpack .../qemu-system-gui_1%3a5.1+dfsg-4ubuntu2_amd64.deb ...
+ mkdir -p /var/run/qemu/Debian 1:5.1+dfsg-4ubuntu1
+ cp /usr/lib/x86_64-linux-gnu/qemu/ui-gtk.so /var/run/qemu/Debian 1:5.1+dfsg-4u
buntu1/
cp: -r not specified; omitting directory '/var/run/qemu/Debian'
dpkg: warning: old qemu-system-gui:amd64 package pre-removal script subprocess r
eturned error exit status 1
dpkg: trying script from the new package instead ...
dpkg: error processing archive /var/cache/apt/archives/qemu-system-gui_1%3a5.1+d
fsg-4ubuntu2_amd64.deb (--unpack):
 there is no script in the new version of the package - giving up
Errors were encountered while processing:
 /var/cache/apt/archives/qemu-system-gui_1%3a5.1+dfsg-4ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


When looking at the output and the recent modifications you did in the package, 
it looks like I have the issue just because I have 1:5.1+dfsg-4ubuntu1 version 
installed and I can safely force the upgrade, right?


> P.S. And thanks for testing the current -dev release even if this time this 
> bite you (and probably everyone else).

My pleasure! I cannot help more with the packaging, etc. in Ubuntu like
I did before but I try to report bugs with the -dev release I use for
years now :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1906245

Title:
  qemu-system-gui 1:5.1+dfsg-4ubuntu2 fails to upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1906245/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to