Hi joskevermeulen & Co
I followed your tutorial to upgrade bash on my WD Mybooklive and it didn’t quite end as I would have liked…
- I backed up my sources.list
- I editted my source.list
- I updated the package list…
MyBookLive:~# apt-get update
Get:1 http://ftp.us.debian.org jessie Release.gpg [836B]
Get:2 http://ftp.us.debian.org jessie Release [190kB]
Ign http://ftp.us.debian.org jessie Release
Ign http://ftp.us.debian.org jessie/main Packages
Get:3 http://ftp.us.debian.org jessie/main Packages [8832kB]
Fetched 9024kB in 14s (609kB/s)
Reading package lists… Done
- I tried to get the bash package
MyBookLive:~# apt-get install --only-upgrade bash
E: Sense only is not understood, try true or false.
MyBookLive:~# apt-get install --only-upgrade bash
E: Sense only is not understood, try true or false.
MyBookLive:~# apt-get install -only-upgrade bash
E: Option -only-upgrade: Configuration item specification must have an =.
MyBookLive:~# apt-get install -upgrade bash
E: Command line option ‘p’ [from -upgrade] is not known.
- I then ignored the issue and tried altering the command and accepted default response about dash
MyBookLive:~# apt-get install bash
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
dash libc6 libc6-ppc64 libtinfo5 locales
Suggested packages:
bash-doc glibc-doc
Recommended packages:
bash-completion
The following NEW packages will be installed:
dash libtinfo5
The following packages will be upgraded:
bash libc6 libc6-ppc64 locales
4 upgraded, 2 newly installed, 0 to remove and 282 not upgraded.
Need to get 12.4MB of archives.
After this operation, 8184kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
dash libc6-ppc64 locales libc6 libtinfo5 bash
Install these packages without verification [y/N]? y
Get:1 http://ftp.us.debian.org jessie/main dash 0.5.7-4 [102kB]
Get:2 http://ftp.us.debian.org jessie/main libc6-ppc64 2.19-11 [2465kB]
Get:3 http://ftp.us.debian.org jessie/main locales 2.19-11 [3957kB]
Get:4 http://ftp.us.debian.org jessie/main libc6 2.19-11 [4535kB]
Get:5 http://ftp.us.debian.org jessie/main libtinfo5 5.9+20140913-1 [275kB]
Get:6 http://ftp.us.debian.org jessie/main bash 4.3-10 [1116kB]
Fetched 12.4MB in 14s (859kB/s)
VULNERABLE
Preconfiguring packages …
Selecting previously deselected package dash.
(Reading database …
dpkg: warning: files list file for package `ramlog’ missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `libparted0’ missing, assuming package has no files currently installed.
(Reading database … 18717 files and directories currently installed.)
Unpacking dash (from …/dash_0.5.7-4_powerpc.deb) …
VULNERABLE
Adding `diversion of /bin/sh to /bin/sh.distrib by dash’
ln: creating symbolic link `/usr/share/man/man1/sh.1.gz.tmp’: No such file or directory
dpkg: error processing /var/cache/apt/archives/dash_0.5.7-4_powerpc.deb (–unpack):
subprocess new pre-installation script returned error exit status 1
dpkg (subprocess): unable to execute new post-removal script (/var/lib/dpkg/tmp.ci/postrm): No such file or directory
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/dash_0.5.7-4_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
- My UI screen showed a message about a failed firmware upgrade and then kept the screen kept refreshing so I couldn’t do anything with it.
- Then I tried rebooting the drive and got the steady white/yellow light
Do I now go to the unbricking page or is there a simpler way?
I know I should have waited for the proper release, and even though I have some Unix experience I know I should have stopped and not gone off script but I couldnt find anything on the web about --only.
Thanks in advance for any help .
Regards