NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Nightraider89
Sep 05, 2019Aspirant
[Readynas Pro] Plex update refuses to Install
(Readynas OS6 6.9.4. Hotfix 1, still on this version because of an adapted kernel to get vpn working) Hi There! Since this morning, i was updating my readynas and all, i wanted to import the ne...
- Sep 29, 2019
Well, Got it working! after some help, we discovered that python-urllib3 was the problem,
This one made it recover :
apt-get -m --reinstall install python python-minimal dh-python dpkg --configure -a
After that, those erros where gone, and Plex installe dlike a charm, so i guess this would answer for every problem like this, not only Plex.
Thanks for your time to read my problem!
Nightraider89
Sep 05, 2019Aspirant
screenshot ''apt-get -f install"
- Nightraider89Sep 29, 2019Aspirant
Is there anyone with an idea? went on holiday and stuff so got a break from it, tried the newest plex package now and still the same error :(
- SandsharkSep 29, 2019Sensei - Experienced User
See if there is any more information in the apt-history.log in the downloaded logs .zip.
- Nightraider89Sep 29, 2019Aspirant
Start-Date: 2019-09-29 16:12:18 Commandline: apt-get -qq install --fix-broken Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2019-09-29 16:12:19 Start-Date: 2019-09-29 16:12:21 Commandline: apt-get -qq install -fy rn-dictionary freeapp-collection readynasos ca-certificates Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2019-09-29 16:12:22 Start-Date: 2019-09-29 20:04:42 Commandline: apt-get -qq install --fix-broken Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2019-09-29 20:04:42 Start-Date: 2019-09-29 20:04:43 Commandline: apt-get -y remove Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2019-09-29 20:04:43 Start-Date: 2019-09-29 20:04:46 Commandline: apt-get -yq install --reinstall --allow-downgrades -o APT::Status-Fd=5 /tmp/plexmediaserver_1.17.0.1709-982421575_amd64.deb Install: plexmediaserver:amd64 (1.17.0.1709-982421575) Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2019-09-29 20:05:22 Start-Date: 2019-09-29 20:05:23 Commandline: apt-get -yq purge plexmediaserver Purge: plexmediaserver:amd64 (1.17.0.1709-982421575) Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2019-09-29 20:05:26
Thats the Output of today. there at least is a error code, to bad its very general..
This is the output if i copy the same line in terminal
~# apt-get -yq install --reinstall --allow-downgrades -o APT::Status-Fd=5 /tmp/plexmediaserver_1.17.0.1709-982421575_amd64.deb Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: plexmediaserver 0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded. 3 not fully installed or removed. Need to get 0 B/75.8 MB of archives. After this operation, 218 MB of additional disk space will be used. Get:1 /tmp/plexmediaserver_1.17.0.1709-982421575_amd64.deb plexmediaserver amd64 1.17.0.1709-982421575 [75.7 MB] E: Write error - write (9: Bad file descriptor) E: Write error - write (9: Bad file descriptor) E: Write error - write (9: Bad file descriptor) E: Write error - write (9: Bad file descriptor) E: Write error - write (9: Bad file descriptor) E: Write error - write (9: Bad file descriptor)
i found this link :
https://phoenixnap.com/kb/fix-sub-process-usr-bin-dpkg-returned-error-code-1
wich resulted in trying these options:
root@NAS6:~# dpkg --configure -a root@NAS6:~# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. 3 not fully installed or removed. Need to get 0 B/55.4 kB of archives. After this operation, 0 B of additional disk space will be used. dpkg: error processing package python-urllib3 (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of python-requests: python-requests depends on python-urllib3 (>= 1.9.1); however: Package python-urllib3 is not configured yet. dpkg: error processing package python-requests (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-pip: python-pip depends on python-requests; however: Package python-requests is not configured yet. dpkg: error processing package python-pip (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python-urllib3 python-requests python-pip E: Sub-process /usr/bin/dpkg returned an error code (1) root@NAS6:~#
So that makes me think this is python working against me, but no clue how to fix it, if i want to remove it.
If i remove and reinstall python-pip, it also ends with errors
root@NAS6:~# apt-get install python-requests Reading package lists... Done Building dependency tree Reading state information... Done python-requests is already the newest version (2.4.3-6). 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. 3 not fully installed or removed. Need to get 0 B/55.4 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y dpkg: error processing package python-urllib3 (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of python-requests: python-requests depends on python-urllib3 (>= 1.9.1); however: Package python-urllib3 is not configured yet. dpkg: error processing package python-requests (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-pip: python-pip depends on python-requests; however: Package python-requests is not configured yet. dpkg: error processing package python-pip (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python-urllib3 python-requests python-pip E: Sub-process /usr/bin/dpkg returned an error code (1) root@NAS6:~# apt-get install python-requests Reading package lists... Done Building dependency tree Reading state information... Done python-requests is already the newest version (2.4.3-6). 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded. 3 not fully installed or removed. Need to get 0 B/55.4 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y dpkg: error processing package python-urllib3 (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration dpkg: dependency problems prevent configuration of python-requests: python-requests depends on python-urllib3 (>= 1.9.1); however: Package python-urllib3 is not configured yet. dpkg: error processing package python-requests (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-pip: python-pip depends on python-requests; however: Package python-requests is not configured yet. dpkg: error processing package python-pip (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python-urllib3 python-requests python-pip E: Sub-process /usr/bin/dpkg returned an error code (1) root@NAS6:~#
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!