Notices


Reply
Thread Tools
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#31
Originally Posted by excelar8 View Post
E: Invalid record in the preferences file, no Package header
There's your problem. You need to edit the /etc/apt/preferences file and make sure there's no empty lines between the Package: line and the Pin: line.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#32
Originally Posted by Rob1n View Post
There's your problem. You need to edit the /etc/apt/preferences file and make sure there's no empty lines between the Package: line and the Pin: line.
Ahh.. look at that.

You could show us your /etc/apt/preferences by

1. cat /etc/apt/preferences

Probably you could just remove it...
__________________
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
#33
i have done everything but still "operation failed" at application manager. here's what i see:

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://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
/home/user # apt-get update
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Hit http://repository.maemo.org fremantle-1.2 Release.gpg
Ign http://repository.maemo.org fremantle-1.2/free Translation-en_US
Ign http://repository.maemo.org fremantle-1.2/non-free Translation-en_US
Get:1 http://repository.maemo.org fremantle-1.2 Release.gpg [489B]
Ign http://repository.maemo.org fremantle-1.2/free Translation-en_US
Ign http://repository.maemo.org fremantle-1.2/non-free Translation-en_US
Hit http://repository.maemo.org fremantle Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Ign http://repository.maemo.org fremantle/free Translation-en_US
Ign http://repository.maemo.org fremantle/non-free Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Get:2 http://moff.mozilla.com chinook Release.gpg [189B]
Ign http://moff.mozilla.com chinook/release Translation-en_US
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://repository.sygic.com fremantle Release.gpg
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Ign http://repository.sygic.com fremantle/non-free Translation-en_US
Ign http://codex.xiaoka.com fremantle-1.2 Release.gpg
Ign http://codex.xiaoka.com fremantle-1.2/free Translation-en_US
Ign http://codex.xiaoka.com fremantle-1.2/non-free Translation-en_US
Hit http://repository.maemo.org fremantle-1.2 Release
Get:3 http://repository.maemo.org fremantle-1.2 Release [7960B]
Hit http://repository.maemo.org fremantle Release
Hit http://moff.mozilla.com chinook Release
Ign http://repository.sygic.com fremantle Release
Hit http://codex.xiaoka.com fremantle-1.2 Release
Ign http://repository.maemo.org fremantle-1.2/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.2/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.2/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.2/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Get:4 http://moff.mozilla.com chinook Release [759B]
Ign http://moff.mozilla.com chinook Release
Ign http://repository.sygic.com fremantle/non-free Packages/DiffIndex
Ign http://codex.xiaoka.com fremantle-1.2/free Packages/DiffIndex
Ign http://codex.xiaoka.com fremantle-1.2/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.2/free Packages
Hit http://repository.maemo.org fremantle-1.2/non-free Packages
Get:5 http://repository.maemo.org fremantle-1.2/free Packages [2664kB]
Get:6 http://repository.maemo.org fremantle-1.2/non-free Packages [181kB]
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Ign http://moff.mozilla.com chinook/release Packages/DiffIndex
Hit http://repository.sygic.com fremantle/non-free Packages
Hit http://codex.xiaoka.com fremantle-1.2/free Packages
Hit http://codex.xiaoka.com fremantle-1.2/non-free Packages
Hit http://moff.mozilla.com chinook/release Packages
Fetched 2855kB in 35s (81.0kB/s)
Reading package lists... Done
W: Conflicting distribution: http://repository.maemo.org fremantle-1.2 Release (expected fremantle-1.2 but got )
W: GPG error: http://moff.mozilla.com chinook Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 667387BFFF445C24
W: You may want to run apt-get update to correct these problems
/home/user #
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#34
Originally Posted by AlMehdi View Post
Ahh.. look at that.

You could show us your /etc/apt/preferences by

1. cat /etc/apt/preferences

Probably you could just remove it...
I suspect he's installed the updated hildon-home package - that's what's caused this issue in every other case I've seen. In this case, he'll need the file to keep the updated packages pinned (otherwise the original versions will get reinstalled).
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#35
Originally Posted by excelar8 View Post
i have done everything but still "operation failed" at application manager. here's what i see:

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://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
The URL for extras-testing also wants to have fremantle instead of fremantle-1.2 - that'll get rid of this warning:
Originally Posted by excelar8 View Post
W: Conflicting distribution: http://repository.maemo.org fremantle-1.2 Release (expected fremantle-1.2 but got )
I'm not sure the changes to the repository file get picked up by App Manager though, so I'd check you're using the correct repository settings there as well.
 
Posts: 195 | Thanked: 102 times | Joined on Feb 2010 @ Vancouver, Canada
#36
yes i did install that hildon-desktop package recently!

here is output again:
home/user # cat /etc/apt/preferences
Package: hildon-desktop

Pin: release a=unstable

Pin-Priority: 1001
 
Posts: 195 | Thanked: 102 times | Joined on Feb 2010 @ Vancouver, Canada
#37
Originally Posted by Rob1n View Post
There's your problem. You need to edit the /etc/apt/preferences file and make sure there's no empty lines between the Package: line and the Pin: line.
i can't delete the empty line; when press "i" to edit, then press "backspace" on the empty line, nothing happens
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#38
Originally Posted by excelar8 View Post
i can't delete the empty line; when press "i" to edit, then press "backspace" on the empty line, nothing happens
Use "dd" instead to delete the line. You'll also need to delete the empty line between Pin and Pin-Priority.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#39
Originally Posted by excelar8 View Post
yes i did install that hildon-desktop package recently!

here is output again:
home/user # cat /etc/apt/preferences
Package: hildon-desktop

Pin: release a=unstable

Pin-Priority: 1001
Make this

Code:
Package: hildon-desktop

Pin: release a=unstable 

Pin-Priority: 1001
Look like this

Code:
Package: hildon-desktop
Pin: release a=unstable 
Pin-Priority: 1001
To remove the blank lines. Put the marker at the line and press d two times. Make sure you do not have the marker on a line you do not want to delete.
__________________
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
#40
Originally Posted by Rob1n View Post
The URL for extras-testing also wants to have fremantle instead of fremantle-1.2 - that'll get rid of this warning:


I'm not sure the changes to the repository file get picked up by App Manager though, so I'd check you're using the correct repository settings there as well.
i have made the change to only "fremantle" for extras-testing. here's how it looks:

in/sh: [enter]: not found
/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 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


and got this new error:

Reading package lists... Done
W: GPG error: http://moff.mozilla.com chinook Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 667387BFFF445C24
W: You may want to run apt-get update to correct these problems
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:28.