Can't uninstall ipkg completely, which prevent ipkg reinstallation
GoogleCodeExporter opened this issue · comments
What steps will reproduce the problem?
1. Installed lots of Alt-F packages
2. Clicked the "Remove All" button by mistake instead of Remove button for one
single package.
3. Ended of with an error, see attached screenshot.
4. Now I cannot install back ipkg, because it hasn't been uninstalled
completely in the first place.
What is the expected output? What do you see instead?
I would expect that te autofs umount command works, so that ipkg can delete the
/mnt/md0/Alt-F/ folder and complete uninstallation of ipkg.
What Alt-F version are you using? Have you flashed it?
RC3 Flashed
What is the box hardware revision level? A1, B1 or C1? (look at the label at
the box bottom)
A1
What is your disk configuration? Standard, RAID (what level)...
RAID1
What operating system are you using on your computer? Using what browser?
Win7 x64 w/SP1 & Firefox 21.0
Please provide any additional information below.
I've tried the following command via telnet:
1. rcall stop
2. ipkg -clean
3. aufs.sh -u
#mount: mounting aufs on / failed: Device or resources busy
#Resulted error: Unmointing /mnt/md0/Alt-F/ aufs branch failed, stop all
services first.
Original issue reported on code.google.com by guizmop...@gmail.com
on 24 May 2013 at 8:12
Attachments:
- [ipkg error.png](https://storage.googleapis.com/google-code-attachments/alt-f/issue-144/comment-0/ipkg error.png)
Well, I continued to play in the shell.
fter all the above command in the previous post, I tried those two command:
1. aufs.sh -n
2. rm -rf /mnt/md0/Alt-F /Alt-F
Then the NAS stopped working, had to unplug power cable and replug it to
restart the unit back up.
Upon restart, I was able to reinstalled ipkg.
Strange behavior, I have no idea what happenned.
Original comment by guizmop...@gmail.com
on 24 May 2013 at 8:47
I was suggesting something in the same line,
*First* stop and verify that all services are stopped (but not inetd), then try
to uninstall again.
If it still fails, try 'ipkg -clean', and if that also fails,
aufs.sh -n
rm -rf /Alt-F /mnt/md0/Alt-F /Alt-F
It is sometimes difficult to unmount aufs, because there are files
opened/running from there.
Often the above aufs.sh -n, rm ... will make the box freeze, and a power cord
unplug is needed.
'ipkg -clean' does most of the above, but sometimes manual intervention is
needed. Not fixable...
If you have a spare partition, perhaps leftovers from D-Link, than its better
to install packages there.
Thanks
Original comment by whoami.j...@gmail.com
on 24 May 2013 at 11:46
- Changed state: Done
Thanks for the info.
Original comment by guizmop...@gmail.com
on 25 May 2013 at 12:01