maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

impeham 2012-05-11 10:21

Re: Easy Debian Fremantle Beta Testing
 
i just started to use a fresh image "debian-m5-estel.img" and without installing anything, just wanted to update all packages, so i used the following:

apt-get update
apt-get upgrade -f
apt-get upgrade --fix-missing (was suggested to run this in output of previous command)

now when i run "apt-get update" -> no errors - finishes with no suggested updates
running apt-get upgrade generates the following:
---
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
file : Depends: libmagic1 (= 5.04-5+squeeze2) but 5.04-5 is installed
E: Unmet dependencies. Try using -f.
----

running "apt-get upgrade -f" generates the following:

----
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages have been kept back:
debian-multimedia-keyring libsmbclient pulseaudio samba-common smbclient ttf-opensymbol
The following packages will be upgraded:
libmagic1 libssl0.9.8
2 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
70 not fully installed or removed.
Need to get 0 B/1,121 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
E: read, still have 12 to read but none left
E: Error reading archive member header
E: Prior errors apply to /var/cache/apt/archives/libmagic1_5.04-5+squeeze2_armel.deb
debconf: apt-extracttemplates failed: Bad file descriptor
Preconfiguring packages ...
(Reading database ... 65036 files and directories currently installed.)
Preparing to replace libssl0.9.8 0.9.8o-4squeeze7 (using .../libssl0.9.8_0.9.8o-4squeeze12_armel.deb) ...
Unpacking replacement libssl0.9.8 ...
dpkg: error processing /var/cache/apt/archives/libssl0.9.8_0.9.8o-4squeeze12_armel.deb (--unpack):
corrupted filesystem tarfile - corrupted package archive
configured to not write apport reports
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace libtiff4 3.9.4-5+squeeze4 (using .../libmagic1_5.04-5+squeeze2_armel.deb) ...
Unpacking replacement libtiff4 ...
Errors were encountered while processing:
/var/cache/apt/archives/libssl0.9.8_0.9.8o-4squeeze12_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
----

Am i doing something wrong?

sulu 2012-05-11 11:19

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by impeham (Post 1205131)
Need to get 0 B/1,121 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
E: read, still have 12 to read but none left
E: Error reading archive member header
E: Prior errors apply to /var/cache/apt/archives/libmagic1_5.04-5+squeeze2_armel.deb
debconf: apt-extracttemplates failed: Bad file descriptor

It seems like apt thinks that you've already downloaded libmagic1 but it can't find the package.
Please run
Code:

apt-get clean
and try to upgrade again!

Estel 2012-05-11 11:25

Re: Easy Debian Fremantle Beta Testing
 
I got little different question. One of Easy Debian dependencies is Murina Orange theme (for Maemo). It's great for many purposes - i.e. running Debian programs from within Maemo, via debbie - but it got big drawback. Somehow, it replaces "default" theme in situations, where Hildon GTK2 theme is unset - so, murina orange is seen in Truecrypt, or any other application with hildon theme unset before execution.

As Murina actually makes interface elements bigger, the result is, that many times important elements are "hidden", overlapped etc.

Any idea how to disable it for such situations, or at least, easily disable/enable it when needed?

/Estel

impeham 2012-05-11 16:54

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by sulu (Post 1205155)
It seems like apt thinks that you've already downloaded libmagic1 but it can't find the package.
Please run
Code:

apt-get clean
and try to upgrade again!

Thanks - problem solved.

impeham 2012-05-11 16:56

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Estel (Post 1202424)
Haven't You though about starting from fresh image again? Lately, You seem to have many problems, that are hard to solve without knowing their source.

/Estel

Started from a fresh image, installed all updates first and then installed my wanted packages.

No problems with the updates anymore.

ArchiMark 2012-05-11 17:19

Re: Easy Debian Fremantle Beta Testing
 
Two more ED questions please....using Estel's image file....

1. Tried watching a youtube video, first by using Epiphany browser....browser crashed, ie, window disappeared as it tried loading webpage with video....then tried Chromium browser, page loads, but don't see video, just black window with the little spinning circle thingie.....left window for long time (about 15-20 minutes...), but it never loads video....

Is this problem a function of limited functionality of ED and N900?

Anyway to get this working?


2. In order to log in to some webpages, I need to be able to type in my email address. However, when I try typing the '@' symbol, nothing happens....

How do I get this fixed?

Thanks!

Estel 2012-05-11 18:11

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by ArchiMark (Post 1205346)
Two more ED questions please....using Estel's image file....

1. Tried watching a youtube video, first by using Epiphany browser....browser crashed, ie, window disappeared as it tried loading webpage with video....then tried Chromium browser, page loads, but don't see video, just black window with the little spinning circle thingie.....left window for long time (about 15-20 minutes...), but it never loads video....

Is this problem a function of limited functionality of ED and N900?

Anyway to get this working?

There are reports of bringing it to working state, but it's still too much memory hog. For watching flash videos, microB is still recommended.

Quote:

Originally Posted by ArchiMark (Post 1205346)
2. In order to log in to some webpages, I need to be able to type in my email address. However, when I try typing the '@' symbol, nothing happens....

How do I get this fixed?

Thanks!

copy Your (Maemo's) [b]/usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file into Your *debian's* /usr/share/X11/xkb/symbols/nokia_vndr. From within Maemo, when Debian is mounted and .chrooted, it's /.debian//usr/share/X11/xkb/symbols/nokia_vndr, where You should copy file to. This way, you'll have exactly same hardware keyboard mapping, as in Maemo - of course, if You setxkbmap <your language> inside ED, or via Ed autostart script.

In layout that is found default in ED (before You copy rx-51), @ is just blue arrow + shift + space. Blue arrow + space is TAB. Default config is actually very useful, and contain many symbols assigned to blue arrow + shift + key, but I think that everyone will like own mapping's most.

/Estel

ArchiMark 2012-05-11 21:30

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Estel (Post 1205373)
There are reports of bringing it to working state, but it's still too much memory hog. For watching flash videos, microB is still recommended.

OK, thanks for explaining....



Quote:

copy Your (Maemo's) [b]/usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file into Your *debian's* /usr/share/X11/xkb/symbols/nokia_vndr. From within Maemo, when Debian is mounted and .chrooted, it's /.debian//usr/share/X11/xkb/symbols/nokia_vndr, where You should copy file to.
OK, done....

Quote:

This way, you'll have exactly same hardware keyboard mapping, as in Maemo - of course, if You setxkbmap <your language> inside ED, or via Ed autostart script.
By 'ED autostart script', do you refer to
'/etc/xdg/lxsession/LXDE/autostart' or ?

If you meant in '/etc/xdg/lxsession/LXDE/autostart', then would I enter a line like this:

Code:

@setxkbmap us
Or ?



Quote:

In layout that is found default in ED (before You copy rx-51), @ is just blue arrow + shift + space. Blue arrow + space is TAB. Default config is actually very useful, and contain many symbols assigned to blue arrow + shift + key, but I think that everyone will like own mapping's most.

/Estel
Thanks for the info...it worked, but as you say, would prefer US keyboard mapping as I'm used to it now...

Estel 2012-05-12 20:10

Re: Easy Debian Fremantle Beta Testing
 
Yes, I mean file You've mentioned. It isn't working for You, or You've asked just in case?

ArchiMark 2012-05-12 21:12

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Estel (Post 1205839)
Yes, I mean file You've mentioned. It isn't working for You, or You've asked just in case?

Thanks for confirming file....

I just wanted to make sure that I am doing the right thing....trying to avoid making more mistakes and screw-ups than I already do..... :rolleyes:

So, I edited that file as I noted in my previous post and keyboard mapping is good no, ie, same as in Maemo....

Thanks!


All times are GMT. The time now is 18:58.

vBulletin® Version 3.8.8