![]() |
Re: [SOLVED] apt-get error
Below is the first command results:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # apt-get install maeflight Reading package lists... Done Building dependency tree Reading state information... Done maeflight is already the newest version. The following packages were automatically installed and are no longer required: libqtm-serviceframework rtcom-accounts-plugin-facebook rtcom-skype-emoticons-theme nokiamaps-navigation-provider-settings-203 rtcom-accounts-voip-support libqtm-publishsubscribe cherry dsme-thermalobject-surface modest-home-applet libqtm-versit microb-geolocation libqt4-translations maemo-optify-runonce libqtm-sensors Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up maeflight (5.1.3-1) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing maeflight (--configure): subprocess post-installation script returned error exit status 2 Setting up nitdroid-kernel-2.6.28-07 (6-rc6) ... Android not mounted on '/and'. Can't do anything dpkg: error processing nitdroid-kernel-2.6.28-07 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: maeflight nitdroid-kernel-2.6.28-07 E: Sub-process /usr/bin/dpkg returned an error code (1) /home/user # apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libqtm-serviceframework rtcom-accounts-plugin-facebook rtcom-skype-emoticons-theme nokiamaps-navigation-provider-settings-203 rtcom-accounts-voip-support libqtm-publishsubscribe cherry dsme-thermalobject-surface modest-home-applet libqtm-versit microb-geolocation libqt4-translations maemo-optify-runonce libqtm-sensors Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up maeflight (5.1.3-1) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing maeflight (--configure): subprocess post-installation script returned error exit status 2 Setting up nitdroid-kernel-2.6.28-07 (6-rc6) ... Android not mounted on '/and'. Can't do anything dpkg: error processing nitdroid-kernel-2.6.28-07 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: maeflight nitdroid-kernel-2.6.28-07 E: Sub-process /usr/bin/dpkg returned an error code (1) /home/user # Below is the second command results: BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # mount rootfs on / type rootfs (rw) ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /tmp type tmpfs (rw,noatime,size=1024k) tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755) none on /dev type tmpfs (rw,noatime,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k) /dev/mmcblk0p2 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writebac k) /home/opt on /opt type none (bind) cgroup on /dev/cgroup/cpu type cgroup (cpu,memory) nodev on /sys/kernel/debug type debugfs (0) /opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind) /opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind) /opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind) /opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind) /opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind) /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime, utf8,uid=29999,shortname=mixed,dmask=000,fmask=013 3,rodir) /dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime, utf8,uid=29999,shortname=mixed,dmask=000,fmask=013 3,rodir) /home/user # ls -al /home drwxr-xr-x 5 user users 4096 Oct 2 14:52 . drwxr-xr-x 26 root root 1896 Oct 4 17:36 .. drwxr-xr-x 2 root root 4096 Oct 2 02:31 .apt-archive-cache drwxr-xr-x 73 root root 4096 Oct 5 11:46 opt drwxr-xr-x 42 user users 4096 Oct 5 13:12 user /home/user # la -al / /bin/sh: la: not found /home/user # la -al / /bin/sh: la: not found /home/user # |
Re: [SOLVED] apt-get error
Now even i share the typo business :eek::eek:
Excuse me,please. Lets start over with the commands. First install maeflight and wget to get rid of this issue, hopefully Code:
sudo gainroot Code:
ls -al / |
Re: [SOLVED] apt-get error
There you go:
Results of the first command BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # apt get install wget maeflight /bin/sh: apt: not found /home/user # Results of the second command |
Re: [SOLVED] apt-get error
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # ls -al / drwxr-xr-x 26 root root 1896 Oct 4 17:36 . drwxr-xr-x 26 root root 1896 Oct 4 17:36 .. drwxr-xr-x 2 root root 160 Feb 16 2010 .dev drwxr-xr-x 2 root root 3920 Oct 4 17:10 bin drwxr-xr-x 3 root root 232 Oct 2 02:03 boot drwxr-xr-x 2 root root 160 Feb 16 2010 cdrom -rw------- 1 root root 0 Jan 1 1970 core drwxr-xr-x 3 root root 232 Jul 6 17:31 dbus-1 drwxr-xr-x 10 root root 3480 Jan 1 2000 dev drwxr-xr-x 87 root root 9616 Jan 1 2000 etc -rw-rw-rw- 1 root root 4 Jan 1 1970 fb-progress.pid drwxr-xr-x 2 root root 160 Feb 16 2010 floppy drwxr-xr-x 5 user users 4096 Oct 2 14:52 home drwxr-xr-x 2 root root 160 Feb 16 2010 initrd drwxr-xr-x 8 root root 6200 Oct 2 22:56 lib drwxr-xr-x 3 root root 224 Jun 9 12:55 media drwxr-xr-x 3 root root 232 Jan 1 1970 mnt drwxr-xr-x 73 root root 4096 Oct 5 11:46 opt dr-xr-xr-x 169 root root 0 Jan 1 1970 proc -rw-r--r-- 1 root root 10377 Jan 1 2000 rb.log drwxr-xr-x 3 root root 240 Jan 1 2000 rescue drwxr-xr-x 6 root root 856 Oct 5 13:13 root drwxr-xr-x 2 root root 5952 Apr 7 08:34 sbin drwxr-xr-x 2 root root 160 Feb 16 2010 srv drwxr-xr-x 12 root root 0 Jan 1 1970 sys drwxr-xr-x 2 root root 160 Apr 4 2010 syspart drwxrwxrwt 9 root root 800 Oct 5 13:18 tmp drwxr-xr-x 13 root root 928 Sep 21 13:59 usr drwxr-xr-x 14 root root 936 Feb 16 2010 var /home/user # ls -al /home/user drwxr-xr-x 42 user users 4096 Oct 5 13:12 . drwxr-xr-x 5 user users 4096 Oct 2 14:52 .. drwx------ 2 user users 4096 Oct 4 19:04 .AbiSuite drwxr-xr-x 3 root root 4096 Feb 15 2010 .activesync drwxr-xr-x 2 user users 4096 Oct 2 02:46 .backgrounds drwxr-xr-x 3 user users 4096 Oct 2 02:45 .bookmarks -rw------- 1 user users 333 Oct 5 13:43 .browser -rw-r--r-- 1 user users 225 Oct 5 12:39 .browser_typed_urls drwxr-xr-x 6 user users 4096 Oct 5 13:14 .cache drwxr-xr-x 2 user users 4096 Oct 4 19:06 .calendar drwxr-xr-x 2 user users 4096 Oct 4 19:06 .clock -rw-r--r-- 1 user users 77 Oct 5 13:12 .clockd.conf drwxr-xr-x 11 user users 4096 Oct 5 11:54 .config drwx------ 3 user users 4096 Oct 2 01:46 .dbus drwx------ 2 user users 4096 Oct 2 01:45 .gnome2 drwx------ 2 root root 4096 Oct 2 02:30 .gnupg drwxr-xr-x 2 user users 4096 Oct 4 23:08 .gstreamer-0.10 drwxr-xr-x 2 user users 4096 Oct 4 16:35 .hildon-application-manager drwxr-xr-x 4 user root 4096 Oct 4 19:06 .intellisyncd drwx------ 3 user users 4096 Oct 2 02:45 .local drwx------ 4 user users 4096 Oct 2 01:45 .maemosec-certs drwx------ 3 user users 4096 Oct 2 01:45 .maemosec-secure drwx------ 2 user users 4096 Oct 2 20:04 .mafw-playlists drwx------ 2 user users 4096 Oct 4 19:06 .mafw-playlists.backup -rw-r--r-- 1 user users 10240 Oct 4 23:05 .mafw.db drwxr-xr-x 5 user users 4096 Oct 2 02:56 .modest drwx------ 6 user users 4096 Oct 2 16:19 .mozilla drwxr-xr-x 2 user users 4096 Oct 2 02:45 .netstory dr-xr-x--- 2 user users 4096 Nov 14 2010 .obex-root drwx------ 9 user users 4096 Oct 5 13:50 .opera drwxr-xr-x 5 user users 4096 Oct 5 11:24 .osso drwx------ 4 user users 4096 Oct 4 22:32 .osso-abook drwx------ 3 user users 4096 Oct 4 19:06 .osso-abook-backup drwxr-xr-x 2 user users 4096 Oct 2 02:46 .osso-backup drwxr-xr-x 2 user users 4096 Aug 28 2009 .osso-cud-scripts drwxr-xr-x 3 user users 4096 Oct 2 01:45 .osso_rss_feed_reader drwxr-xr-x 2 user users 4096 Oct 2 20:55 .profiled drwx------ 2 user users 4096 Jan 1 2000 .pulse -rw------- 1 user users 256 Oct 2 01:45 .pulse-cookie drwx------ 3 user users 4096 Oct 4 22:57 .rtcom-accounts drwx------ 3 user users 4096 Oct 4 19:06 .rtcom-eventlogger drwxr-xr-x 2 user users 4096 Oct 2 07:06 .rtcom-messaging-ui drwxr-xr-x 2 root root 4096 Oct 4 22:31 .signon drwxr-xr-x 2 user users 4096 Mar 25 2013 .someplayer -rw-r--r-- 1 user users 23330 Jun 22 2010 .sso-autologin.prefs drwxr-x--- 6 user users 4096 Oct 2 18:02 .thumbnails drwxrwxrwx 15 user root 65536 Oct 5 13:13 MyDocs drwxr-xr-x 2 user users 4096 Oct 4 21:07 Playlists -rw-r--r-- 1 root root 4521 Oct 5 12:39 Xorg.0.log /home/user # ls -al /home/user/MyDocs/.nitdroid ls: /home/user/MyDocs/.nitdroid: No such file or directory /home/user # |
Re: [SOLVED] apt-get error
I've been removing some of the applications that are no more functional. Could that be the cause?
|
Re: [SOLVED] apt-get error
Please try to copy and paste the commands i gave you for wget and maeflight. Though there might be the chance of human error on my side as well, along with my failing keyboard, it is your best chance to get things working.
For the nitroid-kernel: As there are no nitdroid cruft in your file system, you could use some stronger commands to get rid Code:
sudo gainroot |
Re: [SOLVED] apt-get error
After entering the command, I got this:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # dpkg -r --force-remove-reinstreq nitdroid-kernel-2.6.28-07 (Reading database ... 42769 files and directories currently installed.) Removing nitdroid-kernel-2.6.28-07 ... Android not found. MUST be mounted on '/and' dpkg: error processing nitdroid-kernel-2.6.28-07 (--remove): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: nitdroid-kernel-2.6.28-07 /home/user # I'm just hoping for the best. And if I have to reflash the phone, I wouldn't mind. I did copy the commands you gave correctly. Thanks for being there. Hope to read from you. |
Re: [SOLVED] apt-get error
I copied and pasted the wget command and later learnt from the results that I could use 'apt-get autoremove'. Below is the results
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # apt-get install wget maeflight Reading package lists... Done Building dependency tree Reading state information... Done wget is already the newest version. wget set to manually installed. maeflight is already the newest version. The following packages were automatically installed and are no longer required: libqtm-serviceframework rtcom-accounts-plugin-facebook rtcom-skype-emoticons-theme nokiamaps-navigation-provider-settings-203 rtcom-accounts-voip-support libqtm-publishsubscribe cherry dsme-thermalobject-surface modest-home-applet libqtm-versit microb-geolocation libqt4-translations maemo-optify-runonce libqtm-sensors Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up maeflight (5.1.3-1) ... dpkg (subprocess): unable to execute post-installation script: Exec format error dpkg: error processing maeflight (--configure): subprocess post-installation script returned error exit status 2 Setting up nitdroid-kernel-2.6.28-07 (6-rc6) ... Android not mounted on '/and'. Can't do anything dpkg: error processing nitdroid-kernel-2.6.28-07 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: maeflight nitdroid-kernel-2.6.28-07 E: Sub-process /usr/bin/dpkg returned an error code (1) /home/user # apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libqtm-serviceframework rtcom-accounts-plugin-facebook rtcom-skype-emoticons-theme nokiamaps-navigation-provider-settings-203 rtcom-accounts-voip-support libqtm-publishsubscribe cherry dsme-thermalobject-surface modest-home-applet libqtm-versit microb-geolocation libqt4-translations maemo-optify-runonce libqtm-sensors Hmm, seems like the AutoRemover destroyed something which really shouldn't happen. Please file a bug report against apt. The following information may help to resolve the situation: The following packages have unmet dependencies: qtm-maemo-metapackage: Depends: libqtm-publishsubscribe (>= 1:1.0.2-maemo1) but it is not going to be installed Depends: libqtm-sensors (>= 1:1.0.2-maemo1) but it is not going to be installed Depends: libqtm-serviceframework (>= 1:1.0.2-maemo1) but it is not going to be installed Depends: libqtm-versit (>= 1:1.0.2-maemo1) but it is not going to be installed E: Internal Error, AutoRemover broke stuff /home/user # |
Re: [SOLVED] apt-get error
Aaargh, my apt-get capabilities seems to have left me...
Now try this please Code:
sudo gainroot Quote:
NEVER use autoremove, if you do not know what removal is connected to which formerly installed package! |
Re: [SOLVED] apt-get error
Ok thanks. This is what I got after entering the commands
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. ~ $ sudo gainroot Root shell enabled BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # mkdir /and /home/user # mount /home /and /home/user # mkdir -p /and/system/etc /home/user # mkdir -p /and/system/lib/modules/2.6.28.NIT.07 /home/user # dpkg -r --force-remove-reinstreq nitdroid-kernel-2.6.28-07 (Reading database ... 42769 files and directories currently installed.) Removing nitdroid-kernel-2.6.28-07 ... Deleting leftover 2.6.28.NIT.07 modules in Android... Deleting leftover 2.6.28.NIT.07 modules in Maemo... dpkg - warning: while removing nitdroid-kernel-2.6.28-07, unable to remove directory `/and': Device or resource busy - directory may be a mount point ? dpkg - warning: while removing nitdroid-kernel-2.6.28-07, directory `/and/system' not empty so not removed. dpkg - warning: while removing nitdroid-kernel-2.6.28-07, unable to remove directory `/and': Device or resource busy - directory may be a mount point ? /home/user # still hoping. I really appreciate your time. Thanks once again |
All times are GMT. The time now is 23:09. |
vBulletin® Version 3.8.8