Your message dated Thu, 07 Sep 2023 11:05:03 +0000
with message-id <e1qecop-005kxb...@fasolo.debian.org>
and subject line Bug#1051394: fixed in virtualbox-ext-pack 7.0.10-3
has caused the Debian Bug report #1051394,
regarding virtualbox-ext-pack: hash mismatch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1051394: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051394
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: virtualbox-ext-pack
Version: 7.0.10-2
Severity: important

Dear Maintainer,

Since installing virtualbox-ext-pack_7.0.10-2, apt throws errors at me:

```
Setting up virtualbox-ext-pack (7.0.10-2) ...
virtualbox-ext-pack: downloading: 
https://download.virtualbox.org/virtualbox/7.0.10/Oracle_VM_VirtualBox_Extension_Pack-7.0.10.vbox-extpack
The file will be downloaded into /var/cache/virtualbox-ext-pack
/
Hash mismatch Oracle_VM_VirtualBox_Extension_Pack-7.0.10.vbox-extpack: expected 
af84dccac488df72bfaeb1eb8c922ba466668561a6ac05c64a7f8b6ebdddbaeb, removing the 
file.
dpkg: error processing package virtualbox-ext-pack (--configure):
 installed virtualbox-ext-pack package post-installation script subprocess 
returned error exit status 1
Errors were encountered while processing:
 virtualbox-ext-pack
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

However, the file appears to have the correct sha256sum:


```sh
$  sha256sum 
/var/cache/virtualbox-ext-pack/Oracle_VM_VirtualBox_Extension_Pack-7.0.10.vbox-extpack
 
af84dccac488df72bfaeb1eb8c922ba466668561a6ac05c64a7f8b6ebdddbaeb  
/var/cache/virtualbox-ext-pack/Oracle_VM_VirtualBox_Extension_Pack-7.0.10.vbox-extpack
```

looking at the sourcecode of the postinst script it seems obvious that the
sha256sum (and 'vboxmanage') invocation cannot find the downloaded file as the 
`cd -` is called
before invoking invoking these commands with a *relative* filename.

putting the 'cd -' after the 'vboxmanage' line fixes the problem.

probably a better solution would be to:
- use absolute filenames
- download the file with 'wget -O "${absolute_file} ..." (rather than performing
  change-directory operations)


cheers



-- System Information:
Debian Release: trixie/sid
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virtualbox-ext-pack depends on:
ii  ca-certificates        20230311
ii  debconf [debconf-2.0]  1.5.82
ii  virtualbox             7.0.10-dfsg-3
ii  wget                   1.21.3-1+b2

virtualbox-ext-pack recommends no packages.

virtualbox-ext-pack suggests no packages.

-- debconf information:
* virtualbox-ext-pack/license: true

--- End Message ---
--- Begin Message ---
Source: virtualbox-ext-pack
Source-Version: 7.0.10-3
Done: Gianfranco Costamagna <locutusofb...@debian.org>

We believe that the bug you reported is fixed in the latest version of
virtualbox-ext-pack, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1051...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated 
virtualbox-ext-pack package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 07 Sep 2023 12:42:58 +0200
Source: virtualbox-ext-pack
Built-For-Profiles: noudeb
Architecture: source
Version: 7.0.10-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Virtualbox Team <team+debian-virtual...@tracker.debian.org>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Closes: 1051394
Changes:
 virtualbox-ext-pack (7.0.10-3) unstable; urgency=medium
 .
   * Fixup regression, thanks to IOhannes m zmoelnig <umlae...@debian.org>
     (Closes: #1051394)
Checksums-Sha1:
 8e599f52f8ba9e05d9da81c93d2960b01fc0fd00 2123 virtualbox-ext-pack_7.0.10-3.dsc
 4e965b2472bb60bdbf66107855b4ec4b6cf468c5 15312 
virtualbox-ext-pack_7.0.10-3.debian.tar.xz
 836cef6f174b0cf911d9f66b3c160e8c45e169f1 7849 
virtualbox-ext-pack_7.0.10-3_source.buildinfo
Checksums-Sha256:
 11dd1a805154499da4611f5b75f114a22876a433fde1ee8718aee8187e350c45 2123 
virtualbox-ext-pack_7.0.10-3.dsc
 e0a12cbc5e2550e713c9ee35bf8af4376360fd6320fdf94ce2ec7e402d8a9f3f 15312 
virtualbox-ext-pack_7.0.10-3.debian.tar.xz
 46fe9000849a84c9760571a13b322fda90b4419752cde0cea87c719987aaee09 7849 
virtualbox-ext-pack_7.0.10-3_source.buildinfo
Files:
 67de62ca50b026c90c7bd9d6ccf26003 2123 contrib/misc optional 
virtualbox-ext-pack_7.0.10-3.dsc
 4675d92f2a7580eadd86275c6b889226 15312 contrib/misc optional 
virtualbox-ext-pack_7.0.10-3.debian.tar.xz
 657851e44e1883759eb66a5e4ea623a9 7849 contrib/misc optional 
virtualbox-ext-pack_7.0.10-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmT5rJcACgkQ808JdE6f
Xdm9URAApPyuUto+4QlaH+cW1bv6jUcGAzooQ5iFJ8vggKrKwVY88SUQ4/h2NeOO
gGmPwmVIwF14jHBIsp+t7LKzMuxVNmyKIKIydmVTVLVZuj+M/IzBVpqYvWjkCGge
v0OwXL5hga64jVDu6VQAiygqXVU9HyvECcJo/STNsZGFt4ME2qL2N//UpR/oTCpj
Q9XI7RPgb37T0BcltU2Hum1i4Mhh6GGu/yIKrR0wLuCyDDqc7XjvNxnXsiXVaVlQ
Z7zM590GikZ8WtXNVA358H6c/Eosk/DQlcq2fwb6i1V97Jovv1a3ihJHAQKv154C
5M9WPexAGWAN1pwAfn4U7ghXLNsVElci6B69yQy8OZttyEUASDtbcsmjAoJhAZT+
gQGI+RiilRKVF54hW5SzDhNcHAn4fctUYJbN2Y54baM9tKCeN7HOXxxOU6tT7W5G
T61zp4AEmCu1rsn7JRpooef7eEtP4p9zF4UhobCvndjYm4JvNzeVbimKSGyKI1zk
r15RM3vus4zOGWiOACWbvleWkMVolVrHwZDdwPxQ7Gs5WgPjXcRVSDpNYjmDhy9B
WbJ0IB5yFc9OH3XuREYtblkh2d7sIasrrmXmmOM7+PLhUtORBinJn4Pj8WR/NVnv
QZBkafgX87mCcxXwpNo9zoEmQyGRO8CmIaOB6HLMdRkZmIVX4HU=
=JenC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to