News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - AK83

#1
Hi!

I don't know, but probably there's something wrong with my sources.list. Would I get an error if "apt-get update" failed? Could someone post his sources.list so I can check if there's anything missing? Would be nice!
#2

alex@dcerouter:~$ sudo apt-get update
Reading package lists... Done
alex@dcerouter:~$ sudo apt-get install g++
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package g


When I just try "apt-get install g++", I get:

E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?


Perhaps LMCE can't update the packages? Is there some kind of log file I could check?
#3
Ok, sorry. I just read this:
"gcc is first built without the C++ compiler"

What I need is "gcc-c++", but I can't install any packages. The Terminal always tells me that the package cannot be found, doesn't matter which package I choose. Perhaps something went wrong during installation. That's why I asked for a different way to get packages I need.
:-[
#4
Hey!

The Terminal tells me that I already have the latest version of "gcc" (that's what you meant I guess).

alex@dcerouter:~$ dpkg -l gcc
...
||/ Name                       Version                    Beschreibung
+++-==========================-==========================-====================================================================
ii  gcc                        4.1.2-1ubuntu1             The GNU C compiler

and

alex@dcerouter:~$ dpkg -l make
...
||/ Name                       Version                    Beschreibung
+++-==========================-==========================-====================================================================
ii  make                       3.81-3build1               The GNU version of the "make" utility.


I still get that error:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


I don't know. Do I need something else?
#5
Hi!

I can't tell you what your problem is but I would say try the 2CD installer! I also had problems with the DVD and I read that there are still some bugs on it. I was new to Linux as well and it was really no problem.
#6
hey!

@leonja: I also tried version 0.8.2 with the latest lirc_mceusb2 drivers. Doesn't work.
@darrenmason: "apt-get install linux-headers [version]" says that I already have the newest version.

What I get now is this:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


I read that I need the GCC (build essential) package to compile. But I can't install that package using the terminal as I am told that it cannot be found. I think that is because of the lmce sources.list. Could I download some kind of .deb-file for this and run it after downloading?

Thanks! 
#7
leonja, thanks a lot!

My problem is that I get this error message
configure: error: *** you need to have the Linux kernel source installed for this driver
when typing this
./configure --prefix=/usr --sysconfdir=/etc/conf.d --with-x --with-driver=mceusb2

I read that it has something to do with the kernel headers. As described here http://www.mythtv.org/wiki/index.php/MCE_Remote#Installation_guides uname -a gives me back 2.6.20-16-generic. So I tried to update but it says that it is already the latest version. Any ideas?

Again, thanks a lot for your help!
#8
Sorry, but I'm new to LinuxMCE and to Linux as well and I have to work with it for a while to get into it. I will fix it somehow. I made some steps forward but I still have the problem with installing packages as I posted here: http://forum.linuxmce.org/index.php?topic=3319.0
If you could help me with that would be great.

Greets
#9
Users / Re: Edit sources.list
November 30, 2007, 04:29:37 PM
Any ideas?
I can't install any packages at all. I always get a "package not found" error when trying to install one. Is this some kind of protection for LinuxMCE? And does LinuxMCE remove the standard Kubuntu Package Managers like Adept? I can't find them.
Are you guys able to install packages?  ???
#10
As far as I know this will be supported in the upcoming version.

-> http://linuxmce.org/news.php?id=12#comments (3.)
#11
@blairkutz: Thanks for your HOW TO!

I just downloaded lirc-0.8.3pre1.tar.bz2 from http://lirc.sourceforge.net/software/snapshots/. Shall I first run "./setup.sh" as described here http://www.mythtv.org/wiki/index.php/MCE_Remote#Installation_guides ?

I think I know how to do the "Other stuff" you described. I just don't know how to start.
Could anyone help?

#12
Users / Edit sources.list
November 26, 2007, 01:28:46 PM
Hi!
I tried to install ntfs-config using the Terminal to be able to get access to my external HD (USB). I always get the error message that it cannot be found although it is part of the universe repository.
Could I edit my sources.list and add some sources I definitly know ntfs-config is in or isn't it recommended to do so because linuxmce could have problems with that?
Thanks!
#13
Users / Re: Can't add media to MCE!!!
November 26, 2007, 11:40:10 AM
Zaerc, thanks for your help!
This was what I was looking for. I changed /etc/group -> public:x:1002:... and now I'm able to copy and paste my media to all the "public folders".
#14
Users / Re: Can't add media to MCE!!!
November 24, 2007, 02:37:55 PM
Yes, it was a permission problem. Thank you!

What also worked for me was open up Konqueror with administrative rights (kdesu konqueror). I can copy and paste the files. It works. But I always have strange error messages in the Terminal when opening up Konqueror as I described.

An example:

In the Terminal:
user: ~$ kdesu konqueror
Then Konqueror opens up the way I want but in the Terminal I get this:
X Error: BadDevice, invalid or uninitialized input device 180
   Major opcode: 150
   Minor opcode: 3
   Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 180
   Major opcode: 150
   Minor opcode: 3
   Resource id: 0x0
Failed to open device
kdesu (kdelibs): WARNING: No X authentication info set for display :0.0
kdesu (kdelibs): WARNING: No X authentication info set for display :0.0
kdesu (kdelibs): WARNING: No X authentication info set for display :0.0
X Error: BadDevice, invalid or uninitialized input device 180
   Major opcode: 150
   Minor opcode: 3
   Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 180
   Major opcode: 150
   Minor opcode: 3
   Resource id: 0x0
Failed to open device

Any ideas?
#15
Users / Re: Can't add media to MCE!!!
November 22, 2007, 05:38:23 PM
Hi!

I tried to copy some files/folders from an USB-device (FAT) to /home/public/data/audio but didn't have access.
Using the Terminal (sudo cp -r ...) is no problem, but I can't copy & paste the stuff.

So I'm sitting at my Core (hybrid) trying to get my media onto it (not over the network).