maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   [SOLVED] apt-get error (https://talk.maemo.org/showthread.php?t=89433)

Adethewura 2013-10-05 17:46

Re: [SOLVED] apt-get error
 
Woooow! i can't find the folder anymore in the HAM. We are moving forward now! Thanks man. But it is yet unfinished as I can't still use certain applications. Waiting for the next instruction. Thanks man!

Adethewura 2013-10-05 18:01

Re: [SOLVED] apt-get error
 
How do i get the packages apt-get is complaining of installed? And can you pls tell me the implication of not installing them? Thanks

Adethewura 2013-10-05 18:05

Re: [SOLVED] apt-get error
 
Is it the likes of libqtm-publishsubscribe (>= 1:1.0.2-maemo) and the rest are the packages I have to install?

michaaa62 2013-10-05 18:33

Re: [SOLVED] apt-get error
 
Looks good!
Now
Code:

sudo gainroot
rm -rf /and/*
umount /and
rmdir /and

to get rid of the last cruft.

michaaa62 2013-10-05 18:44

Re: [SOLVED] apt-get error
 
Then try to install the autoremoved packages. But this might be a lengthy try-and-error process
Code:

sudo gainroot
apt-get install 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


Adethewura 2013-10-05 19:41

Re: [SOLVED] apt-get error
 
Here's the results of the first comman:


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 # rm -rf /and/*
/home/user # umount /and
umount: cannot umount /and: No such file or directory
/home/user # rmdir /and
rmdir: '/and': No such file or directory
/home/user #

And the results of the second 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 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
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqtm-serviceframework is already the newest version.
libqtm-serviceframework set to manually installed.
rtcom-accounts-plugin-facebook is already the newest version.
rtcom-accounts-plugin-facebook set to manually installed.
rtcom-skype-emoticons-theme is already the newest version.
rtcom-skype-emoticons-theme set to manually installed.
nokiamaps-navigation-provider-settings-203 is already the newest version.
nokiamaps-navigation-provider-settings-203 set to manually installed.
rtcom-accounts-voip-support is already the newest version.
rtcom-accounts-voip-support set to manually installed.
libqtm-publishsubscribe is already the newest version.
libqtm-publishsubscribe set to manually installed.
cherry is already the newest version.
cherry set to manually installed.
dsme-thermalobject-surface is already the newest version.
dsme-thermalobject-surface set to manually installed.
modest-home-applet is already the newest version.
modest-home-applet set to manually installed.
libqtm-versit is already the newest version.
libqtm-versit set to manually installed.
microb-geolocation is already the newest version.
microb-geolocation set to manually installed.
libqt4-translations is already the newest version.
libqt4-translations set to manually installed.
maemo-optify-runonce is already the newest version.
maemo-optify-runonce set to manually installed.
libqtm-sensors is already the newest version.
libqtm-sensors set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 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
Errors were encountered while processing:
maeflight
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

michaaa62 2013-10-06 06:55

Re: [SOLVED] apt-get error
 
Reading through all your posts...
There are a couple of weird stuff happening at the same time. Could you please point me to the How-to you were following to install Nitdroid to the N900. Might give a clue what causes this mess.

To get rid of maeflight, please try this as root http://talk.maemo.org/showpost.php?p...2&postcount=57

There are a couple of folders on your device, that might need a short explanation, which application might be responsible for the creation of those. These are
Quote:

-rw------- 1 root root 0 Jan 1 1970 core
drwxr-xr-x 3 root root 232 Jul 6 17:31 dbus-1
-rw-rw-rw- 1 root root 4 Jan 1 1970 fb-progress.pid
-rw-r--r-- 1 root root 10377 Jan 1 2000 rb.log
drwxr-xr-x 3 root root 240 Jan 1 2000 rescue
Couple of applications might have created those like dbus, wazapp, facebook, rescue-os ...
Please try to remember the 'history' of the N900 software.

Adethewura 2013-10-06 11:20

Re: [SOLVED] apt-get error
 
Yeaaaaaa! The link you gave removed maeflight finally! I'm so happy now! Thanks so much. The next line of action is to get my applications running like before. For the process I followed to install nitdroid. Having tried other methods, I used autoinstaller which intially came up with an error that I already have /and as partiton. I then followed a thread which showed how I could remove the directory /and. After I removed the directly via cuteexplorer, I was able to run the nitdroid installation process vis xterminal. Unfortunately, network connection became very bad and the process was stalled for severall minutes. Then i chose to abort the process and that was the point the problem started. Meanwhile, i had tried a process which resulted into wiping off all my data but I was desperate to have android on my phone which informed my decision to try again. There was no problem such as not being able to open my applications except that i had to start the registration of Yappari from the scratch. But now, yappari won't open. It only boots then shuts down.

michaaa62 2013-10-06 12:42

Re: [SOLVED] apt-get error
 
Could be some permissions problem, a corrupted file system or some other error triggered by the terminated download. Please run some more commands to check
Code:

mount
df
free
sudo gainroot
umount /dev/mmcblk0p1
fsck -af /dev/mmcblk0p1
fsck -af /dev/mmcblk0p1
chown -R user:users /home/user

After those commands show no error, you might want to reboot. If errors occur, do not reboot, but post the errors here, please.

Adethewura 2013-10-06 14:16

Re: [SOLVED] apt-get error
 
Here's what I got
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)
~ $ df
Filesystem 1k-blocks Used Available Use% Mounted on
rootfs 233224 156492 72452 68% /
ubi0:rootfs 233224 156492 72452 68% /
tmpfs 1024 76 948 7% /tmp
tmpfs 256 92 164 36% /var/run
none 10240 72 10168 1% /dev
tmpfs 65536 4 65532 0% /dev/shm
/dev/mmcblk0p2 2064208 517764 1441588 26% /home
/home/opt 2064208 517764 1441588 26% /opt
/opt/pymaemo/usr/lib/python2.5
2064208 517764 1441588 26% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
2064208 517764 1441588 26% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
2064208 517764 1441588 26% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
2064208 517764 1441588 26% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
2064208 517764 1441588 26% /usr/lib/python-support
/dev/mmcblk0p1 28312128 5447808 22864320 19% /home/user/MyDocs
~ $ free
total used free shared buffers
Mem: 245540 239768 5772 0 6512
Swap: 786424 41784 744640
Total: 1031964 281552 750412
~ $ 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 # umount /dev/mmcblk0p1
/home/user # fsck -af /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/mmcblk0p1: 5889 files, 85122/442377 clusters
/home/user # fsck -af /dev/mmcblk0p1
fsck 1.41.3.maemo0 (12-Oct-2008)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/mmcblk0p1: 5889 files, 85122/442377 clusters
/home/user # chown -R user:users /home/user
chown: /home/user/.obex-root/.capability.xml: No such file or directory
chown: /home/user/.obex-root/Video clips: No such file or directory
chown: /home/user/.obex-root/Audio clips: No such file or directory
chown: /home/user/.obex-root/Documents: No such file or directory
chown: /home/user/.obex-root/Camera: No such file or directory
chown: /home/user/.obex-root/.settings: No such file or directory
chown: /home/user/.activesync/certs/e7b8d656.0: No such file or directory
chown: /home/user/.activesync/certs/412bea73.0: No such file or directory
chown: /home/user/.activesync/certs/bcdd5959.0: No such file or directory
chown: /home/user/.activesync/certs/399e7759.0: No such file or directory
chown: /home/user/.activesync/certs/54edfa5d.0: No such file or directory
chown: /home/user/.activesync/certs/c19d42c7.0: No such file or directory
chown: /home/user/.activesync/certs/256fd83b.0: No such file or directory
chown: /home/user/.activesync/certs/ccb919f9.0: No such file or directory
chown: /home/user/.activesync/certs/7d3cd826.0: No such file or directory
chown: /home/user/.activesync/certs/e775ed2d.0: No such file or directory
chown: /home/user/.activesync/certs/add67345.0: No such file or directory
chown: /home/user/.activesync/certs/6adf0799.0: No such file or directory
chown: /home/user/.activesync/certs/ed62f4e3.0: No such file or directory
chown: /home/user/.activesync/certs/a6776c69.0: No such file or directory
chown: /home/user/.activesync/certs/594f1775.0: No such file or directory
chown: /home/user/.activesync/certs/7d453d8f.0: No such file or directory
chown: /home/user/.activesync/certs/bf87590f.0: No such file or directory
chown: /home/user/.activesync/certs/cdaebb72.0: No such file or directory
chown: /home/user/.activesync/certs/2edf7016.0: No such file or directory
chown: /home/user/.activesync/certs/3ad48a91.0: No such file or directory
chown: /home/user/.activesync/certs/124bbd54.0: No such file or directory
chown: /home/user/.activesync/certs/23f4c490.0: No such file or directory
chown: /home/user/.activesync/certs/69105f4f.0: No such file or directory
chown: /home/user/.activesync/certs/c527e4ab.0: No such file or directory
chown: /home/user/.activesync/certs/0481cb65.0: No such file or directory
chown: /home/user/.activesync/certs/56b8a0b6.0: No such file or directory
chown: /home/user/.activesync/certs/c215bc69.0: No such file or directory
chown: /home/user/.activesync/certs/b0f3e76e.0: No such file or directory
chown: /home/user/.activesync/certs/11a09b38.0: No such file or directory
chown: /home/user/.activesync/certs/ff783690.0: No such file or directory
chown: /home/user/.activesync/certs/052e396b.0: No such file or directory
chown: /home/user/.activesync/certs/d2adc77d.0: No such file or directory
chown: /home/user/.activesync/certs/86f32474.0: No such file or directory
chown: /home/user/.activesync/certs/ddc328ff.0: No such file or directory
chown: /home/user/.activesync/certs/8317b10c.0: No such file or directory
chown: /home/user/.activesync/certs/4d654d1d.0: No such file or directory
chown: /home/user/.activesync/certs/0dbd0096.0: No such file or directory
chown: /home/user/.activesync/certs/cf701eeb.0: No such file or directory
chown: /home/user/.activesync/certs/5046c355.0: No such file or directory
chown: /home/user/.activesync/certs/9ec3a561.0: No such file or directory
chown: /home/user/.activesync/certs/f4996e82.0: No such file or directory
chown: /home/user/.activesync/certs/f3cf1e8e.0: No such file or directory
chown: /home/user/.activesync/certs/6e8bf996.0: No such file or directory
chown: /home/user/.activesync/certs/ed049835.0: No such file or directory
chown: /home/user/.activesync/certs/9772ca32.0: No such file or directory
chown: /home/user/.activesync/certs/d78a75c7.0: No such file or directory
chown: /home/user/.activesync/certs/33815e15.0: No such file or directory
chown: /home/user/.activesync/certs/4fbd6bfa.0: No such file or directory
chown: /home/user/.activesync/certs/c33a80d4.0: No such file or directory
chown: /home/user/.activesync/certs/7651b327.0: No such file or directory
chown: /home/user/.activesync/certs/a7605362.0: No such file or directory
chown: /home/user/.activesync/certs/e268a4c5.0: No such file or directory
chown: /home/user/.activesync/certs/bda4cc84.0: No such file or directory
chown: /home/user/.activesync/certs/0c364b2d.0: No such file or directory
chown: /home/user/.activesync/certs/95750816.0: No such file or directory
chown: /home/user/.activesync/certs/5a5372fc.0: No such file or directory
chown: /home/user/.mozilla/microb/lock: No such file or directory
chown: /home/user/.mozilla/rtcom/lock: No such file or directory
/home/user #
NB: I made a mistake initially by enabling sudo gainroot first. But i noticed I could not save anything until when i did a reboot. Thanks

chilango 2013-10-07 18:51

Re: [SOLVED] apt-get error
 
Hy there,
i will put my problem here.
Installing maeflight it give me this output

RM696-21-3:~# apt-get install maeflight
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
maeflight
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/21.5kB of archives.
After this operation, 131kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
maeflight
Install these packages without verification [y/N]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "de_DE.UTF-8",
LC_MONETARY = "de_DE.UTF-8",
LC_ADDRESS = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_NUMERIC = "de_DE.UTF-8",
LC_PAPER = "de_DE.UTF-8",
LANG = "de"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
aegis-deb-release: Missing ':' in '</html>
'
Aegis rejecting /var/cache/apt/archives/maeflight_1.0.1_armel.deb: package 'maeflight' origin cannot be determined -- signature check failed
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
Updating desktop entries... Done
E: Sub-process /usr/bin/dpkg returned an error code (255)


Someone can help me?

michaaa62 2013-10-08 05:52

Re: [SOLVED] apt-get error
 
You might want to post in the dedicated Maeflight thread http://talk.maemo.org/showthread.php...ight=maeflight , for N9 users to look at the output. Seems Maeflight only works on N9 lately.

chilango 2013-10-08 14:54

Re: [SOLVED] apt-get error
 
Ok. Thanks and thats solved my problem. The deb from openrepos is working.


All times are GMT. The time now is 10:24.

vBulletin® Version 3.8.8