dotnet uninstall debian packages fails with 1.0.0-beta-001675 #3090

Closed
michalogluszka opened this Issue May 17, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@michalogluszka

Steps to reproduce

(current documentation mention this as first step: https://www.microsoft.com/net/core#ubuntu)

  • run dotnet-uninstall-debian-packages.sh

Expected behavior

  • Documentation to be changed, or
  • Script should remove dotnet and dotnet-host as well

Actual behavior

$ sudo ./dotnet-uninstall-debian-packages.sh
Unable to find dotnet installation to remove.
But...
$ dpkg -l dotnet
dotnet 1.0.0.001675-1
And
$ dotnet
.NET Command Line Tools (1.0.0-beta-001675)

Workaround

Actually I have been able to uninstall this with apt-get, so I'm not sure is this actually having an impact on anything.

Environment data

dotnet --info output:
(unfortunatelly already uninstalled)

Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty

@brthor

@brthor

This comment has been minimized.

Show comment
Hide comment
@brthor

brthor May 17, 2016

Contributor

Hi @michalogluszka,

The uninstallation script was only intended to remove packages created post-sharedframework, which does not include the dotnet package. This includes packages like dotnet-host and dotnet-dev-1.0.0-preview1-002702, which depends on dotnet-host

This would be easy enough add, but as you noticed the fix is as simple as doing apt-get remove dotnet. If you were to try to install the newer packages, they have a direct declared conflict with the dotnet package so it can be easily understood that they are not compatible.

cc @blackdwarf @piotrpMSFT

Contributor

brthor commented May 17, 2016

Hi @michalogluszka,

The uninstallation script was only intended to remove packages created post-sharedframework, which does not include the dotnet package. This includes packages like dotnet-host and dotnet-dev-1.0.0-preview1-002702, which depends on dotnet-host

This would be easy enough add, but as you noticed the fix is as simple as doing apt-get remove dotnet. If you were to try to install the newer packages, they have a direct declared conflict with the dotnet package so it can be easily understood that they are not compatible.

cc @blackdwarf @piotrpMSFT

@michalogluszka

This comment has been minimized.

Show comment
Hide comment
@michalogluszka

michalogluszka May 17, 2016

Thanks for explanation. I'll close this ticket.
P.S. I see documentation has changed already. Issue with apt-get certificates has been resolved. Good Luck! I'll test it in couple of minutes.

michalogluszka commented May 17, 2016

Thanks for explanation. I'll close this ticket.
P.S. I see documentation has changed already. Issue with apt-get certificates has been resolved. Good Luck! I'll test it in couple of minutes.

@brthor

This comment has been minimized.

Show comment
Hide comment
@brthor

brthor May 17, 2016

Contributor

no problem, thanks!

Contributor

brthor commented May 17, 2016

no problem, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment