LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2010, 10:00 AM   #1
Antiz
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Rep: Reputation: 0
/var/cache/apt/archives/udvev-151-3-i386.deb ERROR


Hello all. I was installing compiz on my machine and towards the end of installation i got an error saying:
dpkg:error processing /var/cache/apt/archives/udev-151-3-i386.deb
The program returned valude 1 or something towards that direction. I rebooted my X server however i got an error saying X server encountered a problem. I did apt-get install compiz and found out that many dependencies were missing so i tried apt-get -f install but i got the same error message at the end of the day. Im currently booted on windows XP and would appreciate any help. Thanks in advance
 
Old 04-04-2010, 10:56 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
You're going to need to post the exact error messages and the exact commands you used to get them.
 
Old 04-04-2010, 11:06 AM   #3
Antiz
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Original Poster
Rep: Reputation: 0
How can i do that? I get the error message while in command line interface and i cant enter internet untill reboot. How can i copy the exact message?
 
Old 04-04-2010, 11:27 AM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
Why can't you get to the internet? Create a text file and scp it somewhere, or put it on a flash drive, or a take a picture of the screen ..
 
Old 04-04-2010, 12:14 PM   #5
Antiz
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Original Poster
Rep: Reputation: 0
How do i take screenshot while im in Ctrl + alt +F2 ? The X server doesnt run.
 
Old 04-04-2010, 12:32 PM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Either redirect the output of the command to a file, or run 'script' at the terminal and then run the commands. Everything you type, and all the output of the commands, will get dumped to a file called 'typescript'.

Adam
 
Old 04-04-2010, 12:43 PM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
I meant a literal photograph if you have no way to move a file off the computer.
 
Old 04-04-2010, 01:05 PM   #8
Antiz
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Here are the pictures
Attached Thumbnails
Click image for larger version

Name:	IMG_1706.jpg
Views:	17
Size:	245.4 KB
ID:	3265   Click image for larger version

Name:	IMG_1708.jpg
Views:	15
Size:	272.5 KB
ID:	3266   Click image for larger version

Name:	IMG_1711.jpg
Views:	13
Size:	258.7 KB
ID:	3267  
 
Old 04-04-2010, 02:21 PM   #9
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
What branch/version of Debian are you running?.
Post the output of cat /etc/debian_version and cat /etc/apt/sources.list.
 
Old 04-04-2010, 02:28 PM   #10
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
In addition to sources.list, tell us what kernel you're running please.
 
Old 04-05-2010, 10:22 AM   #11
Antiz
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Original Poster
Rep: Reputation: 0
I am running Debian lenny 5.0.4 and my kernel version is 2.6.26-2-686
I atached the photo with contents of sources.list
Attached Thumbnails
Click image for larger version

Name:	IMG_1720.jpg
Views:	9
Size:	238.1 KB
ID:	3273  
 
Old 04-05-2010, 12:04 PM   #12
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
As i suspected you have mixed your sources.list,in your case Lenny with Unstable.
This is why apt wants to upgrade udev,but can't because you are using the 2.6.26 kernel.

Edit your sources.list to look something like this:

Code:
#deb cdrom:[Debian GNU/Linux 5.04 _Lenny_ - Official i386 CD Binary-1]
#deb cdrom:[Debian GNU/Linux 5.04 _Lenny_ - Official i386 CD Binary-2]

deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
Then do an aptitude update && aptitude keep-all and use aptitude from this point on.

Have you done any updates/upgrades while your sources.list has been pointing to Unstable?.
Looking at the picture saying "588 not upgraded" I'd say probably not.But it's worth checking.
That's why i asked for the output of cat /etc/debian_version which you still have not posted.
 
Old 04-05-2010, 12:22 PM   #13
Antiz
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Original Poster
Rep: Reputation: 0
I didnt do any upgrades with that sources.list and the output of debian_version was 5.0.4. I think the reason i added the unstable was to install somesort of package, i think it was screenlets.
 
Old 04-05-2010, 12:27 PM   #14
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
Ok,change your sources.list,aptitude update && aptitude keep-all and you should be sorted.
It's generally considered bad practice to mix Stable/Lenny with packages from other branches of Debian.
I really wouldn't advise it.
 
Old 04-05-2010, 02:09 PM   #15
Antiz
LQ Newbie
 
Registered: Apr 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks that fixed the dpkg error but now when i start gdm i am presented with the log in window, and after entering password the screen turns black and all i can see is my mouse pointer. What could be the problem?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Clear /var/cache/apt/archives On My Dedicated Server? mindtattoos Linux - Server 10 02-08-2010 11:07 AM
How to prevent apt from deleting packages in /var/cache/apt/archives ? abc.linux Debian 11 11-07-2009 11:46 AM
Can I remove files at /var/cache/apt/archives ? sarajevo Debian 2 05-08-2007 08:52 AM
/var/cache/apt/archives/lock error digsby0007 Linux - Software 3 06-23-2006 06:17 AM
Where are my .deb packages from /var/cache/apt/archives? bruno buys Debian 3 02-13-2005 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration