maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   application manager is messed up (https://talk.maemo.org/showthread.php?t=62988)

excelar8 2010-09-27 10:24

Re: application manager is messed up
 
Quote:

Originally Posted by AlMehdi (Post 827257)
It shouldn't but could..

If you try

1. sudo gainroot
2. apt-get install leafpad

and gets an error post it here.. Post the fapman log too.

And

1. leafpad /etc/apt/sources.list.d/hildon-application-manager.list

here is the fapman error log output:

--- 2010-09-27 04:21:10 ---
Start reading package lists
--- 2010-09-27 04:21:24 ---
Finished reading package lists
--- 2010-09-27 04:21:24 ---
Start fetching package dates
--- 2010-09-27 04:21:24 ---
need to fetch date for 0 packages
--- 2010-09-27 04:21:24 ---
sent 0 requests, received 0 replies with 0 errors
--- 2010-09-27 04:21:24 ---
Finished fetching package dates
--- 2010-09-27 04:21:36 ---
/usr/bin/apt-get -qsy --allow-unauthenticated -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" --auto-remove install transitioncontrol
--- 2010-09-27 04:22:05 ---
Output from last process:
---
Reading package lists...
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.2/free Packages (/opt/fapman-cache/lists/repository.maemo.org_extras_dists_fremantle-1.2_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.2/non-free Packages (/opt/fapman-cache/lists/repository.maemo.org_extras_dists_fremantle-1.2_non-free_binary-armel_Packages)
W: You may want to run apt-get update to correct these problems
E: Invalid record in the preferences file, no Package header

excelar8 2010-09-27 10:25

Re: application manager is messed up
 
Quote:

Originally Posted by AlMehdi (Post 827257)
It shouldn't but could..

If you try

1. sudo gainroot
2. apt-get install leafpad

and gets an error post it here.. Post the fapman log too.

And

1. leafpad /etc/apt/sources.list.d/hildon-application-manager.list

and here is the "apt-get install leafpad" output:

http://sphotos.ak.fbcdn.net/hphotos-..._3517507_n.jpg

AlMehdi 2010-09-27 10:34

Re: application manager is messed up
 
And this?

leafpad /etc/apt/sources.list.d/hildon-application-manager.list

excelar8 2010-09-27 10:42

Re: application manager is messed up
 
Quote:

Originally Posted by AlMehdi (Post 827283)
And this?

leafpad /etc/apt/sources.list.d/hildon-application-manager.list

oops my appologies, the output is:

"/bin/sh: leafpad not found"

AlMehdi 2010-09-27 10:52

Re: application manager is messed up
 
Quote:

Originally Posted by excelar8 (Post 827289)
oops my appologies, the output is:

"/bin/sh: leafpad not found"

Ohh.. sorry. You do not have leafpad installed.. of cource ;)

Try:

cat /etc/apt/sources.list.d/hildon-application-manager.list

excelar8 2010-09-27 10:57

Re: application manager is messed up
 
Quote:

Originally Posted by AlMehdi (Post 827296)
Ohh.. sorry. You do not have leafpad installed.. of cource ;)

Try:

cat /etc/apt/sources.list.d/hildon-application-manager.list

the output is:

/home/user # cat /etc/apt/sources.list.d/hildon-application-manager.list
deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/002 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-testing/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
deb http://moff.mozilla.com/ chinook release
deb http://moff.mozilla.com/maemo/multi/ chinook release
deb http://moff.mozilla.com/latest-beta/maemo/multi/ chinook release
deb http://repository.sygic.com/maemo/ fremantle non-free
deb http://codex.xiaoka.com/apt/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
/home/user #

AlMehdi 2010-09-27 11:07

Re: application manager is messed up
 
It should look like this

deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/002 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-testing/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb http://moff.mozilla.com/latest-beta/maemo/multi/ chinook release
deb http://repository.sygic.com/maemo/ fremantle non-free
deb http://codex.xiaoka.com/apt/ fremantle-1.2 free non-free


You should have 9 lines left after editing it..


To edit it you could use Vi.
1. vi /etc/apt/sources.list.d/hildon-application-manager.list
2. i (to start editing)
3. edit by removing the lines that are doubletts
4. Esc (in the bottom of xterm)
5. :wq (to save and quit)

ossipena 2010-09-27 11:25

Re: application manager is messed up
 
Quote:

Originally Posted by excelar8 (Post 827299)
the output is:

/home/user # cat /etc/apt/sources.list.d/hildon-application-manager.list
deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/002 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
deb http://moff.mozilla.com/ chinook release
deb http://moff.mozilla.com/maemo/multi/ chinook release
deb http://moff.mozilla.com/latest-beta/maemo/multi/ chinook release
deb http://repository.sygic.com/maemo/ fremantle non-free
deb http://codex.xiaoka.com/apt/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
/home/user #

I bolded the double entries for you

e: forget the vim part. just copypaste this to terminal if you dare (standard precautions and warnings here):
Code:

sudo gainroot
[enter]
cp /etc/apt/sources.list.d/hildon-application-manager.list /etc/apt/sources.list.d/hildon-application-manager.list.backup
[enter]
echo "deb https://downloads.maemo.nokia.com/fremantle/ssu/apps/ ./
deb https://downloads.maemo.nokia.com/fremantle/ssu/002 ./
deb https://downloads.maemo.nokia.com/fremantle1.2/ovi/ ./
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-testing/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb http://repository.maemo.org/extras-testing/ fremantle free non-free
deb http://moff.mozilla.com/ chinook release
deb http://moff.mozilla.com/maemo/multi/ chinook release
deb http://moff.mozilla.com/latest-beta/maemo/multi/ chinook release
deb http://repository.sygic.com/maemo/ fremantle non-free
deb http://codex.xiaoka.com/apt/ fremantle-1.2 free non-free
deb http://repository.maemo.org/extras/ fremantle-1.2 free non-free" > /etc/apt/sources.list.d/hildon-application-manager.list
[enter]


excelar8 2010-09-27 11:31

Re: application manager is messed up
 
Quote:

Originally Posted by AlMehdi (Post 827307)

You should have 9 lines left after editing it..


To edit it you could use Vi.
1. vi /etc/apt/sources.list.d/hildon-application-manager.list
2. i (to start editing)
3. edit by removing the lines that are doubletts
4. Esc (in the bottom of xterm)
5. :wq (to save and quit)

how do i delete the empty lines? backspacing doesn't delete them; is it okay to have blank lines? here's how it looks:

http://sphotos.ak.fbcdn.net/hphotos-..._6793382_n.jpg

i have also just tried application manager with this change, and it still says "Operation Failed." Is a reboot required, or what should i do next?

AlMehdi 2010-09-27 11:47

Re: application manager is messed up
 
Quote:

Originally Posted by excelar8 (Post 827325)
how do i delete the empty lines? backspacing doesn't delete them; is it okay to have blank lines? here's how it looks:

http://sphotos.ak.fbcdn.net/hphotos-..._6793382_n.jpg

i have also just tried application manager with this change, and it still says "Operation Failed." Is a reboot required, or what should i do next?

The extras-testing line should say "deb http://repository.maemo.org/extras-testing/ fremantle free non-free". Not "fremantle-1.2".

To edit you use "i" and to save you press Esc followed by ":wq". When you have pressed "i" you could edit it like in any normal editor. To open and edit it..
1. sudo gainroot
2. vi /etc/apt/sources.list.d/hildon-application-manager.list

You could use cat to see if everything looks alright:
3. cat /etc/apt/sources.list.d/hildon-application-manager.list

Then update:
4. apt-get update


All times are GMT. The time now is 08:51.

vBulletin® Version 3.8.8