Notices


Reply
Thread Tools
Posts: 195 | Thanked: 102 times | Joined on Feb 2010 @ Vancouver, Canada
#21
Originally Posted by AlMehdi View Post
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

Last edited by excelar8; 2010-09-27 at 10:51.
 
Posts: 195 | Thanked: 102 times | Joined on Feb 2010 @ Vancouver, Canada
#22
Originally Posted by AlMehdi View Post
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:


Last edited by excelar8; 2010-09-27 at 10:50.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#23
And this?

leafpad /etc/apt/sources.list.d/hildon-application-manager.list
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 

The Following User Says Thank You to AlMehdi For This Useful Post:
Posts: 195 | Thanked: 102 times | Joined on Feb 2010 @ Vancouver, Canada
#24
Originally Posted by AlMehdi View Post
And this?

leafpad /etc/apt/sources.list.d/hildon-application-manager.list
oops my appologies, the output is:

"/bin/sh: leafpad not found"
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#25
Originally Posted by excelar8 View Post
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
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 

The Following User Says Thank You to AlMehdi For This Useful Post:
Posts: 195 | Thanked: 102 times | Joined on Feb 2010 @ Vancouver, Canada
#26
Originally Posted by AlMehdi View Post
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 #
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#27
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)
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums

Last edited by AlMehdi; 2010-09-27 at 11:16.
 

The Following User Says Thank You to AlMehdi For This Useful Post:
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#28
Originally Posted by excelar8 View Post
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]
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search

Last edited by ossipena; 2010-09-27 at 11:29.
 
Posts: 195 | Thanked: 102 times | Joined on Feb 2010 @ Vancouver, Canada
#29
Originally Posted by AlMehdi View Post

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:



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?
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#30
Originally Posted by excelar8 View Post
how do i delete the empty lines? backspacing doesn't delete them; is it okay to have blank lines? here's how it looks:



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
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums

Last edited by AlMehdi; 2010-09-27 at 11:49.
 

The Following User Says Thank You to AlMehdi For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 05:09.