Active Topics

 



Notices


Reply
Thread Tools
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#341
Originally Posted by 2disbetter View Post
E: Invalid record in the preferences file, no Package header
Have you, for some reason, manually created or edited files in /etc/apt/ ?
Because that seems like a syntax error in /etc/apt/preferences (which should not even exist by default)
 

The Following User Says Thank You to hqh For This Useful Post:
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#342
Originally Posted by hqh View Post
Have you, for some reason, manually created or edited files in /etc/apt/ ?
No sir, however, I did use the tracker cfg app to handle some unwanted media indexing. Do you think that could be the problem?

2d
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#343
Originally Posted by 2disbetter View Post
Rob1n, sorry I have posted it in that post, and also below. Thanks!

E: Invalid record in the preferences file, no Package header

2d
That's one I've not seen before. You could try deleting the contents of /opt/fapman-cache/lists/, then updating the catalogues again in fapman. It might also be worth running "apt-get -f install" as root in X Terminal, just to check whether that reports/fixes any issues.
 

The Following 3 Users Say Thank You to Rob1n For This Useful Post:
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#344
Originally Posted by Rob1n View Post
That's one I've not seen before. You could try deleting the contents of /opt/fapman-cache/lists/, then updating the catalogues again in fapman. It might also be worth running "apt-get -f install" as root in X Terminal, just to check whether that reports/fixes any issues.
That commands end with the same error note concerning the invalid record in the preferences file.

2d
 
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#345
Originally Posted by 2disbetter View Post
That commands end with the same error note concerning the invalid record in the preferences file.
just in case, I'd like to see the output of
Code:
cat /etc/apt/preferences
 

The Following User Says Thank You to hqh For This Useful Post:
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#346
Originally Posted by hqh View Post
just in case, I'd like to see the output of
Code:
cat /etc/apt/preferences

Package: hildon-desktop
Pin: release a=unstable

Pin-Priority: 1001



2d
 

The Following User Says Thank You to 2disbetter For This Useful Post:
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#347
Originally Posted by 2disbetter View Post
Package: hildon-desktop
Pin: release a=unstable

Pin-Priority: 1001
So you had edited it after all
There's your problem; you'll have to remove the empty line between Pin and Pin-Priority
 

The Following 2 Users Say Thank You to hqh For This Useful Post:
2disbetter's Avatar
Posts: 365 | Thanked: 98 times | Joined on Nov 2009
#348
I never directly edited this file. I'm guessing some kind of truncation caused this. I've removed the space, and am seeing if that fixes the problem. Thanks for all the help.

2d

edit: Bingo that did it.
 
Posts: 102 | Thanked: 9 times | Joined on Feb 2010 @ Wellingborough, UK
#349
You're a genius, no 2ways about it, it's so fast, I was getting pissed off with the built in one basically not working for me, its so shite so thanks a million man.
 
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#350
Version 0.6.5 comes with small "reliability enhancements" and has also been promoted to extras-testing. Remember to test thoroughly before giving thumbs up/down.

* ignore upgrades to pinned packages and warn about install/remove
* warn if trying to do a system upgrade
 

The Following 7 Users Say Thank You to hqh For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:02.