atunguyd |
2010-01-11 23:19 |
Re: MyMenu
As I said earlier I managed to freeze up my rebooting problem and then ssh into the device and attempt to remove mymenu. This fixed my rebooting problem but made my desktop unresponsive.
The only thing I can think of that is different in my device is that I symlinked the /var/lib/dpkg to /opt/var/lib/dpkg and /var/lib/atp to /opt/var/lib/atp
I dont know if installing mymenu did it but I did notice after installing mymenu that the directory /opt/var/lib now had more entries than just apt and dpkg
The reason I am thinking that this might have caused the problem is that trying to uninstall mymenu with apt-get remove mymenu gave a whole host of errors.
I did not capture these errors but I did then try reinstall mymenu and got similar errors which I can reproduce below. My current thinking is that the installation of mymenu went badly and hence killed my hildon desktop.
Code:
Nokia-N900-42-11:~#
Nokia-N900-42-11:~# mkdir /opt/menu-update
Nokia-N900-42-11:~# apt-get install --reinstall mymenu
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/71.5kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
mymenu
Install these packages without verification [y/N]? y
(Reading database ... 23678 files and directories currently installed.)
Preparing to replace mymenu 0.4.3.20100109 (using .../mymenu_0.4.3.20100109_armel.deb) ...
rm: cannot remove '/etc/xdg/menus/hildon.menu': No such file or directory
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
rm: cannot remove '/opt/menu-update': No such file or directory
dpkg: error processing /var/cache/apt/archives/mymenu_0.4.3.20100109_armel.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
gtk-update-icon-cache: Cache file created successfully.
/var/lib/dpkg/info/mymenu.postinst: cd: line 364: can't cd to /opt/menu-update/mymenu/new
touch: /opt/menu-update/mymenu/new/hildon.menu: No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
cat: can't open '/opt/menu-update/category': No such file or directory
/var/lib/dpkg/info/mymenu.postinst: line 465: cannot create /opt/menu-update/mymenu/new/hildon.menu: nonexistent directory
no Science+learn
no office
no multimedia
no Programmierung
no Spiele
no Graphics
no Netzwerk
no gps
no System
no sonstige
no tools
/var/lib/dpkg/info/mymenu.postinst: line 623: cannot create /opt/menu-update/mymenu/new/hildon.menu: nonexistent directory
hildon.menu gebaut
Stopping hildon-desktop
stop hildon-desktop
rm: cannot remove '/etc/xdg/menus/hildon.menu': No such file or directory
rm hildon.menu
cp: cannot stat '/opt/menu-update/mymenu/new/hildon.menu': No such file or directory
cp hildon.menu
start hildon-desktop
Starting hildon-desktop
cp: cannot stat '/opt/menu-update/mymenu/sudoers.d/*': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/mymenu_0.4.3.20100109_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900-42-11:~#
{edit} on the plus side I reflashed my device and lost no settings - only took about an hour to get back to where I was so I am not all that upset with mymenu anymore.
|