NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 8 9 10 11 12 … 44 Next »
Upgrading from v5 to v6 on Linux

 
  • 0 Vote(s) - 0 Average
Upgrading from v5 to v6 on Linux
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,368
Threads: 963
Joined: May 2006
#41
2023-05-04, 10:49 PM
Well at least it is consistent, what about

dotnet --list-runtimes

Martin
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#42
2023-05-04, 10:51 PM
pi@NextPVRSVR:~ $ dotnet --list-runtimes
bash: dotnet: command not found
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,368
Threads: 963
Joined: May 2006
#43
2023-05-04, 11:03 PM
Does running the installer that the deb file give you anything other the message that it is installed?

/tmp/dotnet-install.sh -c 6.0 --runtime aspnetcore -InstallDir /opt/dotnet

If not what do you see with

ls /opt/dotnet/shared/Microsoft.AspNetCore.App/
and
ls /opt/dotnet/shared/Microsoft.NETCore.App/

I am assuming you have plenty of space on your root folder.

Martin
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#44
2023-05-04, 11:05 PM
Same - trying the other now...

pi@NextPVRSVR:~ $ /tmp/dotnet-install.sh -c 6.0 --runtime aspnetcore -InstallDir /opt/dotnet
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: ASP.NET Core Runtime with version '6.0.16' is already installed.
pi@NextPVRSVR:~ $
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#45
2023-05-04, 11:06 PM
Yes, I have lots of free space (90% free)

pi@NextPVRSVR:~ $ ls /opt/dotnet/shared/Microsoft.AspNetCore.App/
3.1.22 3.1.24 3.1.26 6.0.16
pi@NextPVRSVR:~ $ ls /opt/dotnet/shared/Microsoft.NETCore.App/
3.1.22 3.1.24 3.1.26 6.0.16
pi@NextPVRSVR:~ $
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,368
Threads: 963
Joined: May 2006
#46
2023-05-04, 11:11 PM (This post was last modified: 2023-05-04, 11:11 PM by mvallevand.)
Something is corrupt since /opt/dotnet/dotnet was needed for those 3.1 files in v5

Let's clean them all out

rm -r /opt/dotnet

and then run the nextpvr dpkg update again.

Martin
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#47
2023-05-04, 11:15 PM
When I try to delete it is asking to remove a write-protected file - when I say yes it says permission denied...

rm: descend into write-protected directory '/opt/dotnet'? y
rm: remove write-protected regular file '/opt/dotnet/dotnet'? y
rm: cannot remove '/opt/dotnet/dotnet': Permission denied
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#48
2023-05-04, 11:16 PM
rm: descend into write-protected directory '/opt/dotnet/shared'? y
rm: descend into write-protected directory '/opt/dotnet/shared/Microsoft.AspNetCore.App'? y
rm: descend into write-protected directory '/opt/dotnet/shared/Microsoft.AspNetCore.App/3.1.22'? y
rm: remove write-protected regular file '/opt/dotnet/shared/Microsoft.AspNetCore.App/3.1.22/Microsoft.AspNetCore.SignalR.Protocols.Json.dll'? y
rm: cannot remove '/opt/dotnet/shared/Microsoft.AspNetCore.App/3.1.22/Microsoft.AspNetCore.SignalR.Protocols.Json.dll': Permission denied
ryspencer
Offline

Member

US
Posts: 58
Threads: 3
Joined: Mar 2020
#49
2023-05-04, 11:38 PM
ok - I got them all removed. Can you tell me the exact install command to use so I don't screw it up?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,368
Threads: 963
Joined: May 2006
#50
2023-05-04, 11:38 PM (This post was last modified: 2023-05-04, 11:39 PM by mvallevand.)
Sorry that would be

sudo rm -r /opt/dotnet

I posted how to run dpkg more than once on this thread and it is on the wiki too.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 … 3 4 5 6 7 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux Ending Tuner Recording Early For New Recording Despite Idle Tuners Available LinuxDVR 5 1,387 2022-11-18, 09:30 PM
Last Post: mvallevand
  Linux nrecord.log - Commit Log Writes Immediately Not Delayed Buffer Writer LinuxDVR 10 2,160 2022-11-14, 10:02 PM
Last Post: sub
  Q's about hardware requirements and Linux johnm0101 6 2,025 2022-11-06, 12:40 PM
Last Post: NumberFive
  Windows and Linux communicating NinthWave 3 1,407 2021-10-07, 03:50 PM
Last Post: sub
  Upgrading m3u? mwkurt 3 1,275 2020-12-12, 01:20 PM
Last Post: mvallevand
  Can't detect Hauppage 950Q [Linux] thejollyreaper 5 1,856 2020-08-27, 07:24 PM
Last Post: mvallevand
  Channel Order on Linux Englishman 13 4,408 2020-06-04, 01:56 AM
Last Post: sub
  upgrading to version 5.0 MaxOne72 10 3,155 2020-04-30, 02:15 AM
Last Post: sub
  EPG /Docker/Linux/Window Paulo 14 5,374 2020-01-14, 11:27 PM
Last Post: Paulo

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode