[SOLVED] I don't seem to be able to install 1.19.4.2902

Server Version#: 1.19.3.2852

Hi,

This morning I got notified that 1.19.4.2902 was out. I tried to upgrade but no sigar:

sudo dpkg -i plexmediaserver_1.19.4.2902-69560ce1e_amd64.deb
(Reading database ... 301309 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.19.4.2902-69560ce1e_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: ERROR: Invalid installation config.  Refusing to install.
dpkg: error processing archive plexmediaserver_1.19.4.2902-69560ce1e_amd64.deb (--install):
 subprocess new pre-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Errors were encountered while processing:
 plexmediaserver_1.19.4.2902-69560ce1e_amd64.deb

I’m running the server on Ubuntu 16.04.6 LTS.

Any advice will be appreciated. :slight_smile:

Okay. I fixed it.

Somehow 3.2852 was in “not fully installed or removed” state. I don’t know when that happened. I can venture to say it happened when the first upgrade attempt failed?

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up plexmediaserver (1.19.3.2852-219a9974e) ...
PlexMediaServer install: PlexMediaServer-1.19.3.2852-219a9974e - Installation starting.
PlexMediaServer install: 
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   Update
/var/lib/dpkg/info/plexmediaserver.postinst: 131: [: =: unexpected operator
PlexMediaServer install:   Process Control:     systemd
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install:   Plex User:           
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install:   Plex Group:          
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install:   Video Group:         
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install:   Metadata Dir:        
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install:   Temp Directory:       
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install:   Lang Encoding:       
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install:   Transcoding HW:      Not found
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install: 
PlexMediaServer install: Completing final configuration.
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
PlexMediaServer install: both
/var/lib/dpkg/info/plexmediaserver.postinst: 33: [: -eq: unexpected operator
dpkg: error processing package plexmediaserver (--configure):
 subprocess installed post-installation script returned error exit status 255
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Errors were encountered while processing:
 plexmediaserver
E: Sub-process /usr/bin/dpkg returned an error code (1)

I re-installed 3.2852 then attempted to upgrade again, it worked this time. I re-downloaded the file several times so it could be that the first time I did it the file was corrupted. IDFK.

$ sudo dpkg -i plexmediaserver_1.19.3.2852-219a9974e_amd64.deb 
(Reading database ... 301309 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.19.3.2852-219a9974e_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.19.3.2852-219a9974e) over (1.19.3.2852-219a9974e) ...
Setting up plexmediaserver (1.19.3.2852-219a9974e) ...
PlexMediaServer install: PlexMediaServer-1.19.3.2852-219a9974e - Installation starting.
PlexMediaServer install: 
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   Update
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         video
PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:      /tmp 
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Transcoding HW:      Not found
PlexMediaServer install: 
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.19.3.2852-219a9974e - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo dpkg -i plexmediaserver_1.19.4.2902-69560ce1e_amd64.deb
(Reading database ... 301309 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.19.4.2902-69560ce1e_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.19.4.2902-69560ce1e) over (1.19.3.2852-219a9974e) ...
Setting up plexmediaserver (1.19.4.2902-69560ce1e) ...
PlexMediaServer install: PlexMediaServer-1.19.4.2902-69560ce1e - Installation starting.
PlexMediaServer install: 
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   Update
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         video
PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:      /tmp 
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Transcoding HW:      Not found
PlexMediaServer install: 
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.19.4.2902-69560ce1e - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.