Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Rep:
I broke apt-get again
Do you know what apt-get is really missing...An ignore button.
The title says it all:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run apt-get -f install to correct these:
the following packages have unmet dependencies:
libudev0: Depends: udev (= 151-3) but 0.125-7+lenny3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
E: apt-get failed
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Rep:
This happened when i tried to install compiz.
Quote:
Originally Posted by rweaver
Are you using ubuntu or debian?
Debian
Quote:
What command did you run that is returning this? Try:
Code:
apt-get update
apt-get upgrade
Prints the same thing.
Quote:
What is the output? Have you tried what apt-get suggests? (-f install)?
Code:
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer requred:
xserver-xorg-video-ati
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
udev
1 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
13 not fully installed.
Need to get 0B/429KB of archives.
After this operation, 586 kb of additional disk space will be used.
Do you want to continue [Y/n]?y
Preconfiguring packages...
(Reading database ... 116947 files and directories cirrently installed.)
Prepaaring to replace udev 0.125-7+lenny3 (using .../archives/udev_151-3_i386.deb) ...
Since release 150, udev requres that support for CONFIG_FS_DEPRECATED feature is disabled in the running kernel.
Please upgrade your kernel before or while upgrading ude.
AT YOUR OWN RISK, you can force the installation of this version of uudev WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND PROBABLY WILL BREAK YOUR SYSTEM AT THE NEXT REBOOT by creating the /etc/udev/kernel-update file.
there is a safer way to update, do not try this unless you understand what you are doing
dpkg: error processsing /var/cache/apt/archives/udev_151=3+i386 (--unpack):
subprocess new pre-installation script error exit status
Errors were encountered while processing:
/var/cache/apt/archives/udev_151-3_i386.dev
E: Sub-processes /usr/bin/dpkg returned an error code (1)
E: apt-get failed.
Prepaaring to replace udev 0.125-7+lenny3 (using .../archives/udev_151-3_i386.deb)
This is what i don't understand,apt is looking to replace Lenny's udev with one from Testing/Sid.
This version udev(151-3) will not work the default 2.6.26 kernel in Lenny.
What does cat /etc/apt/sources.list give you?
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Rep:
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 ftp://sunsite.cnlab-switch.ch/mirror/debian/ unstable main contrib non-free
deb-src ftp://sunsite.cnlab-switch.ch/mirror/debian unstable main contrib non
deb-src http://volatile.debian.org/debian-volatile lenny main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
deb ftp://ftp.uni-kl.de/debian-multimedia testing main
deb ftp://fpt.uni-kl.de/debian-multimedia unstable main
Well there's your problem your sources.list is a mess,big time!.
You have listings for Lenny,Testing and best of all Unstable.
Let's try to get you a better sources.list.
Make yours like this,assuming you are in the U.S:
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
Once you have done this,do an aptitude update && aptitude keep-all.
I would suggest using aptitude from this point forward.
Once you get this far and have no errors from aptitude,post back and i'll show you how to add the multimedia repository if you need it.
# Main Debian Mirror
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
# Security Updates Mirror
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
# Volatile Updates Mirror (SPAM/AV/Faster than Security Related Typically)
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
# Backports from testing/unstable for lenny.
deb http://www.backports.org/debian lenny-backports main contrib non-free
deb-src http://www.backports.org/debian lenny-backports main contrib non-free
To have access to even a broader range of things you can enable back ports and volatile (I highly recommend volatile, back ports is iffy, but you generally won't install anything from it automatically if you make a preferences file like the following...)
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Rep:
Quote:
Originally Posted by the trooper
Cool.
Post back if you have anymore problems with Debian.
I happen to have another problem now that you ask.
X is broken
It draws the gnome login screen slowly and once the screen is fully drawn, the screen goes black and it starts drawing it again.
It also looks like its 640x480.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.