Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade hipblas 0.5.2.0 to 0.6.0.8 via deb repository fails. #35

Closed
ptsant opened this issue Oct 19, 2017 · 3 comments
Closed

Upgrade hipblas 0.5.2.0 to 0.6.0.8 via deb repository fails. #35

ptsant opened this issue Oct 19, 2017 · 3 comments

Comments

@ptsant
Copy link

ptsant commented Oct 19, 2017

What is the expected behavior

  • apt-get install hipblas should work

What actually happens

The following packages will be upgraded:
  hipblas
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/62.1 kB of archives.
After this operation, 270 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 1092339 files and directories currently installed.)
Preparing to unpack .../hipblas_0.6.0.8_amd64.deb ...
Unpacking hipblas (0.6.0.8) over (0.5.2.0) ...
dpkg: error processing archive /var/cache/apt/archives/hipblas_0.6.0.8_amd64.deb (--unpack):
 unable to open '/opt/rocm/hipblas/lib/cmake/hipblas/hipblas-config-version.cmake.dpkg-new': No such file or directory
abort-upgrade
Errors were encountered while processing:
 /var/cache/apt/archives/hipblas_0.6.0.8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

How to reproduce

  • Standard upgrade from previous ROCm version via the repository.

Environment

Linux mint 18.2

@ptsant ptsant changed the title Upgrtade hipblas 0.5.2.0 to 0.6.0.8 via deb repository fails. Upgrade hipblas 0.5.2.0 to 0.6.0.8 via deb repository fails. Oct 19, 2017
@kknox
Copy link
Contributor

kknox commented Oct 19, 2017

In the older .deb packages (< v0.6), we had problems in the packaging uninstall scripts that left some files around. Symlinks and such were left hanging. I believe these install/uninstall issues are fixed in any version > v0.6. Unfortunately, the v0.6.0.8 package can't fix the bugs in the v0.5.2 package you have installed.

Btw, we never released an official v0.5 .deb series (an odd number means our develop branch), so you must have built that one by source yourself. Please manually uninstall the v0.5 package (through dpkg --purge), and scan through the /opt/rocm directory to make sure that hipblas looks gone adn all dangling symlinks are removed.

@kknox
Copy link
Contributor

kknox commented Oct 27, 2017

No further comments have been made; closing.

@kknox kknox closed this as completed Oct 27, 2017
@ptsant
Copy link
Author

ptsant commented Nov 13, 2017

Hello, sorry for not responding right away.

Thanks for the help! The problem went away when I removed some old symbolic links. The package installed correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants