All times are UTC-06:00




Post new topic  Reply to topic  [ 20 posts ] 
Author Message
PostPosted: Sun Dec 23, 2012 1:04 am 
Offline

Joined: Fri May 04, 2012 7:55 pm
Posts: 5
Quote:
A question: lately when I'm trying to update my system with "sudo apt-get upgrade" I get the following error:
Quote:
(Reading database ... 60%dpkg: unrecoverable fatal error, aborting: files list file for package 'xserver-xorg-video-trident' is missing final newline
E: sub-process /usr/bin/dpkg returned an error code (2)
How I can fix this?

Another question: I want to switch from GNOME to xfce... Can I do this the same way as described on this page: http://library.powerdeveloper.net/index ... imizations ?
You should just be able to do an
Code:
apt-get install xfce4
I'm just installing this image myself currently, planning on replacing gdm as well as doing the rest of the optimizations found on that page.

Edit: Having my own problems now though. When it tries to update Mono I end up with
Code:
System.NullReferenceExceptions: Object reference not set to an instance of an object at System.OutOfMemoryException..ctor (System.String message) [0x00000] in <filename unknown>:0


Top
   
PostPosted: Sun Dec 23, 2012 8:03 pm 
Offline

Joined: Thu Nov 03, 2011 10:04 am
Posts: 29
Quote:
Quote:
A question: lately when I'm trying to update my system with "sudo apt-get upgrade" I get the following error:
Quote:
(Reading database ... 60%dpkg: unrecoverable fatal error, aborting: files list file for package 'xserver-xorg-video-trident' is missing final newline
E: sub-process /usr/bin/dpkg returned an error code (2)
How I can fix this?

Another question: I want to switch from GNOME to xfce... Can I do this the same way as described on this page: http://library.powerdeveloper.net/index ... imizations ?
You should just be able to do an
Code:
apt-get install xfce4
I'm just installing this image myself currently, planning on replacing gdm as well as doing the rest of the optimizations found on that page.

Edit: Having my own problems now though. When it tries to update Mono I end up with
Code:
System.NullReferenceExceptions: Object reference not set to an instance of an object at System.OutOfMemoryException..ctor (System.String message) [0x00000] in <filename unknown>:0
I tried to do what you said, but the problem is that I get the same error as when I just try to update. Basically, I need to fix that error somehow, because otherwise it looks like I can't install anything.
Maybe I should just deinstall 'xserver-xorg-video-trident' and then try to install it again, but I want to be sure that it's going to be OK.

As about your error, I think I never got that one, so I don't know how to fix it :(


Top
   
PostPosted: Wed Dec 26, 2012 9:27 pm 
Offline

Joined: Thu Nov 03, 2011 10:04 am
Posts: 29
Today I sat down and finally fixed the problem.

If you are getting the same error as I had, here is the fix:

You need to go to var/lib/dpkg/info using your console. Then you need to remove the package lists that are causing the error. You can do this by executing "sudo rm nameofpackage.list". In my case, after removing the first list, when I tried to upgrade, another problematic list appeared. So you need to keep removing all those lists until you get rid of all lists that have problems.

Now, after doing this it is better to restore those lists. You can do this by reinstalling the package and you can do this by executing "sudo apt-get install --reinstall nameofpackage". It will just reinstall the package and restore the correct list without doing anything else. If you won't do this it will always inform you about missing lists. You can reinstall those packages after doing upgrade too, if you prefer it that way.

After fixing this error I installed xfce4 following the instructions in wiki. Now I'm writing from it. To be fair, I'm not sure if it's really worth it. It's faster, but it's not significantly faster compared to GNOME and it looks kind of different from the look of xfce I have on my linux mint install.

Also I'm not sure how xfce power manager is supposed to work with another power manager from GNOME. It doesn't have controls for screen brightness, so I have to manually execute GNOME power manager and that one applies correct settings.
Can anyone tell me how I can turn off xfce power manager and make GNOME power manager to startup automatically?

Overall, everything else seems to work fine. Oh, the sound question... When I tried to configure sound volume it nearly killed my earphones. I set it like to 50% and it was just too loud. Now it's on 30% or something, so be careful with this.

The keyboard controls do not work by the way, if anyone knows how to fix that, please explain :)


Top
   
PostPosted: Sun Dec 30, 2012 10:59 pm 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
the xfce mixer doesn't quite work right on the efika for various reasons. I don't have the details in my head at the moment though, but I do remember I had to tweak a gconf setting to make gnome do the right thing.

as far as the other problem it sounds like the package database got corrupted somehow. no idea how that happened.


Top
   
PostPosted: Wed Jan 02, 2013 9:58 am 
Offline

Joined: Thu Nov 03, 2011 10:04 am
Posts: 29
Quote:
the xfce mixer doesn't quite work right on the efika for various reasons. I don't have the details in my head at the moment though, but I do remember I had to tweak a gconf setting to make gnome do the right thing.

as far as the other problem it sounds like the package database got corrupted somehow. no idea how that happened.
I see. Well, after using xfce a bit, I think it's pretty usable, so I decided to keep it instead of GNOME.
That said, I would appreciate any advice on how I can improve my experience :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 20 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group